/* ==========================================================================
   Bebek Telsizi / Baby Monitor — Shared Stylesheet (public/assets/site.css)
   Aesthetic: "Moonlit Nursery & Acoustic Calm"
   Supports: Dark & Light mode (prefers-color-scheme + manual toggle),
             RTL (dir="rtl"), CJK/Devanagari/Cyrillic fallbacks,
             360px+ responsive without horizontal overflow,
             prefers-reduced-motion, WCAG AA contrast.
   ========================================================================== */

:root {
  /* Typography */
  --font-display: 'Fraunces', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans Devanagari", "Hiragino Sans", "Noto Sans JP", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", "Noto Sans Devanagari", "Hiragino Sans", "Noto Sans JP", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-full: 9999px;

  /* Dark Mode Default: "Starlit Nursery Night" */
  color-scheme: dark;
  --bg: #070B16;
  --bg-dusk: #0C1326;
  --bg-elevated: #101930;
  --bg-card: rgba(18, 27, 50, 0.78);
  --bg-card-solid: #121B32;
  --bg-card-hover: rgba(25, 37, 68, 0.92);
  --bg-glass: rgba(8, 13, 26, 0.84);
  --bg-subtle: rgba(255, 255, 255, 0.04);

  --border: rgba(248, 246, 240, 0.09);
  --border-strong: rgba(248, 246, 240, 0.16);
  --border-accent: rgba(251, 191, 36, 0.36);
  --border-indigo: rgba(129, 140, 248, 0.32);

  --text: #F9F7F1;
  --text-secondary: #DCE3F0;
  --text-muted: #9FB0C9;

  --accent: #FBBF24;
  --accent-strong: #F59E0B;
  --accent-soft: rgba(251, 191, 36, 0.13);
  --accent-glow: rgba(251, 191, 36, 0.24);
  --accent-ink: #170F02;
  --accent-gradient: linear-gradient(135deg, #FCD34D 0%, #F59E0B 55%, #D97706 100%);

  --indigo: #818CF8;
  --indigo-soft: rgba(129, 140, 248, 0.14);
  --cyan: #38BDF8;
  --mint: #34D399;
  --mint-soft: rgba(52, 211, 153, 0.14);
  --rose: #FB7185;

  --playstore-bg: #FAF8F3;
  --playstore-text: #0F172A;
  --playstore-sub: #475569;
  --playstore-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 4px 16px rgba(2, 6, 23, 0.28);
  --shadow-md: 0 16px 40px rgba(2, 6, 23, 0.45);
  --shadow-lg: 0 28px 68px rgba(2, 6, 23, 0.65);
  --ripple-stroke: rgba(251, 191, 36, 0.14);
  --ripple-indigo: rgba(129, 140, 248, 0.14);
  --star-opacity: 0.75;
}

/* Light Mode: "Warm Nursery Dawn / Cozy Ivory" (matches app's cream UI) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #FAF6EE;
    --bg-dusk: #F3ECE0;
    --bg-elevated: #EFE7D8;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-solid: #FFFFFF;
    --bg-card-hover: #FFFFFF;
    --bg-glass: rgba(250, 246, 238, 0.88);
    --bg-subtle: rgba(19, 25, 43, 0.04);

    --border: rgba(19, 25, 43, 0.10);
    --border-strong: rgba(19, 25, 43, 0.18);
    --border-accent: rgba(180, 83, 9, 0.30);
    --border-indigo: rgba(67, 56, 202, 0.24);

    --text: #121829;
    --text-secondary: #283248;
    --text-muted: #4A566E;

    --accent: #B45309;
    --accent-strong: #92400E;
    --accent-soft: rgba(245, 158, 11, 0.14);
    --accent-glow: rgba(245, 158, 11, 0.22);
    --accent-ink: #170F02;
    --accent-gradient: linear-gradient(135deg, #FBBF24 0%, #F59E0B 60%, #EA580C 100%);

    --indigo: #4338CA;
    --indigo-soft: rgba(79, 70, 229, 0.10);
    --cyan: #0284C7;
    --mint: #047857;
    --mint-soft: rgba(16, 185, 129, 0.12);
    --rose: #E11D48;

    --playstore-bg: #121829;
    --playstore-text: #FAF8F3;
    --playstore-sub: #CBD5E1;
    --playstore-shadow: 0 14px 32px rgba(18, 24, 41, 0.22);

    --shadow-sm: 0 4px 14px rgba(18, 24, 41, 0.06);
    --shadow-md: 0 16px 36px rgba(18, 24, 41, 0.09);
    --shadow-lg: 0 26px 58px rgba(18, 24, 41, 0.14);
    --ripple-stroke: rgba(217, 119, 6, 0.15);
    --ripple-indigo: rgba(79, 70, 229, 0.12);
    --star-opacity: 0.28;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #FAF6EE;
  --bg-dusk: #F3ECE0;
  --bg-elevated: #EFE7D8;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-solid: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(250, 246, 238, 0.88);
  --bg-subtle: rgba(19, 25, 43, 0.04);

  --border: rgba(19, 25, 43, 0.10);
  --border-strong: rgba(19, 25, 43, 0.18);
  --border-accent: rgba(180, 83, 9, 0.30);
  --border-indigo: rgba(67, 56, 202, 0.24);

  --text: #121829;
  --text-secondary: #283248;
  --text-muted: #4A566E;

  --accent: #B45309;
  --accent-strong: #92400E;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --accent-glow: rgba(245, 158, 11, 0.22);
  --accent-ink: #170F02;
  --accent-gradient: linear-gradient(135deg, #FBBF24 0%, #F59E0B 60%, #EA580C 100%);

  --indigo: #4338CA;
  --indigo-soft: rgba(79, 70, 229, 0.10);
  --cyan: #0284C7;
  --mint: #047857;
  --mint-soft: rgba(16, 185, 129, 0.12);
  --rose: #E11D48;

  --playstore-bg: #121829;
  --playstore-text: #FAF8F3;
  --playstore-sub: #CBD5E1;
  --playstore-shadow: 0 14px 32px rgba(18, 24, 41, 0.22);

  --shadow-sm: 0 4px 14px rgba(18, 24, 41, 0.06);
  --shadow-md: 0 16px 36px rgba(18, 24, 41, 0.09);
  --shadow-lg: 0 26px 58px rgba(18, 24, 41, 0.14);
  --ripple-stroke: rgba(217, 119, 6, 0.15);
  --ripple-indigo: rgba(79, 70, 229, 0.12);
  --star-opacity: 0.28;
}

/* Script-specific font harmony for non-Latin scripts */
:lang(ar),
:lang(hi),
:lang(ja),
:lang(ko),
:lang(ru) {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Geeza Pro", "Noto Sans Arabic", "Kohinoor Devanagari", "Noto Sans Devanagari", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4,
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) h4,
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4,
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) h4 {
  letter-spacing: 0 !important;
  line-height: 1.32;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 85% 50% at 50% -10%, var(--accent-soft), transparent 70%),
    radial-gradient(ellipse 65% 45% at 85% 25%, var(--indigo-soft), transparent 70%);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  min-height: 100vh;
  position: relative;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

