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

:root {
  --navy:   #0d1b2a;
  --navy2:  #112240;
  --blue:   #2563eb;
  --blue2:  #1d4ed8;
  --cyan:   #38bdf8;
  --text:   #1e293b;
  --muted:  #64748b;
  --light:  #f1f5f9;
  --white:  #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILITIES ───────────────────────────── */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-size: .95rem; font-weight: 600; text-decoration: none;
  transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-full { width: 100%; justify-content: center; }

.label {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255,255,255,.7); }
.section-head.light .label { color: var(--cyan); }

.pill {
  display: inline-block; background: rgba(37,99,235,.15);
  color: var(--cyan); border: 1px solid rgba(56,189,248,.3);
  padding: 6px 16px; border-radius: 100px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  margin-bottom: 24px;
}

/* ── NAV ─────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy); transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.4); }
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 1.15rem; font-weight: 800; color: #fff;
  text-decoration: none; letter-spacing: .04em;
}
.logo span { color: var(--cyan); }
.nav-links {
  display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.8); text-decoration: none;
  font-size: .9rem; font-weight: 500; padding: 6px 12px; border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta {
  background: var(--blue) !important; color: #fff !important;
  padding: 8px 18px !important; border-radius: 7px !important;
}
.nav-cta:hover { background: var(--blue2) !important; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, #060d1a 0%, #0d1b2a 40%, #0a1628 100%);
  display: flex; align-items: center; overflow: hidden; padding-top: 68px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.08) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-glow-1 {
  width: 500px; height: 500px; background: rgba(37,99,235,.15);
  top: -100px; left: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px; background: rgba(56,189,248,.1);
  bottom: 0; right: 10%;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: var(--white); clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; padding: 80px 24px;
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 800; color: #fff;
  line-height: 1.15; margin-bottom: 24px;
}
.hero-content h1 em { font-style: normal; color: var(--cyan); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 500px; margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span {
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.1); border-radius: 6px;
  padding: 5px 12px; font-size: .78rem; font-weight: 500;
}

/* Hero visual panel */
.hero-visual { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 20px 24px; display: flex; align-items: center; gap: 16px;
  backdrop-filter: blur(10px); transition: transform .2s, background .2s;
}
.hero-card:hover { transform: translateX(6px); background: rgba(255,255,255,.08); }
.hc-1 { margin-left: 0; }
.hc-2 { margin-left: 32px; }
.hc-3 { margin-left: 16px; }
.hc-icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,.3), rgba(56,189,248,.2));
  border: 1px solid rgba(56,189,248,.2);
}
.hc-icon svg { width: 22px; height: 22px; stroke: var(--cyan); }
.hc-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.hc-sub { font-size: .78rem; color: rgba(255,255,255,.5); }
.hero-stat-row {
  display: flex; gap: 12px; margin-top: 8px; padding: 20px 24px;
  background: rgba(37,99,235,.1); border: 1px solid rgba(37,99,235,.2);
  border-radius: 14px; backdrop-filter: blur(10px);
}
.hero-stat { flex: 1; text-align: center; }
.hero-stat strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--cyan); }
.hero-stat span { font-size: .75rem; color: rgba(255,255,255,.5); font-weight: 500; }

/* ── ABOUT ───────────────────────────────── */
.about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-left h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 800; color: var(--navy); margin-bottom: 20px; line-height: 1.2; }
.about-left p { color: var(--muted); margin-bottom: 16px; font-size: 1rem; }
.about-stats { display: flex; gap: 24px; margin-top: 36px; }
.stat { text-align: center; background: var(--light); border-radius: 10px; padding: 18px 24px; flex: 1; }
.stat strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.stat small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.about-right { display: flex; flex-direction: column; gap: 20px; }
.about-card {
  background: var(--light); border-radius: var(--radius); padding: 28px;
  display: flex; align-items: flex-start; gap: 18px;
  border-left: 3px solid var(--blue);
  transition: transform .2s, box-shadow .2s;
}
.about-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.ac-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.ac-icon svg { width: 20px; height: 20px; stroke: #fff; }
.about-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.about-card p { font-size: .9rem; color: var(--muted); }

/* ── SERVICES ────────────────────────────── */
.services { padding: 100px 0; background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow); border: 1px solid #e2e8f0;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; gap: 16px;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.svc-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.svc-icon svg { width: 26px; height: 26px; stroke: var(--blue); }
.svc-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.svc-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.svc-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.svc-card ul li {
  font-size: .88rem; color: var(--muted); padding-left: 18px; position: relative;
}
.svc-card ul li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}

