/* ─────────────────────────────────────────
   rutin · Global Stylesheet
   myrutin.app
───────────────────────────────────────── */

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

:root {
  --accent:       #7C3AED;
  --accent-light: #A78BFA;
  --accent-dim:   #EDE9FE;
  --dark:         #0F0A1A;
  --text:         #1C1033;
  --muted:        #6B7280;
  --surface:      #F9F7FF;
  --card:         #FFFFFF;
  --border:       #E5E7EB;
  --radius:       18px;
  --radius-sm:    10px;
  --shadow:       0 4px 24px rgba(124,58,237,.10);
  --shadow-lg:    0 12px 48px rgba(124,58,237,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
               Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
  height: 68px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  transform-origin: center;
  animation: logo-breath 6s ease-in-out infinite;
}

@keyframes logo-breath {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo img { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  nav.nav-open .nav-links .nav-cta { animation: none; }
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

/* Mobile hamburger toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 120;
  pointer-events: auto;
}
.nav-toggle .hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
}
.nav-toggle .hamburger::before { top: -7px; }
.nav-toggle .hamburger::after { top: 7px; }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  /* Center logo and toggle in the topbar when closed */
  nav { align-items: center; padding: 10px clamp(12px, 4vw, 24px); }
  .nav-links {
    /* keep layout as column but hidden via max-height for animation */
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 8px;
    padding: 0 18px;
    list-style: none;
    z-index: 90;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height .32s ease, opacity .28s ease, transform .28s ease, padding .28s ease;
  }
  nav.nav-open .nav-links {
    max-height: 420px;
    padding: 12px 18px 18px;
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links a { padding: 8px 6px; display: block; text-align: center; }
  /* Make download CTA a full-width bar with entrance animation */
  .nav-cta {
    padding: 12px 14px;
    border-radius: 12px;
    width: 100%;
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
  }
  nav.nav-open .nav-links .nav-cta { animation: bar-entrance .36s cubic-bezier(.2,.9,.2,1); }
  .nav-links li { width: 100%; }
  /* Constrain logo a bit on small screens */
  .nav-logo img { width: 28px; height: 28px; }
}

@keyframes bar-entrance {
  from { transform: translateY(-8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: .88rem !important;
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}

.nav-cta:hover {
  background: #6D28D9 !important;
  transform: translateY(-1px);
  color: #fff !important;
}


nav.nav-open .nav-links .nav-cta {
  animation: bar-entrance .36s cubic-bezier(.2,.9,.2,1), nav-pulse 2.6s ease-in-out .45s infinite;
}

/* ── Sections ── */
section { padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px); }

.container { max-width: 1120px; margin: 0 auto; }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #F3EEFF 0%, #EDE9FE 40%, #DDD6FE 100%);
  padding: clamp(60px, 10vw, 140px) clamp(20px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(167,139,250,.25) 0%, transparent 70%);
@keyframes nav-pulse {
  0% { transform: translateY(0) scale(1); box-shadow: 0 8px 20px rgba(124,58,237,.18); }
  50% { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(124,58,237,.22); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 8px 20px rgba(124,58,237,.18); }
}
  top: -200px; right: -200px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.15) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,.10);
  border: 1px solid rgba(124,58,237,.20);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 22px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); }

/* Breathing animation for pricing card action buttons */
@keyframes breath {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 24px rgba(124,58,237,.18);
  }
  50% {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 36px rgba(124,58,237,.28);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 24px rgba(124,58,237,.18);
  }
}

/* Apply breathing effect on hover for pricing card buttons only */
.pricing-card > .btn:hover {
  animation: breath 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card > .btn:hover { animation: none; transform: none; }
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124,58,237,.35);
}

.btn-primary:hover { box-shadow: 0 12px 32px rgba(124,58,237,.45); }

.btn-secondary {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid rgba(124,58,237,.25);
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.app-store-badge img { height: auto; width: 180px; transition: transform .2s, opacity .2s; }
.app-store-badge img:hover { transform: translateY(-2px); opacity: .85; }

/* ── Hero Visual ── */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1120px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
  max-width: 560px;
  text-align: left;
}

.hero-content h1 { margin-left: 0; margin-right: 0; }
.hero-content p  { margin-left: 0; }
.hero-content .hero-buttons { justify-content: flex-start; }

.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 460px;
  height: 520px;
}

.hero-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: auto;
  max-width: 460px;
  z-index: 2;
  filter: drop-shadow(0 28px 56px rgba(124,58,237,.22));
  animation: phone-rise .9s cubic-bezier(.2,.8,.2,1) .5s both;
}

