/* ===== RESET & VARIABLES ===== */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --success: #22c55e;
  --gold: #fbbf24;
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-hover: #334155;
  --border: #334155;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --radius: 16px;
  --shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

.logo-icon { font-size: 28px; }

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-nav {
  background: var(--primary);
  color: white !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
}

.btn-nav:hover { background: var(--primary-dark); }

/* ===== HERO ===== */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.2));
  border: 1px solid rgba(99,102,241,0.3);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(99,102,241,0.4);
}

.btn-secondary {
  display: inline-block;
  background: var(--surface);
  color: var(--text);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover { background: var(--surface-hover); }

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

.hero-stats div {
  font-size: 14px;
  color: var(--text-secondary);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

/* Hero Visual - Extension Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.extension-mockup {
  width: 360px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mockup-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}

.mockup-badge {
  background: var(--gold);
  color: #1e293b;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.mockup-content {
  display: flex;
  gap: 2px;
  padding: 12px 16px 0;
  background: var(--bg);
}

.mockup-tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
}

.mockup-tab.active {
  background: var(--surface);
  color: var(--text);
}

.mockup-body {
  padding: 20px;
  background: var(--surface);
}

.mockup-dropzone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-bottom: 16px;
}

.mockup-dropzone span { font-size: 32px; }
.mockup-dropzone p { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }

.mockup-row {
  font-size: 12px;
  color: var(--success);
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(99,102,241,0.05) 50%, var(--bg) 100%);
}

.features h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 60px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

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

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 60px;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.step {
  text-align: center;
  max-width: 240px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.step-arrow {
  font-size: 32px;
  color: var(--primary);
  opacity: 0.5;
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(99,102,241,0.03) 50%, var(--bg) 100%);
}

.pricing h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 60px auto 0;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.2s;
}

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

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(251,191,36,0.1), var(--surface));
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1e293b;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.price {
  font-size: 48px;
  font-weight: 800;
}

.price span {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check { color: var(--success); font-weight: 700; }
.cross { color: var(--text-secondary); opacity: 0.5; }

.btn-pricing {
  width: 100%;
  padding: 14px;
  background: var(--surface-hover);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-pricing:hover { background: var(--border); }

.btn-pricing-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #1e293b;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-pricing-primary:hover { transform: translateY(-2px); }

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
}

.faq h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 60px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg), rgba(99,102,241,0.1));
}

.cta h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ===== FOOTER ===== */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}

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

.copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: none; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .nav-links { display: none; }
}
