:root {
  --bg: #070503;
  --gold: #D4AA50;
  --gold-dark: #9C7A23;
  --gold-light: #F1C463;
  --cream: #F5F0E5;
  --muted: #9B8F77;
  --card-bg: rgba(14,12,8,0.85);
  --border: rgba(212,170,80,0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Loader */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-logo img { width: 56px; height: 56px; margin: 0 auto 20px; animation: loaderPulse 1.2s ease-in-out infinite; }
@keyframes loaderPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.loader-bar-wrap { width: 140px; height: 2px; background: rgba(212,170,80,0.15); border-radius: 2px; margin: 0 auto; overflow: hidden; }
.loader-bar { width: 0; height: 100%; background: var(--gold); border-radius: 2px; animation: loaderFill 1.6s ease-in-out forwards; }
@keyframes loaderFill { 0% { width: 0; } 100% { width: 100%; } }

/* Scroll Progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  z-index: 1000; transition: width 0.1s linear;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled { background: rgba(7,5,3,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-box { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.logo-box img { width: 28px; height: 28px; }
.logo-text { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--cream); letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 13px; color: var(--muted); letter-spacing: 0.5px; transition: color 0.3s; }
.nav-link:hover { color: var(--cream); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-portal { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: 0.5px; transition: color 0.3s; }
.nav-portal svg { width: 14px; height: 14px; }
.nav-portal:hover { color: var(--cream); }
.nav-btn {
  display: inline-block; padding: 8px 20px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg); font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  border-radius: 8px; transition: transform 0.3s, box-shadow 0.3s;
}
.nav-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,170,80,0.25); }

/* Language Selector */
.lang-selector { position: relative; cursor: pointer; }
.lang-current { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); letter-spacing: 0.3px; padding: 4px 8px; border-radius: 6px; transition: background 0.2s; }
.lang-current:hover { background: rgba(255,255,255,0.03); }
.lang-dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 6px;
  background: rgba(14,12,8,0.98); border: 1px solid var(--border); border-radius: 10px;
  padding: 6px; min-width: 160px; display: none; z-index: 50;
}
.lang-selector:hover .lang-dropdown { display: block; }
.lang-opt { padding: 8px 14px; font-size: 13px; color: var(--muted); border-radius: 6px; cursor: pointer; transition: background 0.2s, color 0.2s; display: flex; align-items: center; gap: 8px; }
.lang-opt:hover { background: rgba(212,170,80,0.08); color: var(--cream); }

/* Mobile Menu */
.mobile-menu-btn { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu-btn span { width: 20px; height: 1.5px; background: var(--cream); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }
.mobile-menu-container { padding: 24px; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.mobile-menu-link { font-size: 15px; color: var(--cream); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.mobile-menu-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.mobile-menu-section-title { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.mobile-menu-languages { display: flex; flex-direction: column; gap: 4px; }
.mobile-lang-opt { background: none; border: none; color: var(--muted); font-size: 14px; padding: 10px 0; cursor: pointer; text-align: left; font-family: var(--font-body); transition: color 0.2s; }
.mobile-lang-opt:hover { color: var(--cream); }

/* Section Header */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-weight: 500; margin-bottom: 12px; }
.section-rule { display: block; width: 32px; height: 1px; background: var(--gold); margin: 0 auto 20px; opacity: 0.5; }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 48px); font-weight: 400; color: var(--cream); line-height: 1.2; margin-bottom: 16px; }
.section-title em { color: var(--gold); font-style: normal; }
.section-desc { font-size: 16px; color: var(--muted); max-width: 600px; margin: 0 auto; line-height: 1.7; font-weight: 300; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(24px); 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); }

