@import url('https://fonts.googleapis.com/css2?family=Neue+Haas+Grotesk+Display+Pro:wght@400;500;600;700&family=SF+Pro+Display:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&display=swap');

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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-50: #f9f9f9;
  --gray-100: #f3f3f3;
  --gray-200: #e8e8e8;
  --gray-300: #d1d1d1;
  --gray-400: #a0a0a0;
  --gray-500: #6e6e6e;
  --gray-600: #4b4b4b;
  --gray-700: #2d2d2d;
  --gray-800: #1a1a1a;
  --gray-900: #0d0d0d;
  --accent: #0066ff;
  --accent-light: #e6f0ff;
  --accent-mid: rgba(0,102,255,0.15);
  --gold: #c9a84c;
  --green: #00c853;
  --purple: #7c3aed;
  --r: 16px;
  --r-sm: 10px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-full: 999px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 2px; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 1px 30px rgba(0,0,0,0.08);
}

.navbar.dark {
  background: rgba(0,0,0,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar.dark .nav-links a { color: rgba(255,255,255,0.75); }
.navbar.dark .nav-links a:hover { color: white; background: rgba(255,255,255,0.08); }
.navbar.dark .logo-text { color: white; }
.navbar.dark .nav-cta { background: white; color: black; }
.navbar.dark .mobile-menu-btn span { background: white; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  background: var(--black);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,102,255,0.3);
}

/* Mobile Nav */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
  transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 20px 24px;
  z-index: 999;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background 0.15s;
}

.mobile-nav a:hover { background: var(--gray-100); }

.mobile-nav .mobile-cta {
  margin-top: 12px;
  background: var(--black);
  color: white;
  text-align: center;
  border-radius: var(--r-full);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,102,255,0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gray-800);
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--gray-300);
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}

.btn-secondary:hover {
  border-color: var(--gray-700);
  background: var(--gray-50);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.btn-ghost:hover { gap: 10px; }

/* ─── SECTIONS ─── */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 100px 40px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.05;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--gray-300);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ─── TAGS / PILLS ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
}

.tag-blue { background: var(--accent-light); color: var(--accent); }
.tag-green { background: rgba(0,200,83,0.1); color: var(--green); }
.tag-gold { background: rgba(201,168,76,0.1); color: var(--gold); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 160px 40px 80px;
  background: var(--gray-900);
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0,102,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(124,58,237,0.1) 0%, transparent 70%);
}

.page-header-inner {
  position: relative;
  max-width: 800px;
}

.page-header .eyebrow { color: rgba(0,102,255,0.8); }

.page-header h1 {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
}

.page-header p {
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 40px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}

.footer-brand .logo-text { color: white; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: var(--accent);
}

.footer-socials img {
  width: 16px;
  height: 16px;
  filter: invert(1);
  opacity: 0.8;
}

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: var(--gray-200);
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── STAT COUNTER ─── */
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -2px;
  line-height: 1;
}

/* ─── FLOATING CTA BADGE ─── */
.float-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,83,0.1);
  color: var(--green);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(0,200,83,0.2);
}

.float-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .section { padding: 80px 24px; }
  .section-full { padding: 80px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .section { padding: 64px 20px; }
  .section-full { padding: 64px 20px; }
  .page-header { padding: 120px 20px 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 52px 16px; }
}
