﻿/* ── FREIGHTPATH ACADEMY — LANDING PAGE STYLES ── */

body { overflow-x: hidden; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center;
  justify-content: center; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 13px; color: var(--black); letter-spacing: 0.5px;
}
.nav-brand { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 1px; color: var(--white); }
.nav-brand span { color: var(--orange); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-light); text-decoration: none; letter-spacing: 0.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange); color: var(--black);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 9px 22px; border: none; cursor: pointer;
  text-decoration: none; display: inline-block;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--orange-dark); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 100px 3rem 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(var(--accent-rgb),0.04) 60px, rgba(var(--accent-rgb),0.04) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(var(--accent-rgb),0.04) 60px, rgba(var(--accent-rgb),0.04) 61px);
}
.hero-accent { display: none; }
.hero-content { position: relative; z-index: 1; }
.hero-logo-wrap {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-svg {
  width: 100%; max-width: 460px;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 30px rgba(var(--accent-rgb),0.2));
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(var(--accent-rgb),0.08); border: 1px solid rgba(var(--accent-rgb),0.3);
  padding: 6px 14px; margin-bottom: 2rem;
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange);
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(52px, 8vw, 96px);
  line-height: 0.92; letter-spacing: -1px; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 .line-orange { color: var(--orange); display: block; }
.hero h1 .line-outline {
  -webkit-text-stroke: 2px var(--outline-stroke);
  color: transparent; display: block;
}
.hero-sub {
  font-size: 18px; font-weight: 300; color: var(--gray-light);
  line-height: 1.7; max-width: 560px; margin-bottom: 2.5rem;
}
.hero-sub strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: var(--btn-text);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 16px; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 36px; border: none; cursor: pointer; text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--ghost-border); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 16px; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 36px; cursor: pointer; text-decoration: none;
  display: inline-block; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.hero-price-badge {
  margin-top: 2.5rem; display: flex; align-items: center; gap: 16px;
}
.price-tag {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 48px; color: var(--orange); line-height: 1;
}
.price-tag sup { font-size: 24px; vertical-align: super; }
.price-desc { font-size: 13px; color: var(--gray); line-height: 1.6; }
.price-desc strong { color: var(--gray-light); display: block; }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--black2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex; justify-content: center; gap: 6rem;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 36px; color: var(--orange); line-height: 1;
}
.stat-label { font-size: 12px; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

/* ─── SECTIONS ─── */
section { padding: 6rem 3rem; }
.section-tag {
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px;
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(36px, 5vw, 56px); text-transform: uppercase;
  line-height: 1; margin-bottom: 1.5rem;
}
.section-title span { color: var(--orange); }
.section-sub { font-size: 17px; color: var(--gray-light); line-height: 1.7; max-width: 600px; font-weight: 300; }

/* ─── WHO WE ARE ─── */
.about { background: var(--black2); padding: 4rem 3rem; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 4rem; align-items: center;
}
.about-big-text {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(48px, 6vw, 72px); text-transform: uppercase;
  line-height: 0.95; letter-spacing: -1px; margin: 1rem 0 1.5rem;
}
.about-big-text span { color: var(--orange); }
.about-body { font-size: 14px; color: var(--gray-light); line-height: 1.75; max-width: 380px; margin-bottom: 1.5rem; }
.about-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.about-meta span { font-size: 12px; color: var(--gray); font-weight: 500; }
.about-meta .dot { color: var(--orange); }
.about-facts { display: flex; flex-direction: column; gap: 0; }
.fact-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--orange);
  border-bottom: 1px solid var(--border);
}
.fact-row:first-child { border-top: 1px solid var(--border); }
.fact-row .fact-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; color: var(--orange); display:flex; align-items:center; }
.fact-row .fact-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.5px; margin-bottom: 2px; }
.fact-row .fact-desc { font-size: 12px; color: var(--gray); line-height: 1.5; }

/* ─── COURSE BLOCKS ─── */
.course-block {
  border: 1.5px solid var(--border);
  margin-bottom: 2rem;
  background: var(--black2);
}
.course-block-header {
  padding: 1.4rem 2rem;
  border-left: 4px solid var(--orange);
  background: rgba(255,255,255,0.02);
  border-bottom: 1.5px solid var(--border);
}
.course-block-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 4px;
}
.course-block-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--white); margin-bottom: 4px;
}
.course-block-sub {
  font-size: 13px; color: var(--gray); line-height: 1.5;
}
.course-block .modules-grid {
  margin-top: 0; border: none;
}
.course-block .module-card {
  border: none; border-right: 1.5px solid var(--border); border-bottom: 1.5px solid var(--border);
}

