/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg-base:        #071320;
  --bg-surface:     #0C1D2E;
  --bg-card:        #0F2236;
  --bg-card-hover:  #132840;
  --border:         #1A3349;
  --border-subtle:  #112030;

  --text-primary:   #E4EEF7;
  --text-secondary: #7FA8C4;
  --text-muted:     #3E6078;

  --accent:         #1AABBD;
  --accent-dim:     #0F7080;
  --accent-glow:    rgba(26, 171, 189, 0.10);

  --gold:           #E8A830;
  --gold-dim:       #A87520;
  --gold-glow:      rgba(232, 168, 48, 0.12);

  --font-display:   'Space Grotesk', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  --radius:         6px;
  --radius-lg:      12px;
  --max-w:          1100px;
  --section-pad:    7rem 1.5rem;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 500; }
p { color: var(--text-secondary); }

.eyebrow, .section-eyebrow, .callout-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: none;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #071320;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); opacity: 1; }

.btn-ghost {
  display: inline-block;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--accent-dim); color: var(--text-primary); }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  height: 88px;
  background: rgba(7, 19, 32, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.nav-logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  opacity: 0.55;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--gold) !important;
  color: #071320 !important;
  font-weight: 600 !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.85rem !important;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.85; color: #071320 !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--text-secondary); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 10rem 1.5rem 6rem;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.35;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 3rem;
  align-items: center;
}
.hero-text { max-width: 560px; }
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(26, 171, 189, 0.18)) drop-shadow(0 0 80px rgba(26, 171, 189, 0.08));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.eyebrow { margin-bottom: 1.25rem; display: block; }
.hero h1 { margin-bottom: 1.25rem; color: var(--text-primary); }
.hero-sub {
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 1rem 1.5rem;
}
.trust-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 1.25rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: var(--section-pad); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-eyebrow { margin-bottom: 0.75rem; display: block; }
.section h2 { margin-bottom: 1rem; }
.section-sub { max-width: 520px; margin-bottom: 3.5rem; font-size: 1rem; }

/* ─── SERVICES ───────────────────────────────────────────── */
.services { background: var(--bg-base); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 2rem;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg-card-hover); }
.service-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
  background: var(--accent-glow);
  transition: border-color 0.2s, background 0.2s;
}
.service-card:hover .service-icon {
  border-color: var(--accent-dim);
  background: rgba(26, 171, 189, 0.16);
}
.service-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  font-size: 1rem;
}
.service-card p { font-size: 0.9rem; line-height: 1.65; }

/* ─── ABOUT ──────────────────────────────────────────────── */
.about { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p + p { margin-top: 1rem; }
.about-stats {
  display: flex; gap: 2.5rem; margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  flex-wrap: wrap;
}
.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.about-callout { display: flex; flex-direction: column; gap: 1rem; padding-top: 2.8rem; }
.callout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.callout-label { margin-bottom: 1rem; display: block; }
.callout-card ul { list-style: none; }
.callout-card li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 0.6rem;
}
.callout-card li:last-child { border-bottom: none; }
.callout-card li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-dim);
  flex-shrink: 0;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact { background: var(--bg-base); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-text h2 { margin-bottom: 1rem; }
.contact-text p { margin-bottom: 1.5rem; }
.contact-email {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 2px;
  transition: border-color 0.15s, color 0.15s;
}
.contact-email:hover { border-color: var(--accent); color: #5DCCE0; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.form-row input,
.form-row textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-muted); }
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.btn-submit { width: 100%; text-align: center; margin-top: 0.5rem; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.footer-logo { opacity: 0.5; }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-right: auto;
}
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--text-secondary); }

/* ─── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 5rem 1.25rem; }
  .nav { height: 72px; }
  .nav-logo-img { height: 56px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; inset: 72px 0 0 0;
    background: var(--bg-base);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-top: 1px solid var(--border);
  }
  .nav.menu-open .nav-links a { font-size: 1.1rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-logo-wrap { order: -1; }
  .hero-logo-img { max-width: 280px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-callout { padding-top: 0; flex-direction: row; flex-wrap: wrap; }
  .callout-card { flex: 1; min-width: 200px; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 9rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-copy { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-logo-img { animation: none; }
}
