:root {
  /* Colors */
  --color-primary: #ff6b35;
  --color-secondary: #0f2a4a;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f7f9;
  --color-text-primary: #0f2a4a;
  --color-text-body: #374151;
  --color-text-secondary: #6b7280;

  --color-icon-green: #00c853;
  --color-icon-blue: #06b6d4;
  --color-icon-red: #ef4444;
  --color-icon-purple: #8b5cf6;
  --color-icon-gold: #f59e0b;

  --color-bg-purple: #f5f3ff;
  --color-bg-blue: #ecfeff;
  --color-bg-gold: #fffbeb;
  --color-bg-green: #f0fdf4;

  /* Shadows */
  --shadow-card: 0 4px 20px #00000005;
  --shadow-hover: 0 10px 30px #0f2a4a15;
  --shadow-sm: 0 4px 10px #00000010;

  /* Borders */
  --border-radius: clamp(12px, 1.5vw, 16px);
  --border-radius-lg: clamp(16px, 2vw, 20px);
  --border-radius-pill: 40px;

  /* Layout constraints */
  --max-width-container: 1200px;

  /* FLUID TYPOGRAPHY */
  --fs-h1: clamp(1.8rem, 3.5vw, 3rem);
  --fs-h2: clamp(1.5rem, 2.5vw, 2.25rem);
  --fs-h3: clamp(1.2rem, 1.8vw, 1.5rem);
  --fs-body: clamp(0.95rem, 1.2vw, 1.125rem);
  --fs-small: clamp(0.875rem, 1vw, 1rem);

  /* FLUID SPACING */
  --spacing-lg: clamp(24px, 4vw, 56px);
  --padding-section: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 80px);
  --gap-main: clamp(16px, 3vw, 24px);
  --gap-card: clamp(16px, 3vw, 24px);
}

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

body {
  font-family: "Quicksand", sans-serif;
  color: var(--color-text-body);
  background-color: var(--color-surface);
  line-height: 1.6;
  font-size: var(--fs-body);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--gap-main);
  text-align: center;
}
h3 {
  font-size: var(--fs-h3);
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}
.text-primary {
  color: var(--color-primary);
}
.text-secondary {
  color: var(--color-text-secondary);
}
.text-highlight-green {
  color: var(--color-icon-green);
}

.bg-light {
  background-color: var(--color-surface-alt);
}
.bg-white {
  background-color: var(--color-surface);
}

/* LAYOUT STRUCTURE */
.section {
  padding: var(--padding-section);
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-width-container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

/* FLUID GRIDS */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: var(--gap-main);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--gap-card);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--gap-card);
}

.grid-2-even {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--gap-card);
}

.grid-5-tech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: var(--gap-card);
  align-items: start;
}

/* COMPONENTS */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.5vw, 16px) clamp(24px, 3vw, 32px);
  background-color: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: var(--fs-body);
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  filter: brightness(1.05);
}

.btn-sm {
  padding: clamp(8px, 1vw, 10px) clamp(16px, 2vw, 20px);
  font-size: var(--fs-small);
}

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

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

.btn-white:hover {
  background-color: var(--color-surface-alt);
}

/* Navigation (Cloned from index.html) */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 233, 240, 0.8);
  padding: 14px 0;
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(15, 42, 74, 0.1);
}

.nav-inner {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 0 !important;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f2a4a;
  letter-spacing: -0.5px;
}

.nav-logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1f2937;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b35;
  transition: width 0.25s;
}

.nav-link:hover {
  color: #ff6b35;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-orange.nav-cta {
  background: #ff6b35;
  color: #fff;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-orange.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.35);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #0f2a4a;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    align-items: flex-start;
    gap: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}