a {
  color: var(--accent);
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Ambient Moonlit & Sound-Wave Backdrop
   ========================================================================== */
.ambient-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.glow-top {
  width: min(680px, 95vw);
  height: 440px;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(251, 191, 36, 0) 72%);
}

.glow-bottom {
  width: min(560px, 90vw);
  height: 500px;
  top: 34%;
  inset-inline-end: -140px;
  background: radial-gradient(circle, var(--indigo-soft) 0%, rgba(129, 140, 248, 0) 70%);
}

.glow-mint {
  width: min(500px, 85vw);
  height: 440px;
  bottom: 14%;
  inset-inline-start: -140px;
  background: radial-gradient(circle, var(--mint-soft) 0%, rgba(52, 211, 153, 0) 70%);
}

.night-sky-svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1440px, 100vw);
  height: 820px;
  opacity: var(--star-opacity);
  pointer-events: none;
}

.ripple-ring {
  fill: none;
  stroke: var(--ripple-stroke);
  stroke-width: 1.25;
  transform-origin: center;
  animation: pulse-ripple 9s ease-in-out infinite;
}

.ripple-ring.r-2 {
  stroke: var(--ripple-indigo);
  animation-delay: -3s;
}

.ripple-ring.r-3 {
  stroke: var(--ripple-stroke);
  stroke-dasharray: 6 10;
  animation-delay: -6s;
}

.twinkle-star {
  fill: var(--accent);
  animation: star-twinkle 5s ease-in-out infinite;
}

.twinkle-star.s-2 {
  animation-delay: -2.4s;
  fill: var(--indigo);
}

@keyframes pulse-ripple {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.035); opacity: 1; }
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 0.95; transform: scale(1.12); }
}

/* ==========================================================================
   Layout Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
body > nav {
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  min-width: 0;
  flex-shrink: 1;
}

.brand-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-icon-wrap::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  border: 1px solid var(--border-accent);
  pointer-events: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 16px var(--accent-glow);
  flex-shrink: 0;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-actions,
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Language Switcher */
.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select-icon {
  position: absolute;
  inset-inline-start: 10px;
  width: 15px;
  height: 15px;
  color: var(--accent);
  pointer-events: none;
  z-index: 1;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg-card-solid);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding-block: 8px;
  padding-inline-start: 30px;
  padding-inline-end: 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  max-width: 170px;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239FB0C9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

[dir="rtl"] .lang-select {
  background-position: left 10px center;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: rotate(12deg);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .icon-sun {
    display: block;
  }
  :root:not([data-theme="dark"]) .theme-toggle .icon-moon {
    display: none;
  }
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}
:root[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

/* Primary Nav CTA & Policy Nav Buttons */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px var(--accent-glow);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
  color: var(--accent-ink);
}

.nav-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  background: var(--bg-card-solid);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: clamp(44px, 7vw, 84px);
  padding-bottom: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 820px;
  margin-inline: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px var(--accent-soft);
  max-width: 100%;
  text-align: start;
}

.badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent);
  animation: beacon-pulse 2.4s ease-in-out infinite;
}

.badge-wave {
  width: 18px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent);
}

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

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin-bottom: 20px;
  color: var(--text);
  text-wrap: balance;
}

.hero p {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 34px;
  line-height: 1.68;
  text-wrap: pretty;
}

/* Hero CTA Group */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 52px;
}

.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--playstore-bg);
  color: var(--playstore-text);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: var(--playstore-shadow);
  position: relative;
  overflow: hidden;
}

.btn-playstore:hover {
  transform: translateY(-3px);
  color: var(--playstore-text);
}

.btn-playstore svg {
  width: 26px;
  height: 28px;
  flex-shrink: 0;
}

.btn-playstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.18;
  text-align: start;
}

.btn-playstore-text small {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--playstore-sub);
}

.btn-playstore-text strong {
  font-size: 1.12rem;
  font-family: var(--font-sans);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  padding: 15px 22px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-secondary .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  flex-shrink: 0;
}

/* ==========================================================================
   Screenshots Showcase & Sound-Wave Stage
   ========================================================================== */
.mockup-wrapper {
  position: relative;
  margin: 16px auto 24px;
  max-width: 1060px;
  padding-top: 18px;
}

/* Decorative acoustic soundwave ribbon behind the phones */
.soundwave-ribbon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 980px;
  height: 220px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.mockup-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 20px;
  padding: 12px 4px 20px;
}

.mockup-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid var(--border-strong);
  background: #0D1326;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 9 / 16;
}

.mockup-card::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 2;
  pointer-events: none;
}

.mockup-card.hero-phone {
  transform: translateY(-18px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 28px 64px var(--accent-glow), var(--shadow-lg);
  z-index: 2;
}

.mockup-card:hover {
  transform: translateY(-22px) scale(1.035);
  border-color: var(--accent);
  z-index: 3;
}

.mockup-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Section Titles & Decorative Sound-Wave Dividers
   ========================================================================== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  margin-bottom: 14px;
}

.section-emblem svg {
  width: 22px;
  height: 22px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
  text-wrap: balance;
}

.section-title p {
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  max-width: 620px;
  margin-inline: auto;
  text-wrap: pretty;
}

/* ==========================================================================
   Features Section (6 Cards with Sound-Wave Motifs)
   ========================================================================== */
