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

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

:root {
  --bg:        #ffffff;
  --bg-alt:    #f8f9fb;
  --bg-alt2:   #f5f7fa;
  --border:    #e6e8ec;
  --border-md: #d8dce2;
  --text:      #111111;
  --text-sec:  #666666;
  --text-mut:  #9aa0a8;
  --accent:    #2563eb;
  --accent-dk: #1d4ed8;
  --accent-bg: #eff4ff;
  --success:   #16a34a;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(17,17,17,0.04), 0 1px 1px rgba(17,17,17,0.03);
  --shadow-md: 0 4px 16px rgba(17,17,17,0.06), 0 1px 3px rgba(17,17,17,0.04);
  --shadow-lg: 0 16px 40px rgba(17,17,17,0.10), 0 2px 8px rgba(17,17,17,0.05);
  --shadow-hover: 0 20px 48px rgba(37,99,235,0.12), 0 4px 14px rgba(17,17,17,0.06);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 68px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }

.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em; text-decoration: none; z-index: 201;
}
.nav-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #4f8cff);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 800; flex-shrink: 0;
}
.nav-logo span { color: var(--text-sec); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-sec);
  padding: 8px 14px; border-radius: 99px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--bg-alt2); color: var(--text); }
.nav-links a.active { background: var(--accent-bg); color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 10px; z-index: 201; }
.nav-cta {
  background: var(--text) !important; color: #fff !important;
  padding: 9px 20px; border-radius: 99px;
  font-weight: 600; font-size: 14px;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center;
}
.nav-cta:hover { background: var(--accent) !important; transform: translateY(-1px); }

/* ── HAMBURGER — professional X morph ── */
.nav-ham {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 0;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 10px;
  transition: background 0.2s; z-index: 201; position: relative;
}
.nav-ham:hover { background: var(--bg-alt2); }
.nav-ham span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.25s ease,
              top 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-ham span:nth-child(1) { top: 13px; }
.nav-ham span:nth-child(2) { top: 19px; }
.nav-ham span:nth-child(3) { top: 25px; }

/* morphed state */
.nav-ham.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-ham.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ── MOBILE DRAWER — slides in from top, feels premium ── */
.nav-mobile {
  position: fixed; top: 0; left: 0; right: 0;
  background: #fff; z-index: 199;
  padding: 88px 24px 32px;
  pointer-events: none;
  transform: translateY(-8px); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.3s ease;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(17,17,17,0.12);
}
.nav-mobile.open {
  pointer-events: all;
  transform: translateY(0); opacity: 1;
}
.nav-mobile-links {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 20px;
}
.nav-mobile-links a {
  font-size: 17px; font-weight: 600; color: var(--text);
  padding: 13px 16px; border-radius: 12px;
  transition: background 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-mobile-links a:hover { background: var(--bg-alt); }
.nav-mobile-links a.active { color: var(--accent); background: var(--accent-bg); }
.nav-mobile-links a span { font-size: 18px; color: var(--text-mut); }
.nav-mobile-cta {
  display: block; text-align: center;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 15px; border-radius: 14px; font-size: 16px;
  transition: background 0.2s;
}
.nav-mobile-cta:hover { background: var(--accent-dk); }

@media (max-width: 880px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-ham { display: flex; }
}

/* ── TYPE ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-bg); padding: 6px 14px; border-radius: 99px;
  margin-bottom: 20px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1, h2, h3, h4 { color: var(--text); letter-spacing: -0.02em; font-weight: 700; }
.h1 { font-size: clamp(32px, 7vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(26px, 5vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; }
.h3 { font-size: clamp(20px, 3.5vw, 28px); line-height: 1.25; font-weight: 700; }
.h4 { font-size: 18px; line-height: 1.4; font-weight: 700; }
.body-lg { font-size: clamp(16px, 2.2vw, 18px); line-height: 1.7; color: var(--text-sec); max-width: 700px; }
.body { font-size: 15px; line-height: 1.7; color: var(--text-sec); }
.body-sm { font-size: 13px; line-height: 1.6; color: var(--text-mut); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; padding: 13px 26px; border-radius: 99px;
  border: none; cursor: pointer; text-decoration: none; position: relative; overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(37,99,235,0.1), 0 4px 12px rgba(37,99,235,0.18); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.28); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--border-md); }
.btn-outline:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.45);
  transform: scale(0); animation: ripple-anim 0.6s ease-out; pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(3); opacity: 0; } }

/* ── LAYOUT ── */
.section { padding: 88px 24px; }
.section-sm { padding: 56px 24px; }
.container { max-width: 1120px; margin: 0 auto; }
.container-md { max-width: 880px; margin: 0 auto; }
.container-tight { max-width: 640px; margin: 0 auto; }
.alt-bg { background: var(--bg-alt); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .body-lg { margin-left: auto; margin-right: auto; }

/* ── CARDS ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #d6e2ff; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 99px; }
.badge-live { background: #ecfdf3; color: var(--success); }
.badge-soon { background: var(--bg-alt2); color: var(--text-mut); }
.badge-accent { background: var(--accent-bg); color: var(--accent); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ── FOOTER ── */
footer { background: #0c0e12; color: #fff; padding: 64px 24px 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px; max-width: 1120px; margin: 0 auto;
  padding-bottom: 48px; border-bottom: 1px solid #1d2027;
}
.footer-logo { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-desc { font-size: 13px; color: #8a8f99; line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px; background: #181b21;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #8a8f99; transition: all 0.2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #565b66; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: #aeb2bb; margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-newsletter input {
  width: 100%; background: #15171c; border: 1px solid #24272e; color: #fff;
  padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 10px; outline: none;
}
.footer-newsletter input::placeholder { color: #565b66; }
.footer-newsletter button {
  width: 100%; background: var(--accent); color: #fff; border: none;
  padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: var(--accent-dk); }
.footer-bottom {
  max-width: 1120px; margin: 0 auto; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 13px; color: #565b66; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: #565b66; transition: color 0.2s; }
.footer-legal a:hover { color: #fff; }

/* ── UTILS ── */
.center { text-align: center; }
.divider { height: 1px; background: var(--border); border: none; }

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 768px) { .section { padding: 56px 20px; } .section-sm { padding: 40px 20px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }
