/* ==========================================================================
   THE MATURITY BLUEPRINT - LANDING PAGE STYLES
   Design System: Technical blueprint style (Navy, Steel Blue, Terracotta, Eggshell)
   ========================================================================== */

/* Variables & Design Tokens */
:root {
  --bg-color: #f5f4f0;
  --bg-paper: #faf9f6;
  --primary-color: #1b2d42;
  --primary-rgb: 27, 45, 66;
  --secondary-color: #4e7596;
  --accent-color: #c85a32;
  --accent-rgb: 200, 90, 50;
  --accent-hover: #b04923;
  --line-color: #d8d4c7;
  --line-soft: #e8e6df;
  --text-color: #2d3748;
  --text-muted: #5a6a85;
  --white: #ffffff;
  
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Fira Code', 'Courier New', Courier, monospace;
  
  --container-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 4px; /* Crisp technical corners */
}

/* CSS Reset & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  
  /* Technical Blueprint Grid Pattern */
  background-image: 
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    linear-gradient(rgba(232, 230, 223, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 230, 223, 0.5) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: center center;
}

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
  border-left: 1px solid var(--line-color);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--accent-color);
}

.font-mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Reusable Blueprint Components & Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Blueprint Border Frame */
.blueprint-border {
  border: 1px solid var(--line-color);
  position: relative;
  background: var(--bg-paper);
}

/* Corner Indicators (+) */
.blueprint-border::before,
.blueprint-border::after,
.blueprint-border-corners::before,
.blueprint-border-corners::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 5;
}

/* Add corner marks to specific blocks */
.corner-mark {
  position: relative;
}
.corner-mark::before {
  content: '+';
  position: absolute;
  top: -6px;
  left: -6px;
  font-family: var(--font-mono);
  color: var(--secondary-color);
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
}
.corner-mark.top-right::after {
  content: '+';
  position: absolute;
  top: -6px;
  right: -6px;
  font-family: var(--font-mono);
  color: var(--secondary-color);
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
}
.corner-mark.bottom-left::after {
  content: '+';
  position: absolute;
  bottom: -6px;
  left: -6px;
  font-family: var(--font-mono);
  color: var(--secondary-color);
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
}

/* Grid overlay coordinates */
.tech-label {
  font-family: var(--font-mono);
  color: var(--secondary-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-label::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 1px;
  background-color: var(--secondary-color);
}

.section-num {
  font-family: var(--font-mono);
  color: var(--accent-color);
  font-size: 0.8rem;
  opacity: 0.8;
  display: block;
  margin-bottom: 0.5rem;
}

/* Blueprint Accents & Ticks */
.blueprint-accent-bar {
  height: 4px;
  background-color: var(--accent-color);
  width: 100%;
  margin-top: 1rem;
}

.blueprint-header-tag {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: inline-block;
  margin-bottom: 1rem;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
  box-shadow: 0 4px 10px rgba(var(--accent-rgb), 0.15);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(var(--accent-rgb), 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-secondary:hover {
  background-color: rgba(var(--primary-rgb), 0.05);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive navigation */
header {
  border-bottom: 1px solid var(--line-color);
  background-color: rgba(245, 244, 240, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--secondary-color);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: -3px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary-color);
}

nav a:hover, nav a.active {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}

.mobile-menu-btn span:nth-child(1) { top: 4px; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 11px; }

/* Sections general */
section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line-color);
  position: relative;
}

.section-title-wrap {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
  padding: 0 1rem;
}

.section-title::before, .section-title::after {
  content: '[';
  color: var(--secondary-color);
  font-family: var(--font-mono);
  font-weight: 300;
  position: absolute;
  top: 0;
}
.section-title::before { left: -10px; }
.section-title::after { content: ']'; right: -10px; }

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* 2. Hero Section */
.hero {
  padding: 6rem 0 7rem;
  overflow: hidden;
  background-color: var(--bg-paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  background-color: rgba(var(--primary-rgb), 0.05);
  border: 1px solid var(--line-color);
  padding: 0.4rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SVG Line Drawing Animation */
.svg-blueprint-compass {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.svg-blueprint-compass path, 
.svg-blueprint-compass line, 
.svg-blueprint-compass circle {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLines 4s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.svg-blueprint-compass .grid-line {
  stroke: var(--line-color);
  stroke-width: 0.5;
  stroke-dasharray: 4 4;
  animation: drawLines 2s forwards ease-in-out;
}

.svg-blueprint-compass .main-drawing {
  stroke: var(--primary-color);
  stroke-width: 1.5;
}

.svg-blueprint-compass .accent-drawing {
  stroke: var(--accent-color);
  stroke-width: 2;
}

.svg-blueprint-compass .measurement {
  stroke: var(--secondary-color);
  stroke-width: 1;
  stroke-dasharray: 2 2;
}

@keyframes drawLines {
  to {
    stroke-dashoffset: 0;
  }
}

/* 3. Palestra Section */
.palestra-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: stretch;
  background: var(--bg-paper);
}

.palestra-info {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.palestra-badge {
  background-color: var(--accent-color);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  align-self: flex-start;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.palestra-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.palestra-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.palestra-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.palestra-detail-card {
  border: 1px solid var(--line-soft);
  padding: 1.2rem;
  background: var(--bg-color);
  border-radius: var(--border-radius);
}

.palestra-detail-card h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--secondary-color);
  font-family: var(--font-mono);
  margin-bottom: 0.4rem;
}

.palestra-detail-card p {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

/* Countdown Timer */
.countdown-container {
  display: flex;
  gap: 0.8rem;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line-color);
  min-width: 65px;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  background: var(--bg-paper);
}

.countdown-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent-color);
  line-height: 1.1;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Form registration */
.palestra-form-wrap {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line-color);
}

.palestra-form-wrap h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.palestra-form-wrap p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

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

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
  padding: 1rem;
}

.form-submit-btn:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success-message h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.form-success-message p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* 4. Comparison Section */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.compare-card {
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--line-color);
}

