/* ============================================================
   ThoughtRelease / 杂念星空 — Celestial Design System
   A private cosmic sanctuary for releasing intrusive thoughts.
   ============================================================ */

:root {
  /* Cosmic Abyss Palette */
  --bg-void: #020308;
  --bg-abyss: #050713;
  --bg-deep: #0a0d1e;
  --bg-surface: rgba(15, 20, 42, 0.65);
  --bg-surface-elevated: rgba(22, 29, 60, 0.78);
  
  /* Luminous Starlight Accents */
  --star-white: #F8F9FD;
  --star-gold: #FFE29F;
  --star-champagne: #F4E8D1;
  --star-lilac: #D4C4FB;
  --star-violet: #9B82F3;
  --star-indigo: #6E54D9;
  --star-ice: #B8D6FF;
  --star-rose: #FFB7C7;
  
  /* Emotional Mood Frequencies */
  --mood-anxiety: #FFBA59;
  --mood-anxiety-glow: rgba(255, 186, 89, 0.35);
  --mood-confusion: #68C2FF;
  --mood-confusion-glow: rgba(104, 194, 255, 0.35);
  --mood-irritation: #FF7575;
  --mood-irritation-glow: rgba(255, 117, 117, 0.35);
  --mood-sadness: #B885FB;
  --mood-sadness-glow: rgba(184, 133, 251, 0.35);
  --mood-other: #57E2D8;
  --mood-other-glow: rgba(87, 226, 216, 0.35);
  
  /* Dynamic Active Mood */
  --current-mood: var(--mood-anxiety);
  --current-mood-glow: var(--mood-anxiety-glow);

  /* Glassmorphism & Borders */
  --glass-bg: rgba(13, 17, 36, 0.68);
  --glass-bg-hover: rgba(20, 26, 54, 0.82);
  --glass-border: rgba(212, 196, 251, 0.14);
  --glass-border-hover: rgba(212, 196, 251, 0.32);
  --glass-glow: 0 12px 40px -10px rgba(0, 0, 0, 0.6);
  --glass-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  
  /* Text Hues */
  --text-primary: #F8F9FC;
  --text-secondary: rgba(230, 232, 248, 0.74);
  --text-muted: rgba(205, 208, 230, 0.50);
  --text-faint: rgba(205, 208, 230, 0.28);
  
  /* Modern Luxury & Editorial Typography */
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-editorial: "Playfair Display", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-sans: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Segoe UI", Roboto, sans-serif;
  
  /* Radii & Layout */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  
  --max-w: 1180px;
  --nav-h: 76px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.68;
  font-size: 16px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Cosmic Background Atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1200px 700px at 15% -5%, rgba(110, 84, 217, 0.22), transparent 70%),
    radial-gradient(1000px 600px at 85% 18%, rgba(155, 130, 243, 0.16), transparent 65%),
    radial-gradient(1100px 800px at 50% 65%, rgba(45, 60, 130, 0.12), transparent 70%),
    radial-gradient(900px 900px at 20% 95%, rgba(87, 226, 216, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-void) 0%, var(--bg-abyss) 40%, var(--bg-deep) 75%, var(--bg-void) 100%);
  pointer-events: none;
}

/* Subtle Film Grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
}

::selection {
  background: rgba(155, 130, 243, 0.45);
  color: var(--star-white);
}

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

a {
  color: var(--star-ice);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--star-lilac);
}

/* ============================================================
   Layout & Container Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

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

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--star-lilac);
  background: rgba(155, 130, 243, 0.10);
  border: 1px solid rgba(155, 130, 243, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section-title em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  color: var(--star-gold);
  text-shadow: 0 0 24px rgba(255, 226, 159, 0.35);
}

.section-sub {
  color: var(--text-secondary);
  font-size: 17.5px;
  line-height: 1.68;
  letter-spacing: -0.01em;
  max-width: 660px;
}

/* Glass Card */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-glow);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass-shine);
  pointer-events: none;
  border-radius: inherit;
}

