/* =========================================================
   PiyoMemo Landing Page
========================================================= */

/* -------------------------
   Reset
------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body,
h1,
h2,
h3,
p,
figure,
blockquote,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

:root {
  --color-white: #ffffff;
  --color-background: #f8fcff;
  --color-background-blue: #eef8ff;
  --color-background-yellow: #fff9df;
  --color-background-green: #effbf4;

  --color-text: #25303b;
  --color-text-soft: #687583;
  --color-text-light: #8e9aa6;

  --color-blue: #6bbbf5;
  --color-blue-dark: #419bdc;
  --color-blue-deep: #2478b8;
  --color-blue-pale: #dff2ff;

  --color-yellow: #ffdd76;
  --color-yellow-pale: #fff4c8;

  --color-green: #75cf9f;
  --color-green-dark: #43ad75;

  --color-border: rgba(71, 113, 145, 0.12);
  --color-border-strong: rgba(71, 113, 145, 0.2);

  --shadow-small:
    0 8px 24px rgba(46, 88, 119, 0.08);

  --shadow-medium:
    0 20px 60px rgba(46, 88, 119, 0.13);

  --shadow-large:
    0 30px 100px rgba(46, 88, 119, 0.18);

  --radius-small: 16px;
  --radius-medium: 24px;
  --radius-large: 38px;
  --radius-pill: 999px;

  --container-width: 1200px;
  --container-narrow: 880px;

  --font-sans:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    "Segoe UI",
    sans-serif;

  --header-height: 80px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(
      180deg,
      #fbfdff 0%,
      #f8fcff 45%,
      #ffffff 100%
    );
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--color-blue-pale);
  color: var(--color-blue-deep);
}


/* -------------------------
   Accessibility
------------------------- */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-text);
  color: var(--color-white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(65, 155, 220, 0.45);
  outline-offset: 4px;
}


/* -------------------------
   Common layout
------------------------- */

.container {
  width: min(
    calc(100% - 48px),
    var(--container-width)
  );
  margin-inline: auto;
}

.container-narrow {
  width: min(
    calc(100% - 48px),
    var(--container-narrow)
  );
}

.section {
  position: relative;
  padding: 150px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 72px;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.cta-content h2,
.summary-box h2 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 4.7vw, 4.6rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.section-heading p:not(.eyebrow),
.feature-copy .lead,
.cta-content > p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--color-text-soft);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.eyebrow {
  color: var(--color-blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.1rem;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background:
    linear-gradient(
      135deg,
      var(--color-blue) 0%,
      var(--color-blue-dark) 100%
    );
  color: var(--color-white);
  box-shadow:
    0 14px 34px rgba(65, 155, 220, 0.28);
}

.button-primary:hover {
  box-shadow:
    0 18px 42px rgba(65, 155, 220, 0.35);
}

.button-secondary {
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text);
  backdrop-filter: blur(14px);
}

.button-secondary:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-small);
}

.button-small {
  min-height: 44px;
  padding-inline: 21px;
  background: var(--color-blue-dark);
  color: var(--color-white);
  font-size: 0.86rem;
}

.image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.95),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #e9f7ff,
      #fff7d6
    );
  color: var(--color-blue-deep);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}


/* -------------------------
   Header
------------------------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--color-border);
  background: rgba(250, 253, 255, 0.82);
  box-shadow:
    0 8px 30px rgba(64, 98, 123, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    rgba(173,222,248,1);
    /* linear-gradient(
      145deg,
      var(--color-yellow-pale),
      var(--color-blue-pale)
    ); */
  box-shadow:
    0 6px 16px rgba(75, 126, 164, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark .image-placeholder {
  min-height: 0;
  border-radius: 0;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name-ja {
  font-size: 1rem;
  font-weight: 800;
}

.brand-name-en {
  margin-top: 4px;
  color: var(--color-text-light);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.global-navigation {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
}

.global-navigation .language-switcher a {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--color-text-light);
  font-size: 0.72rem;
}

.global-navigation .language-switcher a[aria-current="page"] {
  background: var(--color-blue-pale);
  color: var(--color-blue-deep);
}

.global-navigation .language-switcher a::after {
  display: none;
}

.global-navigation a {
  position: relative;
  color: var(--color-text-soft);
  font-size: 0.87rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.global-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.global-navigation a:hover {
  color: var(--color-blue-deep);
}

.global-navigation a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--color-text);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* -------------------------
   Hero
------------------------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) 0 90px;
}

