/* ========================================
   Light Crimson — Global Stylesheet
   Computer Systems Design & Integration
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --crimson:       #c41e3a;
  --crimson-dark:  #8b0000;
  --crimson-deep:  #5c0010;
  --gold:          #d4a853;
  --gold-light:    #e8c97a;
  --navy:          #0a0e27;
  --navy-light:    #141b3d;
  --navy-card:     #1c2450;
  --slate:         #e2e4eb;
  --gray:          #6b7280;
  --gray-dark:     #374151;
  --white:         #ffffff;
  --off-white:     #f7f8fb;

  --font-sans:     'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:     'SF Mono', 'Cascadia Code', monospace;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.14);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.25; }
h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
p  { margin-bottom: 1rem; color: var(--gray-dark); }

a {
  color: var(--crimson);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--crimson-dark); }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 10px;
}

.section-title {
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--crimson);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--crimson-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   ███  NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,14,39,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 68px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--crimson);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

/* ============================================
   ███  HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(196,30,58,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,168,83,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(196,30,58,0.18);
  color: var(--crimson);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--crimson);
}

.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.12rem;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* hero stats */
.hero-stats {
  margin-top: 52px;
  display: flex;
  gap: 40px;
}

.stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  width: 100%;
  max-width: 440px;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  background: var(--crimson);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.hero-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.feature-tags span {
  padding: 5px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 99px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================
   ███  SERVICES SECTION
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--slate);
  transition: all 0.3s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 22px;
  color: var(--white);
}

.service-icon.red   { background: var(--crimson); }
.service-icon.navy  { background: var(--navy); }
.service-icon.gold  { background: var(--gold); color: var(--navy); }

.service-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* ============================================
   ███  ABOUT / CAPABILITIES
   ============================================ */
.capabilities {
  padding: 100px 0;
  background: var(--white);
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cap-text h2 {
  color: var(--navy);
  margin-bottom: 18px;
}

.cap-text .lead {
  font-size: 1.08rem;
  color: var(--gray-dark);
  margin-bottom: 28px;
  line-height: 1.75;
}

.cap-list {
  list-style: none;
}

.cap-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate);
}

.cap-list li:last-child { border-bottom: none; }

.cap-list .cap-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--crimson);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  margin-top: 3px;
}

.cap-list strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.cap-list span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* cap visual */
.cap-visual {
  display: flex;
  justify-content: center;
}

.cap-box {
  width: 100%;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cap-box h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.cap-box>p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.cap-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cap-metric {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 18px;
}

.cap-metric .metric-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.cap-metric .metric-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================
   ███  INDUSTRIES SECTION
   ============================================ */
.industries {
  padding: 100px 0;
  background: var(--off-white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid var(--slate);
  transition: all 0.25s;
  text-align: center;
}

.industry-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--crimson);
}

.industry-card .ind-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.industry-card h4 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.industry-card p {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ============================================
   ███  CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(196,30,58,0.12) 0%, transparent 60%);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 28px;
}

/* ============================================
   ███  FOOTER
   ============================================ */
.footer {
  background: #060a1c;
  color: rgba(255,255,255,0.5);
  padding: 60px 0 32px;
}

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

.footer-brand .nav-logo {
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-brand p {
  color: rgba(255,255,255,0.42);
  font-size: 0.88rem;
  max-width: 280px;
  margin-bottom: 0;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer ul {
  list-style: none;
}

.footer ul li { margin-bottom: 10px; }

.footer ul a {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--white); }

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ============================================
   ███  PAGE BANNER (Privacy / Terms)
   ============================================ */
.page-banner {
  padding: 120px 0 60px;
  background: var(--navy);
  text-align: center;
  position: relative;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 60%, rgba(196,30,58,0.10) 0%, transparent 70%);
}
.page-banner .container { position: relative; z-index: 1; }

.page-banner h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.page-banner p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ============================================
   ███  LEGAL CONTENT (Privacy / Terms)
   ============================================ */
.legal-content {
  padding: 64px 0 80px;
  background: var(--white);
}

.legal-content .container {
  max-width: 820px;
}

.legal-content .last-updated {
  font-size: 0.82rem;
  color: var(--gray);
  background: var(--off-white);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 36px;
}

.legal-content h2 {
  color: var(--navy);
  font-size: 1.4rem;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--slate);
}

.legal-content h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin: 28px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  margin: 8px 0 20px 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--navy);
}

.legal-content .contact-block {
  background: var(--off-white);
  border-left: 4px solid var(--crimson);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.legal-content .contact-block p {
  margin-bottom: 4px;
  color: var(--gray-dark);
}

/* ============================================
   ███  RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero-grid,
  .cap-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .hero-stats {
    gap: 24px;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }

  h1 { font-size: 1.8rem; }

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

  .nav-links {
    gap: 16px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .cap-metrics {
    grid-template-columns: 1fr;
  }
}
