/* ===================================================
   NOKTO — gece uygulaması
   Night design system. Hue lives in the accents,
   never in the ink.
   =================================================== */

/* ---------------------------------------------------
   1. Tokens
   --------------------------------------------------- */
:root {
  /* Surfaces */
  --night-900: #0A0715;   /* page, bottom of the fade */
  --night-800: #120D22;   /* page, top of the fade */
  --night-700: #1B1630;   /* card surface */
  --night-600: #221C3B;   /* raised surface / hover */
  --hairline:  #2C2545;

  /* Accents — the signature violet */
  --accent:      #8B5CF6;
  --accent-deep: #6D3EE8;
  --accent-soft: #B79BF5;  /* lavender: accent colour that is safe as text */
  --alert:       #E0457B;

  /* Secondary hues, for cards that need to differ from one another */
  --peach: #F7A08A;
  --gold:  #F5C463;
  --teal:  #63D2C6;

  /* Ink */
  --ink:       #F2EEFB;
  --ink-muted: #9A92B4;

  /* Fonts */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Depth — on a dark page, depth comes from raised surfaces and glow */
  --surface: linear-gradient(180deg, var(--night-600) 0%, var(--night-700) 100%);
  --edge-top: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  --drop: 0 24px 48px -32px rgba(0, 0, 0, 0.95);
  --halo: 0 0 60px -14px rgba(139, 92, 246, 0.55);
  --halo-strong: 0 0 90px -18px rgba(139, 92, 246, 0.8);

  /* Geometry */
  --section-gap: 128px;
  --container-max: 1180px;
  --container-pad: 24px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-full: 999px;

  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------
   2. Reset & base
   --------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--night-800);
  background-image: linear-gradient(180deg,
    var(--night-800) 0%,
    #150F29 42%,
    #100B1F 74%,
    var(--night-900) 100%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

::selection {
  background: rgba(139, 92, 246, 0.35);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------
   3. Typography
   --------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.16;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.022em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
}

h3 { font-size: 1.24rem; letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; }

p {
  color: var(--ink-muted);
  max-width: min(62ch, 100%);
}

strong { color: var(--ink); font-weight: 600; }

em { font-style: italic; }

.text-accent { color: var(--accent-soft); }

.text-gradient {
  background: linear-gradient(105deg, var(--accent-soft) 0%, var(--accent) 55%, var(--peach) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
}

/* ---------------------------------------------------
   4. Layout helpers
   --------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 72px;
}

.section-header h2 { margin-bottom: 18px; }

.section-header p {
  margin: 0 auto;
  font-size: 1.08rem;
}

/* Soft violet light pooling behind a section */
.aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.aura-violet { background: rgba(139, 92, 246, 0.26); }
.aura-deep   { background: rgba(109, 62, 232, 0.22); }
.aura-rose   { background: rgba(224, 69, 123, 0.14); }

/* Ambient starfield, behind all content */
.starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1.6px 1.6px at 18% 22%, rgba(242, 238, 251, 0.75), transparent 60%),
    radial-gradient(1.2px 1.2px at 63% 14%, rgba(242, 238, 251, 0.55), transparent 60%),
    radial-gradient(1.8px 1.8px at 84% 56%, rgba(183, 155, 245, 0.65), transparent 60%),
    radial-gradient(1.1px 1.1px at 41% 71%, rgba(242, 238, 251, 0.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 8% 84%, rgba(242, 238, 251, 0.45), transparent 60%),
    radial-gradient(1px 1px at 73% 91%, rgba(242, 238, 251, 0.4), transparent 60%);
  background-size: 620px 620px, 470px 470px, 720px 720px, 390px 390px, 540px 540px, 300px 300px;
}

/* Film grain, kept very low — grain reads strong on a dark page */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------
   5. Surfaces
   --------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--edge-top), var(--drop);
}

/* ---------------------------------------------------
   6. Buttons
   --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  transition: transform var(--ease), box-shadow var(--ease),
              background-color var(--ease), border-color var(--ease), color var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #FFFFFF;
  box-shadow: 0 12px 30px -12px rgba(109, 62, 232, 0.9), var(--edge-top);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(139, 92, 246, 0.95), var(--halo);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(242, 238, 251, 0.04);
  border: 1px solid var(--hairline);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--halo);
}

.btn-store {
  gap: 13px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  box-shadow: var(--edge-top), var(--drop);
}

.btn-store:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: var(--edge-top), var(--halo);
}

.btn-store svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent-soft);
}

.btn-store .store-info { text-align: left; line-height: 1.25; }

.btn-store .store-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.btn-store .store-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
}

/* ---------------------------------------------------
   7. Navigation
   --------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: padding var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(18, 13, 34, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 var(--hairline), 0 18px 40px -34px rgba(0, 0, 0, 1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid var(--hairline);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: width var(--ease);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 11px 22px; font-size: 0.9rem; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px 0;
  z-index: 1001;
}

.nav-mobile-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--ease), opacity var(--ease);
}

.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: rgba(10, 7, 21, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  transition: opacity var(--ease);
}

.mobile-menu.active { display: flex; opacity: 1; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
}

.mobile-menu a.btn { font-family: var(--font-body); font-size: 1rem; }

/* ---------------------------------------------------
   8. Hero
   --------------------------------------------------- */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
}