.hero-background,
.cta-background,
.growth-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob,
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-blob-blue {
  top: 8%;
  right: -11%;
  width: 620px;
  height: 620px;
  background:
    radial-gradient(
      circle,
      rgba(205, 238, 255, 0.8),
      rgba(205, 238, 255, 0)
    );
}

.hero-blob-yellow {
  bottom: -28%;
  left: -12%;
  width: 500px;
  height: 500px;
  background:
    radial-gradient(
      circle,
      rgba(255, 238, 167, 0.7),
      rgba(255, 238, 167, 0)
    );
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--color-yellow);
  opacity: 0.6;
}

.hero-dot-one {
  top: 24%;
  left: 8%;
  width: 18px;
  height: 18px;
}

.hero-dot-two {
  right: 8%;
  bottom: 18%;
  width: 11px;
  height: 11px;
  background: var(--color-blue);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 88px;
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(380px, 0.85fr);
}

.hero-copy {
  padding-bottom: 30px;
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero-description {
  max-width: 620px;
  margin-top: 32px;
  color: var(--color-text-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-note {
  margin-top: 22px;
  color: var(--color-text-light);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 670px;
  place-items: center;
}

.hero-phone-glow {
  position: absolute;
  width: 490px;
  height: 490px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(165, 222, 255, 0.52),
      rgba(165, 222, 255, 0)
    );
  filter: blur(8px);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(100%, 330px);
  filter:
    drop-shadow(
      0 35px 55px rgba(56, 92, 118, 0.2)
    );
}

.phone-main {
  width: min(100%, 350px);
  transform: rotate(2.4deg);
}

.phone-frame {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 48px;
  background:
    linear-gradient(
      145deg,
      #f9fbfc,
      #d8e1e7
    );
  box-shadow:
    inset 0 0 0 1px rgba(36, 61, 79, 0.15),
    inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.phone-frame > img,
.phone-frame > .image-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 39px;
  object-fit: contain;
}

.phone-speaker {
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: #17212a;
  transform: translateX(-50%);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(18px);
  animation: floating-card 4.5s ease-in-out infinite;
}

.floating-card small {
  display: block;
  color: var(--color-text-light);
  font-size: 0.68rem;
}

.floating-card strong {
  display: block;
  margin-top: 2px;
  font-size: 0.84rem;
}

.floating-card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 14px;
  background: var(--color-blue-pale);
  color: var(--color-blue-deep);
  font-weight: 900;
}

.floating-card-week {
  top: 17%;
  left: -9%;
}

.floating-card-time {
  right: -8%;
  bottom: 19%;
  animation-delay: -2.1s;
}

.scroll-guide {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--color-text-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-guide-line {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: rgba(82, 114, 136, 0.2);
}

.scroll-guide-line::after {
  position: absolute;
  top: -45px;
  left: 0;
  width: 1px;
  height: 30px;
  background: var(--color-blue-dark);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
}


/* -------------------------
   Problem
------------------------- */

.problem-section {
  background:
    linear-gradient(
      180deg,
      rgba(240, 249, 255, 0.7),
      rgba(255, 255, 255, 0.96)
    );
}

.task-cloud {
  display: flex;
  max-width: 800px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin: 0 auto;
}

.task-cloud span {
  padding: 11px 19px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-text-soft);
  font-size: 0.88rem;
  box-shadow:
    0 6px 18px rgba(58, 97, 126, 0.05);
}

.task-cloud span:nth-child(2n) {
  transform: translateY(12px);
}

.task-cloud span:nth-child(3n) {
  opacity: 0.7;
}

.concept-message {
  margin-top: 90px;
  text-align: center;
}

.concept-message p {
  color: var(--color-text-light);
  font-size: 1rem;
}

.concept-message strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
}


