/* ==========================================================================
   AI 101 MASTERCLASS - SWISS LIGHT DESIGN SYSTEM
   Modern, High-Signal, Minimalist Technical Aesthetic
   ========================================================================== */

:root {
  /* Color Palette - Clean Swiss Light */
  --bg-primary: #fcfcfd;
  --bg-secondary: #f4f5f7;
  --bg-tertiary: #eaedf1;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfc;
  
  --text-main: #0b0f19;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-focus: #2563eb;
  
  --accent-primary: #1e293b;
  --accent-blue: #2563eb;
  --accent-blue-subtle: #eff6ff;
  --accent-blue-border: #bfdbfe;
  
  --accent-emerald: #059669;
  --accent-emerald-bg: #ecfdf5;
  --accent-emerald-border: #a7f3d0;
  
  --accent-amber: #d97706;
  --accent-amber-bg: #fffbeb;
  
  --badge-bg: #f1f5f9;
  --badge-text: #334155;
  
  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  
  /* Spacing */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, Monaco, monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Managed by Lenis */
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(252, 252, 253, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 34px;
  height: 34px;
  background-color: var(--text-main);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: -0.05em;
}

.brand-title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--text-main);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero {
  padding: 5.5rem 0 3.5rem;
  position: relative;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--text-main);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--bg-card);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: #cbd5e1;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual Card / Blueprint preview */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.card-dots {
  display: flex;
  gap: 6px;
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.card-title-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.progression-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prog-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.prog-step:hover {
  background: #ffffff;
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
  transform: translateX(3px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--text-main);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-blue);
  background: var(--accent-blue-subtle);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.step-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comparison / Philosophy Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.comparison-col {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.comparison-col.bad {
  border-left: 4px solid #ef4444;
}

.comparison-col.good {
  border-left: 4px solid var(--accent-emerald);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.col-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.col-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.point-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.point-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Curriculum Breakdown Cards */
.curriculum-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.class-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.class-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.class-card-header {
  padding: 1.75rem 2rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.class-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.class-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--text-main);
  color: #ffffff;
}

.class-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.class-schedule-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-blue, #2563eb);
  background: #eff6ff;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  font-family: var(--font-mono, monospace);
}

.class-schedule-tag svg {
  stroke: var(--accent-blue, #2563eb);
  flex-shrink: 0;
}

.option-schedule-info {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-blue, #2563eb);
  margin-top: 0.45rem;
  background: #eff6ff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  font-family: var(--font-mono, monospace);
}

.option-schedule-info svg {
  stroke: var(--accent-blue, #2563eb);
  flex-shrink: 0;
}

.class-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.class-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.class-price-tag {
  text-align: right;
}

.price-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.class-card-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
}

.curriculum-flow {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.topic-item:hover {
  background: #ffffff;
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}

.topic-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border-color);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topic-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.topic-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.class-deliverables {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.deliverables-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deliverable-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}

/* Interactive Pricing & Registration Section */
.checkout-section {
  padding: 5rem 0 6rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

/* Class Selection Cards */
.selection-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.box-heading {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.box-subheading {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.class-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.class-option-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-primary);
}

.class-option-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.class-option-card.selected {
  border-color: var(--text-main);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.class-option-card.selected .custom-checkbox {
  background: var(--text-main);
  border-color: var(--text-main);
}

.custom-checkbox svg {
  display: none;
  stroke: #ffffff;
}

.class-option-card.selected .custom-checkbox svg {
  display: block;
}

.option-details {
  flex: 1;
}

.option-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.option-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.option-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.option-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Upsell Banner */
.upsell-banner {
  background: var(--accent-emerald-bg);
  border: 1px dashed var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s ease;
}

.upsell-text {
  font-size: 0.85rem;
  color: #065f46;
  font-weight: 500;
}

.upsell-text strong {
  font-weight: 700;
}

.upsell-btn {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--accent-emerald);
  color: #ffffff;
  border: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.upsell-btn:hover {
  background: #047857;
}

/* Form Container */
.form-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.15s ease;
}

.form-input:focus, .form-select:focus {
  background: #ffffff;
  border-color: var(--text-main);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

/* Price Calculation Summary */
.bill-summary {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-subtle);
}

.bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.bill-row.discount-row {
  color: var(--accent-emerald);
  font-weight: 600;
}

.bill-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.75rem 0;
}

.bill-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.total-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.total-amount {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.submit-btn:hover svg {
  transform: translateX(5px);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
  transition-duration: 0.08s;
}

/* Subtle Shimmer Ray */
.submit-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: none;
}

.submit-btn:hover::after {
  left: 120%;
  transition: left 0.65s ease-in-out;
}

.form-footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.85rem;
  line-height: 1.4;
}

/* Materials & Downloads Section (Future Discussion) */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.material-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.material-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.material-type-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.material-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.material-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.material-links {
  display: flex;
  gap: 0.6rem;
}

.material-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  background: var(--bg-primary);
  transition: all 0.15s ease;
}