.features {
  padding-block: clamp(52px, 7vw, 88px);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

/* Subtle concentric wave watermark in each feature card corner */
.feature-card::after {
  content: "";
  position: absolute;
  top: -48px;
  inset-inline-end: -48px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 18px solid var(--accent-soft);
  opacity: 0.55;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.feature-card:nth-child(even)::after {
  border-color: var(--indigo-soft);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::after {
  transform: scale(1.18);
  opacity: 0.9;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--indigo-soft) 100%);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px var(--accent-soft);
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   3-Step Guide ("Nighttime Setup Ritual")
   ========================================================================== */
.steps {
  padding-block: clamp(48px, 6vw, 80px);
  position: relative;
}

.steps-shell {
  background: linear-gradient(165deg, var(--bg-dusk) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 60px) clamp(20px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  position: relative;
}

/* Connecting acoustic wave line on desktop */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 46px;
  inset-inline: 16%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0,
    var(--accent) 6px,
    transparent 6px,
    transparent 14px
  );
  opacity: 0.45;
  z-index: 0;
}

.step-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 6px var(--accent-soft), 0 8px 20px var(--accent-glow);
}

.step-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  margin-bottom: 12px;
  opacity: 0.9;
}

.step-visual svg {
  width: 36px;
  height: 36px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
  padding-block: clamp(48px, 6vw, 80px);
}

.faq-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.faq-layout .section-title {
  text-align: start;
  margin-bottom: 0;
  position: sticky;
  top: 100px;
}

.faq-illustration {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-illustration svg {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item:nth-child(2) {
  border-inline-start-color: var(--indigo);
}

.faq-item:nth-child(3) {
  border-inline-start-color: var(--mint);
}

.faq-item:hover {
  background: var(--bg-card-hover);
}

.faq-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.38;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.bottom-cta {
  padding-block: clamp(36px, 5vw, 72px) clamp(56px, 8vw, 92px);
  text-align: center;
}

.cta-banner {
  background:
    radial-gradient(circle at 50% 0%, var(--accent-soft) 0%, transparent 65%),
    linear-gradient(145deg, var(--bg-dusk) 0%, var(--bg-card-solid) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 48px);
  max-width: 920px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner-ripples {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

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

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
  text-wrap: balance;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  max-width: 580px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   Long-Form Document Pages (Privacy Policy & Data Deletion)
   ========================================================================== */
article {
  padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 96px);
  position: relative;
  z-index: 1;
}

.page-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.meta-date {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 8px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 90px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  box-shadow: var(--shadow-sm);
}

.doc-toc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  position: static;
}

.toc-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.38;
  border-inline-start: 2px solid transparent;
  transition: all 0.18s ease;
}

.toc-link:hover,
.toc-link.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-inline-start-color: var(--accent);
}

.doc-content {
  min-width: 0;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 34px);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px;
}