/* -------------------------
   Feature sections
------------------------- */

.feature-layout {
  display: grid;
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
  grid-template-columns:
    minmax(300px, 0.8fr)
    minmax(0, 1.15fr);
}

.feature-layout-reverse {
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(300px, 0.8fr);
}

.feature-layout-reverse .feature-copy {
  order: 1;
}

.feature-layout-reverse .feature-visual {
  order: 2;
}

.feature-visual {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
}

.phone-secondary {
  width: min(100%, 315px);
}

.feature-copy h2 {
  margin-top: 14px;
}

.feature-copy > p:not(.eyebrow, .lead) {
  margin-top: 22px;
  color: var(--color-text-soft);
}

.feature-points {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}

.feature-point {
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
}

.feature-point-number {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 15px;
  background: var(--color-blue-pale);
  color: var(--color-blue-deep);
  font-size: 0.75rem;
  font-weight: 900;
}

.feature-point h3 {
  font-size: 1.08rem;
}

.feature-point p {
  margin-top: 5px;
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.focus-section {
  background: var(--color-white);
}

.focus-section .feature-visual::before {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: var(--color-background-blue);
  content: "";
}

.focus-project {
  background: var(--color-white);
}

.focus-project .feature-visual::before {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: var(--color-background-blue);
  content: "";
}

.execute-section {
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #f8fcff 0%,
      #edf8ff 100%
    );
}

.timer-decoration {
  position: absolute;
  top: 12%;
  right: -4%;
  color: rgba(65, 155, 220, 0.08);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  transform: rotate(8deg);
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 35px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--color-text-soft);
}

.check-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  content: "✓";
  font-size: 0.66rem;
  font-weight: 900;
}

.soft-quote {
  margin-top: 38px;
  padding: 22px 25px;
  border-left: 4px solid var(--color-blue);
  border-radius:
    0
    var(--radius-small)
    var(--radius-small)
    0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
  font-weight: 700;
}


/* -------------------------
   Goal structure
------------------------- */

.structure-section {
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fffdf3 100%
    );
}

.goal-flow {
  display: grid;
  max-width: 1040px;
  align-items: center;
  gap: 15px;
  margin: 0 auto;
  grid-template-columns:
    1fr auto
    1fr auto
    1fr auto
    1fr;
}

.goal-card {
  position: relative;
  min-height: 210px;
  padding: 28px 23px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-small);
}

.goal-card::after {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-blue-pale);
  content: "";
  opacity: 0.45;
}

.goal-card-active {
  border-color: rgba(65, 155, 220, 0.3);
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #eaf7ff
    );
  box-shadow:
    0 20px 50px rgba(65, 155, 220, 0.14);
  transform: translateY(-12px);
}

.goal-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px;
  background: var(--color-blue-pale);
  color: var(--color-blue-deep);
  font-weight: 900;
}

.goal-card small {
  display: block;
  margin-top: 24px;
  color: var(--color-text-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.goal-card h3 {
  margin-top: 2px;
  font-size: 1.05rem;
}

.goal-card p {
  margin-top: 9px;
  color: var(--color-text-soft);
  font-size: 0.86rem;
}

.goal-arrow {
  color: var(--color-blue);
  font-size: 1.45rem;
  font-weight: 900;
  transform: rotate(-90deg);
}

.structure-message {
  margin-top: 64px;
  color: var(--color-text-soft);
  font-size: 1.04rem;
  text-align: center;
}


/* -------------------------
   Reflection
------------------------- */

.reflection-section {
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fffaf0
    );
}

.reflection-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.reflection-card {
  min-height: 280px;
  padding: 34px;
  border: 1px solid rgba(225, 194, 105, 0.16);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-small);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.reflection-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-7px);
}

.reflection-icon {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 16px;
  background: var(--color-yellow-pale);
  color: #c99815;
  font-size: 1.25rem;
}

