:root {
  --navy: #0a1628;
  --navy-mid: #0f2040;
  --navy-light: #162d52;
  --accent: #1e7cff;
  --accent-bright: #4d9dff;
  --accent-glow: rgba(30,124,255,0.12);
  --teal: #00c9a7;
  --teal-dim: rgba(0,201,167,0.1);
  --green: #22c55e;
  --slate: #8a9bbf;
  --slate-light: #c2cde3;
  --white: #ffffff;
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.03);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
}
*, *::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(--white); line-height: 1.65; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 68px;
  background: rgba(10,22,40,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.nav-logo-mark {
  width: 34px; height: 34px; background: var(--accent); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 0.875rem; color: var(--slate-light); transition: color 0.2s;
  display: flex; align-items: center; gap: 4px; cursor: pointer;
}
.nav-link:hover { color: var(--white); }
.caret { font-size: 0.7rem; opacity: 0.6; }
.nav-cta {
  background: var(--accent); color: #fff;
  padding: 9px 20px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-bright); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 12px); left: -20px;
  background: var(--navy-mid); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  min-width: 580px; grid-template-columns: repeat(3, 1fr); gap: 0 24px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu { display: grid; }
.dropdown-heading {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-bright); margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.dropdown-menu a {
  display: block; font-size: 0.82rem; color: var(--slate-light);
  padding: 5px 0; transition: color 0.15s;
}
.dropdown-menu a:hover { color: var(--white); }
.dropdown-col { display: flex; flex-direction: column; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ── SHARED SECTION ── */
section { padding: 96px 5vw; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--accent-bright); margin-bottom: 12px;
}
.section-h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem,3vw,2.7rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 14px;
}
.section-sub { font-size: 1rem; color: var(--slate-light); line-height: 1.7; font-weight: 300; max-width: 580px; }
.section-header { margin-bottom: 52px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 13px 26px; border-radius: 10px; font-size: 0.95rem; font-weight: 500;
  transition: all 0.2s; border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-outline {
  display: inline-block; background: transparent; color: var(--slate-light);
  padding: 13px 26px; border-radius: 10px; font-size: 0.95rem;
  border: 1px solid var(--border); transition: all 0.2s; cursor: pointer; font-family: var(--font-body);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.25); color: var(--white); }
.btn-teal {
  display: inline-block; background: var(--teal); color: var(--navy);
  padding: 13px 26px; border-radius: 10px; font-size: 0.95rem; font-weight: 600;
  transition: all 0.2s; border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-teal:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 5vw 60px; position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: 0.035;
  background-image: linear-gradient(var(--slate) 1px,transparent 1px),linear-gradient(90deg,var(--slate) 1px,transparent 1px);
  background-size: 56px 56px;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.orb-1 { width: 700px; height: 700px; background: radial-gradient(circle,rgba(30,124,255,0.22) 0%,transparent 70%); top: -250px; right: -150px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle,rgba(0,201,167,0.12) 0%,transparent 70%); bottom: -100px; left: 5%; }
.hero-inner {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-dim); border: 1px solid rgba(0,201,167,0.25);
  padding: 6px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 500;
  color: var(--teal); margin-bottom: 22px;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.hero-h1 {
  font-family: var(--font-head); font-size: clamp(2.4rem,4vw,3.8rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 20px;
}
.accent-text { color: var(--accent-bright); }
.hero-sub { font-size: 1.05rem; color: var(--slate-light); line-height: 1.7; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; padding-top: 36px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; }
.hero-stat-label { font-size: 0.78rem; color: var(--slate); margin-top: 2px; }

/* Hero visual cards */
.hero-visual { display: flex; flex-direction: column; gap: 12px; }
.hero-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px; backdrop-filter: blur(12px);
}
.hero-card:nth-child(1) { animation: floatCard 6s ease-in-out infinite; }
.hero-card:nth-child(2) { animation: floatCard 6s ease-in-out infinite; animation-delay: -2s; }
.hero-card:nth-child(3) { animation: floatCard 6s ease-in-out infinite; animation-delay: -4s; }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
.hero-card-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 10px; }
.icon-blue { background: rgba(30,124,255,0.2); }
.icon-teal { background: rgba(0,201,167,0.15); }
.icon-purple { background: rgba(120,80,255,0.2); }
.icon-green { background: rgba(34,197,94,0.15); }
.hero-card-title { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.hero-card-text { font-size: 0.78rem; color: var(--slate); }
.hero-card-status { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; margin-top: 8px; color: var(--teal); }
.status-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }

/* ── REMOTE BANNER ── */
.remote-banner {
  background: linear-gradient(135deg,rgba(30,124,255,0.25),rgba(0,201,167,0.15));
  border-top: 1px solid rgba(30,124,255,0.2); border-bottom: 1px solid rgba(30,124,255,0.2);
  padding: 16px 5vw; text-align: center;
}
.remote-banner p { font-size: 0.92rem; }
.remote-banner a { color: var(--teal); font-weight: 500; }
.remote-banner a:hover { text-decoration: underline; }

/* ── SERVICE TABS ── */
.service-tabs { display: flex; gap: 6px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 9px 20px; border-radius: 100px; font-size: 0.82rem; font-weight: 500;
  border: 1px solid var(--border); background: transparent; color: var(--slate-light);
  cursor: pointer; font-family: var(--font-body); transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 18px; }

/* ── SERVICE CARDS ── */
.service-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px; transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent,var(--accent),transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(30,124,255,0.3); transform: translateY(-2px); }
.service-card:hover::after { opacity: 1; }
.service-card.featured { border-color: rgba(30,124,255,0.35); background: var(--accent-glow); }
.service-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px; }
.service-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.service-text { font-size: 0.84rem; color: var(--slate); line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.stag {
  font-size: 0.7rem; padding: 3px 9px; border-radius: 100px;
  background: rgba(30,124,255,0.1); color: var(--accent-bright); font-weight: 500;
}
.stag-teal { background: var(--teal-dim); color: var(--teal); }
.stag-purple { background: rgba(120,80,255,0.12); color: #a78bfa; }
.service-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 5px; }
.service-list li { font-size: 0.8rem; color: var(--slate-light); padding-left: 13px; position: relative; }
.service-list li::before { content: '›'; position: absolute; left: 0; color: var(--accent-bright); }

/* ── WHY ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 16px; }
.why-num { font-family: var(--font-head); font-size: 0.72rem; font-weight: 800; color: var(--accent); min-width: 26px; padding-top: 4px; }
.why-title { font-family: var(--font-head); font-size: 0.97rem; font-weight: 700; margin-bottom: 5px; }
.why-text { font-size: 0.84rem; color: var(--slate); line-height: 1.7; }
.why-visual { background: var(--navy-mid); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.why-visual-title { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; color: var(--slate); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.1em; }
.tier { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 10px; margin-bottom: 10px; border: 1px solid var(--border); transition: border-color 0.2s; cursor: default; }
.tier:hover { border-color: rgba(30,124,255,0.3); }
.tier-featured { border-color: rgba(30,124,255,0.4); background: var(--accent-glow); }
.tier-name { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; }
.tier-desc { font-size: 0.76rem; color: var(--slate); margin-top: 2px; }
.tier-badge { font-size: 0.68rem; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.badge-blue { background: rgba(30,124,255,0.15); color: var(--accent-bright); }
.badge-teal { background: var(--teal-dim); color: var(--teal); }
.badge-slate { background: rgba(138,155,191,0.12); color: var(--slate-light); }
.assess-box { margin-top: 22px; padding: 18px; background: var(--accent-glow); border: 1px solid rgba(30,124,255,0.2); border-radius: 12px; }
.assess-box-title { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; }
.assess-box-text { font-size: 0.78rem; color: var(--slate); margin-bottom: 14px; line-height: 1.6; }

/* ── PROCESS ── */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.1),rgba(255,255,255,0.1),transparent);
}
.process-step { padding: 0 16px; text-align: center; }
.step-circle {
  width: 54px; height: 54px; border-radius: 50%; background: var(--navy); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--accent);
  margin: 0 auto 18px; position: relative; z-index: 1; transition: all 0.3s;
}
.process-step:hover .step-circle { background: var(--accent); color: #fff; border-color: var(--accent); }
.step-title { font-family: var(--font-head); font-size: 0.92rem; font-weight: 700; margin-bottom: 8px; }
.step-text { font-size: 0.8rem; color: var(--slate); line-height: 1.65; }

/* ── SPECIALTIES ── */
.spec-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.spec-card { background: var(--navy-mid); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; transition: all 0.25s; }
.spec-card:hover { border-color: rgba(30,124,255,0.28); }
.spec-icon { font-size: 1.5rem; margin-bottom: 12px; }
.spec-title { font-family: var(--font-head); font-size: 0.97rem; font-weight: 700; margin-bottom: 7px; }
.spec-text { font-size: 0.83rem; color: var(--slate); line-height: 1.7; }

/* ── CONTACT ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-detail-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-glow); border: 1px solid rgba(30,124,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-detail-label { font-size: 0.76rem; color: var(--slate); margin-bottom: 2px; }
.contact-detail-value { font-size: 0.93rem; font-weight: 500; }
.contact-detail-value a { color: var(--accent-bright); }
.contact-detail-value a:hover { text-decoration: underline; }
.form-wrap { background: var(--navy-mid); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.form-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; margin-bottom: 5px; }
.form-sub { font-size: 0.84rem; color: var(--slate); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.78rem; font-weight: 500; color: var(--slate-light); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--navy); border: 1px solid var(--border); border-radius: 9px;
  padding: 10px 13px; color: var(--white); font-family: var(--font-body); font-size: 0.875rem;
  transition: border-color 0.2s; outline: none; width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--slate); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group select option { background: var(--navy-mid); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: 13px; border-radius: 10px; background: var(--accent); color: #fff;
  font-family: var(--font-head); font-size: 0.97rem; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.2s;
}
.form-submit:hover { background: var(--accent-bright); }
.form-note { font-size: 0.76rem; color: var(--slate); margin-top: 12px; text-align: center; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { padding: 140px 5vw 80px; text-align: center; position: relative; overflow: hidden; }
.page-hero .hero-orb { opacity: 0.6; }
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(2rem,3.5vw,3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 16px; }
.page-hero p { font-size: 1rem; color: var(--slate-light); line-height: 1.7; font-weight: 300; }

/* ── STATS BAR ── */
.stats-bar { display: flex; justify-content: center; gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--navy-mid); }
.stat-item { padding: 28px 48px; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.stat-label { font-size: 0.8rem; color: var(--slate); margin-top: 4px; }

/* ── FOOTER ── */
footer { background: var(--navy); border-top: 1px solid var(--border); padding: 64px 5vw 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.footer-tagline { font-size: 0.84rem; color: var(--slate); line-height: 1.65; max-width: 260px; margin-bottom: 16px; }
.footer-contact-block { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-block a { font-size: 0.84rem; color: var(--accent-bright); transition: color 0.2s; }
.footer-contact-block a:hover { color: var(--white); }
.footer-col-title { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links li a { font-size: 0.84rem; color: var(--slate-light); transition: color 0.2s; }
.footer-links li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.78rem; color: var(--slate); }
.footer-links-inline { display: flex; gap: 20px; }
.footer-links-inline a { font-size: 0.78rem; color: var(--slate); transition: color 0.2s; }
.footer-links-inline a:hover { color: var(--white); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── ALERTS ── */
.alert { padding: 14px 18px; border-radius: 10px; font-size: 0.875rem; margin-bottom: 16px; }
.alert-success { background: rgba(0,201,167,0.1); border: 1px solid rgba(0,201,167,0.3); color: var(--teal); }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1; min-width: 140px; border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--navy); padding: 20px 5vw 32px; border-bottom: 1px solid var(--border); gap: 16px; z-index: 199; }
  .hamburger { display: flex; }
  .dropdown-menu { position: static; display: flex !important; flex-direction: column; grid-template-columns: 1fr; min-width: auto; border: none; padding: 0 0 0 12px; box-shadow: none; background: transparent; }
  .spec-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .tab-panel.active { grid-template-columns: 1fr; }
}