.hero .aura-violet {
  width: 620px;
  height: 620px;
  top: -180px;
  right: -120px;
}

.hero .aura-deep {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -140px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 17px 8px 13px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 26px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2.6s ease-in-out infinite;
}

.hero h1 { margin-bottom: 22px; }

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--accent-soft);
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.78;
  max-width: min(47ch, 100%);
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.hero-trust-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.hero-trust-divider {
  width: 1px;
  height: 18px;
  background: var(--hairline);
}

/* --- Hero visual: mascot in an orbit of light --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

.orb {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orb::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%,
    rgba(139, 92, 246, 0.42) 0%,
    rgba(109, 62, 232, 0.18) 45%,
    transparent 72%);
  filter: blur(18px);
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(183, 155, 245, 0.16);
}

.orb-ring-1 { inset: 2%; }
.orb-ring-2 { inset: 13%; border-color: rgba(183, 155, 245, 0.1); }
.orb-ring-3 {
  inset: -6%;
  border-style: dashed;
  border-color: rgba(183, 155, 245, 0.12);
  animation: slow-spin 80s linear infinite;
}

.orb-mascot {
  position: relative;
  z-index: 2;
  height: 84%;
  width: auto;
  max-width: 78%;
  filter: drop-shadow(0 30px 45px rgba(10, 7, 21, 0.75));
  animation: gentle-float 7s ease-in-out infinite;
}

.orb-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(27, 22, 48, 0.9);
  border: 1px solid var(--hairline);
  box-shadow: var(--edge-top), var(--drop);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  animation: gentle-float 9s ease-in-out infinite reverse;
}

.orb-chip svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent-soft);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.orb-chip-time { top: 6%; left: -4%; }

/* ---------------------------------------------------
   9. Stats bar
   --------------------------------------------------- */
.stats-bar { padding: 24px 0 64px; }

.stats-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 18px 56px;
  padding: 34px 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--edge-top), var(--drop);
}

.stat-item { text-align: center; flex: 1 1 180px; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--accent-soft);
}

.stat-label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.stats-divider {
  width: 1px;
  background: var(--hairline);
  align-self: stretch;
}

/* ---------------------------------------------------
   10. Features
   --------------------------------------------------- */
.features { overflow: hidden; }

.features .aura-violet {
  width: 680px;
  height: 680px;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.55;
}

.features-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  --hue: var(--accent);
  position: relative;
  padding: 32px 28px 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--edge-top), var(--drop);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--hue) 45%, transparent);
  box-shadow: var(--edge-top), var(--drop),
              0 0 60px -16px color-mix(in srgb, var(--hue) 70%, transparent);
}

.feature-card-hue-alert    { --hue: var(--alert); }
.feature-card-hue-lavender { --hue: var(--accent-soft); }
.feature-card-hue-peach    { --hue: var(--peach); }
.feature-card-hue-gold     { --hue: var(--gold); }
.feature-card-hue-teal     { --hue: var(--teal); }

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.14);
  background: color-mix(in srgb, var(--hue) 15%, transparent);
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-color: color-mix(in srgb, var(--hue) 28%, transparent);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  stroke: var(--hue);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 { margin-bottom: 9px; }

.feature-card p { font-size: 0.95rem; line-height: 1.65; }

/* ---------------------------------------------------
   11. Showcase (alternating art + text)
   --------------------------------------------------- */
.showcase { padding: 72px 0; overflow: hidden; }

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.showcase-grid.reverse .showcase-visual { order: -1; }

.showcase-text h2 { margin-bottom: 20px; }

.showcase-text > p { margin-bottom: 26px; font-size: 1.05rem; }

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.check svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent-soft);
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Art panel: a lit surface holding the mascot, not a screenshot */
.art-panel {
  position: relative;
  display: grid;
  place-items: center;
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 90% at 50% 15%, rgba(139, 92, 246, 0.22) 0%, transparent 62%),
    var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--edge-top), var(--drop);
  overflow: hidden;
}

