:root {
  --bg-dark: #0f1e2a;
  --bg-dark2: #152e40;
  --bg-card: rgba(255,255,255,0.07);
  --accent-blue: #4668e5;
  --accent-blue-hover: #3a57cb;
  --accent-light: #98c0ff;
  --text-primary: #fbfcfd;
  --text-secondary: #f1f3ff;
  --text-muted: #9dbed6;
  --border: rgba(255,255,255,0.15);
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ── NAVIGATION ── */
.main-nav {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  height: 64px;
}
.nav-logo {
  font-size: 1.1rem; font-weight: 700;
  color: #111827; text-decoration: none;
  flex-shrink: 0;
}
.nav-divider {
  width: 1px; height: 24px;
  background: #111827; opacity: 0.3;
}
.nav-links {
  display: flex; gap: 1.5rem;
  list-style: none; flex: 1;
}
.nav-links a {
  color: #111827; text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-blue); }
.nav-links a.active { color: var(--accent-blue); font-weight: 600; }
.nav-actions { display: flex; gap: 0.75rem; margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1.25rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; font-family: 'Space Grotesk', sans-serif;
  cursor: pointer; text-decoration: none; transition: all 0.2s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: var(--accent-blue); color: #fff;
  border-color: var(--accent-blue);
}
.btn-primary:hover { background: var(--accent-blue-hover); border-color: var(--accent-blue-hover); }
.btn-outline {
  background: transparent; color: var(--text-secondary);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { background: var(--bg-dark2); border-color: var(--text-secondary); }
.main-nav .btn-outline {
  color: #111827;
  border-color: rgba(0,0,0,0.3);
}
.main-nav .btn-outline:hover { background: rgba(0,0,0,0.05); border-color: #111827; }
.btn-lg { padding: 0.65rem 1.5rem; font-size: 0.95rem; }

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }
.container { max-width: 1400px; margin: 0 auto; }
.section-kicker {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--text-secondary); text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-kicker::before {
  content: ''; display: block;
  width: 16px; height: 1px; background: var(--text-secondary);
}
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { color: var(--text-secondary); line-height: 1.7; }

/* ── HERO ── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center; min-height: 75vh;
  padding: 4rem 2rem;
}
.hero-checklist {
  list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
  margin: 0.5rem 0;
}
.hero-checklist li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  color: var(--text-secondary); font-size: 1rem; line-height: 1.5;
}
.hero-checklist li::before {
  content: '✔'; color: var(--accent-blue);
  font-size: 0.9rem; flex-shrink: 0; margin-top: 0.15rem;
}
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-desc { font-size: 1.1rem; max-width: 520px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  height: 480px; border-radius: var(--radius);
  overflow: hidden; position: relative;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #152e40 0%, #20394c 50%, #152e40 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem;
}

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; transition: background 0.2s;
}
.feature-card:hover { background: rgba(255,255,255,0.1); }
.feature-card-img {
  height: 200px;
  background: linear-gradient(135deg, #152e40, #20394c);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.85rem;
  overflow: hidden;
}
.feature-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.feature-card:hover .feature-card-img img { transform: scale(1.05); }
.feature-card-body { padding: 1.5rem; }
.feature-card-body h3 { margin-bottom: 0.5rem; }
.feature-card-body p { font-size: 0.9rem; }

/* ── METRICS ── */
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.metric-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
}
.metric-value { font-size: 2.5rem; font-weight: 700; color: var(--text-primary); }
.metric-label { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin: 0.25rem 0; }
.metric-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ── CONTACT FORM ── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info h2 { margin-bottom: 0.5rem; }
.contact-detail {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; color: var(--text-primary);
}
.contact-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--accent-light);
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.8rem; font-weight: 500; color: var(--text-secondary);
}
.form-group input, .form-group textarea {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); padding: 0.75rem 1.25rem;
  color: var(--text-primary); font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem; transition: all 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(255,255,255,0.5);
  background: var(--bg-dark2);
}
.form-group textarea { min-height: 160px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--text-muted); opacity: 0.6;
}

/* ── CTA CARD ── */
.cta-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 3rem 3.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  max-width: 600px;
}
.cta-card h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-card p { font-size: 0.95rem; }

/* ── FOOTER ── */
footer {
  background: #0a1620;
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand-logo { display: block; margin-bottom: 0.25rem; }
.footer-brand p {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 260px;
}
.footer-col h4 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: #ffffff; }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text-secondary);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-light); }
.footer-contact-item a { color: var(--accent-light); text-decoration: none; }
.footer-contact-item a:hover { text-decoration: underline; }
.footer-divider { height: 1px; background: var(--border); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--text-muted);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-secondary); }

/* ── SPLIT TEXT SECTION ── */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-image {
  height: 420px; border-radius: var(--radius); overflow: hidden;
}
.split-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #152e40 0%, #20394c 50%, #2a4458 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem;
}
.split-text { display: flex; flex-direction: column; gap: 1.5rem; }
.split-text p { font-size: 1rem; }

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: none; cursor: pointer;
  padding: 0.4rem; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: #111827; border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU DRAWER ── */
.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg-dark);
  z-index: 99; flex-direction: column;
  padding: 2rem; gap: 0.5rem;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-primary); text-decoration: none;
  font-size: 1.2rem; font-weight: 500; padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent-light); }
.mobile-menu .mobile-actions {
  display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem;
}
.mobile-menu .btn { width: 100%; justify-content: center; padding: 0.9rem; font-size: 1rem; }

/* ── TABLET (max 1024px) ── */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { gap: 2rem; min-height: auto; padding: 3rem 1.5rem; }
  section { padding: 3.5rem 1.5rem; }
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-divider { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { gap: 1rem; }

  section { padding: 2.5rem 1rem; }
  .container { padding: 0; }

  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 1rem; gap: 1.5rem; min-height: auto;
  }
  .hero-image { height: 220px; order: -1; }
  .hero-text { gap: 1rem; }
  h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .hero-desc { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-img { height: 160px; }
  .metrics-grid { grid-template-columns: 1fr; }

  .split-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .split-section.reverse { direction: ltr; }
  .split-image { height: 240px; }

  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }

  .cta-card { padding: 2rem 1.25rem; }
  .cta-card h2 { font-size: 1.3rem; }

  footer { padding: 2.5rem 1rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; }

  .container > div[style*="grid-template-columns:1fr 1fr"],
  .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* ── SMALL PHONES (max 380px) ── */
@media (max-width: 380px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  .btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
}

/* ── TOUCH IMPROVEMENTS ── */
@media (hover: none) {
  .btn { min-height: 48px; }
  .nav-links a { padding: 0.75rem 0; }
  .mobile-menu a { min-height: 52px; display: flex; align-items: center; }
  .feature-card:hover { background: var(--bg-card); }
}
