/* ═══════════════════════════════════════════
   FS8 Cedar Park — Global Stylesheet
   ═══════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #ffffff;
  background: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Brand Tokens ── */
:root {
  --periwinkle: #7a93dc;
  --lime: #eef386;
  --black: #000000;
  --white: #ffffff;
  --gray: #d1d0d0;
  --dark-bg: #111111;
  --dark-surface: #1a1a1a;
  --dark-card: #161616;
  --text-muted: rgba(255,255,255,0.6);
  --text-soft: rgba(255,255,255,0.8);
  --border-subtle: rgba(255,255,255,0.08);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1200px;
  --container-narrow: 800px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --section-pad-sm: clamp(2.5rem, 5vw, 4rem);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--lime {
  background: var(--lime);
  color: var(--black);
}

.btn--lime:hover {
  background: #e2e67a;
  transform: translateY(-1px);
}

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

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn--periwinkle {
  background: var(--periwinkle);
  color: var(--white);
}

.btn--periwinkle:hover {
  background: #6a83cc;
}

.btn--ghost {
  background: transparent;
  color: var(--lime);
  border: 2px solid var(--lime);
}

.btn--ghost:hover {
  background: var(--lime);
  color: var(--black);
}

.btn--sm {
  padding: 0.65rem 1.5rem;
  font-size: 0.75rem;
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.9rem;
}

/* ── Sticky Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
}

.nav__logo img {
  height: 32px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__cta {
  font-size: 0.75rem !important;
  padding: 0.6rem 1.25rem !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('images/web/fs8-photo-14.jpg') center/cover no-repeat;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(238,243,134,0.3);
  border-radius: 999px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  color: var(--lime);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Section Styles ── */
.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: var(--dark-bg);
}

.section--black {
  background: var(--black);
}

.section--surface {
  background: var(--dark-surface);
}

.section__eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Intro Offer Banner ── */
.offer-banner {
  background: var(--black);
  border-top: 3px solid var(--lime);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.offer-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.offer-banner__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
}

.offer-banner__price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--dark-bg);
  padding: 3.5rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.stats-bar__grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-bar__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
  border-color: rgba(122,147,220,0.3);
  transform: translateY(-4px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.card__icon--lime {
  background: rgba(238,243,134,0.15);
  color: var(--lime);
}

.card__icon--periwinkle {
  background: rgba(122,147,220,0.15);
  color: var(--periwinkle);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Two-Column Layout ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split__visual {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.split__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(122,147,220,0.1) 0%, transparent 70%);
}

/* ── Schedule Section ── */
.schedule-section {
  min-height: 400px;
}

/* ── Blog Cards ── */
.blog-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.blog-card:hover {
  border-color: rgba(238,243,134,0.3);
  transform: translateY(-4px);
}

.blog-card__img {
  height: 200px;
  background: var(--dark-surface);
  position: relative;
  overflow: hidden;
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__tag {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--periwinkle);
  margin-bottom: 0.75rem;
}

.blog-card__title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA Section ── */
.cta-section {
  padding: var(--section-pad) 1.5rem;
  text-align: center;
  background: var(--dark-bg);
  border-top: 3px solid var(--lime);
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

/* ── Footer ── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem 2rem;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
}

.footer__logo img {
  height: 36px;
  width: auto;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__links h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer__links ul {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--lime);
}

.footer__contact {
  text-align: right;
}

.footer__contact p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer__contact a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: var(--lime);
}

.footer__bottom {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer__bottom a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer__bottom a:hover {
  color: var(--lime);
}

/* ── Popup ── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.popup-overlay.open {
  display: flex;
}

.popup-card {
  background: var(--black);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--lime);
  border-radius: 12px;
  max-width: 440px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.popup-close:hover {
  color: var(--white);
}

.popup-eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin-bottom: 1rem;
}

.popup-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.popup-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ── Page Header ── */
.page-header {
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  background: var(--dark-bg);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-subtle);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Class Type Feature ── */
.class-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.class-feature:last-child {
  border-bottom: none;
}

.class-feature:nth-child(even) {
  direction: rtl;
}

.class-feature:nth-child(even) > * {
  direction: ltr;
}

.class-feature__visual {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.class-feature__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(122,147,220,0.08) 0%, transparent 70%);
}

.class-feature__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.class-feature__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--periwinkle);
  background: rgba(122,147,220,0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.class-feature__content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.class-feature__detail {
  display: flex;
  gap: 2rem;
}

.class-feature__detail span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.class-feature__detail strong {
  color: var(--lime);
}

/* ── Pricing Cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--lime);
}

.pricing-card--featured::before {
  content: 'BEST VALUE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card h3 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}

/* ── Blog Article ── */
.article {
  max-width: 740px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.article h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.article__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article h2 {
  font-size: 1.5rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 2.5rem 0 1rem;
}

.article p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article ul, .article ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.article li {
  color: var(--text-soft);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article a {
  color: var(--periwinkle);
  text-decoration: underline;
}

/* ── Fade-in Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .class-feature { grid-template-columns: 1fr; gap: 2rem; }
  .class-feature:nth-child(even) { direction: ltr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__contact { text-align: left; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  
  .cards-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  
  .hero { min-height: 90vh; padding: 5rem 1.5rem 3rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  
  .offer-banner__inner { flex-direction: column; gap: 1rem; }
  
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; }
}
