@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;1,9..40,300&display=swap');

:root {
  --navy: #07112b;
  --navy-mid: #0e2045;
  --navy-light: #162d5e;
  --blue: #05aced;
  --blue-bright: #19bfff;
  --blue-glow: #3dceff;
  --accent: #00d4ff;
  --accent-soft: rgba(0,212,255,0.12);
  --white: #ffffff;
  --off-white: #f0f4ff;
  --gray-100: #e8edf8;
  --gray-200: #c8d3ee;
  --gray-400: #8898c0;
  --gray-600: #4a5880;
  --text-body: #d0daf5;
  --text-muted: #7a8fc0;
  --line: rgba(255,255,255,0.07);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 72px;
  --max-w: 1200px;
  --r: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* ── GRID NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, var(--line) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, var(--line) 80px);
  opacity: 0.5;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-body); }
a { text-decoration: none; color: inherit; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
section { position: relative; z-index: 1; }

/* ── LABEL / EYEBROW ── */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.label::before {
  content: '';
  display: block; width: 24px; height: 1px;
  background: var(--accent);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-head); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.25s;
  text-decoration: none; border-radius: var(--r);
}
.btn-primary {
  background: var(--blue); color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-bright); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,108,245,0.4);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-2px);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  background: rgba(7,17,43,0.92);
  backdrop-filter: blur(20px);
  border-color: var(--line);
}
.nav-inner {
  /* max-width: var(--max-w);  */
  margin: 0 auto; padding: 0 2rem;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.2rem;
  font-weight: 800; color: var(--white); letter-spacing: -0.02em;
}
.nav-logo-mark {
  /* width: 36px; height: 36px; */
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  border-radius: 100%;
  font-size: 0.9rem; font-weight: 800; color: var(--white);
  font-family: var(--font-head);
}
.nav-logo-mark > img {
  height: 55px;
  width: 55px;
}
.nav-logo > .brand-name {
  font-size: 20px;
  font-family: var(--font-head);
  letter-spacing: -0.02em
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  color: var(--gray-200); letter-spacing: 0.03em;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 1rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white); border-radius: 1px;
  transition: all 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--navy-mid); z-index: 99;
  padding: 2rem; border-bottom: 1px solid var(--line);
  flex-direction: column; gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 600;
  color: var(--gray-200); padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ── HERO ── */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(26,108,245,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,212,255,0.08) 0%, transparent 60%);
}
.hero-geo {
  position: absolute; right: -200px; top: 50%; transform: translateY(-50%);
  width: 700px; height: 700px; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  /* max-width: 700px; */
  padding: 6rem 0;
}
.hero-label { margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { color: var(--blue-bright); }
.hero-sub {
  font-size: 1.15rem; color: var(--text-body);
  max-width: 520px; margin-bottom: 2.5rem; font-weight: 300;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  color: var(--white);
}
.hero-stat-num span { color: var(--blue-bright); }
.hero-stat-label {
  font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em;
  text-transform: uppercase; margin-top: 2px;
}

/* ── SECTION SPACING ── */
.section { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }
.section-head { margin-bottom: 4rem; }
.section-head .label { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p {
  font-size: 1.05rem; color: var(--text-body);
  max-width: 580px; font-weight: 300;
}

/* ── DIVIDER ── */
.divider {
  height: 1px; background: var(--line); margin: 0;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
}
.service-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border: none;
  transition: background 0.3s;
  cursor: pointer;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--blue); transform: scaleX(0);
  transform-origin: left; transition: transform 0.35s;
}
.service-card:hover { background: rgba(26,108,245,0.08); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--card-border); border-radius: var(--r);
  color: var(--accent);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1.5rem; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-bright); transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ── APPROACH / STEPS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; border: 1px solid var(--line);
}
.step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  color: rgba(26,108,245,0.2); line-height: 1;
  margin-bottom: 1rem;
}
.step h4 { color: var(--white); margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* ── MARQUEE / TICKER ── */
.ticker-wrap {
  overflow: hidden; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0; background: rgba(26,108,245,0.05);
}
.ticker {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 1.5rem;
  padding: 0 2rem;
  font-family: var(--font-head); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray-400);
}
.ticker-item::after { content: '·'; color: var(--blue); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── WHY US / FEATURE STRIP ── */
.features-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature {
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h4 { color: var(--white); margin-bottom: 0.3rem; font-size: 1rem; }
.feature p { font-size: 0.88rem; color: var(--text-muted); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy-light);
  border-top: 1px solid rgba(26,108,245,0.3);
  border-bottom: 1px solid rgba(26,108,245,0.3);
  padding: 5rem 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,108,245,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-inner h2 { max-width: 560px; }
.cta-inner h2 span { color: var(--blue-bright); }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-detail {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.contact-detail svg { width: 18px; height: 18px; color: var(--blue-bright); flex-shrink: 0; }

/* ── FORM ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.5rem;
}
.form-control {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r); color: var(--white);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}
.form-control:focus {
  border-color: var(--blue); background: rgba(26,108,245,0.07);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none; padding: 1rem 1.25rem;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  border-radius: var(--r); color: var(--accent); font-size: 0.9rem;
  margin-top: 1rem;
}

/* ── FOOTER ── */
footer {
  background: #040d1f; position: relative; z-index: 1;
  border-top: 1px solid var(--line);
}
.footer-top {
  padding: 5rem 0 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand p {
  font-size: 0.9rem; color: var(--text-muted);
  margin-top: 1rem; max-width: 280px;
}
.footer-social {
  display: flex; gap: 0.75rem; margin-top: 1.25rem;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--card-border); border-radius: 50%;
  color: var(--text-muted); transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-col h5 {
  font-family: var(--font-head); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.25rem; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.9rem; color: var(--gray-400); transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,108,245,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-label { margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 4rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-body); max-width: 620px; font-weight: 300; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--line); }

/* ── SERVICE DETAIL PAGE ── */
.service-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.service-detail-content .label { margin-bottom: 1rem; }
.service-detail-content h2 { margin-bottom: 1rem; }
.service-detail-content p { color: var(--text-muted); margin-bottom: 1.5rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.92rem; color: var(--text-body);
}
.check-list li::before {
  content: '';
  flex-shrink: 0; margin-top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(26,108,245,0.2);
  border: 1px solid var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%231a6cf5' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── VISUAL PANEL ── */
.visual-panel {
  background: var(--navy-light);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.visual-panel-inner {
  width: 80%; position: relative;
}
.visual-node {
  background: var(--navy-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem; font-weight: 500;
  color: var(--gray-200); position: absolute;
}
.visual-node.accent { border-color: var(--blue); color: var(--white); background: rgba(26,108,245,0.15); }

/* ── ABOUT SPLIT ── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.value-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  border: 1px solid var(--line); margin-top: 3rem;
}
.value-card {
  padding: 1.75rem;
  background: var(--card-bg);
}
.value-card h4 { margin-bottom: 0.4rem; font-size: 0.95rem; }
.value-card p { font-size: 0.83rem; color: var(--text-muted); }

/* ── TEAM ── */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px;
  border: 1px solid var(--line);
}
.team-card {
  background: var(--card-bg); padding: 2rem;
  transition: background 0.3s;
}
.team-card:hover { background: rgba(26,108,245,0.07); }
.team-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-light);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  color: var(--blue-bright); margin-bottom: 1rem;
}
.team-card h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.team-card span { font-size: 0.8rem; color: var(--text-muted); }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .nav-logo-mark > img {
    height: 50px;
    width: 50px;
  }
  .nav-logo > .brand-name {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .hero-stats { gap: 2rem; }
  .cta-inner { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
}