.compare-card.school {
  background: rgba(27, 45, 66, 0.02);
  border-top: 4px solid var(--secondary-color);
}

.compare-card.life {
  background: rgba(200, 90, 50, 0.02);
  border-top: 4px solid var(--accent-color);
}

.compare-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.compare-icon-school {
  color: var(--secondary-color);
}

.compare-icon-life {
  color: var(--accent-color);
}

.compare-list {
  list-style: none;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.compare-item:last-child {
  border-bottom: none;
}

.compare-check {
  font-size: 1.1rem;
  margin-top: 2px;
}

.school .compare-check { color: var(--secondary-color); }
.life .compare-check { color: var(--accent-color); }

.compare-item-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.compare-item-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Parent Warning Alert Banner */
.warning-banner {
  border: 1px solid var(--accent-color);
  background-color: rgba(200, 90, 50, 0.05);
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  border-radius: var(--border-radius);
}

.warning-icon {
  font-size: 2.2rem;
  color: var(--accent-color);
  line-height: 1;
}

.warning-content h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.warning-content p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* 5. Toy Factory Dynamic Section */
.dynamic-flow-wrap {
  margin-bottom: 4rem;
}

.flow-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Connecting arrows in desktop */
@media (min-width: 992px) {
  .flow-steps::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 1px;
    border-top: 1px dashed var(--line-color);
    z-index: 1;
  }
}

.flow-step-card {
  background: var(--bg-paper);
  border: 1px solid var(--line-color);
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.flow-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.flow-step-num {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 1.2rem;
  border: 2px solid var(--bg-paper);
  box-shadow: 0 0 0 1px var(--line-color);
  transition: var(--transition-smooth);
}

.flow-step-card:hover .flow-step-num {
  background-color: var(--accent-color);
}

.flow-step-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.flow-step-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Pillars grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  border: 1px solid var(--line-color);
  background: var(--bg-paper);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  position: relative;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: var(--primary-color);
}