.reflection-label {
  margin-top: 32px;
  color: var(--color-text-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reflection-card h3 {
  margin-top: 3px;
  font-size: 1.17rem;
}

.reflection-example {
  margin-top: 18px;
  color: var(--color-text-soft);
  font-size: 0.93rem;
}


/* -------------------------
   Ideas
------------------------- */

.ideas-section {
  background: var(--color-white);
}

.ideas-section .feature-visual {
  padding-top: 40px;
}

.idea-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.idea-note {
  position: absolute;
  width: 230px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-medium);
}

.idea-note small {
  color: var(--color-blue-dark);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.idea-note p {
  margin-top: 7px;
  color: var(--color-text-soft);
  font-size: 0.8rem;
}

.idea-note-back {
  top: 11%;
  left: -4%;
  transform: rotate(-8deg);
}

.idea-note-middle {
  right: -7%;
  bottom: 12%;
  transform: rotate(7deg);
}

.mini-feature {
  display: grid;
  align-items: start;
  gap: 16px;
  margin-top: 38px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-background-blue);
  grid-template-columns: auto 1fr;
}

.mini-feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-blue-deep);
  box-shadow: var(--shadow-small);
}

.mini-feature strong {
  font-size: 0.97rem;
}

.mini-feature p {
  margin-top: 5px;
  color: var(--color-text-soft);
  font-size: 0.86rem;
}

.idea-ai-flow {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.idea-ai-flow li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.idea-ai-flow li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--color-blue-pale);
  color: var(--color-blue-deep);
  font-size: 0.72rem;
  font-weight: 900;
}

.idea-ai-flow strong {
  display: block;
  line-height: 1.45;
}

.idea-ai-flow p {
  margin-top: 3px;
  color: var(--color-text-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.idea-highlight {
  border-color: rgba(65, 155, 220, 0.24);
  background: linear-gradient(145deg, #edf8ff, #fffdf3);
}


/* -------------------------
   Graphs
------------------------- */

.graphs-section {
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #f5fbff 0%,
      #ffffff 100%
    );
}

.screen-gallery {
  display: grid;
  max-width: 1020px;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}

.screen-card {
  padding: 12px 12px 22px;
  border: 1px solid var(--color-border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-medium);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.screen-card:hover {
  box-shadow: var(--shadow-large);
  transform: translateY(-8px);
}

.screen-card-featured {
  transform: translateY(-24px);
}

.screen-card-featured:hover {
  transform: translateY(-32px);
}

.screen-card-image {
  overflow: hidden;
  border-radius: 23px;
  background: var(--color-background-blue);
}

/* .screen-card-image img,
.screen-card-image .image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1.76;
  object-fit: cover;
} */

.screen-card-image img,
.screen-card-image .image-placeholder {
  width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.screen-card figcaption {
  padding: 18px 10px 0;
}

.screen-card figcaption small {
  display: block;
  color: var(--color-blue-dark);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.screen-card figcaption strong {
  display: block;
  margin-top: 4px;
  font-size: 0.93rem;
}


/* -------------------------
   Growth
------------------------- */

.growth-section {
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #fffdf1 0%,
      #fff7c9 100%
    );
}

.growth-cloud {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(3px);
}

.growth-cloud-one {
  top: 9%;
  left: -4%;
  width: 330px;
  height: 190px;
}

.growth-cloud-two {
  right: -6%;
  bottom: 12%;
  width: 390px;
  height: 210px;
}

.egg-progress {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1060px;
  align-items: center;
  gap: 15px;
  margin: 0 auto;
  grid-template-columns:
    1fr auto
    1fr auto
    1fr auto
    1fr;
}

.egg-stage {
  text-align: center;
}

.egg-image {
  display: grid;
  width: 180px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 18px 40px rgba(155, 121, 37, 0.1);
}

.egg-image img,
.egg-image .image-placeholder {
  width: 82%;
  height: 82%;
  min-height: 0;
  border-radius: 50%;
  object-fit: contain;
}

.egg-stage-hatched .egg-image {
  animation: chick-float 3.4s ease-in-out infinite;
}

.egg-stage > span {
  display: block;
  margin-top: 20px;
  color: #756437;
  font-size: 0.83rem;
  font-weight: 800;
}

.egg-line {
  display: block;
  width: 60px;
  height: 2px;
  border-radius: var(--radius-pill);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(196, 161, 70, 0.4) 0 7px,
      transparent 7px 13px
    );
}

.growth-message {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 850px;
  align-items: center;
  gap: 24px;
  margin: 80px auto 0;
  padding: 31px 35px;
  border: 1px solid rgba(207, 174, 78, 0.25);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    0 20px 50px rgba(139, 111, 32, 0.09);
  backdrop-filter: blur(14px);
  grid-template-columns: auto 1fr;
}

.growth-message-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 20px;
  background: var(--color-white);
  font-size: 1.8rem;
}

.growth-message h3 {
  font-size: 1.1rem;
}

.growth-message p {
  margin-top: 7px;
  color: #766a4e;
  font-size: 0.91rem;
}


/* -------------------------
   Routine
------------------------- */

.routine-section {
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #f3fbf7
    );
}

.stats-grid {
  display: grid;
  gap: 14px;
  margin-top: 42px;
  grid-template-columns: repeat(3, 1fr);
}

.stat-card {
  padding: 22px 18px;
  border: 1px solid rgba(67, 173, 117, 0.14);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-small);
}

