/* ===== Base Reset & Variables ===== */
:root {
  --bg-primary: #06061a;
  --bg-secondary: #0d0d2b;
  --bg-card: #12123a;
  --bg-card-hover: #1a1a4a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0c0;
  --text-muted: #6a6a8a;
  --accent-purple: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #7c3aed, #3b82f6);
  --accent-gradient-hover: linear-gradient(135deg, #6d28d9, #2563eb);
  --border-color: rgba(124, 58, 237, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: #a78bfa; }

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

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

/* ===== Header / Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6, 6, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { font-size: 1.5rem; font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.02em; }
.navbar-links { display: flex; gap: 32px; list-style: none; }
.navbar-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.navbar-links a:hover { color: var(--text-primary); }
.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.8rem; color: #a78bfa;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero h1 span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600;
  transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent-gradient); color: #fff; }
.btn-primary:hover { background: var(--accent-gradient-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.3); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-outline:hover { border-color: var(--accent-purple); color: #fff; transform: translateY(-2px); }
.btn-disabled { opacity: 0.5; pointer-events: none; cursor: default; }

/* ===== Countdown ===== */
.countdown {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 40px 0 32px;
}
.countdown-item { text-align: center; }
.countdown-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 6px;
}
.countdown-separator {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-bottom: 20px;
}
.btn svg { width: 20px; height: 20px; }

/* ===== Features ===== */
.features { padding: 100px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-purple);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-desc { color: var(--text-secondary); max-width: 600px; margin-bottom: 60px; }
.section-desc.centered { margin-left: auto; margin-right: auto; text-align: center; }
.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-subtle);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.feature-card:hover { background: var(--bg-card-hover); border-color: var(--border-color); transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.feature-icon.purple { background: rgba(124, 58, 237, 0.15); }
.feature-icon.blue { background: rgba(59, 130, 246, 0.15); }
.feature-icon.green { background: rgba(34, 197, 94, 0.15); }
.feature-icon.orange { background: rgba(249, 115, 22, 0.15); }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Pricing / Tiers ===== */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.pricing-card:hover { border-color: var(--border-color); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--accent-purple);
  background: linear-gradient(180deg, rgba(124,58,237,0.08) 0%, var(--bg-card) 100%);
}
.pricing-card.featured::before {
  content: 'Popüler';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 4px 14px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-tier { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; }
.pricing-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 16px; }
.pricing-divider { width: 40px; height: 2px; background: var(--border-color); margin: 0 auto 20px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-features li { padding: 6px 0; font-size: 0.88rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--accent-purple); font-weight: 700; }
.pricing-features li.disabled { color: var(--text-muted); }
.pricing-features li.disabled::before { content: '—'; color: var(--text-muted); }

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 64px 40px;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
}
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-box p { color: var(--text-secondary); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.cta-box .hero-buttons { position: relative; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-size: 1.3rem; font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; }
.footer-desc { color: var(--text-muted); font-size: 0.85rem; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); font-size: 0.8rem; }

/* ===== Legal Pages ===== */
.legal-page { padding: 120px 0 80px; }
.legal-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal-page .legal-date { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 40px; }
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin-top: 40px; margin-bottom: 12px; }
.legal-content h3 { font-size: 1.1rem; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.legal-content p { color: var(--text-secondary); margin-bottom: 16px; font-size: 0.95rem; }
.legal-content ul, .legal-content ol { color: var(--text-secondary); margin-bottom: 16px; padding-left: 24px; font-size: 0.95rem; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--text-primary); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem; }
.legal-content th, .legal-content td { padding: 10px 14px; text-align: left; border: 1px solid var(--border-subtle); }
.legal-content th { background: var(--bg-card); color: var(--text-primary); font-weight: 600; }
.legal-content td { color: var(--text-secondary); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .mobile-toggle { display: block; }
  .navbar-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--bg-secondary);
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .hero { padding: 120px 0 60px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}