.pillar-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pillar-card h3 span {
  font-size: 0.75rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.equation-box {
  background-color: var(--bg-color);
  border: 1px solid var(--line-color);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.6rem;
  margin-top: 1rem;
  border-radius: var(--border-radius);
  color: var(--primary-color);
  text-align: center;
  font-weight: 500;
}

.equation-accent {
  color: var(--accent-color);
  font-weight: 700;
}

/* 6. GAO / Alavanca Section */
.gao-section {
  background-color: var(--bg-paper);
}

.gao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.gao-desc h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.gao-desc h4 {
  font-family: var(--font-mono);
  color: var(--accent-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.gao-desc p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Compare list of Company vs Youth Life */
.gao-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.gao-compare-card {
  padding: 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--border-radius);
  background: var(--bg-color);
}

.gao-compare-card h5 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: inline-block;
  padding-bottom: 0.2rem;
}

.company-card h5 {
  color: var(--secondary-color);
  border-bottom: 1px solid var(--secondary-color);
}

.youth-card h5 {
  color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
}

.gao-compare-card ul {
  list-style: none;
  font-size: 0.85rem;
}

.gao-compare-card li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 15px;
}

.gao-compare-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: bold;
}

.company-card li::before { color: var(--secondary-color); }
.youth-card li::before { color: var(--accent-color); }

/* GAO Interactive Simulator */
.gao-simulator {
  border: 1px solid var(--line-color);
  background-color: var(--bg-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.gao-simulator::before {
  content: 'GAO SIMULATOR // SEC. 06';
  position: absolute;
  top: 10px;
  left: 15px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.svg-gao-lever {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 2rem;
}

.lever-pivot {
  fill: var(--primary-color);
}

.lever-beam {
  stroke: var(--primary-color);
  stroke-width: 4;
  stroke-linecap: round;
  transition: transform 0.2s ease-out;
  transform-origin: 200px 180px; /* Middle of canvas, height of pivot */
}

.lever-weight-input {
  fill: var(--secondary-color);
  transition: transform 0.2s ease-out;
  transform-origin: 200px 180px;
}

.lever-weight-output {
  fill: var(--accent-color);
  transition: transform 0.2s ease-out;
  transform-origin: 200px 180px;
}

.lever-arrow-indicator {
  stroke: var(--accent-color);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 4 4;
  transition: transform 0.2s ease-out;
  transform-origin: 200px 180px;
}

.lever-cracks {
  stroke: #ff4a4a;
  stroke-width: 1.5;
  fill: none;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.slider-container {
  width: 100%;
  text-align: center;
}

.slider-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  display: block;
  font-weight: 600;
}

.gao-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--line-color);
  outline: none;
  margin-bottom: 1.5rem;
}

.gao-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background 0.15s ease;
}

.gao-slider::-webkit-slider-thumb:hover {
  background: var(--accent-hover);
}

.sim-output-box {
  border: 1px solid var(--line-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  background: var(--bg-paper);
  width: 100%;
  text-align: center;
}

.sim-output-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.sim-output-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-color);
}

.sim-output-alert {
  font-size: 0.8rem;
  color: #ff4a4a;
  margin-top: 0.4rem;
  font-weight: 600;
  display: none;
}

/* 7. Gráfico Radar (Pentágono) Section */
.radar-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.radar-chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-paper);
  border: 1px solid var(--line-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  position: relative;
}

.radar-chart-container::before {
  content: 'SKILLS ASSESSMENT // RADAR CHART';
  position: absolute;
  top: 10px;
  left: 15px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}

.svg-radar-chart {
  width: 100%;
  max-width: 450px;
  height: auto;
}

.radar-grid-poly {
  fill: none;
  stroke: var(--line-color);
  stroke-width: 0.5;
}

.radar-axis-line {
  stroke: var(--line-color);
  stroke-dasharray: 2 2;
  stroke-width: 1;
}

.radar-label-text {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 600;
  fill: var(--primary-color);
  text-anchor: middle;
}

.radar-poly-before {
  fill: rgba(78, 117, 150, 0.15);
  stroke: var(--secondary-color);
  stroke-width: 1.5;
  transition: var(--transition-smooth);
}

