@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800;900&display=swap');

/* 
  Design System for The Next Guitarist 
  Colors: Deep Navy, Warm Bronze, Cream, Soft Coral (Accent)
*/

:root {
  /* Colors */
  --color-primary: #101D3B;
  /* Deep Navy */
  --color-secondary: #d9aa45;
  /* Warm Gold */
  --color-background: #F5EDE0;
  /* Cream */
  --color-accent: #F97B64;
  /* Soft Coral / Playful */
  --color-white: #FFFFFF;
  --color-text-dark: #101D3B;
  --color-text-muted: #4A5568;
  --color-border: rgba(16, 29, 59, 0.1);
  --header-bg: var(--color-primary);
  --header-bg-scrolled: rgba(16, 29, 59, 0.98);

  /* Hero specific */
  --hero-bg: #F6EEDD;
  --ink: #101D3B;
  --ink-soft: #33405A;
  --bronze-dark: #8B6231;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-price: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(16, 29, 59, 0.05);
  --shadow-md: 0 8px 16px rgba(16, 29, 59, 0.08);
  --shadow-lg: 0 16px 32px rgba(16, 29, 59, 0.12);
  --shadow-hover: 0 12px 24px rgba(16, 29, 59, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section {
  padding: var(--space-lg) 0;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flex {
  display: flex;
  gap: var(--space-sm);
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
}

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

.btn-primary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

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

.btn-accent:hover {
  background-color: var(--color-white);
  color: var(--color-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Arrow Animation on Buttons */
.btn svg {
  transition: transform var(--transition-normal);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--color-secondary);
}

/* Image zoom in card */
.card-img-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  width: 100%;
}

.card-img-container img,
.course-card-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.card:hover .card-img-container img {
  transform: scale(1.05);
}

/* ==========================================================================
   Courses Section & In-Card Expandable Grid (UI/UX)
   ========================================================================== */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

@media (min-width: 1100px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

.course-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(16, 29, 59, 0.08);
  box-shadow: 0 4px 20px rgba(16, 29, 59, 0.04);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  height: auto;
  align-self: start;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(16, 29, 59, 0.12);
  border-color: rgba(212, 163, 89, 0.45);
}

.course-card-media {
  position: relative;
  width: 100%;
  height: 195px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #EDE8DE;
}

.course-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.course-card:hover .course-card-img {
  transform: scale(1.05);
}

/* Red Starter Kit Badge Box in Top Right Corner */
.course-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #DC2626;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
  z-index: 2;
  pointer-events: none;
}

.course-card-badge.badge-guitar {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.course-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.course-card-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #4A5568;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  min-height: 44px;
}

/* Course Price in Card */
.course-card-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 1.25rem;
  padding: 6px 12px;
  background: #F8FAFC;
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
  width: fit-content;
}

.course-card-price .price-amount {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.course-card-price .price-period {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 500;
}

/* In-Card Expandable Details Drawer */
.course-details-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin 0.25s ease;
  margin-top: 0;
  margin-bottom: 0;
}

.course-card.is-expanded .course-details-drawer {
  max-height: 600px;
  opacity: 1;
  margin-top: 4px;
  margin-bottom: 16px;
}

.details-content-box {
  background: #FBF8F2;
  border: 1px solid rgba(16, 29, 59, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.88rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.details-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.spec-chip {
  background: #FFFFFF;
  border: 1px solid rgba(16, 29, 59, 0.1);
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.details-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.details-inclusions {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.details-inclusions li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #334155;
  font-size: 0.83rem;
  line-height: 1.4;
}

.details-inclusions li svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

.details-outcome {
  font-size: 0.82rem;
  color: #1E293B;
  background: #FFFFFF;
  padding: 8px 10px;
  border-radius: 6px;
  border-left: 3px solid #D4A359;
  line-height: 1.4;
  margin-top: 8px;
}

/* Dual CTAs */
.course-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-course-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-sizing: border-box;
}

.btn-course-details:hover {
  background: rgba(16, 29, 59, 0.06);
  transform: translateY(-1px);
}

.details-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.course-card.is-expanded .details-chevron {
  transform: rotate(180deg);
}

.course-card.is-expanded .btn-course-details {
  background: rgba(16, 29, 59, 0.08);
}

.btn-course-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-sizing: border-box;
}

.btn-course-demo:hover {
  background: #1C2D54;
  border-color: #1C2D54;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 29, 59, 0.25);
}

.btn-course-demo:hover {
  background: #1C2D54;
  border-color: #1C2D54;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 29, 59, 0.25);
}

/* Backward compatibility helpers */
.course-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #FFF7ED;
  color: #9A3412;
}
.course-included-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 14px 0;
}
.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.included-list li {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

/* Badges / Ribbons */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--color-background);
  color: var(--color-primary);
}

