/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2744;
  --navy-light: #263a5e;
  --blue: #2c5aa0;
  --blue-light: #3a7bd5;
  --accent: #e8a838;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --bg-dark: #eef1f6;
  --text: #2d3748;
  --text-light: #64748b;
  --text-on-dark: #e2e8f0;
  --border: #d1d8e0;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(26,39,68,.08);
  --shadow-lg: 0 8px 32px rgba(26,39,68,.12);
  --transition: .25s ease;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--navy);
  color: var(--text-on-dark);
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 48px;
  max-width: 640px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: .5px;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--text-on-dark);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--blue) 100%);
  color: #fff;
  padding: 120px 0 100px;
  text-align: center;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 20px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-on-dark);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--navy);
}
.btn--primary:hover {
  background: #d49a2e;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232,168,56,.35);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
}
.btn--outline:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}
.btn--blue {
  background: var(--blue);
  color: #fff;
}
.btn--blue:hover {
  background: var(--blue-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44,90,160,.3);
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card__badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.card__badge--active {
  background: #d4edda;
  color: #155724;
}
.card__badge--pilot {
  background: #fff3cd;
  color: #856404;
}
.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ===== FEATURES GRID ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature p {
  font-size: .9rem;
  color: var(--text-light);
}

/* ===== LIST ITEMS ===== */
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== ABOUT BRIEF ===== */
.about-brief {
  display: flex;
  align-items: center;
  gap: 48px;
}
.about-brief__text { flex: 1; }
.about-brief__visual {
  flex: 0 0 320px;
  height: 220px;
  background: linear-gradient(135deg, var(--bg-alt), var(--bg-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--blue);
  border: 1px solid var(--border);
}

/* ===== PRODUCT PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  padding: 100px 0 60px;
}
.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  max-width: 560px;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}
.contact-info a {
  font-weight: 600;
}
.contact-form label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ===== TWO COLUMNS ===== */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: var(--text-on-dark);
  padding: 32px 0;
  text-align: center;
  font-size: .875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 80px 0 60px; }
  .page-hero { padding: 80px 0 40px; }
  .page-hero h1 { font-size: 1.75rem; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .about-brief { flex-direction: column; }
  .about-brief__visual { flex: none; width: 100%; height: 160px; }
  .contact-grid { grid-template-columns: 1fr; }
  .two-cols { grid-template-columns: 1fr; }

  .main-nav { display: none; }
  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }
  .nav-toggle { display: block; }
}
