/* ═══════════════════════════════════════════════════════
   Sabre Knowledge — Marketing Website Styles
   Dark premium theme with indigo/cyan accents
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #22d3ee;
  --accent-dark: #06b6d4;
  --bg: #0a0a1a;
  --bg-card: #111127;
  --bg-card-hover: #1a1a3a;
  --border: rgba(99, 102, 241, 0.15);
  --border-hover: rgba(99, 102, 241, 0.35);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.accent { color: var(--accent); }

/* ─── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius); font-family: var(--font);
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: all 0.3s ease; border: 2px solid transparent; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-color: var(--primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4); }
.btn-outline {
  background: transparent; color: var(--text); border-color: var(--border-hover);
}
.btn-outline:hover { background: rgba(99, 102, 241, 0.1); border-color: var(--primary); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }

/* ─── Navigation ───────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all 0.3s ease;
  background: rgba(10, 10, 26, 0.7); backdrop-filter: blur(20px);
}
.navbar.scrolled { background: rgba(10, 10, 26, 0.95); box-shadow: 0 2px 20px rgba(0,0,0,0.3); padding: 10px 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.2rem; }
.nav-logo { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--text); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; display: block; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(34, 211, 238, 0.05) 40%, transparent 70%);
  filter: blur(40px);
}
.hero-content { text-align: center; position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
  background: rgba(99, 102, 241, 0.1); border: 1px solid var(--border);
  border-radius: 50px; font-size: 0.85rem; color: var(--primary-light);
  margin-bottom: 28px; font-weight: 500;
}
.ping {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); position: relative;
}
.ping::before {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: var(--accent); opacity: 0.6;
  animation: pingAnim 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes pingAnim { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.5); opacity: 0; } }

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 12px; justify-content: center; color: var(--text-dim); font-size: 0.85rem; }
.trust-avatars { display: flex; }
.trust-avatar {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.7rem; color: #fff; border: 2px solid var(--bg);
  margin-right: -8px;
}

/* ─── Stats ────────────────────────────────────────── */
.stats-section { padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 32px 20px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.stat-number { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

/* ─── Section Headers ──────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; padding: 6px 16px; background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border); border-radius: 50px; font-size: 0.8rem;
  color: var(--primary-light); font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ─── Features ─────────────────────────────────────── */
.features-section { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  padding: 32px 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: all 0.3s;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.feature-card code { background: rgba(99, 102, 241, 0.15); padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; }

/* ─── How It Works ─────────────────────────────────── */
.how-section { padding: 100px 0; background: linear-gradient(180deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%); }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.step-card {
  flex: 1; min-width: 200px; max-width: 300px; padding: 40px 28px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.step-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.step-number {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
  font-weight: 800; font-size: 1.2rem; margin: 0 auto 16px;
}
.step-card h3 { font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; }
.step-line { width: 60px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); flex-shrink: 0; }
.steps-cta { text-align: center; margin-top: 48px; }

/* ─── Integrations ─────────────────────────────────── */
.integrations-section { padding: 100px 0; }
.integrations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.integration-card {
  padding: 32px 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center; transition: all 0.3s;
}
.integration-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.integration-icon { font-size: 2.5rem; margin-bottom: 16px; }
.integration-card h3 { font-weight: 700; margin-bottom: 8px; }
.integration-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ─── Pricing ──────────────────────────────────────── */
.pricing-section { padding: 100px 0; background: linear-gradient(180deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%); }
.billing-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 48px; flex-wrap: wrap; }
.currency-select {
  background: var(--bg-card); color: var(--text); border: 1px solid var(--border);
  padding: 10px 16px; border-radius: var(--radius); font-family: var(--font);
  font-size: 0.9rem; cursor: pointer;
}
.billing-toggle { display: flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.billing-btn {
  padding: 10px 24px; background: transparent; border: none; color: var(--text-muted);
  font-family: var(--font); font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 0.9rem;
}
.billing-btn.active { background: var(--primary); color: #fff; }
.discount-badge {
  background: var(--success); color: #fff; padding: 2px 8px; border-radius: 6px; font-size: 0.7rem; margin-left: 4px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pricing-card {
  padding: 36px 28px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); position: relative; transition: all 0.3s;
  display: flex; flex-direction: column;
}
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.pricing-card.popular { border-color: var(--primary); box-shadow: 0 0 30px rgba(99, 102, 241, 0.15); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
  padding: 4px 16px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
  white-space: nowrap;
}
.pricing-tier { font-size: 0.9rem; font-weight: 600; color: var(--primary-light); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.pricing-price { margin-bottom: 8px; }
.price-amount { font-size: 2.2rem; font-weight: 800; }
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.pricing-features { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing-features li { padding: 6px 0; font-size: 0.9rem; color: var(--text-muted); }

/* ─── Contact ──────────────────────────────────────── */
.contact-section { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  padding: 36px 28px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center; transition: all 0.3s;
}
.contact-card:hover { border-color: var(--border-hover); }
.contact-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.contact-card a { color: var(--accent); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ─── Footer ───────────────────────────────────────── */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand > span { font-weight: 700; font-size: 1.1rem; }
.footer-logo { width: 40px; height: 40px; border-radius: 8px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; max-width: 260px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.8rem; }

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid, .pricing-grid, .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: rgba(10,10,26,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .pricing-grid, .integrations-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-line { width: 2px; height: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}