.art-panel::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 90%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.14);
  filter: blur(60px);
}

.art-panel.is-alert {
  background:
    radial-gradient(120% 90% at 50% 15%, rgba(224, 69, 123, 0.18) 0%, transparent 62%),
    var(--surface);
}

.art-panel.is-alert::after { background: rgba(224, 69, 123, 0.13); }

.art-panel img {
  position: relative;
  z-index: 1;
  width: 74%;
  filter: drop-shadow(0 26px 40px rgba(10, 7, 21, 0.7));
}

.art-caption {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--accent-soft);
  text-align: center;
}

/* ---------------------------------------------------
   12. How it works
   --------------------------------------------------- */
.how-it-works { overflow: hidden; }

.how-it-works .aura-deep {
  width: 560px;
  height: 560px;
  top: 30%;
  right: -180px;
}

.steps-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 22%, var(--accent) 78%, transparent);
  opacity: 0.4;
}

.step-card { position: relative; text-align: center; }

.step-number {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: #FFFFFF;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: var(--halo), var(--edge-top), 0 0 0 8px var(--night-800);
}

.step-card h3 { margin-bottom: 10px; }

.step-card p {
  font-size: 0.96rem;
  margin: 0 auto;
  max-width: min(30ch, 100%);
}

/* ---------------------------------------------------
   13. Testimonials
   --------------------------------------------------- */
.testimonials { overflow: hidden; }

.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  max-width: 640px;
  margin: 0 auto 44px;
  padding: 22px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--edge-top), var(--drop);
  text-align: center;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.rating-meta { font-size: 0.9rem; color: var(--ink-muted); }

.testimonials-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--edge-top), var(--drop);
  transition: transform var(--ease), border-color var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  flex: 1;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.testimonial-author-info { display: block; line-height: 1.45; }

.testimonial-author-info strong { display: block; font-size: 0.94rem; }

.testimonial-author-info span { font-size: 0.84rem; color: var(--ink-muted); }

/* ---------------------------------------------------
   14. Who is it for
   --------------------------------------------------- */
.who-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.who-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: rgba(242, 238, 251, 0.035);
  border: 1px solid var(--hairline);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}

.who-tag:hover {
  color: var(--ink);
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.1);
}

.who-tag svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-soft);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------
   15. Pro
   --------------------------------------------------- */
.pro-section { overflow: hidden; }

.pro-section .aura-violet {
  width: 720px;
  height: 720px;
  top: -10%;
  right: -220px;
}

.pro-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.pro-content h2 { margin-bottom: 18px; }

.pro-content > p { margin-bottom: 32px; font-size: 1.06rem; }

.pro-features-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.pro-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--ink-muted);
}

.pro-card {
  position: relative;
  padding: 44px 36px;
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(100% 70% at 50% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 65%),
    var(--surface);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: var(--edge-top), var(--drop), var(--halo);
}

.pro-card-badge {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.pro-card h3 { margin-bottom: 14px; font-size: 1.35rem; }

.pro-price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.pro-period {
  margin-bottom: 26px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.pro-card .btn { width: 100%; padding: 17px 30px; }

.pro-note {
  margin: 16px auto 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ---------------------------------------------------
   16. Download / preview
   --------------------------------------------------- */
.download-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.download-cta .aura-violet {
  width: 760px;
  height: 760px;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
}

.download-inner { position: relative; z-index: 1; }

/* Poster frames. These hold brand art, not app screenshots. */
.preview-strip {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
  margin-bottom: 56px;
}

.preview-phone {
  position: relative;
  width: 210px;
  aspect-ratio: 9 / 19;
  padding: 9px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2C2545 0%, #16112A 100%);
  box-shadow: var(--drop), 0 0 0 1px rgba(242, 238, 251, 0.06);
  transition: transform var(--ease);
}

.preview-phone-lead {
  width: 244px;
  box-shadow: var(--drop), var(--halo-strong), 0 0 0 1px rgba(183, 155, 245, 0.18);
}

.preview-phone:hover { transform: translateY(-8px); }

.preview-screen {
  position: relative;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 18px;
  background:
    radial-gradient(90% 60% at 50% 32%, rgba(139, 92, 246, 0.34) 0%, transparent 70%),
    linear-gradient(180deg, #1B1630 0%, #0A0715 100%);
}

.preview-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  border-radius: 0 0 14px 14px;
  background: #16112A;
}

.preview-screen img {
  width: 78%;
  filter: drop-shadow(0 16px 26px rgba(10, 7, 21, 0.8));
}

.preview-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--accent-soft);
  text-align: center;
}

.download-cta h2 { margin-bottom: 16px; }

.download-inner > p {
  margin: 0 auto 34px;
  font-size: 1.08rem;
}

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

/* ---------------------------------------------------
   17. Disclaimer
   --------------------------------------------------- */
.disclaimer {
  padding: 26px var(--container-pad);
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-muted);
  background: rgba(10, 7, 21, 0.5);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.disclaimer p { max-width: 720px; margin: 0 auto; }

/* ---------------------------------------------------
   18. Footer
   --------------------------------------------------- */
.footer {
  padding: 72px 0 32px;
  background: var(--night-900);
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer-brand p { font-size: 0.92rem; line-height: 1.7; }

.footer-col h4 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-bottom-links a:hover { color: var(--ink); }

/* ---------------------------------------------------
   19. Inner pages (legal, contact, account deletion)
   --------------------------------------------------- */
.page-header {
  position: relative;
  padding: 152px 0 60px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.page-header .aura-violet {
  width: 620px;
  height: 620px;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
}

.page-header-inner { position: relative; z-index: 1; }

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 12px;
}

.page-header p { margin: 0 auto; }

.page-content { padding: 72px 0 var(--section-gap); }

.content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 44px clamp(22px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--edge-top), var(--drop);
}

.content-wrap h2 {
  font-size: 1.45rem;
  margin: 44px 0 14px;
}

.content-wrap > h2:first-child { margin-top: 0; }

.content-wrap p {
  max-width: none;
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.8;
}

.content-wrap a:not(.btn) {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-wrap a:not(.btn):hover { color: var(--ink); }

.content-wrap ul,
.content-wrap ol {
  margin: 0 0 18px;
  padding-left: 4px;
}

.content-wrap li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-muted);
}

