:root {
  --primary: #1f5eff;
  --secondary: #0b1f3a;
  --muted: #6b7280;
  --bg-light: #f7f9fc;
  --card-bg: #ffffff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #111827;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------------- NAVBAR ---------------- */

header {
  background: linear-gradient(135deg, #0b1f3a, #163a6b);
  color: white;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-links a {
  margin-left: 28px;
  font-size: 14px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.active {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

.nav-links a:last-child {
  background: var(--primary);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  border-bottom: none !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

/* ---------------- HERO ---------------- */

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 24px 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  color: #d1d5db;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions a {
  display: inline-block;
  margin-right: 16px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-actions a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}

.hero-visual {
  height: 360px;
  border-radius: 16px;
  background: radial-gradient(circle at top right, #2b6cff, #0b1f3a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  letter-spacing: 1px;
}

/* ---------------- PAGE HERO (inner pages) ---------------- */

.page-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------------- SECTIONS ---------------- */

section {
  padding: 90px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
  font-size: 16px;
}

/* ---------------- CARDS ---------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

/* ---------------- APPROACH / LIGHT BG ---------------- */

.bg-light {
  background: var(--bg-light);
}

/* ---------------- CASE STUDIES ---------------- */

.case-card {
  background: linear-gradient(135deg, #0b1f3a, #163a6b);
  color: white;
  padding: 36px;
  border-radius: 16px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.case-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.case-card p {
  font-size: 14px;
  opacity: 0.85;
  max-width: 420px;
  margin: 0;
}

.case-card a {
  margin-top: 20px;
  display: inline-block;
  background: var(--primary);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
  transition: opacity 0.2s;
}

.case-card a:hover {
  opacity: 0.85;
}

/* ---------------- TEAM ---------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f5eff, #0b1f3a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ---------------- STAT BANNER ---------------- */

.stat-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  background: linear-gradient(135deg, #0b1f3a, #163a6b);
  color: white;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 60px;
}

.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .number {
  font-size: 36px;
  font-weight: 700;
  color: #4f7dff;
}

.stat-item .label {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

/* ---------------- INDUSTRY CARDS ---------------- */

.industry-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.industry-card .icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.industry-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.industry-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.industry-card ul li {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ---------------- CONTACT FORM ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail .icon {
  font-size: 20px;
  margin-top: 2px;
}

.contact-detail .text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-detail .text span {
  font-size: 13px;
  color: var(--muted);
}

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #111827;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,94,255,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s, transform 0.2s;
}

.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ---------------- CASE STUDY DETAIL ---------------- */

.case-detail-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px 80px;
}

.case-detail-header .tag {
  display: inline-block;
  background: rgba(31,94,255,0.15);
  color: #4f7dff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.case-detail-header h1 {
  font-size: 40px;
  font-weight: 700;
  max-width: 760px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.case-detail-header p {
  font-size: 18px;
  color: #d1d5db;
  max-width: 640px;
}

.metrics-strip {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.metric {
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

.metric .value {
  font-size: 28px;
  font-weight: 700;
  color: #4f7dff;
}

.metric .desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.prose p {
  font-size: 16px;
  color: #374151;
  margin-bottom: 20px;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.prose ul li {
  font-size: 15px;
  color: #374151;
  margin-bottom: 8px;
}

/* ---------------- BREADCRUMB ---------------- */

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  margin: 0 6px;
}

/* ---------------- LEGAL PAGES ---------------- */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-content h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.legal-content .updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  display: block;
}

.legal-content h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p, .legal-content li {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 20px;
}

/* ---------------- CTA STRIP ---------------- */

.cta {
  text-align: center;
  background: linear-gradient(135deg, #1f5eff, #4f7dff);
  color: white;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta a {
  display: inline-block;
  margin: 0 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 500;
  background: white;
  color: var(--primary);
  transition: opacity 0.2s, transform 0.2s;
}

.cta a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cta a.cta-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
}

/* ---------------- FOOTER ---------------- */

footer {
  background: #0b1f3a;
  color: #9ca3af;
  padding: 60px 24px 32px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: white;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

.footer-bottom a {
  margin-left: 20px;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: white;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-visual {
    height: 240px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .case-detail-header h1 {
    font-size: 30px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0b1f3a;
    padding: 16px 24px;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    margin-left: 0;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .nav-links a:last-child {
    margin-top: 12px;
    padding: 10px 16px;
    width: auto;
    border-bottom: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: relative;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-banner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .metrics-strip {
    gap: 24px;
  }
}
