/* ── ComTraxs Brand Colors ── */
:root {
  --orange:      #E8702A;
  --orange-dark: #C4581A;
  --orange-light:#F5955F;
  --navy:        #1B3A6B;
  --navy-dark:   #112648;
  --navy-light:  #254d8f;
  --white:       #ffffff;
  --off-white:   #F7F8FA;
  --gray-light:  #E8ECF0;
  --gray-mid:    #C2C9D3;
  --gray:        #7A8799;
  --dark:        #2D3748;
  --text:        #1A202C;
  --shadow:      rgba(27,58,107,0.12);
  --shadow-lg:   rgba(27,58,107,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 12px var(--shadow);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img { height: 48px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--orange); background: rgba(232,112,42,0.06); }
.nav-links a.active { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; color: var(--white) !important; }

/* ── SECTION UTILITIES ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--off-white); }
.section-navy { background: var(--navy); color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-navy .section-title { color: var(--white); }

.section-body {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.75;
}

.section-navy .section-body { color: rgba(255,255,255,0.75); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,112,42,0.35); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: 0 4px 16px var(--shadow-lg); }

.btn-outline-orange { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline-orange:hover { background: var(--orange); color: var(--white); }

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

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px var(--shadow-lg); }

.card-icon {
  width: 48px; height: 48px;
  background: rgba(232,112,42,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.card-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.card-body { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

/* ── STATUS BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-top: 0.75rem;
}
.badge-live { background: rgba(34,197,94,0.1); color: #16a34a; border: 1px solid rgba(34,197,94,0.3); }
.badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; animation: pulse 2s infinite; }
.badge-soon { background: rgba(245,158,11,0.1); color: #b45309; border: 1px solid rgba(245,158,11,0.3); }
.badge-soon::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }

@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── DIVIDER ── */
.divider { width: 56px; height: 4px; background: var(--orange); border-radius: 2px; margin: 1rem 0 1.5rem; }
.divider-center { margin: 1rem auto 1.5rem; }

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--dark); margin-bottom: 0.4rem; }
input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--gray-mid);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,112,42,0.12);
}
textarea { resize: vertical; min-height: 130px; }

/* ── CHECKLIST ── */
.check-list { list-style: none; margin: 1.25rem 0; }
.check-list li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-light);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-logo img { height: 42px; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.footer-heading { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy { font-size: 0.8rem; }

/* ── HERO STRIPE ── */
.hero-stripe { background: var(--navy); padding: 3rem 0; }
.hero-stripe h1 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--white); }
.hero-stripe p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-top: 0.5rem; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 0.75rem; }
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── ALERT BOX ── */
.alert-early {
  background: linear-gradient(135deg, rgba(232,112,42,0.08), rgba(27,58,107,0.06));
  border: 2px solid var(--orange);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.alert-early-icon { font-size: 2.5rem; flex-shrink: 0; }
.alert-early-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem; }
.alert-early-body { font-size: 0.93rem; color: var(--gray); line-height: 1.65; }

/* ── SUCCESS PAGE ── */
.success-icon { width: 80px; height: 80px; background: rgba(34,197,94,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem; border: 3px solid #16a34a; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .alert-early { flex-direction: column; gap: 1rem; }
}