/* Buttons */
.btn-primary {
  display: inline-block; padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--bg); font-family: var(--font-body); font-size: 14px; font-weight: 600;
  border: none; border-radius: 10px; cursor: pointer; letter-spacing: 0.5px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(212,170,80,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,170,80,0.3); }

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 24px 80px; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(212,170,80,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-container { max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { max-width: 540px; }
.hero-badge {
  display: inline-block; font-size: 11px; color: var(--gold); text-transform: uppercase;
  letter-spacing: 3px; font-weight: 500; margin-bottom: 20px;
  border: 1px solid rgba(212,170,80,0.2); padding: 6px 16px; border-radius: 20px;
}
.hero-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 400; line-height: 1.15; margin-bottom: 20px; }
.hero-title em { color: var(--gold); font-style: normal; position: relative; }
.hero-cycle { display: inline-block; text-align: left; }
.hero-cycle.typing::after { content: '|'; animation: cursorBlink 0.8s infinite; color: var(--gold); }
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-desc { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; align-items: center; }

/* Dashboard Mockup */
.dashboard-mockup {
  background: rgba(14,12,8,0.9); border: 1px solid var(--border);
  border-radius: 16px; padding: 0; overflow: hidden; max-width: 480px; margin-left: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.dash-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.dash-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-dot.red { background: #ff5f56; }
.dash-dot.yellow { background: #ffbd2e; }
.dash-dot.green { background: #27c93f; }
.dash-title { font-size: 11px; color: var(--muted); margin-left: 4px; letter-spacing: 0.3px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: 1px solid var(--border); }
.dash-stat { padding: 16px; text-align: center; }
.dash-stat:not(:last-child) { border-right: 1px solid var(--border); }
.dash-stat-num { font-family: var(--font-body); font-size: 24px; font-weight: 600; color: var(--cream); display: block; }
.dash-stat.up .dash-stat-num { color: #4ade80; }
.dash-stat-lab { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; display: block; }
.dash-chart { padding: 12px 16px 8px; border-bottom: 1px solid var(--border); }
.dash-chart svg { width: 100%; height: 60px; }
.dash-leads { padding: 8px 0; }
.dash-lead { display: flex; align-items: center; gap: 10px; padding: 8px 16px; transition: background 0.2s; }
.dash-lead:hover { background: rgba(255,255,255,0.02); }
.dash-lead-score { font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: 0.5px; text-transform: uppercase; }
.dash-lead-score.hot { background: rgba(239,68,68,0.15); color: #ef4444; }
.dash-lead-score.warm { background: rgba(234,179,8,0.15); color: #eab308; }
.dash-lead-name { font-size: 13px; color: var(--cream); flex: 1; }
.dash-lead-price { font-size: 12px; color: var(--muted); font-weight: 400; }
.dash-alert { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }

/* Features */
.features { padding: 100px 24px; }
.features-container { max-width: 1100px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 28px;
  transition: all 0.3s ease;
}
.feature-card:hover { border-color: rgba(212,170,80,0.25); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.feature-icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--gold); }
.feature-icon svg { width: 40px; height: 40px; }
.feature-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--cream); margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* Compare */
.compare { padding: 100px 24px; }
.compare-container { max-width: 960px; margin: 0 auto; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; transition: all 0.3s ease;
}
.compare-card:hover { border-color: rgba(212,170,80,0.25); }
.compare-card-badge {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  color: #ef4444; margin-bottom: 20px;
}
.compare-card-badge.gold { color: var(--gold); }
.compare-scene { font-size: 13px; }
.compare-meta { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.compare-visitor-msg { background: rgba(255,255,255,0.03); border-radius: 10px; padding: 12px 16px; color: var(--cream); line-height: 1.5; font-size: 13px; margin-bottom: 12px; }
.compare-gap { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.compare-gap-line { flex: 1; height: 1px; background: rgba(255,77,77,0.2); }
.compare-gap span { font-size: 11px; color: rgba(255,77,77,0.5); white-space: nowrap; font-weight: 500; letter-spacing: 0.5px; }
.compare-response { margin-bottom: 12px; }
.compare-response-msg { background: rgba(255,255,255,0.03); border-radius: 10px; padding: 10px 14px; color: var(--cream); line-height: 1.4; font-size: 13px; display: inline-block; }
.compare-response-time { font-size: 10px; color: var(--muted); margin-top: 4px; }
.compare-lost { color: rgba(255,77,77,0.6); font-size: 12px; margin-top: 8px; }
.compare-lost-price { font-size: 15px; font-weight: 600; color: #ef4444; margin-top: 4px; }
.compare-instant { display: flex; align-items: center; gap: 6px; color: #4ade80; font-size: 12px; font-weight: 500; margin-bottom: 12px; }
.compare-ai-response { background: rgba(212,170,80,0.06); border: 1px solid rgba(212,170,80,0.15); border-radius: 10px; padding: 12px 16px; color: var(--cream); line-height: 1.5; font-size: 13px; margin-bottom: 12px; }
.compare-alert-box { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gold); margin-bottom: 8px; padding: 6px 10px; background: rgba(212,170,80,0.06); border-radius: 6px; }
.compare-won { color: rgba(74,222,128,0.6); font-size: 12px; margin-top: 8px; }
.compare-won-price { font-size: 15px; font-weight: 600; color: #4ade80; margin-top: 4px; }

/* Pricing */
.pricing { padding: 100px 24px; }
.pricing-container { max-width: 1100px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pricing-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 22px; text-align: center;
  transition: all 0.3s ease; position: relative;
}
.pricing-card:hover { border-color: rgba(212,170,80,0.3); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.pricing-card.featured { border-color: rgba(212,170,80,0.4); background: rgba(20,16,8,0.95); box-shadow: 0 0 40px rgba(212,170,80,0.08), 0 8px 32px rgba(0,0,0,0.4); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg); font-size: 10px; font-weight: 700; padding: 4px 14px;
  border-radius: 20px; letter-spacing: 0.5px; white-space: nowrap;
}
.pricing-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
.pricing-price { font-size: 36px; font-weight: 600; color: var(--gold); line-height: 1; margin: 14px 0 4px; }
.pricing-period { font-size: 11px; color: var(--muted); margin-bottom: 20px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.pricing-features li { font-size: 13px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.03); display: flex; align-items: flex-start; gap: 8px; }
.pricing-features li::before { content: '\2713'; color: var(--gold); font-weight: 700; flex-shrink: 0; font-size: 12px; margin-top: 1px; }
.pricing-cta {
  display: inline-block; width: 100%; padding: 11px 0; border-radius: 10px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px; transition: all 0.3s ease;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: 0 4px 16px rgba(212,170,80,0.2);
}
.pricing-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(212,170,80,0.35); }
.pricing-availability {
  max-width: 480px; margin: 32px auto 0;
  background: rgba(212,170,80,0.04); border: 1px solid rgba(212,170,80,0.12);
  border-radius: 12px; padding: 20px 24px; text-align: center;
}
.pricing-availability-icon { color: var(--gold); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.pricing-availability p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.pricing-availability strong { color: var(--cream); }
.pricing-footer-note { text-align: center; font-size: 11px; color: rgba(155,143,119,0.4); margin-top: 16px; }


/* Founder */
.founder { padding: 100px 24px; text-align: center; }
.founder-container { max-width: 640px; margin: 0 auto; }
.founder-photo {
  width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--gold);
  margin: 0 auto 24px; background: rgba(212,170,80,0.08);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.founder-photo img { width: 52px; height: 52px; object-fit: contain; }
.founder-name { font-family: var(--font-display); font-size: 30px; color: var(--cream); font-weight: 400; margin-bottom: 16px; }
.founder-story { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 560px; margin: 0 auto 20px; font-weight: 300; }
.founder-promise { font-size: 14px; color: var(--gold); font-weight: 500; }
.founder-tagline { font-size: 12px; color: #555; margin-top: 16px; }

/* Demo */
.demo { padding: 100px 24px; text-align: center; }
.demo-container { max-width: 600px; margin: 0 auto; }
.demo-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); font-weight: 400; color: var(--cream); margin-bottom: 16px; }
.demo-desc { font-size: 17px; color: var(--muted); line-height: 1.6; margin-bottom: 32px; }

/* CTA */
.cta { padding: 120px 24px; text-align: center; }
.cta-container { max-width: 600px; margin: 0 auto; }
.cta-title { font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 48px); font-weight: 400; color: var(--cream); line-height: 1.2; margin-bottom: 16px; }
.cta-title em { color: var(--gold); font-style: normal; }
.cta-desc { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; }
.cta-btn {
  display: inline-block; padding: 16px 44px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--bg); font-family: var(--font-body); font-size: 15px; font-weight: 600;
  border: none; border-radius: 12px; cursor: pointer; letter-spacing: 0.5px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(212,170,80,0.2);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,170,80,0.3); }

/* Footer */
.site-footer { padding: 40px 24px; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-content span { font-size: 11px; color: #444; letter-spacing: 1px; }
.footer-links { display: flex; gap: 20px; }
.footer-link { font-size: 12px; color: #555; transition: color 0.3s; }
.footer-link:hover { color: var(--muted); }

/* Mobile responsive */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { order: -1; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .dashboard-mockup { margin: 0 auto; max-width: 420px; }
  .compare-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-portal span { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(7,5,3,0.98); z-index: 99; overflow-y: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { order: -1; }
  .footer-content { flex-direction: column; gap: 12px; text-align: center; }
  .hero { padding: 100px 16px 60px; }
  .features, .compare, .pricing, .founder, .demo, .cta { padding: 60px 16px; }
  .section-header { margin-bottom: 36px; }
  .compare-card { padding: 20px; }
  .pricing-card { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(28px, 8vw, 36px); }
  .hero-desc { font-size: 14px; }
  .btn-primary, .cta-btn { width: 100%; text-align: center; }
  .pricing-price { font-size: 30px; }
}