.highlight-card {
  background: linear-gradient(145deg, var(--accent-soft) 0%, var(--bg-card-solid) 85%);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2.4vw, 1.42rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.card h2 .anchor-pill {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  opacity: 0.45;
  flex-shrink: 0;
}

.card h2:hover .anchor-pill {
  opacity: 1;
  color: var(--accent);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 0.97rem;
  line-height: 1.72;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul,
.card ol {
  padding-inline-start: 22px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.card ul ul {
  margin-top: 8px;
  margin-bottom: 8px;
}

.card li {
  margin-bottom: 9px;
  font-size: 0.96rem;
  line-height: 1.68;
}

.card li strong {
  color: var(--text);
}

.info-box {
  background: var(--indigo-soft);
  border-inline-start: 4px solid var(--indigo);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 16px 0 4px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

code {
  font-family: var(--font-mono);
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
  color: var(--text);
  word-break: break-word;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--bg-dusk);
}

.footer-wave-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  color: var(--accent);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   Responsive Breakpoints (Down to 360px with ZERO Horizontal Scroll)
   ========================================================================== */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .steps-grid::before {
    display: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-layout .section-title {
    text-align: center;
    position: static;
  }

  .faq-illustration {
    display: none;
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doc-sidebar {
    position: static;
    padding: 12px;
  }

  .doc-toc {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .toc-link {
    border-inline-start: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .mockup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 480px;
    margin-inline: auto;
  }

  .mockup-card,
  .mockup-card.hero-phone {
    transform: none;
  }

  .mockup-card:hover {
    transform: translateY(-4px);
  }

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

@media (max-width: 540px) {
  body > nav {
    padding-block: 10px;
  }

  .nav-inner {
    gap: 8px;
  }

  .brand {
    font-size: 1.02rem;
    gap: 8px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-actions,
  .nav-buttons {
    gap: 6px;
  }

  .lang-select {
    max-width: 118px;
    font-size: 0.78rem;
    padding-block: 6px;
    padding-inline-start: 26px;
    padding-inline-end: 22px;
  }

  .lang-select-icon {
    inset-inline-start: 8px;
    width: 13px;
    height: 13px;
  }

  .theme-toggle {
    width: 30px;
    height: 30px;
  }

  .theme-toggle svg {
    width: 15px;
    height: 15px;
  }

  .nav-cta {
    padding: 6px 11px;
    font-size: 0.76rem;
    gap: 5px;
  }

  .nav-cta svg {
    display: none;
  }

  .nav-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .badge {
    font-size: 0.78rem;
    padding: 6px 12px;
    gap: 8px;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-inline: auto;
  }

  .btn-playstore,
  .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .mockup-grid {
    gap: 10px;
  }

  .mockup-card {
    border-radius: 18px;
  }

  .feature-card,
  .step-card,
  .faq-item {
    padding: 22px 18px;
  }
}

/* ==========================================================================
   Reduced Motion Preference
   ========================================================================== */
@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;
  }
}

/* ===== Bebekli Günler palette override (rose / lilac on warm cream) ===== */
:root {
  --bg: #1A1420; --bg-dusk: #221A2B; --bg-elevated: #2B2137;
  --bg-card: rgba(43, 33, 55, 0.78); --bg-card-solid: #2B2137; --bg-card-hover: rgba(58, 44, 74, 0.92);
  --bg-glass: rgba(26, 20, 32, 0.84);
  --border-accent: rgba(242, 169, 184, 0.36); --border-indigo: rgba(168, 154, 217, 0.32);
  --accent: #F2A9B8; --accent-strong: #DD8396; --accent-soft: rgba(242, 169, 184, 0.14);
  --accent-glow: rgba(242, 169, 184, 0.24); --accent-ink: #2A0E16;
  --accent-gradient: linear-gradient(135deg, #F7C4CF 0%, #F2A9B8 55%, #DD8396 100%);
  --indigo: #A89AD9; --indigo-soft: rgba(168, 154, 217, 0.16);
  --ripple-stroke: rgba(242, 169, 184, 0.14); --ripple-indigo: rgba(168, 154, 217, 0.14);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FAF7F2; --bg-dusk: #F4EDE6; --bg-elevated: #EFE5DD; --bg-glass: rgba(250, 247, 242, 0.88);
    --border-accent: rgba(168, 62, 92, 0.30); --border-indigo: rgba(110, 90, 175, 0.26);
    --accent: #A83E5C; --accent-strong: #8A2F49; --accent-soft: rgba(221, 131, 150, 0.16);
    --accent-glow: rgba(221, 131, 150, 0.24); --accent-ink: #FFFFFF;
    --accent-gradient: linear-gradient(135deg, #F2A9B8 0%, #DD8396 60%, #C65F78 100%);
    --indigo: #6A58AE; --indigo-soft: rgba(133, 115, 190, 0.12);
    --ripple-stroke: rgba(221, 131, 150, 0.18); --ripple-indigo: rgba(133, 115, 190, 0.14);
  }
}
:root[data-theme="light"] {
  --bg: #FAF7F2; --bg-dusk: #F4EDE6; --bg-elevated: #EFE5DD; --bg-glass: rgba(250, 247, 242, 0.88);
  --border-accent: rgba(168, 62, 92, 0.30); --border-indigo: rgba(110, 90, 175, 0.26);
  --accent: #A83E5C; --accent-strong: #8A2F49; --accent-soft: rgba(221, 131, 150, 0.16);
  --accent-glow: rgba(221, 131, 150, 0.24); --accent-ink: #FFFFFF;
  --accent-gradient: linear-gradient(135deg, #F2A9B8 0%, #DD8396 60%, #C65F78 100%);
  --indigo: #6A58AE; --indigo-soft: rgba(133, 115, 190, 0.12);
  --ripple-stroke: rgba(221, 131, 150, 0.18); --ripple-indigo: rgba(133, 115, 190, 0.14);
}
.brand-icon-wrap img { border-radius: 10px; }
