/* ============================================================
   GoGlow — Global Stylesheet
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --bg: #080810;
  --bg-surface: #0F0F1E;
  --bg-card: #13132A;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 166, 35, 0.35);

  --primary: #F5A623;
  --primary-light: #FFD166;
  --accent: #FF4D8B;
  --accent-light: #FF80AB;

  --grad: linear-gradient(135deg, #F5A623 0%, #FF4D8B 100%);
  --grad-subtle: linear-gradient(135deg, rgba(245,166,35,0.15) 0%, rgba(255,77,139,0.15) 100%);
  --grad-border: linear-gradient(135deg, #F5A623, #FF4D8B);

  --text: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.38);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 40px rgba(245, 166, 35, 0.2);
  --shadow-accent: 0 0 40px rgba(255, 77, 139, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --max-w: 1200px;
  --section-pad: 100px 24px;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea { font: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted { color: var(--text-secondary); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad);
}

.section-dark {
  background-color: var(--bg);
}

.section-surface {
  background-color: var(--bg-surface);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.5);
}

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

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(245, 166, 35, 0.07);
}

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

/* Store Buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  transition: var(--transition);
  min-width: 180px;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.store-btn .store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

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

.store-btn .store-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 2px;
}

.store-btn .store-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- Tags / Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--grad-subtle);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.02em;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 24px;
  transition: var(--transition-slow);
}

.nav.scrolled {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

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

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 16, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.nav-mobile a {
  padding: 14px 32px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-mobile a:hover { color: var(--text); }

.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-bg-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(245, 166, 35, 0.12);
  top: -100px;
  right: -100px;
}

.hero-bg-orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(255, 77, 139, 0.1);
  bottom: -50px;
  left: -100px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-content .badge {
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subheadline {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-value {
  font-size: 24px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 48px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: var(--bg-card);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1a1a30 0%, #0f0f20 40%, #1a0a1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
  gap: 12px;
}

.phone-photo-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  flex: 1;
}

.phone-photo-card .photo-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #3d2060, #8b1a5a, #d45c33, #f5a623);
  position: relative;
}

.phone-photo-card .photo-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
}

.phone-photo-card .photo-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  z-index: 1;
}

.phone-style-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.phone-style-chip {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

.phone-style-chip.active {
  background: var(--grad);
  border-color: transparent;
  color: white;
}

.phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(15, 15, 30, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  pointer-events: none;
}

.floating-card-1 {
  right: -20px;
  top: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-card-2 {
  left: -30px;
  bottom: 140px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.fc-text .fc-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.fc-text .fc-sub {
  font-size: 11px;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-subtle);
  opacity: 0;
  transition: var(--transition);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-subtle);
  border: 1px solid rgba(245, 166, 35, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

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

/* ---------- Styles Gallery ---------- */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.style-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.style-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.style-card-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.style-card:hover .style-card-bg {
  transform: scale(1.05);
}

.style-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 50%);
}

.style-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
}

.style-card-label h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.style-card-label span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* Style gradients */
.style-studio { background: linear-gradient(145deg, #2c2c3e, #4a3f6b, #8b6f9b); }
.style-film { background: linear-gradient(145deg, #3d2b1f, #7a5c40, #c4a26a); }
.style-fashion { background: linear-gradient(145deg, #0d0d0d, #1a1a2e, #2d1b3d); }
.style-romantic { background: linear-gradient(145deg, #4a1030, #8b2252, #d45c8b); }
.style-dreamy { background: linear-gradient(145deg, #1a1040, #3d2d70, #7a60c0); }
.style-glamour { background: linear-gradient(145deg, #2a1a05, #6b4a1a, #c4922a); }
.style-natural { background: linear-gradient(145deg, #0d2010, #1a4020, #3d8040); }
.style-y2k { background: linear-gradient(145deg, #1a0535, #4a1080, #8b30c0); }

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-connector {
  position: absolute;
  top: 40px;
  left: calc(33.33% - 20px);
  width: calc(33.33%);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
  pointer-events: none;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}

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

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}

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

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

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.testimonial-stars span {
  color: var(--primary);
  font-size: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-info .author-name {
  font-size: 14px;
  font-weight: 700;
}

.testimonial-info .author-handle {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Download CTA ---------- */
.cta-section {
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-bg-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 77, 139, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  margin-bottom: 20px;
  position: relative;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  position: relative;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
}

.cta-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.cta-rating .rating-stars {
  display: flex;
  gap: 3px;
}

.cta-rating .rating-stars span { color: var(--primary); font-size: 18px; }

.cta-rating .rating-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

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

/* ---------- Download Page ---------- */
.download-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.download-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.download-app-icon {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 24px;
  box-shadow: 0 20px 60px rgba(245, 166, 35, 0.4);
}

.download-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
}

.download-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.download-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.download-notice {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Redirect overlay */
.redirect-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 16, 0.95);
  backdrop-filter: blur(20px);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.redirect-overlay.show { display: flex; }

.redirect-spinner {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(245, 166, 35, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 24px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Legal Pages ---------- */
.legal-hero {
  padding: 140px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
}

.legal-hero p {
  font-size: 15px;
  color: var(--text-muted);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text);
}

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

.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

.legal-content .legal-intro {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

/* ---------- 404 Page ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.error-code {
  font-size: 120px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 166, 35, 0.3); }
  50% { box-shadow: 0 0 40px rgba(245, 166, 35, 0.6); }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--grad);
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .styles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .nav-hamburger {
    display: flex;
  }

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

  .hero-headline { font-size: 40px; }

  .hero-subheadline {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .floating-card {
    display: none;
  }

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

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

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

  .steps-connector {
    display: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header h2 { font-size: 28px; }
  .section-header p { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 34px; }
  .styles-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .download-actions { flex-direction: column; align-items: center; }
}