.badge-accent {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-accent {
  color: var(--color-accent);
}

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

.bg-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.bg-cream {
  background-color: var(--color-background);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  height: 80px;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 68px;
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  background-color: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-circle img,
.fallback-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fallback-logo {
  padding: 8px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  line-height: 1.05;
}

.wordmark-top {
  color: var(--color-background);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.wordmark-bottom {
  color: var(--color-background);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav-links a {
  color: var(--color-background);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-secondary);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-helpline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-background);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  height: 44px;
  justify-content: center;
}

.header-helpline svg {
  width: 18px;
  height: 18px;
}

.helpline-text {
  display: none;
}

.header-divider {
  display: none;
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-demo {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
  height: 44px;
}

.btn-demo:hover {
  transform: translateY(-2px);
  background-color: #e5b955;
  color: var(--color-primary);
}

.btn-login {
  color: var(--color-background);
  border: 1px solid var(--color-background);
  padding: 0 16px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: none;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.btn-login:hover {
  background-color: rgba(245, 237, 224, 0.1);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

/* Media Queries for Header */
@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
    justify-content: center;
  }

  .mobile-menu-btn {
    display: none;
  }

  .header-divider {
    display: block;
  }

  .btn-login {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .helpline-text {
    display: block;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .nav-links {
    gap: 20px;
  }
}


/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 29, 59, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 199;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: var(--color-primary);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: var(--space-md);
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-white);
  min-width: 44px;
  min-height: 44px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: var(--space-md);
}

.mobile-nav-links a {
  font-size: 1.25rem;
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
}

.mobile-actions-nav {
  margin-top: auto;
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: var(--color-white);
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-content p {
  padding-top: var(--space-sm);
  color: var(--color-text-muted);
}


/* --- HERO SECTION --- */
.hero {
  background: #FAF3E7 url('../main_page.png?v=25') no-repeat right center;
  background-size: cover;
  border-bottom: 1px solid rgba(16, 29, 59, .08);
  padding-block: clamp(40px, 5vw, 72px);
  min-height: max(600px, min(720px, calc(100svh - 80px)));
  display: flex;
  align-items: center;
}

.hero-grid {
  display: flex;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E25A45;
  color: #FFFFFF;
  border: none;
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(226, 90, 69, 0.25);
  text-transform: none;
}

.hero-badge-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
}

.hero-h1 {
  color: #101D3B;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 24px;
}

.hero-word-large {
  font-size: 1.25em;
}

.bronze-text {
  color: #8B6231;
}

.hero-sub {
  color: #33405A;
  font-size: 20px;
  max-width: 55ch;
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-demo-hero,
.btn-explore-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-demo-hero {
  background-color: #101D3B;
  color: var(--color-white);
  gap: 8px;
}

.btn-demo-hero svg {
  width: 20px;
  height: 20px;
  stroke: #8B6231;
}

.btn-demo-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background-color: #0b1f2a;
}

.btn-explore-hero {
  background-color: transparent;
  color: #101D3B;
  border: 2px solid #101D3B;
}

.btn-explore-hero:hover {
  background-color: #101D3B;
  color: var(--color-white);
}

.hero-helpline-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  margin-bottom: 24px;
  border-top: 1px solid rgba(16, 29, 59, 0.15);
  flex-wrap: wrap;
}

.helpline-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #101D3B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.helpline-icon-circle svg {
  width: 20px;
  height: 20px;
}

.helpline-text-stack {
  display: flex;
  flex-direction: column;
}

.helpline-label {
  color: #4A5568;
  font-size: 14px;
}

.helpline-number {
  color: #101D3B;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
}

.helpline-divider {
  width: 1px;
  height: 32px;
  background-color: rgba(16, 29, 59, 0.15);
}

.helpline-wa-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #166534;
  font-size: 15px;
  text-decoration: none;
  font-weight: 600;
}

