/* ============================================================
   CONTINUUMS — Design Tokens & Base
   ============================================================ */
:root {
  --blue:       #0066FF;
  --blue-light: #00A3FF;
  --black:      #0A0A0A;
  --dark:       #151515;
  --white:      #FFFFFF;
  --text:       rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border:     rgba(255, 255, 255, 0.06);
  --border-b:   rgba(0, 102, 255, 0.2);
  --gradient:   linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
  --radius:     16px;
  --radius-sm:  10px;
  --max-w:      1200px;
  --nav-h:      72px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: 1.0625rem; font-weight: 600; }

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

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 6rem 0;
  background: var(--black);
}
.section-alt {
  background: var(--dark);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.875rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header > p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links .btn-nav {
  background: var(--gradient);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  margin-left: 0.5rem;
  transition: opacity 0.2s, transform 0.2s;
  -webkit-text-fill-color: var(--white);
}
.nav-links .btn-nav:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  background: var(--gradient);
  color: var(--white);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.875rem;
  background: var(--gradient);
  color: var(--white);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0, 102, 255, 0.35);
  white-space: nowrap;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.5);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.875rem;
  border: 1px solid var(--border-b);
  color: var(--white);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  background: rgba(0, 102, 255, 0.05);
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.5);
  transform: translateY(-2px);
}
.btn-large { padding: 1rem 2.5rem; font-size: 1.0625rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 102, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 102, 255, 0.1) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 7rem 0 5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4rem 1.125rem;
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--blue-light);
  background: rgba(0, 102, 255, 0.07);
  margin-bottom: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}
.hero h1 { margin-bottom: 1.5rem; }
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.75rem;
  line-height: 1.75;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 0.6s 1.4s forwards;
}
.scroll-indicator {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  position: relative;
  margin: 0 auto;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--blue-light);
  border-radius: 3px;
  animation: scroll-drift 1.9s ease-in-out infinite;
}
@keyframes scroll-drift {
  0%   { top: 5px; opacity: 1; }
  100% { top: 21px; opacity: 0; }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ============================================================
   About
   ============================================================ */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.about-card {
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.about-card:hover {
  border-color: var(--border-b);
  background: rgba(0, 102, 255, 0.04);
  transform: translateY(-4px);
}
.about-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue-light);
  margin: 0 auto 1.375rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.about-card:hover .about-icon {
  background: rgba(0, 102, 255, 0.18);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.25);
}
.about-card h3 { margin-bottom: 0.75rem; font-size: 1.125rem; }
.about-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.375rem;
}
.service-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.125rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s, background 0.35s;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card:hover {
  border-color: rgba(0, 102, 255, 0.42);
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 102, 255, 0.1), 0 0 0 1px rgba(0, 102, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: background 0.35s, box-shadow 0.35s;
}
.service-card:hover .service-icon {
  background: rgba(0, 102, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.35);
}
.service-card h3 {
  margin-bottom: 0.625rem;
  position: relative;
  z-index: 1;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Differentials
   ============================================================ */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}
.diff-item:hover {
  border-color: var(--border-b);
  background: rgba(0, 102, 255, 0.04);
}
.diff-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.0625rem;
}
.diff-item h3 { margin-bottom: 0.3rem; font-size: 0.9375rem; }
.diff-item p { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.65; }

/* ============================================================
   Stats
   ============================================================ */
.stats-section {
  padding: 5.5rem 0;
  background: var(--dark);
  border-top: 1px solid rgba(0, 102, 255, 0.18);
  border-bottom: 1px solid rgba(0, 102, 255, 0.18);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}
.stats-grid .stat-item + .stat-item {
  border-left: 1px solid var(--border);
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 5vw, 4.75rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.625rem;
  letter-spacing: -0.03em;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  border-color: var(--border-b);
  transform: translateY(-3px);
}
.testimonial-quote {
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 0.75;
  color: var(--blue);
  opacity: 0.35;
  margin-bottom: 0.5rem;
  display: block;
}
.stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  font-size: 0.75rem;
  margin-bottom: 1.125rem;
}
.testimonial-card > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1.625rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9375rem; color: var(--white); }
.testimonial-role { font-size: 0.8125rem; color: var(--text-muted); margin-top: 1px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 102, 255, 0.1) 0%, transparent 62%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 163, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
}
.cta-section p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 2.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand .logo {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 1.125rem;
}
.footer-brand > p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 260px;
}
.social-links {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.625rem;
}
.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-link:hover {
  border-color: var(--border-b);
  color: var(--blue-light);
  background: rgba(0, 102, 255, 0.07);
}
footer h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.375rem;
}
footer ul li { margin-bottom: 0.75rem; }
footer ul li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
footer ul li a:hover { color: var(--blue-light); }
.footer-contact p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.footer-contact i { color: var(--blue-light); width: 14px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.625rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8125rem; }

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   Responsive — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .differentials-grid  { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item + .stat-item { border-left: none; }
  .stats-grid .stat-item:nth-child(2n) { border-left: 1px solid var(--border); }
  .about-features      { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Responsive — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; border-radius: 8px; }
  .nav-links .btn-nav { text-align: center; margin-left: 0; margin-top: 0.25rem; }

  .hero-content { text-align: center; padding: 7rem 0 4rem; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }

  .about-features      { grid-template-columns: 1fr; }
  .services-grid       { grid-template-columns: 1fr; }
  .differentials-grid  { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stats-grid .stat-item + .stat-item { border-left: none; }
  .footer-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom       { flex-direction: column; gap: 0.5rem; text-align: center; }

  .section   { padding: 4.5rem 0; }
  .cta-section { padding: 5rem 0; }
  .hero-scroll { display: none; }

  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
}