.glass-interactive:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(155, 130, 243, 0.15);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 7, 19, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(212, 196, 251, 0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  min-width: 0;
  flex-shrink: 1;
}

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

.nav-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 7.5px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(155, 130, 243, 0.25);
  flex-shrink: 0;
  display: block;
  transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.06);
}

.logo-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(212, 196, 251, 0.25), rgba(155, 130, 243, 0.12));
  border: 1px solid rgba(212, 196, 251, 0.3);
  border-radius: 50%;
  color: var(--star-gold);
  font-size: 15px;
  box-shadow: 0 0 14px rgba(255, 226, 159, 0.3);
  animation: pulse-glow 4s ease-in-out infinite;
}

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

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-links a.is-current {
  color: var(--star-white);
}

.nav-links a.is-current::after {
  width: 100%;
}

.nav-links-legal {
  padding-left: 22px;
  margin-left: 2px;
  border-left: 1px solid rgba(212, 196, 251, 0.16);
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--star-lilac), var(--star-violet));
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 196, 251, 0.18);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--star-white);
  border-color: rgba(212, 196, 251, 0.4);
}

.lang-toggle .active {
  color: var(--star-gold);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 196, 251, 0.18);
  color: var(--text-primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--star-white);
  border-radius: 2px;
}

/* Hidden on desktop. Without this, the drawer sits in document
   flow at the top-left and leaks over the fixed header. */
.nav-mobile-menu {
  display: none;
}

.nav-mobile-menu a {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 4px 0;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.is-current {
  color: var(--star-white);
}

.nav-mobile-menu .btn,
.nav-mobile-menu .lang-toggle {
  margin-top: 8px;
  align-self: flex-start;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #DFD3FF 0%, #A58EFF 50%, #7D5BF0 100%);
  color: #0A081D;
  box-shadow: 0 8px 30px -4px rgba(155, 130, 243, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px 0 rgba(155, 130, 243, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  color: #050310;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--star-white);
  border-color: rgba(212, 196, 251, 0.22);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 196, 251, 0.45);
  transform: translateY(-2px);
  color: var(--star-white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* Store Badge Buttons */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  background: rgba(18, 23, 48, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 196, 251, 0.22);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.btn-store:hover {
  background: rgba(28, 35, 75, 0.95);
  border-color: rgba(212, 196, 251, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(155, 130, 243, 0.3);
  color: var(--text-primary);
}

.store-icon-svg {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--star-white);
  flex-shrink: 0;
}

.store-icon-svg svg {
  width: 28px;
  height: 28px;
  max-width: none;
  display: block;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-label {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  line-height: 1.2;
}

.store-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.25;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.hero-title span.glow-text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #FFF6E0 0%, #FFE29F 40%, #D4C4FB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 226, 159, 0.3);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.68;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
  max-width: 530px;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 196, 251, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.hero-feature-pill span.glyph {
  color: var(--star-gold);
}

.hero-trust-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   Photorealistic iPhone 16 Pro Mockup
   ============================================================ */
.phone-showcase-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  width: 100%;
}

/* Ambient Celestial Glow behind phone */
.phone-ambient-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(155, 130, 243, 0.32) 0%, rgba(110, 84, 217, 0.18) 45%, rgba(255, 226, 159, 0.10) 60%, transparent 75%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 1;
  animation: breathe 6s ease-in-out infinite alternate;
}

.iphone-pro-frame {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 390 / 844;
  background: #0B0D14;
  border-radius: 52px;
  padding: 9px;
  box-sizing: border-box;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 3px #181b24,
    0 0 0 4.5px rgba(212, 196, 251, 0.15),
    0 35px 80px -15px rgba(0, 0, 0, 0.95),
    0 15px 40px -10px rgba(110, 84, 217, 0.35);
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  animation: phoneFloat 6s ease-in-out infinite alternate;
}

.iphone-pro-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 0 3px #181b24,
    0 0 0 5px rgba(212, 196, 251, 0.25),
    0 45px 100px -15px rgba(0, 0, 0, 0.98),
    0 25px 60px -10px rgba(155, 130, 243, 0.45);
}

@keyframes phoneFloat {
  0% {
    transform: rotateY(-3deg) rotateX(2deg) translateY(0px);
  }
  100% {
    transform: rotateY(-1deg) rotateX(1deg) translateY(-10px);
  }
}

/* Inner Screen Container */
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 43px;
  overflow: hidden;
  background: #01040E;
  display: flex;
  flex-direction: column;
}

/* Authentic App Screenshot */
.iphone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Screenshots already include the status bar / island. */
.iphone-island {
  display: none;
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 23px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.08);
}

.island-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #182845 0%, #060a14 70%);
  box-shadow: inset 0 0 2px rgba(87, 226, 216, 0.4);
}

.island-sensor {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #060912;
}

/* Diagonal Glass Glare */
.iphone-glare {
  position: absolute;
  inset: 0;
  border-radius: 43px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 28%, transparent 52%);
  pointer-events: none;
  z-index: 15;
}

/* Floating Badges around Phone */
.floating-accent-badge {
  position: absolute;
  z-index: 25;
  background: rgba(14, 18, 42, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 196, 251, 0.22);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(155, 130, 243, 0.15);
  white-space: nowrap;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

.badge-bottom-left {
  bottom: 28px;
  left: -20px;
}

.badge-top-right {
  top: 36px;
  right: -20px;
  animation-delay: -2.5s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.badge-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 226, 159, 0.3), rgba(155, 130, 243, 0.2));
  color: var(--star-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.badge-title {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--star-white);
  line-height: 1.2;
}

.badge-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ============================================================
   Three Quiet Steps Visual Grid
   ============================================================ */
.three-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  position: relative;
  background: linear-gradient(160deg, rgba(16, 22, 50, 0.75) 0%, rgba(8, 11, 28, 0.9) 100%);
  border: 1px solid rgba(212, 196, 251, 0.16);
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 196, 251, 0.38);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(155, 130, 243, 0.18);
}

.step-visual-box {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  background: #040612;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.step-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-visual-img {
  transform: scale(1.05);
}

.step-visual-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, transparent 40%, rgba(4, 6, 18, 0.65) 100%);
  pointer-events: none;
}

.step-badge-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--star-gold);
  background: rgba(255, 226, 159, 0.1);
  border: 1px solid rgba(255, 226, 159, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
}

.step-card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.step-tag-pill {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--star-lilac);
  background: rgba(212, 196, 251, 0.08);
  border: 1px solid rgba(212, 196, 251, 0.18);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  width: fit-content;
  margin-top: auto;
}

/* ============================================================
   Core Values Bento Grid
   ============================================================ */
.values-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.value-card {
  background: rgba(12, 16, 38, 0.7);
  border: 1px solid rgba(212, 196, 251, 0.16);
  border-radius: 24px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.value-card:hover {
  border-color: rgba(212, 196, 251, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(155, 130, 243, 0.12);
}

.value-emblem-svg {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 196, 251, 0.15), rgba(155, 130, 243, 0.08));
  border: 1px solid rgba(212, 196, 251, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--star-gold);
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(155, 130, 243, 0.15);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ============================================================
   Quote Breakout Banner
   ============================================================ */
.quote-banner {
  text-align: center;
  padding: 90px 0;
  position: relative;
}

.quote-banner blockquote {
  font-family: var(--font-editorial);
  font-size: clamp(26px, 3.8vw, 42px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--star-white);
  max-width: 820px;
  margin: 0 auto 20px;
  text-shadow: 0 0 30px rgba(212, 196, 251, 0.3);
}

.quote-author {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--star-lilac);
}

/* ============================================================
   Closing Download Call to Action Section (Airy & Seamless)
   ============================================================ */
.download-cta-section {
  padding: 90px 0 120px;
  position: relative;
  text-align: center;
  z-index: 5;
}