.radar-poly-after {
  fill: rgba(200, 90, 50, 0.25);
  stroke: var(--accent-color);
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.radar-legend {
  position: absolute;
  bottom: 15px;
  display: flex;
  gap: 1.5rem;
}

.radar-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-before { background-color: var(--secondary-color); }
.legend-after { background-color: var(--accent-color); }

.radar-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.radar-info-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.skills-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.skill-item {
  border: 1px solid var(--line-soft);
  padding: 1rem;
  background: var(--bg-paper);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.skill-item:hover {
  border-color: var(--primary-color);
}

.skill-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.skill-item-bullet {
  color: var(--accent-color);
}

.skill-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

/* 8. Course & Sergio Section */
.course-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.course-schedule-card {
  border: 1px solid var(--line-color);
  background: var(--bg-paper);
  padding: 3rem;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-schedule-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.schedule-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-label {
  font-weight: 600;
  color: var(--primary-color);
}

.schedule-value {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.schedule-value.highlight {
  color: var(--accent-color);
  font-weight: 700;
}

.teacher-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--line-color);
  background: var(--bg-paper);
  padding: 2.5rem;
  border-radius: var(--border-radius);
}

.teacher-photo-wrapper {
  width: 150px;
  height: 150px;
  position: relative;
}

/* technical blueprint photo frame */
.teacher-photo-frame {
  width: 100%;
  height: 100%;
  border: 1px solid var(--secondary-color);
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.teacher-photo-frame::before {
  content: '+';
  position: absolute;
  top: -8px;
  left: -5px;
  color: var(--secondary-color);
  font-family: var(--font-mono);
  font-size: 12px;
}

.teacher-photo-frame::after {
  content: '+';
  position: absolute;
  bottom: -9px;
  right: -5px;
  color: var(--secondary-color);
  font-family: var(--font-mono);
  font-size: 12px;
}

.teacher-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--secondary-color);
  text-align: center;
  padding: 1rem;
}

.teacher-photo-placeholder svg {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  fill: currentColor;
}

.teacher-photo-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.teacher-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.teacher-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  letter-spacing: 0.05em;
}

.teacher-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Learning outcomes banner */
.outcomes-banner {
  border: 1px dashed var(--line-color);
  background-color: rgba(27, 45, 66, 0.01);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.outcomes-banner h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.outcome-card {
  padding: 1rem;
}

.outcome-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 0.8rem;
}

.outcome-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.outcome-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* 9. FAQ Section */
.faq-max-width {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--line-color);
  background: var(--bg-paper);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-question h4 {
  font-size: 1.05rem;
  color: var(--primary-color);
  font-weight: 600;
  padding-right: 1.5rem;
}

.faq-toggle-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--secondary-color);
  transition: var(--transition-smooth);
  user-select: none;
}

.faq-item.active {
  border-color: var(--primary-color);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
}

/* 10. Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line-color);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-color);
}

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

.footer-about h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 3px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1200px) {
  :root {
    --container-width: 960px;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  :root {
    --container-width: 720px;
  }
  section {
    padding: 4rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .btn-group {
    justify-content: center;
  }
  .palestra-box {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .palestra-form-wrap {
    border-left: none;
    border-top: 1px solid var(--line-color);
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .flow-step-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1.5rem;
    padding: 1.2rem;
  }
  .flow-step-num {
    margin: 0;
    flex-shrink: 0;
  }
  .flow-step-card h4 {
    margin-bottom: 0.2rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gao-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .radar-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .course-info-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 540px;
  }
  nav ul {
    display: none; /* In production JavaScript handles mobile toggle drawer */
  }
  .mobile-menu-btn {
    display: block;
  }
  
  /* Mobile Menu Drawer when active */
  nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-paper);
    border-bottom: 1px solid var(--line-color);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 99;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .palestra-info, .palestra-form-wrap {
    padding: 2rem;
  }
  .palestra-details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-about {
    grid-column: span 1;
  }
  .teacher-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .countdown-container {
    justify-content: center;
    flex-wrap: wrap;
  }
  .warning-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .warning-icon {
    justify-self: center;
  }
}

/* ==========================================================================
   Image Styles (Hero and Speaker)
   ========================================================================== */

.hero-blueprint-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border: 1px solid var(--line-color);
  padding: 0.8rem;
  background-color: var(--white);
  box-shadow: 0 15px 35px rgba(27, 45, 66, 0.08);
  position: relative;
  transition: var(--transition-smooth);
  animation: floatImage 6s ease-in-out infinite;
}

.hero-blueprint-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(27, 45, 66, 0.12);
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

