/* ─── trycxr.works — styles.css ──────────────────────────────
   CareerXroads membership acquisition landing page
   Last updated: 2026
   ─────────────────────────────────────────────────────────── */

/* ─── Brand Variables ───────────────────────────────────────── */
:root {
  --color-red:          #ce1021;
  --color-red-dark:     #9b0d19;
  --color-navy:         #104466;
  --color-navy-deep:    #0d354f;
  --color-white:        #ffffff;
  --color-light-gray:   #f4f5f6;
  --color-dark-text:    #1a1a1a;
  --color-muted-text:   #444444;

  --font-base:          'Roboto', sans-serif;

  --section-padding:    80px 0;
  --container-width:    1100px;
  --container-padding:  0 32px;

  --card-shadow:        0 2px 8px rgba(0, 0, 0, 0.07);
  --card-radius:        6px;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark-text);
  background: var(--color-white);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  box-sizing: border-box;
}

/* ─── Section Utilities ─────────────────────────────────────── */
.section-white   { background-color: var(--color-white);      padding: var(--section-padding); }
.section-gray    { background-color: var(--color-light-gray);  padding: var(--section-padding); }
.section-navy    { background-color: var(--color-navy);        padding: var(--section-padding); }

/* ─── Section Header Pattern ────────────────────────────────── */
.section-label {
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin: 0 0 8px 0;
}

.section-heading {
  font-family: var(--font-base);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-dark-text);
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.section-accent-bar {
  width: 48px;
  height: 4px;
  background-color: var(--color-red);
  border-radius: 2px;
  margin: 12px 0 32px 0;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  min-width: 180px;
  box-sizing: border-box;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--color-red);
  color: #ffffff !important;
  border-color: var(--color-red);
}
.btn-primary:hover {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
}

.btn-ghost {
  background-color: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}
.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* ─── Navigation ────────────────────────────────────────────── */
.site-nav {
  background: var(--color-white);
  border-bottom: 1px solid #e8e8e8;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-wordmark {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark-text);
  letter-spacing: 0.02em;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  background-color: var(--color-navy);
  padding: 100px 32px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -40px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(206, 16, 33, 0.07);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero-headline em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
}

.hero-subhead {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-subhead strong {
  color: var(--color-white);
  font-weight: 500;
}

/* ─── Logo Bar ──────────────────────────────────────────────── */
.logo-bar {
  background: var(--color-white);
  padding: 36px 32px;
  border-bottom: 1px solid #ebebeb;
}

.logo-bar-label {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 24px;
}

.logo-track-wrap {
  overflow: hidden;
  position: relative;
}

.logo-track-wrap::before,
.logo-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.logo-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.logo-track {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  animation: scroll-logos 42s linear infinite;
}

.logo-track img {
  height: 56px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(0);
  transition: opacity 0.2s ease;
}

.logo-track img:hover {
  opacity: 1;
}

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Differentiator Section ────────────────────────────────── */
.section-diff {
  background: var(--color-light-gray);
  padding: var(--section-padding);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.diff-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.diff-not {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--color-red);
}

.diff-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark-text);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-light-gray);
}

.diff-desc {
  font-size: 14px;
  color: var(--color-muted-text);
  line-height: 1.7;
}

.diff-what {
  background: var(--color-navy);
  border-radius: var(--card-radius);
  padding: 40px 48px;
  color: var(--color-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.diff-what-text {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.diff-what-text strong {
  color: var(--color-white);
  font-weight: 700;
}

.diff-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.diff-stat-num {
  font-size: 54px;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.diff-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

/* ─── Benefits Section ──────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--color-light-gray);
  border-radius: var(--card-radius);
  padding: 28px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--color-navy);
  border-radius: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark-text);
  margin-bottom: 8px;
}

.benefit-desc {
  font-size: 14px;
  color: var(--color-muted-text);
  line-height: 1.7;
}

/* ─── Quotes Section ────────────────────────────────────────── */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-mark {
  font-size: 52px;
  font-weight: 900;
  color: var(--color-red);
  line-height: 0.8;
  font-family: Georgia, serif;
}

.quote-text {
  font-size: 15px;
  color: var(--color-dark-text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.quote-attr {
  border-top: 1px solid #ebebeb;
  padding-top: 14px;
}

.quote-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark-text);
}

.quote-title {
  font-size: 13px;
  color: var(--color-muted-text);
  margin-top: 2px;
}

/* ─── How It Works Section ──────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #dddddd 0,
    #dddddd 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 0;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark-text);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--color-muted-text);
  line-height: 1.7;
}

/* ─── CTA / Form Section ────────────────────────────────────── */
.section-cta {
  background: var(--color-navy);
  padding: var(--section-padding);
  text-align: center;
}

.cta-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.cta-headline {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-subhead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* ─── Zoho Form Embed Wrapper ───────────────────────────────── */
.form-embed-wrap {
  max-width: 580px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 6px;
  padding: 40px;
  text-align: left;
  min-height: 400px;
}

/* ─── Form Placeholder (remove when Zoho embed is live) ─────── */
.form-placeholder {
  max-width: 580px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.07);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 48px 32px;
  text-align: center;
}

.form-placeholder-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.form-placeholder-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #0a0a0a;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.footer-logo img {
  height: 34px;
  width: auto;
  opacity: 0.75;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── Responsive — Tablet ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero-headline     { font-size: 36px; }
  .diff-grid         { grid-template-columns: 1fr; }
  .diff-what         { grid-template-columns: 1fr; gap: 32px; text-align: center; padding: 32px; }
  .diff-stats        { flex-direction: row; justify-content: center; }
  .benefits-grid     { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid       { grid-template-columns: 1fr; }
  .steps-grid        { grid-template-columns: 1fr; text-align: left; }
  .steps-grid::before { display: none; }
  .step-num          { margin: 0 0 16px 0; }
}

/* ─── Responsive — Mobile ───────────────────────────────────── */
@media (max-width: 560px) {
  :root {
    --container-padding: 0 20px;
  }

  .site-nav          { padding: 0 20px; }
  .hero              { padding: 72px 20px 68px; }
  .hero-headline     { font-size: 28px; }
  .hero-subhead      { font-size: 16px; }
  .logo-bar          { padding: 28px 20px; }
  .benefits-grid     { grid-template-columns: 1fr; }
  .diff-stats        { flex-direction: column; }
  .section-heading   { font-size: 24px; }
  .cta-headline      { font-size: 26px; }
  .form-embed-wrap   { padding: 24px 20px; }
}