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

:root {
  --black: #0a0a0a;
  --dark: #141414;
  --charcoal: #1e1e1e;
  --grey-900: #2a2a2a;
  --grey-700: #555555;
  --grey-500: #888888;
  --grey-400: #aaaaaa;
  --grey-300: #cccccc;
  --grey-200: #e0e0e0;
  --grey-100: #eeeeee;
  --light: #f5f5f5;
  --white: #ffffff;
  --blue: #0A84FF;
  --blue-light: #5AC8FA;
  --blue-vivid: #007AFF;
  --gradient: linear-gradient(135deg, #0A84FF 0%, #5AC8FA 50%, #34AADC 100%);
  --gradient-text: linear-gradient(135deg, #0A84FF 0%, #5AC8FA 100%);
  --gradient-shine: linear-gradient(135deg, #0A84FF 0%, #5AC8FA 40%, #64D2FF 60%, #0A84FF 100%);
  --gradient-glow: linear-gradient(135deg, rgba(10,132,255,0.2) 0%, rgba(90,200,250,0.2) 100%);
}

::selection { background: var(--blue); color: var(--white); }
html { scroll-behavior: smooth; }

/* Tame default browser focus outlines - keep accessibility for keyboard users via :focus-visible */
a:focus, button:focus { outline: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
/* Suppress outline box on inline text-decoration links - their own border-bottom is the visual signal */
.cs-meta-value a:focus, .cs-meta-value a:focus-visible,
.cs-breadcrumb a:focus, .cs-breadcrumb a:focus-visible,
.cs-back:focus, .cs-back:focus-visible,
.cs-overview-text a:focus, .cs-overview-text a:focus-visible,
.sv-features p a:focus, .sv-features p a:focus-visible {
  outline: none !important;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245,245,245,0);
  backdrop-filter: blur(0px);
  transition: all 0.5s;
}

nav.scrolled {
  background: rgba(245,245,245,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.nav-logo {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color 0.5s;
}

nav.scrolled .nav-logo { color: var(--dark); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  transition: color 0.5s;
}

nav.scrolled .nav-links a { color: var(--grey-500); }
.nav-links a:hover { color: var(--blue) !important; }
.nav-links a.active { color: var(--white) !important; }
nav.scrolled .nav-links a.active { color: var(--blue) !important; }

.nav-cta-link {
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  background: var(--gradient) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta-link:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(10,132,255,0.35), 0 2px 8px rgba(90,200,250,0.2) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

nav.scrolled .menu-toggle span { background: var(--dark); }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.open span { background: var(--white) !important; }
.menu-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }



/* ─── MOBILE NAV OVERLAY ─── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
}

.mobile-overlay-links li {
  overflow: hidden;
}

.mobile-overlay-links a {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 0.4rem 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity 0.5s cubic-bezier(0.25,0.46,0.45,0.94),
              color 0.3s;
}

.mobile-overlay.open .mobile-overlay-links a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-overlay-links li:nth-child(1) a { transition-delay: 0.06s; }
.mobile-overlay-links li:nth-child(2) a { transition-delay: 0.12s; }
.mobile-overlay-links li:nth-child(3) a { transition-delay: 0.18s; }
.mobile-overlay-links li:nth-child(4) a { transition-delay: 0.24s; }

.mobile-overlay-links a:hover,
.mobile-overlay-links a.active { color: var(--white); }

.mobile-overlay-links a.active {
  position: relative;
}

.mobile-overlay-links a.active::before {
  content: '';
  position: absolute;
  left: -1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.mobile-overlay-cta {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94) 0.3s,
              opacity 0.5s cubic-bezier(0.25,0.46,0.45,0.94) 0.3s;
}

.mobile-overlay.open .mobile-overlay-cta {
  transform: translateY(0);
  opacity: 1;
}

.mobile-overlay-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mobile-overlay-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10,132,255,0.35);
}

.mobile-overlay-footer {
  position: absolute;
  bottom: clamp(2rem, 5vw, 3rem);
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s 0.35s;
}

.mobile-overlay.open .mobile-overlay-footer { opacity: 1; }

.mobile-overlay-footer span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}



/* ─── SECTIONS ─── */
section { padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 3rem); }
.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 780px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 1.2rem;
}

.section-label .bar {
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}



/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-gradient { background: var(--gradient); color: var(--white); border: none; }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(10,132,255,0.35); }

.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.btn-light-outline { background: transparent; color: var(--dark); border: 1px solid var(--grey-200); }
.btn-light-outline:hover { border-color: var(--dark); transform: translateY(-2px); }

.btn-white-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-white-outline:hover { border-color: var(--white); transform: translateY(-2px); }



/* ─── FOOTER ─── */
footer {
  background: var(--light);
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--grey-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .f-brand {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-500);
}

footer .f-copy { font-size: 0.75rem; color: var(--grey-400); }
footer .f-links { display: flex; gap: 1.5rem; list-style: none; }
footer .f-links a { font-size: 0.75rem; font-weight: 500; color: var(--grey-400); text-decoration: none; transition: color 0.3s; }
footer .f-links a:hover { color: var(--blue); }



/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}

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

.d1 { transition-delay: 0s; }
.d2 { transition-delay: 0.08s; }
.d3 { transition-delay: 0.16s; }
.d4 { transition-delay: 0.24s; }
.d5 { transition-delay: 0.32s; }
.d6 { transition-delay: 0.4s; }



/* ─── RESPONSIVE (shared) ─── */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}
