/* ============================================================
   Lumideo Website — Shared Stylesheet
   Design tokens mirror the React Native app's theme
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --midnight:     #0A0E1A;
  --dusk:         #141824;
  --dusk-light:   #1E2535;
  --dusk-lighter: #252C40;
  --locked:       #2A2F45;
  --amber:        #E8A82A;
  --amber-light:  #F5C84A;
  --amber-dark:   #C48A18;
  --rose:         #C96B5A;
  --frost:        #EDE8DF;
  --frost-dark:   #C8C2B8;
  --mist:         #8B8FA8;
  --border:       #252C40;
  --border-light: #323A52;
  --success:      #4DAE8A;
  --error:        #E05555;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-pill: 100px;
}

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

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

body {
  font-family: var(--sans);
  background: var(--midnight);
  color: var(--frost);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
.display { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; color: var(--frost); }
.h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.8rem); line-height: 1.2; color: var(--frost); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; color: var(--frost); }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.4; color: var(--frost); }
.label-uppercase { font-family: var(--sans); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.body-lg { font-size: 1.05rem; line-height: 1.7; color: var(--frost-dark); }
.body { font-size: 0.95rem; line-height: 1.65; color: var(--frost-dark); }
.muted { color: var(--mist); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--midnight);
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,168,42,0.3); }

.btn-outline {
  background: transparent;
  color: var(--frost);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

/* ── Store Buttons ── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--frost);
  color: var(--midnight);
  border-radius: var(--radius-md);
  font-family: var(--sans);
  transition: all 0.2s ease;
  min-width: 160px;
}
.store-btn:hover { background: var(--amber-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.store-btn svg { flex-shrink: 0; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1; }
.store-btn-sub { font-size: 0.65rem; font-weight: 400; opacity: 0.7; margin-bottom: 2px; }
.store-btn-name { font-size: 1rem; font-weight: 600; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(37, 44, 64, 0.6);
  transition: background 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--frost);
}
.nav-logo-dot { color: var(--amber); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mist);
  transition: all 0.15s;
  letter-spacing: 0.05em;
}
.lang-btn:hover, .lang-btn.active { background: var(--dusk-light); color: var(--frost); }
.nav-cta { padding: 9px 20px; font-size: 0.85rem; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232,168,42,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,107,90,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-headline { margin-bottom: 24px; }
.hero-sub { margin-bottom: 40px; max-width: 480px; }
.hero-store-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--mist);
}
.hero-meta-dot { width: 3px; height: 3px; background: var(--border-light); border-radius: 50%; }

/* ── PHONE MOCKUP ── */
.phone-wrap {
  position: relative;
  flex-shrink: 0;
}
.phone-float {
  animation: floatPhone 7s ease-in-out infinite;
}
@keyframes floatPhone {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(-2deg); }
}
.phone {
  width: 230px;
  height: 460px;
  background: var(--dusk);
  border-radius: 38px;
  border: 2px solid var(--dusk-lighter);
  box-shadow:
    0 0 0 1px rgba(232,168,42,0.08),
    0 60px 120px rgba(0,0,0,0.6),
    0 0 80px rgba(232,168,42,0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--dusk);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(232,168,42,0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.phone-lock { font-size: 2.5rem; position: relative; z-index: 1; filter: drop-shadow(0 0 12px rgba(232,168,42,0.6)); }
.phone-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  position: relative;
  z-index: 1;
}
.phone-countdown {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--amber);
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.3;
}
.phone-date {
  font-size: 0.7rem;
  color: var(--mist);
  font-weight: 400;
  position: relative;
  z-index: 1;
}
.phone-app-name {
  position: absolute;
  top: 44px;
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--frost-dark);
  z-index: 1;
}
.phone-divider {
  width: 40px;
  height: 1px;
  background: var(--border-light);
  position: relative;
  z-index: 1;
}
.phone-glow-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(232,168,42,0.1);
  border-radius: 50%;
  animation: ringExpand 3s ease-out infinite;
}
@keyframes ringExpand {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── PARTICLES background ── */
.particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.step {
  background: var(--dusk);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.5rem;
  color: rgba(232,168,42,0.12);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  font-weight: 700;
}
.step-icon { font-size: 2rem; margin-bottom: 16px; }
.step-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--frost); margin-bottom: 10px; }
.step-body { font-size: 0.9rem; color: var(--mist); line-height: 1.65; }

/* ── USE CASES ── */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.usecase {
  background: var(--dusk);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: border-color 0.3s ease;
}
.usecase:hover { border-color: rgba(232,168,42,0.3); }
.usecase-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(232,168,42,0.12);
  color: var(--amber);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.usecase-icon { font-size: 2.2rem; margin-bottom: 12px; }
.usecase-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--frost); margin-bottom: 10px; }
.usecase-story {
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.65;
  font-style: italic;
  border-left: 2px solid rgba(232,168,42,0.25);
  padding-left: 14px;
}

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.feature {
  background: var(--dusk);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.feature-icon { font-size: 1.5rem; margin-bottom: 12px; }
.feature-title { font-weight: 600; font-size: 0.95rem; color: var(--frost); margin-bottom: 6px; }
.feature-body { font-size: 0.83rem; color: var(--mist); line-height: 1.55; }

/* ── TESTIMONIALS ── */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.testimonial {
  background: var(--dusk);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--serif);
  font-size: 4rem;
  color: rgba(232,168,42,0.15);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}
.testimonial-body { font-size: 0.9rem; line-height: 1.7; color: var(--frost-dark); margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-size: 0.8rem; font-weight: 600; color: var(--frost); }
.testimonial-role { font-size: 0.75rem; color: var(--mist); }
.stars { color: var(--amber); font-size: 0.9rem; margin-bottom: 14px; }

/* ── PRICING ── */
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; max-width: 700px; margin-left: auto; margin-right: auto; }
.pricing-card {
  background: var(--dusk);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.pricing-card.featured {
  border-color: rgba(232,168,42,0.5);
  background: linear-gradient(135deg, var(--dusk) 0%, rgba(232,168,42,0.05) 100%);
}
.pricing-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--amber);
  color: var(--midnight);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pricing-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--frost); margin-bottom: 8px; }
.pricing-price { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; color: var(--amber); line-height: 1; margin-bottom: 4px; }
.pricing-period { font-size: 0.8rem; color: var(--mist); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; }
.pricing-features li { font-size: 0.88rem; color: var(--frost-dark); padding: 6px 0; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border: none; }
.pricing-features li::before { content: '✓ '; color: var(--success); font-weight: 700; }

/* ── FINAL CTA ── */
.final-cta {
  text-align: center;
  padding: 120px 0;
  position: relative;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,168,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.final-cta-note { font-size: 0.8rem; color: var(--mist); margin-top: 20px; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-logo { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin-bottom: 8px; }
.footer-tagline { font-size: 0.8rem; color: var(--mist); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link { font-size: 0.85rem; color: var(--mist); transition: color 0.2s; }
.footer-link:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright { font-size: 0.75rem; color: var(--mist); }

/* ── LEGAL PAGES ── */
.legal-page { padding-top: 120px; padding-bottom: 80px; }
.legal-header { margin-bottom: 64px; }
.legal-content { max-width: 720px; }
.legal-section { margin-bottom: 48px; }
.legal-section-title { font-family: var(--sans); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.legal-section-body { font-size: 0.93rem; line-height: 1.75; color: var(--frost-dark); white-space: pre-line; }
.legal-section-body a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Section divider ── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto; }
.section-header .h2 { margin-top: 12px; }
.section-header .body { margin-top: 16px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .phone-wrap { display: flex; justify-content: center; order: -1; }
  .phone { width: 200px; height: 400px; }
  .steps, .usecases, .testimonials, .features-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .nav-right .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-store-btns { flex-direction: column; }
  .store-btn { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pricing-cards { grid-template-columns: 1fr; }
  .lang-switcher { display: none; }
}

/* ── Amber text gradient accent ── */
.amber-text { color: var(--amber); }
.gradient-text {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 50%, var(--frost) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Skip link for a11y ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--amber);
  color: var(--midnight);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ── Amber dot separator ── */
.amber-dot { display: inline-block; width: 4px; height: 4px; background: var(--amber); border-radius: 50%; vertical-align: middle; margin: 0 8px; }