.content-wrap ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.content-wrap ol { counter-reset: steps; }

.content-wrap ol li { counter-increment: steps; }

.content-wrap ol li::before {
  content: counter(steps) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--accent-soft);
}

.content-wrap code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid var(--hairline);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  color: var(--accent-soft);
}

.content-wrap .btn { margin: 6px 0 22px; }

/* ---------------------------------------------------
   20. Contact page
   --------------------------------------------------- */
.contact-section { padding: 72px 0 var(--section-gap); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 { margin-bottom: 12px; }

.contact-info > p { margin-bottom: 28px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--edge-top);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.contact-method:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: var(--edge-top), var(--halo);
}

.contact-method-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.26);
}

.contact-method-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--accent-soft);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-method p { margin: 0; font-size: 0.88rem; }

.contact-form-wrap {
  padding: 36px clamp(22px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--edge-top), var(--drop);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: rgba(10, 7, 21, 0.55);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-muted); opacity: 0.8; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-submit { width: 100%; }

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
}

/* ---------------------------------------------------
   21. Motion
   --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--ease-slow), transform var(--ease-slow);
}

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

/* Without JS there is no observer to reveal anything — show it all. */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(1.35); }
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

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

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

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

/* ---------------------------------------------------
   22. Responsive
   --------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-gap: 92px; }

  .hero { padding-top: 140px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-buttons,
  .hero-trust { justify-content: center; }

  .hero-visual { min-height: 0; order: -1; }
  .orb { width: min(360px, 82vw); }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-grid.reverse .showcase-visual { order: 0; }

  .art-panel { max-width: 460px; margin: 0 auto; }

  .pro-inner { grid-template-columns: 1fr; gap: 44px; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

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

@media (max-width: 768px) {
  :root {
    --section-gap: 72px;
    --container-pad: 20px;
  }

  body { font-size: 16px; }

  .nav-links,
  .nav-cta.desktop-only { display: none; }

  .nav-mobile-toggle { display: flex; }

  .section-header { margin-bottom: 48px; }

  .hero { padding: 120px 0 64px; }

  .hero-buttons .btn-store { flex: 1 1 100%; }

  .orb { width: min(250px, 62vw); }

  .orb-chip-time { left: 0; font-size: 0.95rem; }

  .stats-inner { padding: 26px 20px; gap: 22px; }
  .stats-divider { display: none; }
  .stat-number { font-size: 2.1rem; }

  .features-grid,
  .testimonials-cards { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-grid::before { display: none; }

  .pro-features-list { grid-template-columns: 1fr; }

  .preview-strip { gap: 12px; }
  .preview-phone { width: 34vw; border-radius: 26px; padding: 6px; }
  .preview-phone-lead { width: 40vw; }
  .preview-screen { border-radius: 21px; padding: 16px 10px; gap: 8px; }
  .preview-screen::before { width: 52px; height: 13px; }
  .preview-word { font-size: 0.8rem; }

  .content-wrap { padding: 30px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .preview-word { display: none; }
  .btn { padding: 14px 24px; }
}