/* ─── MODULES ─── */
.modules-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px; margin-top: 3.5rem;
  border: 1.5px solid var(--border);
}
.module-card {
  background: var(--black2); padding: 2rem;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}
.module-card:hover { background: var(--black3); border-color: var(--border); }
.module-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 48px; color: rgba(var(--accent-rgb),0.22); line-height: 1;
  margin-bottom: 0.5rem;
}
.module-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 20px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--white); margin-bottom: 0.75rem;
}
.module-items { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.module-items li {
  font-size: 13px; color: var(--gray-light);
  display: flex; align-items: center; gap: 8px;
}
.module-items li::before {
  content: ''; width: 4px; height: 4px;
  background: var(--orange); border-radius: 50%; flex-shrink: 0;
}

/* ─── MAP SECTION ─── */
.map-section { background: var(--black2); padding: 2.5rem 3rem 2rem; }
.map-section .section-sub { margin-bottom: 1.5rem; }

.map-wrapper {
  background: var(--black3); border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas:
    "toggle map"
    "info   map"
    "spacer map"
    "legend map";
  min-height: 420px;
  max-height: calc(100vh - 280px);
}
.map-toggle {
  grid-area: toggle; display: flex; gap: 8px;
  padding: 1.25rem 1.25rem 0.75rem;
}
.map-btn {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  min-height: 44px; padding: 7px 16px; border: 1px solid var(--ghost-border);
  background: transparent; color: var(--gray-light); cursor: pointer;
  transition: all 0.2s;
}
.map-btn.active { background: var(--orange); color: var(--black); border-color: var(--orange); }
#map-info-box {
  grid-area: info;
  background: var(--black2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 12px 1.25rem;
}
#map-si-abbr { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; color: var(--orange); margin: 0; }
#map-si-mode { font-size: 13px; color: var(--gray-light); margin: 3px 0 0; }
#map-si-detail { font-size: 12px; color: var(--gray); margin: 4px 0 0; line-height: 1.5; }
#map-svg-wrap {
  grid-area: map; border-left: 1px solid var(--border);
  overflow: hidden; display: flex; align-items: center;
}
#map-svg-wrap svg { display: block; width: 100%; height: 100%; }
#map-svg-wrap svg .state { cursor: pointer; stroke: var(--black3); stroke-width: 0.7; }
#map-svg-wrap svg .state:hover { stroke: var(--orange); stroke-width: 2; opacity: 0.85; }
#map-svg-wrap svg .st-abbr { pointer-events: none; font-family: sans-serif; font-weight: 800; text-anchor: middle; dominant-baseline: middle; }
.map-legend {
  grid-area: legend; display: flex; gap: 10px; flex-wrap: wrap;
  padding: 0.75rem 1.25rem; font-size: 11px; color: var(--gray);
  border-top: 1px solid var(--border); align-self: end;
}
.map-leg-item { display: flex; align-items: center; gap: 5px; }
.map-leg-sw { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }

/* ─── PRICING ─── */
.pricing { background: var(--black); padding: 4rem 3rem; }
.pricing-layout {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 4rem; align-items: center;
}
.pricing-text .section-title { margin-bottom: 1rem; }
.pricing-text .section-sub { margin-bottom: 1.5rem; }
.pricing-perks { display: flex; flex-direction: column; gap: 0.6rem; }
.perk { font-size: 14px; color: var(--gray-light); display:flex; align-items:center; gap:8px; }
.perk-icon { color: var(--orange); flex-shrink: 0; }

/* Card */
.pricing-card {
  background: var(--black2); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange), var(--orange-deep));
}
.pricing-card-top {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.price-eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--gray);
  margin-bottom: 0.4rem;
}
.price-big {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 64px; color: var(--orange); line-height: 1; margin-bottom: 0.4rem;
}
.price-big sup { font-size: 28px; vertical-align: super; }
.price-note { font-size: 12px; color: var(--gray); }
.pricing-card-includes { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); }
.pricing-card-includes h4 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray); margin-bottom: 0.85rem;
}
.include-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 1rem; }
.include-list li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--gray-light); }
.include-list li .check {
  width: 15px; height: 15px; border-radius: 50%;
  background: rgba(var(--accent-rgb),0.1); border: 1px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--orange); flex-shrink: 0;
}
.pricing-card-cta { padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 10px; }
.pricing-btn { text-align: center; clip-path: none; }
.pricing-refund { font-size: 11px; color: var(--gray); text-align: center; }
.pricing-refund strong { color: var(--orange); }