.stat-card small {
  display: block;
  color: var(--color-text-light);
  font-size: 0.72rem;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  color: var(--color-green-dark);
  font-size: 1.7rem;
  line-height: 1;
}

.stat-card strong span {
  margin-left: 3px;
  font-size: 0.7rem;
}


/* -------------------------
   Trust / local-first
------------------------- */

.trust-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(107, 187, 245, 0.15), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(255, 221, 118, 0.22), transparent 30%),
    #f9fcff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.trust-card {
  min-height: 280px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-small);
}

.trust-card-featured {
  background: linear-gradient(145deg, #eaf7ff, #ffffff 64%);
}

.trust-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 16px;
  background: var(--color-blue-pale);
  color: var(--color-blue-deep);
  font-size: 1.35rem;
  font-weight: 800;
}

.trust-card small {
  color: var(--color-blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trust-card h3 {
  margin-top: 8px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.4;
}

.trust-card p {
  margin-top: 14px;
  color: var(--color-text-soft);
}

.free-pro-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-border);
  box-shadow: var(--shadow-medium);
}

.free-pro-note > div {
  padding: clamp(28px, 4vw, 46px);
  background: var(--color-white);
}

.free-pro-note h3 {
  margin-top: 14px;
  font-size: 1.3rem;
}

.free-pro-note p {
  margin-top: 10px;
  color: var(--color-text-soft);
}

.free-pro-badge {
  display: inline-flex;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--color-blue-pale);
  color: var(--color-blue-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.free-pro-badge-pro {
  background: var(--color-yellow-pale);
  color: #936d00;
}

/* -------------------------
   Summary
------------------------- */

.summary-section {
  background: var(--color-white);
}

.summary-box {
  position: relative;
  overflow: hidden;
  padding: 85px 75px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(215, 241, 255, 0.78),
      transparent 27%
    ),
    radial-gradient(
      circle at 5% 90%,
      rgba(255, 241, 179, 0.7),
      transparent 26%
    ),
    #ffffff;
  box-shadow: var(--shadow-medium);
}

.summary-box h2 {
  max-width: 760px;
}

.summary-grid {
  display: grid;
  gap: 22px;
  margin-top: 65px;
  grid-template-columns: repeat(3, 1fr);
}

.summary-grid article {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.summary-grid article > span {
  color: var(--color-blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.summary-grid h3 {
  margin-top: 9px;
  font-size: 1.04rem;
}

.summary-grid p {
  margin-top: 9px;
  color: var(--color-text-soft);
  font-size: 0.87rem;
}


/* -------------------------
   CTA
------------------------- */

.cta-section {
  overflow: hidden;
  padding: 170px 0;
  background:
    linear-gradient(
      180deg,
      #f5fbff 0%,
      #eef9ff 100%
    );
}

.cta-blob-blue {
  top: -35%;
  left: -20%;
  width: 650px;
  height: 650px;
  background:
    radial-gradient(
      circle,
      rgba(179, 226, 255, 0.65),
      transparent 67%
    );
}

.cta-blob-yellow {
  right: -20%;
  bottom: -45%;
  width: 700px;
  height: 700px;
  background:
    radial-gradient(
      circle,
      rgba(255, 233, 143, 0.6),
      transparent 66%
    );
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-character {
  width: 150px;
  height: 150px;
  margin: 0 auto 32px;
}

.cta-character img,
.cta-character .image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 50%;
  object-fit: contain;
}

.cta-content h2 {
  margin-top: 13px;
}

.cta-content > p:not(.eyebrow) {
  max-width: 650px;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.store-button {
  display: flex;
  min-width: 205px;
  min-height: 65px;
  align-items: center;
  gap: 13px;
  padding: 10px 21px;
  border-radius: 17px;
  background: #1c242c;
  color: var(--color-white);
  text-align: left;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.store-button:not(.is-disabled):hover {
  transform: translateY(-3px);
}

.store-button.is-disabled {
  cursor: default;
  opacity: 0.5;
}

.store-badge {
  display: inline-flex;
  height: 65px;
  align-items: center;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.store-badge:not(.is-disabled):hover {
  transform: translateY(-3px);
}

.store-badge.is-disabled {
  cursor: default;
  opacity: 0.5;
}

.store-badge img {
  display: block;
  width: auto;
  height: 100%;
}

.store-button-icon {
  font-size: 1.4rem;
}

.store-button small {
  display: block;
  font-size: 0.58rem;
  line-height: 1.1;
}

.store-button strong {
  display: block;
  margin-top: 3px;
  font-size: 1.03rem;
  line-height: 1.1;
}


/* -------------------------
   Footer
------------------------- */

.site-footer {
  padding: 64px 0 42px;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.footer-inner {
  display: grid;
  align-items: end;
  gap: 38px;
  grid-template-columns: 1fr auto;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--color-text-light);
  font-size: 0.82rem;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 25px;
}

.footer-navigation a {
  color: var(--color-text-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-navigation a:hover {
  color: var(--color-blue-dark);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-light);
}


/* -------------------------
   Reveal animation
------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reflection-grid .reveal:nth-child(2),
.screen-gallery .screen-card:nth-child(2) {
  transition-delay: 0.1s;
}

.reflection-grid .reveal:nth-child(3),
.screen-gallery .screen-card:nth-child(3) {
  transition-delay: 0.2s;
}


/* -------------------------
   Keyframes
------------------------- */

@keyframes floating-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-11px);
  }
}

@keyframes scroll-line {
  0% {
    transform: translateY(0);
  }

  65%,
  100% {
    transform: translateY(90px);
  }
}

@keyframes chick-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1100px) {
  .hero-inner {
    gap: 45px;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(330px, 0.8fr);
  }

  .floating-card-week {
    left: -2%;
  }

  .floating-card-time {
    right: -2%;
  }

  .goal-flow {
    gap: 10px;
  }

  .goal-card {
    padding: 24px 18px;
  }

  .egg-line {
    width: 34px;
  }
}


@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 110px 0;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .global-navigation {
    position: fixed;
    top: var(--header-height);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-medium);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
    backdrop-filter: blur(18px);
  }

  .global-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .global-navigation a {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .global-navigation a:hover {
    background: var(--color-background-blue);
  }

  .global-navigation a::after {
    display: none;
  }

  .language-switcher {
    justify-self: start;
    margin: 6px 10px 8px;
  }

  .global-navigation .language-switcher a {
    padding: 7px 12px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 80px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 740px;
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 650px;
  }

  .phone-main {
    transform: none;
  }

  .feature-layout,
  .feature-layout-reverse {
    gap: 65px;
    grid-template-columns: 1fr;
  }

  .feature-layout-reverse .feature-copy,
  .feature-layout-reverse .feature-visual {
    order: initial;
  }

  .feature-copy {
    max-width: 720px;
  }

  .feature-visual {
    min-height: 560px;
  }

  .goal-flow {
    max-width: 600px;
    grid-template-columns: 1fr;
  }

  .goal-arrow {
    transform: none;
    text-align: center;
  }

  .goal-card-active {
    transform: none;
  }

  .reflection-grid {
    grid-template-columns: 1fr;
  }

  .reflection-card {
    min-height: auto;
  }

  .screen-gallery {
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .egg-progress {
    max-width: 500px;
    grid-template-columns: 1fr;
  }

  .egg-line {
    width: 2px;
    height: 40px;
    margin: 0 auto;
    background:
      repeating-linear-gradient(
        180deg,
        rgba(196, 161, 70, 0.4) 0 7px,
        transparent 7px 13px
      );
  }

  .summary-box {
    padding: 65px 42px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 700px) {
  .trust-grid,
  .free-pro-note {
    grid-template-columns: 1fr;
  }

  .trust-card {
    min-height: 0;
  }

  .container,
  .container-narrow {
    width: min(
      calc(100% - 32px),
      var(--container-width)
    );
  }

  .section {
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .section-heading h2,
  .feature-copy h2,
  .cta-content h2,
  .summary-box h2 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
  }

  .hero {
    padding-bottom: 110px;
  }

  .hero-copy h1 {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  .hero-description br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-main {
    width: min(82vw, 320px);
  }

  .floating-card {
    min-width: 185px;
    padding: 12px 14px;
  }

  .floating-card-week {
    top: 15%;
    left: 0;
  }

  .floating-card-time {
    right: 0;
    bottom: 12%;
  }

  .scroll-guide {
    display: none;
  }

  .concept-message {
    margin-top: 65px;
  }

  .feature-visual {
    min-height: 500px;
  }

  .phone-secondary {
    width: min(78vw, 300px);
  }

  .feature-point {
    gap: 14px;
  }

  .task-cloud span:nth-child(2n) {
    transform: none;
  }

  .screen-gallery {
    display: flex;
    width: calc(100% + 16px);
    max-width: none;
    margin-right: -16px;
    padding: 10px 16px 35px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screen-card {
    width: min(78vw, 290px);
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .screen-card-featured,
  .screen-card-featured:hover {
    transform: none;
  }

  .idea-note {
    width: 185px;
  }

  .idea-note-back {
    left: 0;
  }

  .idea-note-middle {
    right: 0;
  }

  .growth-message {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .growth-message-icon {
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .summary-box {
    padding: 55px 24px;
    border-radius: 28px;
  }

  .cta-section {
    padding: 120px 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-button,
  .store-badge {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-navigation {
    justify-content: flex-start;
  }

  .copyright {
    grid-column: auto;
  }
}


@media (max-width: 460px) {
  .header-inner {
    gap: 12px;
  }

  .brand-name-en {
    display: none;
  }

  .hero-copy h1 {
    font-size: 3.7rem;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-visual {
    min-height: 500px;
  }

  .floating-card {
    min-width: 0;
    max-width: 170px;
  }

  .floating-card small {
    font-size: 0.6rem;
  }

  .floating-card strong {
    font-size: 0.74rem;
  }

  .floating-card-icon {
    width: 34px;
    height: 34px;
  }

  .phone-frame {
    border-radius: 39px;
  }

  .phone-frame > img,
  .phone-frame > .image-placeholder {
    border-radius: 31px;
  }

  .phone-speaker {
    top: 17px;
    width: 75px;
    height: 21px;
  }

  .reflection-card {
    padding: 27px;
  }

  .idea-note {
    display: none;
  }

  .egg-image {
    width: 155px;
  }

  .growth-message {
    padding: 27px 22px;
  }

  .footer-navigation {
    display: grid;
    gap: 12px;
  }
}


/* -------------------------
   Reduced motion
------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