.material-btn:hover {
  background: var(--bg-secondary);
  border-color: #cbd5e1;
}

/* Modal Overlay & QRIS Payment Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
  opacity: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 530px;
  width: 100%;
  padding: 0;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  max-height: min(90vh, 840px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  margin: auto;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

/* Persistent Top Header */
.modal-persistent-header {
  padding: 1.75rem 1.75rem 0.85rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-secondary);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.15s ease;
  z-index: 12;
}

.modal-close-btn:hover {
  background: var(--border-color);
  color: var(--text-main);
}

/* Scrollable Content Body */
.modal-scroll-body {
  padding: 1.25rem 1.75rem 1.75rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

/* Inset Custom Scrollbar inside scroll body */
.modal-scroll-body::-webkit-scrollbar {
  width: 6px;
}

.modal-scroll-body::-webkit-scrollbar-track {
  background: transparent;
  margin: 0.5rem 0;
}

.modal-scroll-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.modal-scroll-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.qris-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.qris-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-emerald-bg);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.qris-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Reference Number Banner */
.reference-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.ref-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ref-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.ref-code {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.btn-copy-ref,
.btn-copy-field {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-copy-ref:hover,
.btn-copy-field:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-copy-ref.copied,
.btn-copy-field.copied {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

/* Payment Navigation Tabs */
.payment-tabs-nav {
  display: flex;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-radius: calc(var(--radius-md) - 3px);
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: #0f172a;
}

.tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.payment-tab-content {
  display: none;
}

.payment-tab-content.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* QRIS Card */
.qris-card {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.qris-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.qris-badge-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #1e293b;
}

.qris-gpn-logo {
  font-size: 0.75rem;
  font-weight: 800;
  color: #dc2626;
  border: 1px solid #dc2626;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.qris-qr-container {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0;
}

.qr-code-img {
  width: 190px;
  height: 190px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 6px;
}

.qris-amount-display {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.4rem;
}

.qris-merchant-info {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
}

.qris-card-actions {
  display: flex;
  justify-content: center;
}

.btn-download-qris {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-download-qris:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* Bank Transfer Card */
.bank-card {
  background: var(--bank-card-bg, #ffffff);
  border: 1px solid var(--bank-card-border, #ffe0d6);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
}

.bank-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bank-card-border, #f1f5f9);
  margin-bottom: 0.85rem;
}

.bank-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bank-badge {
  background: var(--bank-badge-bg, #ff5722);
  color: var(--bank-badge-text, #ffffff);
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.bank-fullname {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1e293b;
}

.bank-status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.bank-detail-item {
  margin-bottom: 0.75rem;
}

.bank-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.bank-detail-val-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.bank-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.bank-val.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.bank-val.highlight {
  color: var(--bank-highlight-color, #ff5722);
  font-size: 1.05rem;
}

.bank-notes-box {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  color: #1e40af;
  line-height: 1.4;
  margin-top: 0.75rem;
}

.bank-notes-box svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #3b82f6;
}

.qris-instructions {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.inst-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.inst-list {
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-confirm-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-confirm-wa:hover {
  background: #20ba59;
  box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 3rem;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 360px;
  margin-top: 0.75rem;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .form-box {
    position: static;
  }
  .materials-grid {
    grid-template-columns: 1fr;
  }
  .class-card-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .nav-links {
    display: none;
  }
}

/* ==========================================
   REGISTRATION COUNTDOWN & CLOSED STATE
   ========================================== */
.countdown-timer-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.25rem;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-timer-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.countdown-digits {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
}

.cd-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.25rem 0.6rem;
  min-width: 44px;
}

.cd-box strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
}

.cd-box small {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.cd-sep {
  font-weight: 800;
  color: #94a3b8;
  font-size: 1rem;
}

.registration-closed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.closed-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.closed-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.closed-card-desc {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.6;
  font-size: 0.95rem;
}

.closed-payment-callout {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  max-width: 580px;
  margin: 1.5rem auto;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  box-shadow: var(--shadow-xs);
}

.closed-payment-callout .callout-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #d97706;
}

.closed-payment-callout .callout-content {
  flex: 1;
}

.closed-payment-callout .callout-title {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
  color: #78350f;
}

.closed-payment-callout .callout-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #92400e;
}

.closed-card-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* ==========================================
   PAY AGAIN — INVOICE RETRIEVAL
   ========================================== */
.pay-again-fields {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.pay-again-fields .submit-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pay-again-error {
  display: none;
  margin-top: 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #dc2626;
}

/* ==========================================
   REGISTRATION TABS (NEW vs ALREADY REGISTERED)
   ========================================== */
.reg-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.reg-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.reg-tab svg {
  flex: 0 0 auto;
}

.reg-tab:hover {
  color: var(--accent-blue);
  background: var(--accent-blue-subtle);
  border-color: var(--accent-blue-border);
}

.reg-tab.active {
  color: var(--accent-blue);
  background: var(--accent-blue-subtle);
  border-color: var(--accent-blue-border);
  box-shadow: var(--shadow-sm);
}

.reg-tab:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

