/* =========================
   Veras Technologies Design System
   Brand Style Guide v1.1
========================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display&display=swap');

:root {
  --deep-navy:     #0B1F3A;
  --command-blue:  #1B4F8A;
  --signal-blue:   #2E7DD1;
  --sky-blue:      #5BA3E8;
  --steel:         #8A9BB0;
  --frost:         #EEF3F9;
  --cloud:         #F7FAFD;
  --white:         #FFFFFF;
  --primary-text:  #1A1A2E;
  --muted-text:    #555C6E;
  --border:        #DDE5EF;
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cloud);
  color: var(--primary-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.15;
}

p { line-height: 1.75; }

a { color: var(--signal-blue); text-decoration: none; }
a:hover { color: var(--sky-blue); }

ul { list-style: none; }

/* ── LAYOUT ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 48px;
}

.section {
  margin-bottom: 72px;
}

/* ── SECTION LABELS ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-blue);
  margin-bottom: 10px;
}

.section-rule {
  height: 2px;
  background: linear-gradient(to right, var(--signal-blue), transparent);
  margin: 14px 0 32px;
  border-radius: 1px;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.12);
  transform: translateY(-2px);
}

.card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.75;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--frost);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ── GRID ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--signal-blue);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--sky-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 13px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-left: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--signal-blue);
  padding: 11px 24px;
  border-radius: 8px;
  border: 1px solid var(--signal-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--signal-blue);
  color: var(--white);
}

/* ── NAVIGATION ── */
.navbar {
  background: var(--deep-navy);
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(91,163,232,0.12);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.navbar-wordmark .wordmark-name {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
}

.navbar-wordmark .wordmark-sub {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 3.5px;
  color: var(--sky-blue);
  margin-top: 3px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  transition: color 0.2s ease, background 0.2s ease;
}

.navbar-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.navbar-links a.active {
  color: var(--white);
  background: rgba(46,125,209,0.2);
}

.navbar-links .nav-cta {
  background: var(--signal-blue);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
  margin-left: 8px;
  font-weight: 600;
  font-size: 13px;
}

.navbar-links .nav-cta:hover {
  background: var(--sky-blue);
  color: var(--white);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--command-blue) 100%);
  color: var(--white);
  padding: 110px 48px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(91,163,232,0.12);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(46,125,209,0.1);
  pointer-events: none;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sky-blue);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 54px;
  margin-bottom: 22px;
  color: var(--white);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span { color: var(--sky-blue); }

.hero p {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
}

.hero-rule {
  width: 48px;
  height: 3px;
  background: var(--signal-blue);
  border-radius: 2px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Page hero (inner pages — smaller) */
.page-hero {
  background: linear-gradient(135deg, var(--deep-navy), var(--command-blue));
  color: var(--white);
  padding: 64px 48px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(91,163,232,0.1);
}

.page-hero h1 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto;
}

/* ── PRODUCT SECTION (projects.html) ── */
.product-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 44px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(11,31,58,0.06);
}

.product-section h2 {
  font-size: 30px;
  color: var(--deep-navy);
  margin-bottom: 14px;
}

.product-section > p {
  font-size: 15px;
  color: var(--muted-text);
  max-width: 680px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--signal-blue);
  margin-bottom: 14px;
}

.feature-list {
  list-style: none;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 24px;
}

.feature-list li {
  font-size: 14px;
  color: var(--muted-text);
  padding: 6px 0 6px 16px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-blue);
}

/* ── FORMS ── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--primary-text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--signal-blue);
  box-shadow: 0 0 0 3px rgba(46,125,209,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--steel);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── VALUE CARDS ── */
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 6px rgba(11,31,58,0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.value-card:hover {
  box-shadow: 0 6px 20px rgba(11,31,58,0.11);
  transform: translateY(-2px);
}

.value-card .value-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-blue);
  margin-bottom: 10px;
}

.value-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--deep-navy);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.75;
}

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--deep-navy);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-strip .stat {
  color: var(--white);
}

.stat-strip .stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  color: var(--sky-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-strip .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--deep-navy), var(--command-blue));
  border-radius: 12px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(91,163,232,0.12);
}

.cta-section h2 {
  font-size: 34px;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ── HIGHLIGHT STRIP (about page) ── */
.highlight-strip {
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 44px;
  margin-bottom: 72px;
}

.highlight-strip p {
  font-size: 18px;
  color: var(--deep-navy);
  line-height: 1.8;
  font-style: italic;
}

.highlight-strip .attribution {
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--signal-blue);
  margin-top: 16px;
}

/* ── CONTACT INFO ── */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
}

.contact-info-card .ci-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-blue);
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  background: var(--deep-navy);
  color: var(--white);
  padding: 60px 48px 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto 48px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-blue);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: rgba(255,255,255,0.9);
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--sky-blue);
  font-style: italic;
  letter-spacing: 0.5px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 24px;
    height: auto;
    flex-direction: column;
    gap: 0;
  }

  .navbar-logo {
    padding: 14px 0;
  }

  .navbar-links {
    width: 100%;
    justify-content: center;
    padding: 0 0 12px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 80px 24px 72px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .page-hero {
    padding: 48px 24px 44px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .container {
    padding: 56px 24px;
  }

  .product-section {
    padding: 28px 24px;
  }

  .stat-strip {
    padding: 40px 24px;
  }

  .cta-section {
    padding: 48px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  footer {
    padding: 48px 24px 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-secondary {
    margin-left: 0;
  }
}