/* ─── WORK WITH US ─── */
.work { background: var(--black3); }
.work-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center; margin-top: 3.5rem;
}
.work-steps { display: flex; flex-direction: column; gap: 0; }
.work-step { display: flex; gap: 1.5rem; position: relative; }
.work-step:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 44px;
  width: 2px; height: calc(100% - 8px);
  background: var(--border);
}
.step-dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--black2); border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 16px; color: var(--orange); z-index: 1;
}
.step-body { padding-bottom: 2.5rem; }
.step-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 18px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--white); margin-bottom: 6px;
}
.step-desc { font-size: 14px; color: var(--gray-light); line-height: 1.6; }
.work-highlight {
  background: var(--black2); border: 1px solid var(--border);
  padding: 2.5rem; text-align: center;
}
.work-highlight .big-text {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 56px; text-transform: uppercase; line-height: 1;
  color: var(--orange); margin-bottom: 1rem;
}
.work-highlight p { font-size: 15px; color: var(--gray-light); line-height: 1.7; }
.work-highlight .mc-badge {
  display: inline-block; margin-top: 1.5rem;
  background: rgba(var(--accent-rgb),0.08); border: 1px solid var(--border);
  padding: 8px 16px; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 1px; color: var(--orange);
}

/* ─── FOOTER ─── */
footer {
  background: var(--black); border-top: 1px solid var(--border);
  padding: 3rem; text-align: center;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 24px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); margin-bottom: 0.5rem;
}
.footer-logo span { color: var(--orange); }
.footer-addr { font-size: 13px; color: var(--gray); margin-bottom: 1rem; line-height: 1.7; }
.footer-links { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-dot { color: rgba(136,136,136,0.3); font-size: 13px; }
.footer-copy { font-size: 12px; color: rgba(136,136,136,0.5); }

.skills-grid { min-width: 0; }
.gift-link { min-height: 44px; padding: 8px 2px; }
#nav-user-menu > button { min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeUp 0.6s ease both; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; width: 100%; overscroll-behavior-x: none; touch-action: pan-y; }
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  section { padding: 3.5rem 1.25rem; }
  .about { padding: 3rem 1.25rem; }
  .pricing { padding: 3rem 1.25rem; }
  .map-section { padding: 2rem 1rem; }

  .hero { padding: 88px 1.25rem 48px; grid-template-columns: 1fr; align-items: start; min-height: auto; }
  .hero-logo-wrap { display: none; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { text-align: center; width: 100%; }
  .hero-price-badge { flex-wrap: wrap; gap: 10px; }

  .stats-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; padding: 1.5rem 1.25rem; justify-items: center; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-big-text { font-size: clamp(36px, 9vw, 56px); }
  .about-body { max-width: 100%; }

  .modules-grid { grid-template-columns: 1fr; }
  .module-card { padding: 1.25rem; }
  .module-num { font-size: 36px; }

  .course-block-header {
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .course-block-header-text { flex: 1; min-width: 0; }
  .course-block-chevron {
    color: var(--orange);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
  }
  .course-block.expanded .course-block-chevron { transform: rotate(180deg); }
  .course-block .modules-grid { display: none; }
  .course-block.expanded .modules-grid { display: grid; }

  .map-wrapper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "toggle"
      "info"
      "map"
      "legend";
    min-height: 0;
    max-height: none;
  }
  #map-svg-wrap {
    min-height: 260px;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .map-toggle { padding: 0.75rem 1rem; }
  .map-legend { padding: 0.5rem 1rem; }

  .pricing-layout { grid-template-columns: 1fr; gap: 2rem; }
  .include-list { grid-template-columns: 1fr; }
  .pricing-card-top { padding: 1.5rem; }
  .pricing-card-includes { padding: 1.25rem 1.5rem; }
  .pricing-card-cta { padding: 1.25rem 1.5rem; }
  .price-big { font-size: 52px; }

  .work-grid { grid-template-columns: 1fr; }
  .work-highlight .big-text { font-size: 40px; }
  .work-highlight { padding: 2rem 1.5rem; }
  .skills-section { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .skills-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 2px; }
}

@media (max-width: 480px) {
  nav { padding: 0 1rem; }
  .nav-brand { font-size: 15px; }
  section { padding: 3rem 1rem; }
  .about { padding: 2.5rem 1rem; }
  .pricing { padding: 2.5rem 1rem; }
  .stats-bar { padding: 1.25rem 1rem; gap: 1.25rem; }
  .hero { padding: 80px 1rem 40px; align-items: start; min-height: auto; }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
  .module-card { padding: 1rem; }
  .course-block-title { font-size: 20px; }
  .skills-section { padding-left: 1rem !important; padding-right: 1rem !important; }
}
