/* ===== CSS Variables ===== */
:root {
  --navy:       #0a1628;
  --navy-mid:   #111d35;
  --blue-deep:  #1a3a6b;
  --blue:       #1e6fd9;
  --blue-bright:#2d8cf0;
  --cyan:       #00c6d7;
  --cyan-light: #7eeaf6;
  --purple:     #8b5cf6;
  --purple-deep:#6d28d9;
  --white:      #ffffff;
  --off-white:  #f7f9fc;
  --gray-50:    #f0f3f8;
  --gray-100:   #e2e8f0;
  --gray-200:   #cbd5e1;
  --gray-500:   #64748b;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-800:   #1e293b;
  --gray-900:   #0f172a;

  --font-heading: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', 'Plus Jakarta Sans', system-ui, sans-serif;

  --shadow-sm:  0 1px 3px rgba(10,22,40,0.06), 0 1px 2px rgba(10,22,40,0.04);
  --shadow-md:  0 4px 16px rgba(10,22,40,0.08), 0 2px 4px rgba(10,22,40,0.04);
  --shadow-lg:  0 10px 40px rgba(10,22,40,0.10), 0 4px 8px rgba(10,22,40,0.04);

  --radius:     12px;
  --radius-lg:  20px;
  --max-width:  1160px;
  --section-py: 100px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.25; }

/* ===== Utility ===== */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* Header logo: icon + name side by side */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo-icon {
  height: 44px;
  width: auto;
}
.header-logo-name {
  height: 28px;
  width: auto;
}

.header-nav { display: flex; align-items: center; gap: 36px; }
.header-nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}
.header-nav a:hover { color: var(--blue); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--gray-800);
  margin: 5px 0; transition: all 0.3s ease; border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  border: none; cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 50%, var(--cyan) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30,111,217,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,111,217,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(10,22,40,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,22,40,0.2);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 160px 0 120px;
  background: linear-gradient(170deg, var(--white) 0%, var(--off-white) 40%, #eef3fc 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,215,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
  position: relative; z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(30,111,217,0.08);
  border: 1px solid rgba(30,111,217,0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 60%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}
.hero-text {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual — SVG neural-network motif */
.hero-visual {
  flex-shrink: 0;
  width: 420px; height: 400px;
  position: relative;
}
.hero-visual svg { width: 100%; height: 100%; }
.node-dot {
  fill: var(--blue);
  opacity: 0.7;
}
.node-dot.cyan { fill: var(--cyan); }
.node-dot.purple { fill: var(--purple); }
.node-line {
  stroke: var(--blue-bright);
  stroke-width: 1;
  opacity: 0.2;
}
.node-line.accent {
  stroke: var(--cyan);
  opacity: 0.3;
}

/* Floating animation for neural-net visual */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-visual { animation: float-gentle 6s ease-in-out infinite; }

/* ===== Coming Soon Section ===== */
.coming-soon {
  padding: var(--section-py) 0;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-mid) 50%, #141e38 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.coming-soon::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(0,198,215,0.08) 0%, transparent 100%),
    radial-gradient(ellipse 500px 300px at 80% 30%, rgba(139,92,246,0.06) 0%, transparent 100%);
  pointer-events: none;
}

/* Network grid canvas */
.network-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.4;
}

.coming-soon-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.coming-soon-icon {
  width: 64px; height: 64px;
  margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,198,215,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(0,198,215,0.25);
}
.coming-soon-icon svg { width: 32px; height: 32px; }
.coming-soon h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.coming-soon h2 span {
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--cyan) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.coming-soon p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  line-height: 1.8;
}
.coming-soon p:last-of-type { margin-bottom: 0; }
.coming-soon .highlight-text {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--cyan-light);
  font-size: 1.1rem;
  margin-top: 28px;
}

/* Decorative dots */
.cs-dots {
  display: flex; gap: 8px; justify-content: center;
  margin: 36px 0 0;
}
.cs-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  opacity: 0.3;
}
.cs-dot:nth-child(2) { background: var(--blue-bright); opacity: 0.5; }
.cs-dot:nth-child(3) { background: var(--purple); opacity: 0.4; }

/* ===== What We Do ===== */
.services {
  padding: var(--section-py) 0;
  background: var(--off-white);
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card:nth-child(1)::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.service-card:nth-child(2)::before { background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.service-card:nth-child(3)::before { background: linear-gradient(90deg, var(--purple), var(--blue-bright)); }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-card:nth-child(1) .service-icon { background: linear-gradient(135deg, rgba(30,111,217,0.1), rgba(0,198,215,0.1)); }
.service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, rgba(0,198,215,0.1), rgba(139,92,246,0.1)); }
.service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(30,111,217,0.1)); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== About ===== */
.about {
  padding: var(--section-py) 0;
  background: var(--white);
}
.about-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.about-visual {
  flex-shrink: 0;
  width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo { width: 280px; height: auto; }
.about-content { max-width: 580px; }
.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.about-content p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* Subtle divider bar */
.about-divider {
  width: 48px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  margin-bottom: 20px;
}

/* ===== CTA / Contact ===== */
.cta {
  padding: var(--section-py) 0;
  background: linear-gradient(170deg, #eef3fc 0%, var(--off-white) 100%);
  position: relative;
}
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.8;
}
.cta-email {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-top: 20px;
  font-style: italic;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-copy {
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-visual { width: 320px; height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { gap: 40px; }
  .about-visual { width: 260px; }
}

@media (max-width: 768px) {
  :root { --section-py: 72px; }

  .header-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
  }
  .header-nav.open { display: flex; }
  .menu-toggle { display: block; }

  .hero { padding: 120px 0 80px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-text { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { width: 260px; height: 260px; margin-top: 20px; }

  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .about-inner { flex-direction: column; text-align: center; }
  .about-visual { width: 200px; }
  .about-divider { margin: 0 auto 20px; }

  .footer-inner { flex-direction: column; text-align: center; }

  /* Slightly smaller header logo on mobile */
  .header-logo-icon { height: 36px; }
  .header-logo-name { height: 22px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
}
