:root {
  --bg: #eef8ff;
  --bg2: #f8fbff;
  --text: #0d1733;
  --muted: #637392;
  --blue: #217bff;
  --blue2: #00c8ff;
  --purple: #7b61ff;
  --pink: #ff6fb1;
  --yellow: #ffd86b;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(33, 123, 255, 0.16);
  --shadow: 0 28px 90px rgba(38, 111, 214, 0.22);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 200, 255, 0.30), transparent 26rem),
    radial-gradient(circle at 90% 8%, rgba(123, 97, 255, 0.26), transparent 30rem),
    radial-gradient(circle at 50% 48%, rgba(255, 216, 107, 0.16), transparent 28rem),
    linear-gradient(180deg, #eef8ff 0%, #ffffff 48%, #eef6ff 100%);
  overflow-x: hidden;
  animation: pageFadeIn .8s ease both;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  z-index: 999;
  background: linear-gradient(90deg, var(--blue), var(--blue2), var(--purple));
  box-shadow: 0 0 18px rgba(33,123,255,.45);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image: radial-gradient(rgba(30, 95, 255, .12) 0.75px, transparent 0.75px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -2;
}

.bg-bubbles { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.ambient-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(33,123,255,.22) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 14%, rgba(0,200,255,.20) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 70%, rgba(123,97,255,.18) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 32% 78%, rgba(255,216,107,.18) 0 2px, transparent 3px);
  background-size: 180px 180px, 220px 220px, 250px 250px, 200px 200px;
  animation: driftParticles 16s linear infinite;
  opacity: .9;
}
.bg-bubbles span {
  position: absolute;
  display: block;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 24px 80px rgba(33,123,255,.14);
  animation: bubbleFloat 12s ease-in-out infinite;
}
.bg-bubbles span:nth-child(1){ left: 8%; top: 18%; animation-duration: 13s; }
.bg-bubbles span:nth-child(2){ right: 12%; top: 20%; width: 130px; height: 130px; animation-duration: 16s; animation-delay: -4s; }
.bg-bubbles span:nth-child(3){ left: 16%; bottom: 20%; width: 70px; height: 70px; animation-duration: 11s; animation-delay: -2s; }
.bg-bubbles span:nth-child(4){ right: 22%; bottom: 12%; width: 110px; height: 110px; animation-duration: 15s; animation-delay: -7s; }
.bg-bubbles span:nth-child(5){ left: 46%; top: 8%; width: 58px; height: 58px; animation-duration: 10s; animation-delay: -5s; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1120px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(38, 111, 214, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 999px;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.site-header.scrolled {
  transform: translateY(4px);
  box-shadow: 0 14px 40px rgba(38, 111, 214, 0.18);
  background: rgba(255, 255, 255, 0.88);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; letter-spacing: -0.04em; }
.brand img { width: 42px; height: 42px; border-radius: 14px; box-shadow: 0 10px 24px rgba(33,123,255,.18); }
.nav-links { display: flex; align-items: center; gap: 4px; color: #52627e; font-size: 14px; font-weight: 850; }
.nav-links a { padding: 10px 13px; border-radius: 999px; transition: .25s ease; }
.nav-links a:hover { background: rgba(33,123,255,.09); color: var(--blue); transform: translateY(-1px); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 28px rgba(33,123,255,.24);
  font-weight: 950;
  font-size: 14px;
}

.section { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 94px 0; }
.hero { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 60px; padding-top: 80px; }
.hero-copy > * {
  animation: heroFadeUp .9s cubic-bezier(.2,.8,.2,1) both;
}
.hero-copy .eyebrow { animation-delay: .05s; }
.hero-copy h1 { animation-delay: .1s; }
.hero-copy .hero-desc { animation-delay: .18s; }
.hero-copy .hero-actions { animation-delay: .26s; }
.hero-copy .hero-stats { animation-delay: .34s; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 13px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { word-break: keep-all; }
h1 { margin: 0; font-size: clamp(46px, 7.2vw, 90px); line-height: .97; letter-spacing: -0.08em; }
h2 { margin: 0; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -0.07em; }
h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.04em; }
.hero-desc { margin: 26px 0 0; max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.78; letter-spacing: -0.02em; }
.hero-desc strong { color: #122148; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.primary-btn, .secondary-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 950;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.primary-btn { color: white; background: linear-gradient(135deg, var(--blue), var(--blue2)); box-shadow: 0 18px 38px rgba(33,123,255,.25); }
.secondary-btn { color: #14305f; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 18px 38px rgba(38,111,214,.10); }
.primary-btn:hover, .secondary-btn:hover, .nav-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 44px rgba(33,123,255,.28);
}
.hero-stats { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats div {
  min-width: 116px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 18px 45px rgba(38,111,214,.10);
  animation: statFloat 4s ease-in-out infinite;
}
.hero-stats div:nth-child(2){ animation-delay: -.9s; }
.hero-stats div:nth-child(3){ animation-delay: -1.8s; }
.hero-stats strong { display: block; color: var(--blue); font-size: 22px; letter-spacing: -0.06em; }
.hero-stats span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 850; }

.hero-visual { position: relative; min-height: 650px; display: grid; place-items: center; perspective: 1300px; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(33,123,255,.18); animation: rotateOrbit 13s linear infinite; }
.orbit-one { width: 420px; height: 420px; }
.orbit-two { width: 540px; height: 540px; animation-duration: 18s; animation-direction: reverse; border-color: rgba(123,97,255,.14); }
.spark { position: absolute; color: var(--purple); font-size: 22px; animation: sparkle 2.6s ease-in-out infinite; }
.s1 { left: 8%; top: 22%; }
.s2 { right: 8%; top: 28%; animation-delay: -.8s; }
.s3 { left: 18%; bottom: 20%; animation-delay: -1.5s; }

.phone-stage { position: relative; width: 370px; height: 640px; transform-style: preserve-3d; }
.desk-shadow {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 290px;
  height: 54px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(20, 36, 72, .18);
  filter: blur(14px);
  animation: shadowPulse 4s ease-in-out infinite;
}
.phone-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 326px;
  height: 590px;
  transform-style: preserve-3d;
  transition: transform 1.05s cubic-bezier(.2,.85,.2,1);
  animation: floatPhone 4.4s ease-in-out infinite;
}
.phone-stage.flipped .phone-card { transform: rotateY(180deg) rotateZ(-7deg) translateY(-8px); }
.phone-face {
  position: absolute;
  inset: 0;
  border-radius: 42px;
  backface-visibility: hidden;
  overflow: hidden;
  border: 10px solid #101828;
  box-shadow: 0 34px 86px rgba(15, 42, 95, .26);
}
.phone-front { background: #101828; }
.phone-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 12%, rgba(255,255,255,.35), transparent 18rem),
    linear-gradient(145deg, #dfe8ff, #9bb7ff 48%, #6d7cff);
}
.phone-top { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(8,16,32,.86); }
.phone-top span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.36); }
.phone-screen {
  position: absolute;
  inset: 0;
  padding: 54px 22px 26px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.35), transparent 15rem),
    linear-gradient(160deg, #3aa4ff 0%, #5779ff 50%, #8b6dff 100%);
  color: white;
}
.phone-screen::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
}
.mini-logo { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; font-weight: 950; color: white; }
.mini-logo img { width: 38px; height: 38px; border-radius: 12px; }
.timer-ring {
  position: relative;
  z-index: 2;
  width: 218px;
  height: 218px;
  border-radius: 999px;
  margin: 52px auto 28px;
  display: grid;
  place-items: center;
  background: conic-gradient(#ffffff 0 18%, rgba(255,255,255,.22) 18% 100%);
  box-shadow: 0 24px 60px rgba(18, 109, 255, .32);
  animation: ringBreath 2.8s ease-in-out infinite;
}
.phone-stage.flipped .timer-ring { background: conic-gradient(#ffffff 0 72%, rgba(255,255,255,.22) 72% 100%); }
.timer-core { width: 170px; height: 170px; border-radius: 999px; display: grid; place-items: center; align-content: center; background: rgba(255,255,255,.84); color: #0c4ea6; }
.timer-label { font-size: 12px; font-weight: 950; letter-spacing: .12em; opacity: .65; }
.timer-core strong { margin-top: 4px; font-size: 38px; letter-spacing: -0.06em; }
.status-card { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 13px 14px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.8); border-radius: 18px; color: #0c4ea6; font-weight: 850; font-size: 13px; }
.status-card p { margin: 0; }
.dot { width: 10px; height: 10px; background: #ffb020; border-radius: 999px; box-shadow: 0 0 0 8px rgba(255,176,32,.16); }
.screen-grid { position: relative; z-index: 2; margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.screen-grid div { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.64); }
.screen-grid strong { display: block; color: #0c4ea6; font-size: 20px; }
.screen-grid span { display: block; margin-top: 4px; color: #4e6a99; font-size: 12px; font-weight: 850; }
.camera-bump { position: absolute; left: 24px; top: 24px; width: 86px; height: 118px; border-radius: 30px; background: rgba(255,255,255,.26); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.camera-bump span, .camera-bump i { position: absolute; left: 18px; width: 42px; height: 42px; border-radius: 50%; background: #1a2b55; border: 7px solid rgba(255,255,255,.58); }
.camera-bump span { top: 16px; }
.camera-bump i { bottom: 16px; }
.back-logo { text-align: center; color: white; text-shadow: 0 8px 28px rgba(31,52,120,.32); }
.back-logo img { width: 94px; height: 94px; border-radius: 26px; box-shadow: 0 22px 46px rgba(16,32,80,.25); animation: iconBounce 2.2s ease-in-out infinite; }
.back-logo strong { display: block; margin-top: 16px; font-size: 31px; letter-spacing: -0.06em; }
.back-logo p { margin: 10px 0 0; font-weight: 850; line-height: 1.55; color: rgba(255,255,255,.82); }
.back-sensor { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: rgba(255,255,255,.24); color: white; font-size: 12px; font-weight: 950; letter-spacing: .13em; }
.back-sensor span { width: 9px; height: 9px; border-radius: 50%; background: #3dff9d; box-shadow: 0 0 0 8px rgba(61,255,157,.18); }
.phone-tilt-label { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); z-index: 4; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); color: #244069; font-size: 13px; font-weight: 900; box-shadow: 0 14px 30px rgba(33,123,255,.12); transition: opacity .35s ease, transform .35s ease; white-space: nowrap; }
.back-label { opacity: 0; transform: translateX(-50%) translateY(8px); }
.phone-stage.flipped .front-label { opacity: 0; transform: translateX(-50%) translateY(-8px); }
.phone-stage.flipped .back-label { opacity: 1; transform: translateX(-50%) translateY(0); }
.focus-pulse { position: absolute; left: 50%; top: 50%; width: 310px; height: 310px; transform: translate(-50%, -50%) scale(.75); border-radius: 50%; border: 2px solid rgba(61,255,157,.0); opacity: 0; pointer-events: none; }
.phone-stage.flipped .focus-pulse { animation: focusPulse 1.8s ease-out infinite; }
.flip-demo {
  position: absolute;
  left: 50%;
  bottom: -76px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  padding: 15px 21px;
  color: white;
  background: #0e1e3b;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(14,30,59,.22);
}
.demo-caption { position: absolute; left: 50%; bottom: -130px; transform: translateX(-50%); width: min(420px, 92vw); margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; font-weight: 800; }

.section-title { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-title h2 { position: relative; display: inline-block; }
.section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(33,123,255,.28), rgba(0,200,255,.42));
  transform: scaleX(.18);
  transform-origin: left;
  animation: titleLine 1s cubic-bezier(.2,.8,.2,1) .25s both;
}
.problem-grid, .steps, .feature-layout { display: grid; gap: 18px; }
.problem-grid { grid-template-columns: repeat(3, 1fr); }
.problem-grid article, .step, .feature-card, .dash-card, .download-card, .science, .mascot {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 22px 70px rgba(38,111,214,.11);
  backdrop-filter: blur(18px);
}
.problem-grid article { border-radius: var(--radius); padding: 26px; transition: transform .3s ease, box-shadow .3s ease; }
.problem-grid article:hover, .feature-card:hover, .step:hover, .use-case-card:hover, .model-card:hover, .dash-card:hover, .download-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 28px 76px rgba(38,111,214,.17); }
.tilt-card, .step, .feature-card, .use-case-card, .model-card, .dash-card, .download-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-card::before, .step::before, .feature-card::before, .use-case-card::before, .model-card::before, .dash-card::before, .download-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--move-x, 50%) var(--move-y, 50%), rgba(255,255,255,.38), transparent 60%);
  opacity: var(--glow-opacity, 0);
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 0;
}
.tilt-card > *, .step > *, .feature-card > *, .use-case-card > *, .model-card > *, .dash-card > *, .download-card > * {
  position: relative;
  z-index: 1;
}
.problem-grid .icon-badge, .use-case-card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  margin-bottom: 12px;
}
.problem-grid .icon-badge img, .use-case-card .icon-badge img, .feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.problem-grid p, .step p, .feature-card p, .mascot-copy p, .science p, .download-card p { color: var(--muted); line-height: 1.72; letter-spacing: -0.015em; }

.steps { grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.step::after { content: ""; position: absolute; width: 180px; height: 180px; right: -90px; top: -90px; background: radial-gradient(circle, rgba(0,200,255,.22), transparent 70%); animation: glowMove 5s ease-in-out infinite; }
.step-num { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 24px; color: white; background: linear-gradient(135deg, var(--blue), var(--blue2)); font-weight: 950; }

.feature-layout { grid-template-columns: 1.1fr .9fr .9fr; grid-auto-rows: minmax(210px, auto); }
.model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.model-card {
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(240,246,255,.92));
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 22px 70px rgba(38,111,214,.11);
  backdrop-filter: blur(18px);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.model-card:hover { transform: translateY(-6px); box-shadow: 0 28px 76px rgba(38,111,214,.17); }
.model-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.model-card model-viewer {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  background: linear-gradient(145deg, #f7fbff, #eef6ff);
  display: block;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 20px 40px rgba(33,123,255,.10);
}
.model-card h3 { margin-bottom: 10px; color: #0f2347; }
.model-card p { margin: 0; color: var(--muted); }
.feature-card { border-radius: var(--radius); padding: 28px; transition: transform .3s ease, box-shadow .3s ease; }
.feature-card.large { grid-row: span 2; display: flex; flex-direction: column; justify-content: end; min-height: 438px; background: linear-gradient(145deg, rgba(33,123,255,.88), rgba(0,200,255,.72)); color: white; }
.feature-card.large p { color: rgba(255,255,255,.86); }
.feature-icon { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 0; background: none; margin-bottom: 22px; animation: iconWiggle 3.2s ease-in-out infinite; box-shadow: none; }
.feature-card.large .feature-icon { background: none; }

/* High-quality feature card layout */
.feature-highquality { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: center; padding: 36px; border-radius: 28px; background: linear-gradient(135deg,#f7fbff, #f0f6ff); color: #07204a; box-shadow: 0 30px 100px rgba(32,86,255,.06); }
.feature-highquality .feature-icon { background: none; font-size: 30px; width:100px; height:100px; border-radius:0; box-shadow: none; }
.feature-highquality h3 { font-size: 28px; color: #07204a; margin: 6px 0 8px; }
.hq-lead { color: #3e5678; margin-bottom: 14px; font-weight:700; }
.hq-list { list-style: none; padding:0; margin:0; color: #4b607f; font-weight:800; display:grid; gap:8px; }
.hq-list li strong { color: #0d2b56; font-weight:900; margin-right:8px; }
.hq-right { display:flex; flex-direction:column; align-items:center; gap:16px; }
.hq-visual { width:220px; height:220px; display:grid; place-items:center; background:linear-gradient(180deg,#fff,#fbfbff); border-radius:18px; box-shadow: 0 18px 48px rgba(33,123,255,.08); }
.hq-visual img { width:160px; height:160px; object-fit:contain; }
.feature-highquality .primary-btn { padding:12px 22px; border-radius:14px; font-size:15px; }

.use-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.use-case-card {
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(240,247,255,.92));
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 22px 70px rgba(38,111,214,.10);
  backdrop-filter: blur(18px);
}
.use-case-card span { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: rgba(33,123,255,.10); font-size: 24px; margin-bottom: 16px; }
.use-case-card h3 { margin-bottom: 10px; color: #0f2347; }
.use-case-card p { margin: 0; color: var(--muted); }
.mascot { border-radius: 38px; padding: 48px; display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 30px; overflow: hidden; }
.quail-scene { min-height: 350px; display: grid; place-items: center; position: relative; }
.quail-body { width: 180px; height: 210px; border-radius: 52% 52% 46% 46%; background: linear-gradient(145deg, #fff8df, #ffd370); position: relative; box-shadow: 0 25px 60px rgba(188,130,20,.2); animation: quailBob 3s ease-in-out infinite; }
.quail-crown { position: absolute; width: 58px; height: 44px; left: 62px; top: -34px; background: linear-gradient(145deg, #ffd23d, #ff9f1c); clip-path: polygon(0 100%, 12% 20%, 34% 72%, 50% 0, 66% 72%, 88% 20%, 100% 100%); animation: crownShine 2.8s ease-in-out infinite; }
.quail-eye { position: absolute; top: 74px; width: 18px; height: 18px; background: #17233d; border-radius: 50%; animation: blink 4.2s infinite; }
.quail-eye.left { left: 54px; } .quail-eye.right { right: 54px; }
.quail-beak { position: absolute; left: 78px; top: 96px; width: 25px; height: 18px; background: #ff9f1c; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.quail-wing { position: absolute; left: -18px; top: 112px; width: 66px; height: 82px; background: rgba(255,255,255,.45); border-radius: 60% 30% 60% 40%; transform-origin: 85% 20%; animation: wingFlap 1.8s ease-in-out infinite; }
.quail-foot { position: absolute; width: 36px; height: 10px; background: #ff9f1c; bottom: -8px; border-radius: 999px; }
.quail-foot.one { left: 55px; } .quail-foot.two { right: 55px; }
.book { position: absolute; right: 56px; bottom: 42px; padding: 18px 20px; background: #477dff; color: white; border-radius: 16px; font-weight: 950; transform: rotate(-9deg); box-shadow: 0 18px 40px rgba(33,123,255,.24); animation: bookFloat 3s ease-in-out infinite; }
.tiny-quail { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: 0 20px 45px rgba(33,123,255,.13); font-size: 24px; animation: tinyFloat 4s ease-in-out infinite; }
.q1 { left: 38px; top: 46px; }
.q2 { right: 28px; top: 78px; animation-delay: -1.2s; }
.q3 { left: 88px; bottom: 30px; animation-delay: -2.1s; }

/* Evolution gallery styles */
.evolution { display: grid; gap: 18px; align-items: center; justify-items: center; }
.evolution-stage { width: 220px; height: 260px; display: grid; place-items: center; position: relative; }
.evolution-img { width: 220px; height: 220px; object-fit: contain; border-radius: 18px; box-shadow: 0 24px 60px rgba(33,123,255,.12); background: linear-gradient(180deg, #fff, #fbfbff); transition: opacity .36s ease, transform .36s ease; will-change: opacity, transform; }
.evolution-fallback { display: grid; place-items: center; width: 220px; height: 220px; }
.evolution-controls { display: flex; align-items: center; gap: 12px; }
.evo-btn { border: none; background: rgba(16,32,64,.06); padding: 10px 12px; border-radius: 10px; font-weight: 900; cursor: pointer; }
.stage-label { font-weight: 950; color: var(--blue); }
.stage-thumbs { display: flex; gap: 8px; align-items: center; justify-content: center; }
.stage-thumbs img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; opacity: .6; border: 2px solid transparent; cursor: pointer; }
.stage-thumbs img.active { opacity: 1; border-color: var(--blue); }

@media (max-width: 900px) {
  .evolution-stage { width: 180px; height: 210px; }
  .evolution-img { width: 180px; height: 180px; }
}

.ghost { position: absolute; width: 160px; height: 160px; object-fit: contain; opacity: .22; filter: blur(2px) saturate(.95); pointer-events: none; transition: opacity .28s ease, transform .36s ease; }
.ghost-prev { left: -38px; top: 46px; transform: translateY(8px) scale(.94); }
.ghost-next { right: -38px; top: 46px; transform: translateY(8px) scale(.94); }
.evo-btn { background: rgba(255,255,255,.96); color: var(--blue); box-shadow: 0 12px 30px rgba(16,32,64,.10); width:44px; height:44px; display:inline-grid; place-items:center; border-radius:999px; font-size:18px; transition: transform .18s ease, box-shadow .18s ease; }
.evo-btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 40px rgba(16,32,64,.12); }
.stage-label { background: linear-gradient(135deg,#ffffff, #f1f6ff); padding: 8px 14px; border-radius: 12px; box-shadow: 0 10px 22px rgba(16,32,64,.06); }

@media (max-width: 560px) {
  .ghost { display: none; }
}

.dashboard { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 175px 230px; gap: 18px; }
.dash-card { border-radius: var(--radius); padding: 26px; }
.dash-card span { color: var(--muted); font-weight: 850; }
.dash-card strong { display: block; margin-top: 16px; font-size: 36px; letter-spacing: -0.06em; }
.dash-card p { color: var(--muted); font-weight: 800; }
.focus-time { grid-row: span 2; background: linear-gradient(145deg, #0d66ff, #00c8ff); color: white; }
.focus-time span, .focus-time p { color: rgba(255,255,255,.82); }
.focus-time strong { margin-top: 20px; font-size: 52px; }
.bar { height: 12px; background: rgba(255,255,255,.25); border-radius: 999px; margin-top: 40px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: white; animation: fillBar 2.4s ease forwards; }
.subject-bars { grid-column: 2 / 4; border-radius: var(--radius); padding: 24px; background: var(--card); border: 1px solid rgba(255,255,255,.78); box-shadow: 0 22px 70px rgba(38,111,214,.11); display: flex; align-items: end; justify-content: space-around; gap: 14px; }
.subject-bars div { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 12px; color: var(--muted); font-weight: 850; }
.subject-bars i { width: 100%; max-width: 54px; height: 0; border-radius: 999px 999px 14px 14px; background: linear-gradient(180deg, #00c8ff, #217bff); box-shadow: 0 16px 32px rgba(33,123,255,.16); animation: growBars 1.8s ease forwards; }
.subject-bars div:nth-child(2) i { animation-delay: .18s; }
.subject-bars div:nth-child(3) i { animation-delay: .34s; }
.subject-bars div:nth-child(4) i { animation-delay: .5s; }

.science { border-radius: 38px; padding: 42px; display: grid; grid-template-columns: .72fr 1fr; gap: 26px; align-items: center; }
.science p { margin: 0; font-size: 18px; }
.download { padding-bottom: 80px; }
.download-card { border-radius: 42px; padding: 42px; display: grid; grid-template-columns: 150px 1fr; gap: 32px; align-items: center; background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(232,247,255,.75)); }
.download-card > img { width: 150px; height: 150px; border-radius: 38px; box-shadow: var(--shadow); animation: appIconFloat 3.4s ease-in-out infinite; }
.download-card small { display: block; color: #7b89a4; margin-top: 18px; }


.footer { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 32px 0 44px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); }
.footer strong { color: var(--text); font-size: 20px; }
.footer p { margin: 8px 0 0; }
.footer a { color: var(--blue); font-weight: 950; }

.reveal {
  opacity: 0;
  transform: translateY(36px) scale(.97);
  transition: opacity .95s cubic-bezier(.2,.8,.2,1), transform .95s cubic-bezier(.2,.8,.2,1), filter .95s ease;
  filter: blur(10px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.burst {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  background: radial-gradient(circle, rgba(33,123,255,.9), rgba(0,200,255,.25), transparent 70%);
  transform: translate(-50%, -50%) scale(0.2);
  animation: burstAnim .6s ease-out forwards;
}

@keyframes bubbleFloat { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(16px,-28px,0) scale(1.06); } }
@keyframes floatPhone { 0%,100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes shadowPulse { 0%,100% { transform: translateX(-50%) scale(1); opacity: .75; } 50% { transform: translateX(-50%) scale(.86); opacity: .45; } }
@keyframes rotateOrbit { to { transform: rotate(360deg); } }
@keyframes sparkle { 0%,100% { transform: scale(.8) rotate(0deg); opacity: .38; } 50% { transform: scale(1.3) rotate(18deg); opacity: 1; } }
@keyframes ringBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes focusPulse { 0% { transform: translate(-50%,-50%) scale(.72); opacity: .85; border-color: rgba(61,255,157,.58); } 100% { transform: translate(-50%,-50%) scale(1.45); opacity: 0; border-color: rgba(61,255,157,0); } }
@keyframes iconBounce { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes statFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes glowMove { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18px,18px) scale(1.1); } }
@keyframes iconWiggle { 0%,100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(-5deg) scale(1.05); } }
@keyframes quailBob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes crownShine { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes wingFlap { 0%,100% { transform: rotate(18deg); } 50% { transform: rotate(34deg); } }
@keyframes bookFloat { 0%,100% { transform: rotate(-9deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-10px); } }
@keyframes tinyFloat { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(5deg); } }
@keyframes fillBar { to { width: 72%; } }
@keyframes growBars { to { height: var(--h); } }
@keyframes appIconFloat { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes titleLine { from { transform: scaleX(.18); opacity: .4; } to { transform: scaleX(1); opacity: 1; } }
@keyframes driftParticles { 0% { transform: translate3d(0,0,0); } 50% { transform: translate3d(10px,-18px,0); } 100% { transform: translate3d(-8px,8px,0); } }
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header { top: 8px; width: min(100% - 20px, 680px); }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 54px; gap: 58px; }
  .hero-visual { min-height: 720px; }
  .section { padding: 78px 0; }
  .problem-grid, .steps, .feature-layout, .model-grid, .use-case-grid, .mascot, .science, .download-card { grid-template-columns: 1fr; }
  .feature-card.large { min-height: 280px; }
  .dashboard { grid-template-columns: 1fr; grid-template-rows: auto; }
  .focus-time, .subject-bars { grid-row: auto; grid-column: auto; }
  .phone-stage { transform: scale(.92); transform-origin: center top; }
}

@media (max-width: 560px) {
  .section { width: min(100% - 24px, 1120px); padding: 64px 0; }
  .site-header { padding: 8px; }
  .brand span { font-size: 15px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  h1 { font-size: 48px; }
  .hero-desc { font-size: 16px; }
  .hero-actions { align-items: stretch; }
  .primary-btn, .secondary-btn { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: 1fr; }
  .hero-visual { min-height: 650px; }
  .phone-stage { transform: scale(.78); }
  .section-title { display: block; }
  .mascot { padding: 30px; }
  .download-card { padding: 28px; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