@keyframes phone-rise {
  from { opacity: 0; transform: translate(-50%, -36%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

.hero-icon {
  position: absolute;
  width: 64px;
  height: 64px;
  object-fit: contain;
  z-index: 3;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.14));
  animation: icon-bob ease-in-out infinite;
  border-radius: 16px;
}

@keyframes icon-bob {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-13px); }
}

/* Individual positions + desynchronised timings */
.hi-aim       { top: 48px;   left: 14px;   animation-duration: 9s;    animation-delay:  0s;    }
.hi-challenge { top: 8px;    left: 50%;    margin-left: -32px; animation-duration: 11s;   animation-delay: -3.5s;  }
.hi-clock     { top: 70px;   right: 10px;  animation-duration: 10s;   animation-delay: -1.5s;  }
.hi-heart     { top: 43%;    right: 2px;   animation-duration: 13s;   animation-delay: -5.2s;  }
.hi-sport     { bottom: 55px; right: 18px; animation-duration: 8.5s;  animation-delay: -2.1s;  }
.hi-list      { bottom: 45px; left: 18px;  animation-duration: 12s;   animation-delay: -4.3s;  }
.hi-diary     { top: 38%;    left: 2px;    animation-duration: 14s;   animation-delay: -7s;    }

@media (prefers-reduced-motion: reduce) {
  .hero-phone { animation: none; transform: translate(-50%, -50%); }
  .hero-icon  { animation: none; }
}

/* Mobile: stack visual below text */
@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  .hero-content h1 { margin-left: auto; margin-right: auto; }
  .hero-content p  { margin: 0 auto 36px; }
  .hero-content .hero-buttons { justify-content: center; }
  .hero-visual {
    width: 320px;
    height: 360px;
  }
  .hero-phone { width: 58%; }
  .hero-icon  { width: 46px; height: 46px; border-radius: 12px; }
  .hi-aim       { top: 34px;   left: 10px;  }
  .hi-challenge { top: 6px;    margin-left: -23px; }
  .hi-clock     { top: 50px;   right: 8px;  }
  .hi-heart     { top: 43%;    right: 0px;  }
  .hi-sport     { bottom: 38px; right: 12px; }
  .hi-list      { bottom: 30px; left: 12px; }
  .hi-diary     { top: 38%;    left: 0px;   }
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.feature-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 8px; }
.section-header .eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.section-header p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.pricing-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124,58,237,.08), var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }

.pricing-price {
  margin: 16px 0 4px;
  line-height: 1;
}

.pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
}

.pricing-price .period {
  font-size: .85rem;
  color: var(--muted);
  margin-left: 4px;
}

.pricing-sub { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }

.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features .check {
  width: 20px; height: 20px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  font-weight: 700;
}

.pricing-features li.locked {
  opacity: .45;
}

.pricing-features li.locked span:last-child {
  text-decoration: line-through;
  text-decoration-color: var(--muted);
}

.pricing-features .cross {
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  flex-shrink: 0;
  filter: grayscale(1);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
}

/* Ensure action button sits at the bottom of the pricing card */
.pricing-card > .btn {
  margin-top: auto;
  align-self: stretch;
}

/* Make pricing action buttons visually pill-shaped and prominent */
.pricing-card > .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  gap: 8px;
}