.download-cta-wrapper {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-icon-halo {
  position: relative;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.download-icon-halo::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(155, 130, 243, 0.25) 0%, rgba(255, 226, 159, 0.1) 40%, transparent 70%);
  filter: blur(20px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.download-app-icon {
  width: 84px;
  height: 84px;
  border-radius: 19px;
  position: relative;
  z-index: 1;
  box-shadow: 
    0 20px 45px -10px rgba(0, 0, 0, 0.85),
    0 0 25px rgba(155, 130, 243, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: block;
  object-fit: cover;
}

.download-cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--star-white);
  margin: 16px 0 14px;
  line-height: 1.28;
}

.download-cta-sub {
  font-size: 16.5px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: rgba(2, 3, 8, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 40px;
  position: relative;
  z-index: 10;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 320px;
  margin-top: 16px;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-col a {
  font-size: 14.5px;
  color: var(--text-secondary);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ============================================================
   Subpages Specifics (Contact, Privacy, Terms)
   ============================================================ */
.page-band {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center;
  position: relative;
}

.page-band-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-band-inner {
  position: relative;
  z-index: 2;
}

.legal-document-card {
  padding: 56px 48px;
  margin-bottom: 80px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--star-white);
  margin: 40px 0 16px;
}

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

.legal-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.legal-content ul, .legal-content ol {
  margin: 0 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content a {
  color: var(--star-ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Support / contact cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.feature-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 196, 251, 0.16), rgba(155, 130, 243, 0.08));
  border: 1px solid rgba(212, 196, 251, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--star-gold);
  font-size: 16px;
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(155, 130, 243, 0.12);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.feature-card a {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--star-ice);
}

.feature-card a:hover {
  color: var(--star-white);
}

.support-form-card {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 40px 40px 36px;
}

.support-form-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.support-form-card > p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.support-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.support-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-field.full {
  grid-column: 1 / -1;
}

.support-field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  background: rgba(5, 7, 19, 0.55);
  border: 1px solid rgba(212, 196, 251, 0.18);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: rgba(212, 196, 251, 0.5);
  box-shadow: 0 0 0 3px rgba(155, 130, 243, 0.18);
}

.support-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
}

.support-form-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(212, 196, 251, 0.14);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 14px;
  color: var(--star-gold);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 28px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 480px;
  padding-bottom: 24px;
}

.faq-question:focus-visible {
  outline: 2px solid rgba(212, 196, 251, 0.55);
  outline-offset: -2px;
}

/* ============================================================
   Animations & Keyframes
   ============================================================ */
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.95; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px var(--star-gold); }
  50% { box-shadow: 0 0 24px var(--star-gold); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ============================================================
   Responsive Media Queries
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links {
    gap: 18px;
  }

  .nav-center {
    gap: 18px;
  }

  .nav-links-legal {
    padding-left: 18px;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-text {
    align-items: center;
  }
  
  .hero-features-list {
    justify-content: center;
  }
  
  .store-badges {
    justify-content: center;
  }

  .three-steps-grid {
    grid-template-columns: 1fr;
  }

  .values-bento-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 960px) {
  .nav-center,
  .nav-links {
    display: none;
  }

  .nav .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-logo {
    font-size: 16px;
    gap: 8px;
  }

  .nav-logo-img {
    width: 26px;
    height: 26px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn,
  .nav-actions .lang-toggle {
    display: none;
  }

  .nav-logo small {
    display: none;
  }

  .lang-toggle {
    padding: 5px 9px;
    font-size: 11px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(5, 7, 19, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(212, 196, 251, 0.15);
    padding: 24px 28px 28px;
    display: none;
    flex-direction: column;
    gap: 18px;
    z-index: 99;
  }

  .nav-mobile-menu.open {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
  }
  
  .section {
    padding: 70px 0;
  }

  .floating-accent-badge {
    display: none;
  }

  .download-cta-card {
    padding: 44px 24px;
  }

  .support-form-card {
    padding: 28px 22px;
  }

  .support-form {
    grid-template-columns: 1fr;
  }

  .legal-document-card {
    padding: 32px 22px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