/* Cards */
.card {
  background-color: var(--color-surface);
  border-radius: var(--border-radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Icon Containers */
.icon-box {
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.icon-box.green {
  color: var(--color-icon-green);
  background-color: rgba(0, 200, 83, 0.1);
}
.icon-box.blue {
  color: var(--color-icon-blue);
  background-color: rgba(6, 182, 212, 0.1);
}
.icon-box.red {
  color: var(--color-icon-red);
  background-color: rgba(239, 68, 68, 0.1);
}
.icon-box.purple {
  color: var(--color-icon-purple);
  background-color: var(--color-bg-purple);
}
.icon-box.gold {
  color: var(--color-icon-gold);
  background-color: var(--color-bg-gold);
}

/* SPECIFIC SECTIONS */

/* Hero Section */
.hero {
  background-color: var(--color-surface);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-main);
  align-items: flex-start;
}

.hero-image {
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-content {
    align-items: center;
    text-align: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  padding: clamp(8px, 1vw, 10px) clamp(12px, 2vw, 16px);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-card);
  border-radius: 10px;
  font-weight: 700;
  color: var(--color-secondary);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  object-fit: cover;
}

/* About Section */
.about-card {
  text-align: center;
  gap: var(--gap-card);
  padding: clamp(32px, 5vw, 48px);
}

.about-text-lead {
  font-size: var(--fs-h3);
  color: var(--color-text-secondary);
}

/* Pay & Schedule */
.pay-card {
  background-color: var(--color-surface-alt);
  padding: clamp(32px, 5vw, 48px);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  gap: var(--gap-main);
}

.pay-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 1.5vw, 12px);
  margin-bottom: clamp(12px, 2vw, 16px);
}

/* What You'll Be Teaching */
.teaching-card {
  position: relative;
  border-radius: 18px;
  padding: 1px; /* border thickness */
  height: 100%;
  min-height: clamp(200px, 25vw, 300px);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.teaching-card:hover {
  transform: translateY(-5px);
}
.teaching-card.purple {
  background-color: var(--color-icon-purple);
}
.teaching-card.blue {
  background-color: var(--color-icon-blue);
}
.teaching-card.gold {
  background-color: var(--color-icon-gold);
}

.teaching-card-inner {
  background-color: var(--color-surface);
  height: 100%;
  width: 100%;
  border-radius: 17px;
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(12px, 2vw, 16px);
}

.teaching-card.purple .teaching-card-inner {
  background-color: var(--color-bg-purple);
}
.teaching-card.blue .teaching-card-inner {
  background-color: var(--color-bg-blue);
}
.teaching-card.gold .teaching-card-inner {
  background-color: var(--color-bg-gold);
}

/* Who We're Looking For */
.role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(24px, 3vw, 32px);
  background-color: var(--color-surface);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  gap: clamp(12px, 2vw, 16px);
  height: 100%;
}

.role-icon-wrap {
  width: clamp(64px, 6vw, 80px);
  height: clamp(64px, 6vw, 80px);
  border-radius: var(--border-radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trait-card {
  padding: clamp(20px, 3vw, 28px);
  background-color: var(--color-surface);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
  height: 100%;
}

/* Tech Requirements */
.tech-section-card {
  background-color: var(--color-surface);
  padding: clamp(32px, 5vw, 48px);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.tech-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: clamp(8px, 1.5vw, 12px);
}

/* Testimonial */
.testimonial-card {
  background-color: var(--color-secondary);
  color: var(--color-surface);
  text-align: center;
  padding: clamp(40px, 6vw, 80px);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3vw, 32px);
}

.testimonial-text {
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--color-surface-alt);
}

/* Process */
.step-card {
  background-color: var(--color-surface);
  border-radius: var(--border-radius);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
  box-shadow: var(--shadow-card);
  height: 100%;
}

.step-num {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

/* FAQ Section */
.faq-container {
  background-color: #f8fafc;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.faq-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
}

.faq-icon-top {
  color: var(--color-primary);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 20px);
}

.faq-item {
  background-color: var(--color-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  padding: clamp(16px, 2vw, 24px) clamp(20px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: var(--color-surface-alt);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease-out,
    padding 0.3s ease;
  padding: 0 clamp(20px, 3vw, 32px);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 clamp(20px, 3vw, 32px) clamp(16px, 2vw, 24px)
    clamp(20px, 3vw, 32px);
}

/* Final CTA */
.final-cta {
  background-color: var(--color-primary);
  color: var(--color-surface);
  border-radius: var(--border-radius);
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}

.final-cta h2 {
  color: var(--color-surface);
  margin-bottom: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1vw, 8px);
  align-items: center;
  opacity: 0.9;
}

/* --- TRIAL MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 42, 74, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--color-surface);
  width: 90%;
  max-width: 800px;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-surface-alt);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--color-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-close:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}

.iframe-wrapper {
  overflow: hidden;
  border-radius: 20px;
}
