/* ============================================================
   AdsPilot Pro — Official Website Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('variables.css');

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

body.website-body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-primary); text-decoration: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 99px; }

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(10,12,16,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}

.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #4f8ef7, #7c5cfc);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
}
.logo-text {
  font-size: 17px; font-weight: 700;
  background: linear-gradient(135deg, #4f8ef7, #7c5cfc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-badge {
  font-size: 9px; font-weight: 700;
  background: linear-gradient(135deg, #4f8ef7, #7c5cfc);
  color: #fff; -webkit-text-fill-color: #fff;
  padding: 2px 7px; border-radius: 99px;
}

.nav-links {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-elevated); }

.mobile-menu-btn {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  margin-left: auto;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #4f8ef7, #7c5cfc);
  color: #fff;
  box-shadow: 0 2px 12px rgba(79,142,247,0.35);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(79,142,247,0.45); }
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-secondary:hover { background: var(--bg-hover); }
.btn-sm { padding: 6px 14px; font-size: 12.5px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
  max-width: 1200px; margin: 0 auto;
  gap: 60px;
}

.hero-bg {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(79,142,247,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(124,92,252,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  flex: 1;
  position: relative; z-index: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: 99px;
  font-size: 12.5px; font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #4f8ef7, #7c5cfc, #ff2d55);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex; align-items: center; gap: 24px;
}
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 24px; font-weight: 800; color: var(--text-primary); }
.hero-stat-label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border-subtle); }

.hero-visual {
  flex: 1;
  position: relative; z-index: 1;
  max-width: 480px;
}

.dashboard-preview {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}

.preview-header {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}
.preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.preview-dot.red { background: #ff5f57; }
.preview-dot.yellow { background: #febc2e; }
.preview-dot.green { background: #28c840; }

.preview-body { padding: 16px; }

.preview-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.preview-stat-card {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}
.preview-stat-card.tiktok { background: var(--tiktok-bg); border-color: rgba(255,45,85,0.2); }
.preview-stat-card.facebook { background: var(--facebook-bg); border-color: rgba(24,119,242,0.2); }

.preview-chart {
  background: var(--bg-elevated);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border-subtle);
}

.preview-table { font-size: 11px; }
.preview-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  padding: 8px 4px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 8px;
}
.preview-row.header { color: var(--text-muted); font-weight: 600; font-size: 10px; text-transform: uppercase; }
.preview-row:last-child { border-bottom: none; }

/* ── Platforms Strip ─────────────────────────────────────── */
.platforms-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 32px 24px;
}
.strip-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.strip-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 20px; }
.platform-logos { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.platform-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 13px; font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.platform-logo:hover { border-color: var(--border-default); color: var(--text-primary); transform: translateY(-2px); }
.platform-logo.tiktok:hover { border-color: rgba(255,45,85,0.4); color: var(--tiktok-color); }
.platform-logo.facebook:hover { border-color: rgba(24,119,242,0.4); color: var(--facebook-color); }
.platform-logo.ai:hover { border-color: rgba(34,197,94,0.4); color: var(--success); }

/* ── Sections ────────────────────────────────────────────── */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.features-section, .compliance-section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: 99px;
  font-size: 12px; font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── Features Grid ───────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.feature-link { font-size: 13px; font-weight: 600; color: var(--brand-primary); }
.feature-link:hover { color: #7ab3ff; }

/* ── Compliance ──────────────────────────────────────────── */
.compliance-section { background: var(--bg-surface); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.compliance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.compliance-item {
  display: flex; gap: 16px;
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}
.compliance-check {
  width: 28px; height: 28px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.compliance-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.compliance-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.compliance-docs { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.compliance-doc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  font-size: 14px; font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
}
.compliance-doc-btn:hover { background: var(--bg-hover); border-color: var(--brand-primary); color: var(--brand-primary); }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section { padding: 80px 24px; text-align: center; }
.cta-container { max-width: 640px; margin: 0 auto; }
.cta-title { font-size: 36px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-desc { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 24px 24px;
}
.footer-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}
.footer-brand { flex: 1; min-width: 240px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 120px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { font-size: 13.5px; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { max-width: 1200px; margin: 0 auto; text-align: center; font-size: 12.5px; color: var(--text-muted); }

/* ── Legal Pages ─────────────────────────────────────────── */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}
.legal-header {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}
.legal-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: 99px;
  font-size: 12px; font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 16px;
}
.legal-title { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.legal-meta { font-size: 13px; color: var(--text-muted); }
.legal-toc {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.legal-toc h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px; }
.legal-toc ol { padding-left: 20px; }
.legal-toc li { font-size: 13.5px; color: var(--brand-primary); margin-bottom: 6px; }
.legal-toc a { color: var(--brand-primary); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-section { margin-bottom: 40px; }
.legal-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); color: var(--text-primary); }
.legal-section h3 { font-size: 16px; font-weight: 600; margin: 20px 0 10px; color: var(--text-primary); }
.legal-section p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.legal-section ul, .legal-section ol { padding-left: 24px; margin-bottom: 14px; }
.legal-section li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.legal-highlight {
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.2);
  border-left: 4px solid var(--brand-primary);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.legal-warning {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-left: 4px solid var(--warning);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { flex-direction: column; padding-top: 120px; }
  .hero-visual { max-width: 100%; }
}
@media (max-width: 768px) {
  .features-grid, .compliance-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: block; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .footer-container { flex-direction: column; }
}