.helpline-wa-link:hover {
  text-decoration: underline;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 32px;
  row-gap: 10px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #101D3B;
  font-size: 14px;
  font-weight: 600;
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #8B6231;
}

/* Animations */
.hero-copy {
  max-width: 600px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 700ms forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Trust Section & Learning Journey Components
   ========================================================================== */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  align-items: stretch;
}

.trust-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 320px;
}

.trust-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.learning-journey-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.journey-step {
  padding: 22px 28px;
  min-width: 160px;
  margin-bottom: 0;
  border: 2px solid transparent;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.journey-arrow {
  color: var(--color-secondary);
  font-size: 24px;
  line-height: 1;
}

/* ==========================================================================
   Responsive Media Queries (Tablet and Mobile)
   ========================================================================== */

@media (max-width: 900px) {
  .hero {
    background: linear-gradient(rgba(253, 248, 238, 0.90), rgba(253, 248, 238, 0.94)), url('../main_page.png?v=25') no-repeat right center;
    background-size: cover;
    padding: 32px 20px 24px;
    padding-bottom: 100px;
  }

  .hero-grid {
    padding: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .trust-img-card {
    min-height: 240px;
    height: 240px;
  }
}

@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-demo-hero,
  .btn-explore-hero {
    width: 100%;
  }

  .helpline-divider {
    display: none;
  }

  .helpline-wa-link {
    width: 100%;
  }

  .learning-journey-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .journey-step {
    min-width: unset;
    padding: 16px 12px;
  }

  .journey-arrow {
    display: none;
  }

  .fab-call {
    display: flex;
  }
}

@media (max-width: 560px) {
  .trust-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .hero-trust-grid {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 70px;
  }

  .logo-circle {
    width: 44px;
    height: 44px;
  }

  .wordmark-top {
    font-size: 0.95rem;
  }

  .wordmark-bottom {
    font-size: 1.05rem;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-demo {
    padding: 0 12px;
    font-size: 13px;
    height: 38px;
  }

  .course-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .course-card-price .price-amount {
    font-size: 1.45rem;
  }

  .floating-actions {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    gap: 10px;
  }

  .fab-whatsapp,
  .fab-call {
    width: 50px;
    height: 50px;
  }

  .fab-whatsapp svg,
  .fab-call svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 360px) {
  .learning-journey-flow {
    grid-template-columns: 1fr;
  }

  .hero-h1 {
    font-size: 2.1rem;
  }
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--color-secondary);
  color: var(--color-white);
  text-align: center;
  padding: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.announcement-bar a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* Floating Actions Base */
.floating-actions {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.fab-whatsapp,
.fab-call {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.fab-whatsapp svg,
.fab-call svg {
  color: var(--color-white);
  fill: currentColor;
  width: 28px;
  height: 28px;
}

.fab-whatsapp {
  background-color: #166534;
}

.fab-call {
  background-color: #101D3B;
  display: none;
}

.fab-call svg {
  fill: none;
}

.fab-whatsapp:hover,
.fab-call:hover {
  transform: scale(1.08);
}