/* ═══════════════════════════════════════
   Cubitt Secure Academy — Landing Page
   Brand Palette:
     --orange : #FF731D  (Primary Brand)
     --blue   : #1746A2  (Accent)
     --navy   : #01091A  (Base Dark)
     --tan    : #D68B5D  (Highlighter)
═══════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange:       #FF731D;
  --orange-dark:  #d95e0e;
  --blue:         #1746A2;
  --blue-light:   #2358c4;
  --navy:         #01091A;
  --navy-mid:     #050e2b;
  --navy-light:   #0b1a3e;
  --tan:          #D68B5D;
  --white:        #ffffff;
  --off-white:    #f0f2f5;
  --text-muted:   #8a9ab8;
  --border:       rgba(255,255,255,0.08);

  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius:       10px;
  --radius-lg:    18px;
  --shadow:       0 4px 30px rgba(0,0,0,0.4);
  --transition:   0.2s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
}

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.12);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ─── Section Common ─── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1, 9, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-svg {
  height: 22px;
  width: auto;
  fill: var(--white);
}

.logo-svg--footer {
  height: 20px;
  fill: var(--text-muted);
}

.nav__academy {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(23, 70, 162, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  background: rgba(23, 70, 162, 0.2);
  border: 1px solid rgba(23, 70, 162, 0.4);
  color: #7da6e8;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-orange {
  color: var(--orange);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__trust span {
  color: #6eb87a;
  font-weight: 500;
}

/* ─── Proof Bar ─── */
.proof-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.proof-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  text-align: center;
}

.proof-bar__item strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}

.proof-bar__item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.proof-bar__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── Curriculum ─── */
.curriculum {
  padding: 96px 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.course-card {
  position: relative;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition);
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 115, 29, 0.3);
}

.course-card--featured {
  border-color: rgba(255, 115, 29, 0.35);
  background: linear-gradient(135deg, rgba(255, 115, 29, 0.06) 0%, var(--navy-mid) 60%);
}

.course-card__number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.course-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.course-card__outcomes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-card__outcomes li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.course-card__outcomes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.8rem;
}

.course-card__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.07);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
}

.course-card__tag--featured {
  background: rgba(255, 115, 29, 0.15);
  color: var(--orange);
}

/* ─── Benefits ─── */
.benefits {
  padding: 96px 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.benefit {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}

.benefit__icon {
  font-size: 1rem;
  color: var(--orange);
  margin-bottom: 14px;
}

.benefit h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Pricing ─── */
.pricing {
  padding: 96px 0;
}

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--navy-mid);
  border: 1px solid rgba(255, 115, 29, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 115, 29, 0.08);
}

.pricing-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 20px;
}

.pricing-card__price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
}

.pricing-card__currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 10px;
}

.pricing-card__amount {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.03em;
}

.pricing-card__period {
  font-size: 0.9rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 8px;
}

.pricing-card__includes {
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card__includes li {
  font-size: 0.95rem;
  color: #a0b4d0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card__includes li::before {
  content: none;
}

#paypal-button-container {
  margin-bottom: 16px;
  min-height: 48px;
}

.pricing-card__equiv {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 1.2em;
}

.pricing-card__note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Payment confirmation / error states */
.payment-success {
  text-align: center;
  padding: 24px;
  background: rgba(110, 184, 122, 0.1);
  border: 1px solid rgba(110, 184, 122, 0.3);
  border-radius: var(--radius);
}

.payment-success__icon {
  font-size: 2rem;
  color: #6eb87a;
  margin-bottom: 8px;
}

.payment-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #6eb87a;
}

.payment-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.payment-error {
  font-size: 0.85rem;
  color: #e07070;
  margin-top: 12px;
  padding: 12px;
  background: rgba(224, 112, 112, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(224, 112, 112, 0.2);
}

/* ─── FAQ ─── */
.faq {
  padding: 96px 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.faq-item {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.faq-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Footer ─── */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}

.footer__academy-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 4px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(138, 154, 184, 0.5);
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .proof-bar__inner {
    gap: 16px;
  }

  .proof-bar__item {
    padding: 8px 20px;
  }

  .proof-bar__divider {
    display: none;
  }

  .curriculum,
  .benefits,
  .pricing,
  .faq {
    padding: 64px 0;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card__amount {
    font-size: 3rem;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .course-grid,
  .benefits-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}
