/* Coeroute marketing site stylesheet
 * Brand colors: navy #1B2A4A + gold #C9A84C
 */

:root {
  --navy: #1B2A4A;
  --navy-light: #2a3b5e;
  --gold: #C9A84C;
  --gold-light: #d9bc6c;
  --text: #1B2A4A;
  --text-muted: #5a6577;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --border: #e4e7ed;
  --max-width: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

/* ---------- Layout ---------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
section.alt { background: var(--bg-soft); }

/* ---------- Nav ---------- */

.nav {
  background: var(--navy);
  border-bottom: 4px solid var(--gold);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav .logo {
  color: var(--gold);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.nav .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav .nav-links a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.nav .nav-links a:hover { color: var(--gold); }
.nav .btn-primary { background: var(--gold); color: var(--navy); }
.nav .btn-primary:hover { background: var(--gold-light); color: var(--navy); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  padding: 100px 0 80px;
  text-align: center;
}
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .accent { color: #e74c3c; }
.hero .subhead {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.hero .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .trust {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Section headers ---------- */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- 3-step grid ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Features grid ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.feature h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Industries / Who it's for ---------- */

.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.industry {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.industry .industry-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.08);
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-card .tier-name {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card .price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--navy);
  line-height: 1;
}
.pricing-card .price-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-card .tier-tagline {
  margin: 16px 0 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-card ul {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}
.pricing-card ul li {
  padding: 8px 0;
  font-size: 14px;
  position: relative;
  padding-left: 24px;
}
.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.pricing-card .btn { width: 100%; }

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.trust-strip h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}
.trust-strip p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}
.trust-strip .gold { color: var(--gold); font-weight: 700; }

/* ---------- Final CTA ---------- */

.cta-section {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -1px;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */

footer {
  background: #0f1a30;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
}
footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
footer .footer-brand .logo {
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  display: inline-block;
}
footer .footer-brand p {
  font-size: 14px;
  max-width: 280px;
}
footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
footer ul li a:hover { color: var(--gold); }
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Pricing page table ---------- */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.compare-table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--navy);
}
.compare-table th.featured-col { background: var(--gold); color: var(--navy); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--gold); font-weight: 700; }
.compare-table .row-label { font-weight: 600; color: var(--navy); }

/* ---------- Contact ---------- */

.contact-card {
  max-width: 540px;
  margin: 40px auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}
.contact-card h3 { font-size: 22px; margin-bottom: 12px; }
.contact-card p { color: var(--text-muted); margin-bottom: 24px; }
.contact-card .email-link {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  padding: 12px 24px;
  border: 2px solid var(--gold);
  border-radius: 6px;
}
.contact-card .email-link:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero h1 { font-size: 40px; }
  .hero .subhead { font-size: 18px; }
  .section-header h2 { font-size: 30px; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  footer .container { grid-template-columns: 1fr; }
  .nav .nav-links { gap: 12px; }
  .nav .nav-links a:not(.btn) { display: none; }
  section { padding: 56px 0; }
  .cta-section h2 { font-size: 28px; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
}
