/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:             #080808;
  --surface-1:      #111111;
  --surface-2:      #181818;
  --surface-3:      #202020;
  --border:         #1e1e1e;
  --border-light:   #2a2a2a;
  --white:          #ffffff;
  --black:          #000000;
  --text-primary:   #ffffff;
  --text-secondary: #888888;
  --text-muted:     #4a4a4a;
  --accent-green:   #9ACD32;
  --accent-red:     #ff3b52;
  --accent-blue:    #0ea5e9;
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --nav-h:          68px;
  --transition:     0.2s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text-primary);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Reveal animations ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-primary-lg {
  font-size: 15px; font-weight: 600;
  color: var(--black); background: var(--white);
  padding: 14px 28px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary-lg:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.12); }
.btn-outline {
  font-size: 15px; font-weight: 500; color: var(--text-secondary);
  padding: 14px 28px; border-radius: 100px; border: 1px solid var(--border-light);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.btn-outline:hover { color: var(--white); border-color: #3a3a3a; background: var(--surface-2); }
.btn-ghost {
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  padding: 5px 10px; border-radius: 100px;
  border: 1px solid var(--border);
  transition: color var(--transition), border-color var(--transition);
}
.btn-ghost:hover { color: var(--white); border-color: #444; }
.btn-sm {
  font-size: 14px; font-weight: 600;
  color: var(--black); background: var(--white);
  padding: 9px 20px; border-radius: 100px;
  transition: opacity var(--transition);
}
.btn-sm:hover { opacity: 0.88; }

/* ─── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; flex-shrink: 0; }
.nav-logo-mark { width: 32px; height: 32px; background: var(--white); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-logo-mark span { font-size: 14px; font-weight: 900; color: var(--black); letter-spacing: -0.05em; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 32px; padding: 4px; cursor: pointer; }
.hamburger span { display: block; height: 1.5px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,8,8,0.97); backdrop-filter: blur(16px);
  padding: 20px 24px 32px; border-bottom: 1px solid var(--border); z-index: 99;
}
.mobile-menu.open { display: flex; flex-direction: column; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--text-secondary); padding: 14px 0; border-bottom: 1px solid var(--border); transition: color var(--transition); }
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .mobile-cta { margin-top: 20px; padding: 14px; background: var(--white); color: var(--black); border-radius: 100px; font-weight: 600; text-align: center; border: none; }

/* ─── Section helpers ───────────────────────────────────────── */
.section { padding: 100px 24px; }
.section-sm { padding: 72px 24px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(28px,4vw,44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.section-header p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

/* ─── Check list ────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.check-dot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.check-dot.green { background: rgba(154,205,50,0.12); color: var(--accent-green); }
.check-dot.red   { background: rgba(255,59,82,0.1);  color: var(--accent-red); }
.check-dot.blue  { background: rgba(14,165,233,0.1);  color: var(--accent-blue); }

/* ─── Stats bar ─────────────────────────────────────────────── */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-1); padding: 28px 24px; }
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 8px 16px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: clamp(22px,3vw,34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 12px; color: var(--text-muted); }

/* ─── CTA section ───────────────────────────────────────────── */
.cta-section { padding: 100px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 0%, transparent 75%);
  opacity: 0.3;
}
.cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(28px,5vw,52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 18px; }
.cta-inner p { font-size: 17px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 38px; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-note { margin-top: 16px; font-size: 13px; color: var(--text-muted); }

/* ─── Footer ────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 60px 24px 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border); margin-bottom: 32px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-top: 14px; max-width: 260px; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--text-secondary); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-muted); }

/* ─── Cursor glow ───────────────────────────────────────────── */
.cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 600px; height: 600px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
  transition: opacity 0.4s;
  mix-blend-mode: screen;
}

/* ─── Card border glare ─────────────────────────────────────── */
.feature-card, .pricing-main, .pricing-addon,
.risk-card, .integration-chip, .compat-card,
.person-card, .form-card, .direct-contact,
.how-it-connects {
  position: relative;
}
.feature-card::before, .pricing-main::before, .pricing-addon::before,
.risk-card::before, .integration-chip::before, .compat-card::before,
.person-card::before, .form-card::before, .direct-contact::before,
.how-it-connects::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--glow-x, -500px) var(--glow-y, -500px),
    rgba(255,255,255,0.1),
    transparent 55%
  );
  pointer-events: none; z-index: 0;
}
.feature-card > *, .pricing-main > *, .pricing-addon > *,
.risk-card > *, .integration-chip > *, .compat-card > *,
.person-card > *, .form-card > *, .direct-contact > *,
.how-it-connects > * {
  position: relative; z-index: 1;
}

/* ─── Cookie banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 9998; width: calc(100% - 48px); max-width: 680px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(16px);
}
.cookie-banner p {
  font-size: 13px; color: var(--text-secondary); line-height: 1.5; flex: 1; min-width: 200px;
}
.cookie-banner a { color: var(--accent-green); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-accept {
  font-size: 13px; font-weight: 600; color: var(--black);
  background: var(--white); border: none; border-radius: 100px;
  padding: 8px 18px; cursor: pointer; font-family: inherit;
  transition: opacity 0.2s;
}
.cookie-btn-accept:hover { opacity: 0.88; }
.cookie-btn-decline {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  background: none; border: 1px solid var(--border-light); border-radius: 100px;
  padding: 8px 18px; cursor: pointer; font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
}
.cookie-btn-decline:hover { color: var(--white); border-color: #444; }
@media (max-width: 600px) {
  .cookie-banner { bottom: 16px; padding: 16px 18px; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* ─── Tilt ──────────────────────────────────────────────────── */
.tilt-el {
  will-change: transform;
  transition: transform 0.1s ease;
}
.tilt-el.tilt-returning {
  transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}


/* ─── Language switcher ─────────────────────────────────────── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 10px;
  transition: color var(--transition), border-color var(--transition);
  text-decoration: none;
}
.lang-switch:hover { color: var(--white); border-color: #444; }
.lang-switch i { font-size: 13px; }

/* ─── Responsive (shared) ───────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links, .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn-sm { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .section { padding: 72px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