/* Ensure hover breathing animation has priority and is visible */
.pricing-card > .btn:hover {
  animation: breath 1.6s ease-in-out infinite;
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.stars { color: #F59E0B; font-size: 1rem; margin-bottom: 12px; }

.testimonial-card p {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .2s;
}

.faq-item[open] > .faq-question::after {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq-answer {
  padding: 0 4px 20px;
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.faq-answer a:hover { text-decoration: underline; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px clamp(20px, 5vw, 80px);
  overflow: hidden;
}

.trust-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-icon { margin-right: 5px; }

.trust-sep {
  color: var(--border);
  user-select: none;
}

@media (max-width: 600px) {
  .trust-sep { display: none; }
  .trust-bar-inner { gap: 8px 14px; justify-content: center; }
}

/* ── Glimpse Inside ── */
.glimpse-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 44px 0 52px;
}

.gtab {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
  line-height: 1.4;
}

.gtab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gtab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.glimpse-stage {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  justify-content: center;
}

/* Slider controls for glimpse */
.glimpse-stage { position: relative; }
.glimpse-prev, .glimpse-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.glimpse-prev { left: -14px; }
.glimpse-next { right: -14px; }
.glimpse-prev:hover, .glimpse-next:hover { transform: translateY(-50%) scale(1.04); }

@media (max-width: 860px) {
  .glimpse-prev, .glimpse-next { display: none; }
}

.glimpse-frame {
  position: relative;
  flex-shrink: 0;
  width: 280px;
}

.gshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  /* Use drop-shadow so shadow follows image alpha (no rectangular halo from transparent padding) */
  box-shadow: none;
  /* slightly darker, richer shadows */
  -webkit-filter: drop-shadow(0 28px 72px rgba(124,58,237,.30)) drop-shadow(0 10px 28px rgba(0,0,0,.12));
  filter: drop-shadow(0 28px 72px rgba(124,58,237,.30)) drop-shadow(0 10px 28px rgba(0,0,0,.12));
  display: block;
  opacity: 0;
  transform: scale(.95) translateY(14px);
  transition: opacity .4s cubic-bezier(.2,.8,.2,1), transform .4s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.gshot.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  position: relative;
}

.glimpse-captions {
  max-width: 380px;
}

.gcaption { display: none; }

.gcaption.active {
  display: block;
  animation: caption-in .38s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes caption-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gcaption-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.gcaption h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text);
}

.gcaption p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 860px) {
  .glimpse-stage {
    flex-direction: column;
    gap: 36px;
  }
  .glimpse-captions {
    text-align: center;
    max-width: 360px;
  }
  .glimpse-frame {
    width: 240px;
  }
  .gcaption-icon { margin: 0 auto 18px; }
}

@media (max-width: 480px) {
  .glimpse-frame {
    width: 200px;
  }
  .gtab {
    font-size: .76rem;
    padding: 7px 14px;
  }
  .glimpse-tabs { margin: 32px 0 40px; }
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #5B21B6 100%);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 80px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 clamp(20px, 4vw, 60px);
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  top: -150px; right: -100px;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}

.cta-banner p {
  opacity: .85;
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto 32px;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }

/* ── Footer ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: 48px clamp(20px, 5vw, 80px) 32px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand { max-width: 260px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-logo img { width: 32px; border-radius: 8px; }

.footer-brand p { font-size: .85rem; line-height: 1.6; }

.footer-links h4 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: color .2s;
}

.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
  max-width: 1120px;
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .8rem;
}

.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-light); }

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-size: .98rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  letter-spacing: -.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: .92rem;
  color: #4B5563;
  line-height: 1.8;
  padding: 0 4px 20px;
}

.faq-item a { color: var(--accent); }

/* ── Legal pages ── */
.legal-hero {
  background: linear-gradient(160deg, #F3EEFF 0%, #EDE9FE 100%);
  padding: 80px clamp(20px, 5vw, 80px) 64px;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.legal-hero p { color: var(--muted); font-size: .95rem; }

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px clamp(20px, 5vw, 40px) 100px;
}

.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -.01em;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-of-type { border-top: none; margin-top: 0; }

.legal-body p, .legal-body li {
  font-size: .95rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-body a { color: var(--accent); }

.legal-body .updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 36px;
}

/* ── Hero Entrance Animations ── */
.hero-badge {
  animation: hero-fade-up .65s cubic-bezier(.2,.8,.2,1) both;
}
.hero h1 {
  animation: hero-fade-up .65s cubic-bezier(.2,.8,.2,1) .12s both;
}
.hero p {
  animation: hero-fade-up .65s cubic-bezier(.2,.8,.2,1) .22s both;
}
.hero-buttons {
  animation: hero-fade-up .65s cubic-bezier(.2,.8,.2,1) .32s both;
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero h1, .hero p, .hero-buttons { animation: none; }
}

/* ── Hero Particles ── */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,.30) 0%, rgba(124,58,237,.05) 60%, transparent 100%);
  animation: particle-float ease-in-out infinite;
}
.hero > div:not(.hero-particles) {
  position: relative;
  z-index: 1;
}
@keyframes particle-float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(18px, -22px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-particles { display: none; }
}

/* ── Scroll Reveal ── */
body.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1);
}
body.js-reveal [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-delay="1"] { transition-delay: .06s; }
[data-delay="2"] { transition-delay: .14s; }
[data-delay="3"] { transition-delay: .22s; }
[data-delay="4"] { transition-delay: .30s; }
[data-delay="5"] { transition-delay: .38s; }
[data-delay="6"] { transition-delay: .46s; }
@media (prefers-reduced-motion: reduce) {
  body.js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Legal page h3 headings ── */
.legal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 24px 0 10px;
  letter-spacing: -.01em;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; }
}