/* ── TEAM ────────────────────────────────── */
.team { padding: 100px 0; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 800px; margin: 0 auto; }
.team-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid #e2e8f0;
  padding: 36px 32px; display: flex; gap: 24px; align-items: flex-start;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.avatar {
  width: 72px; height: 72px; min-width: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: .05em;
}
.av-blue { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.av-teal { background: linear-gradient(135deg, #0f4c3a, #0d9488); }
.team-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.role { font-size: .82rem; font-weight: 600; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }
.divider { width: 32px; height: 2px; background: var(--blue); margin: 12px 0; border-radius: 2px; }
.team-info p { font-size: .9rem; color: var(--muted); }

/* ── CONTACT ─────────────────────────────── */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #112240 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.ci-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(37,99,235,.2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 20px; height: 20px; stroke: var(--cyan); }
.contact-item strong { display: block; color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.contact-item p, .contact-item a { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.7; text-decoration: none; }
.contact-item a:hover { color: var(--cyan); }

.contact-form {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 36px; backdrop-filter: blur(10px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.8); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; padding: 12px 14px; color: #fff; font-family: inherit; font-size: .93rem;
  transition: border-color .2s, background .2s; outline: none; resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group select option { background: var(--navy2); color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue); background: rgba(255,255,255,.1);
}
.form-success {
  text-align: center; color: #4ade80; font-weight: 600; font-size: .95rem;
  padding: 12px; background: rgba(74,222,128,.1); border-radius: 8px; margin-top: 8px;
}

/* ── FOOTER ──────────────────────────────── */
.footer { background: #070f1a; padding: 48px 0 24px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.footer .logo { font-size: 1rem; }
.footer p { color: rgba(255,255,255,.4); font-size: .85rem; margin-top: 8px; max-width: 280px; }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  color: rgba(255,255,255,.5); text-decoration: none; font-size: .85rem;
  padding: 4px 10px; border-radius: 5px; transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .8rem; text-align: center; }

/* ── CAREERS ─────────────────────────────── */
.careers { padding: 100px 0; background: var(--light); }
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 56px; }
.job-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow); border: 1px solid #e2e8f0;
}
.job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 16px; }
.job-header h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.job-icon { width: 52px; height: 52px; min-width: 52px; background: linear-gradient(135deg, #eff6ff, #dbeafe); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.job-icon svg { width: 26px; height: 26px; stroke: var(--blue); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tag { background: #eff6ff; color: var(--blue); border: 1px solid #bfdbfe; border-radius: 100px; padding: 3px 12px; font-size: .78rem; font-weight: 600; }
.job-card > p { color: var(--muted); margin-bottom: 20px; }
.job-reqs { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.job-reqs li { font-size: .9rem; color: var(--muted); padding-left: 20px; position: relative; }
.job-reqs li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.apply-box {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid #e2e8f0; overflow: hidden;
}
.apply-header { background: var(--navy); padding: 32px 40px; }
.apply-header h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.apply-header p { color: rgba(255,255,255,.65); font-size: .93rem; }
.apply-form { padding: 36px 40px; }

.apply-form .form-group label { color: var(--text); }
.apply-form .form-group input,
.apply-form .form-group select,
.apply-form .form-group textarea {
  background: var(--white);
  border: 1px solid #cbd5e1;
  color: var(--text);
}
.apply-form .form-group input::placeholder,
.apply-form .form-group textarea::placeholder { color: #94a3b8; }
.apply-form .form-group select option { background: var(--white); color: var(--text); }
.apply-form .form-group input:focus,
.apply-form .form-group select:focus,
.apply-form .form-group textarea:focus {
  border-color: var(--blue); background: #f8fafc;
}

.file-hint { font-size: .78rem; color: var(--muted); font-weight: 400; }
.file-drop {
  border: 2px dashed #cbd5e1; border-radius: 10px; padding: 32px 20px;
  text-align: center; cursor: pointer; transition: border-color .2s, background .2s;
  color: var(--muted); font-size: .92rem; position: relative;
}
.file-drop svg { width: 32px; height: 32px; stroke: #94a3b8; display: block; margin: 0 auto 10px; }
.file-drop input[type="file"] { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.file-drop:hover, .file-drop.drag-over { border-color: var(--blue); background: #eff6ff; }
.file-drop strong { color: var(--blue); }

.form-error {
  text-align: center; color: #f87171; font-size: .92rem;
  padding: 12px; background: rgba(248,113,113,.1); border-radius: 8px; margin-top: 8px;
}
.form-error a { color: var(--cyan); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 100px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { flex-direction: column; }
  .jobs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 10px; }
  .hero-badges { gap: 6px; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .section-head h2 { font-size: 1.6rem; }
}

@media (max-width: 700px) {
  .burger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy); padding: 16px; gap: 4px; border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 8px; }
  .nav-cta { text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; align-items: center; text-align: center; }
  .divider { margin: 12px auto; }
  .about-stats { gap: 12px; }
}
