@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CUSTOM PROPERTIES --- */
:root {
  /* Color Palette - Lighter, Brighter, Warmer */
  --bg-base: hsl(35, 35%, 98%);
  --bg-surface: hsl(35, 30%, 94%);
  --bg-surface-elevated: hsl(35, 25%, 90%);
  
  --primary: hsl(14, 85%, 57%);
  --primary-glow: rgba(238, 76, 35, 0.15);
  --primary-hover: hsl(14, 90%, 63%);
  
  --secondary: hsl(168, 60%, 35%);
  --secondary-glow: rgba(36, 143, 122, 0.15);
  --secondary-hover: hsl(168, 70%, 42%);
  
  --accent: hsl(28, 90%, 55%);
  
  --text-primary: hsl(30, 25%, 15%);
  --text-secondary: hsl(30, 15%, 32%);
  --text-muted: hsl(30, 10%, 48%);
  
  --border-light: rgba(30, 25, 15, 0.08);
  --border-focus: hsla(168, 60%, 35%, 0.5);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Layout & Spacing */
  --container-max: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Blur & Shadows */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(30, 25, 15, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(120, 100, 80, 0.12);
  --shadow-glow: 0 0 30px var(--primary-glow);
}

/* --- RESET & ACCESSIBILITY --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background grid glow effects */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 15%, hsla(14, 85%, 57%, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, hsla(38, 92%, 50%, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 50% -10%, hsla(168, 60%, 35%, 0.05) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* Accessible focus styling */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

/* --- REUSABLE COMPONENTS --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(30, 25, 15, 0.15);
  transform: translateY(-4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 10px 25px -5px var(--primary-glow);
}

.btn-primary:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 15px 30px -5px var(--primary-glow);
}

.btn-secondary {
  background: rgba(30, 25, 15, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(30, 25, 15, 0.06);
  border-color: var(--text-secondary);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(30, 25, 15, 0.1);
}

.badge-teal {
  background: rgba(168, 60, 35, 0.1);
  color: var(--secondary);
  border-color: rgba(168, 60, 35, 0.2);
}

.badge-indigo {
  background: rgba(14, 85, 57, 0.08);
  color: var(--primary);
  border-color: rgba(14, 85, 57, 0.2);
}

/* Section Common Styling */
section {
  padding: 7rem 0;
  position: relative;
}

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

.section-header p {
  font-size: 1.15rem;
  margin-top: 1rem;
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(120, 100, 80, 0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.signature-header-badge {
  height: 52px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-left: 2px solid var(--border-color);
  padding-left: 0.85rem;
}

.footer-signature-badge {
  height: 50px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 0.75rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .signature-header-badge {
    height: 38px;
    padding-left: 0.5rem;
  }
}

.logo-icon {
  width: 32px;
  height: 32px;
  stroke: var(--secondary);
  stroke-width: 2;
  fill: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.25rem; /* Reduced gap to accommodate more items */
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem; /* Slightly smaller for cleaner spacing */
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
  white-space: nowrap; /* Prevent menu items from wrapping to 2 lines */
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition-smooth);
}

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

.nav-link.active {
  color: var(--secondary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.5rem;
}

/* --- HERO SECTION --- */
#hero {
  padding-top: 6.25rem;
  padding-bottom: 3.5rem;
  display: flex;
  align-items: center;
}

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

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(30, 25, 15, 0.02);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: 100px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 2s infinite;
}

.hero-tag span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  width: 100%;
}

.stat-item h4 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  width: 100%;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Floating overlay cards */
.floating-overlay-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 30px rgba(120, 100, 80, 0.1);
  animation: float 4s ease-in-out infinite;
}

.floating-overlay-card.left {
  bottom: -20px;
  left: -20px;
  animation-delay: 0s;
}

.floating-overlay-card.right {
  top: -20px;
  right: -20px;
  animation-delay: 2s;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, 0.15);
  color: var(--secondary);
}

.floating-overlay-card.right .card-icon {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-hover);
}

.card-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- COURSE OVERVIEW --- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.overview-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-top {
  margin-bottom: 2rem;
}

.card-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  margin-bottom: 1rem;
  text-align: right;
  transition: var(--transition-smooth);
}

.overview-card:hover .card-num {
  color: rgba(13, 148, 136, 0.1);
  transform: scale(1.1);
}

.card-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(30, 25, 15, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.overview-card h3 {
  margin-bottom: 0.75rem;
}

.card-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.card-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.card-meta-list li svg {
  width: 16px;
  height: 16px;
  stroke: var(--secondary);
}

/* --- TUTOR PROFILE (NATALIE) --- */
.tutor-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.tutor-visual {
  position: relative;
}

.tutor-image-container {
  aspect-ratio: 1/1;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.tutor-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutor-visual::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  border: 2px dashed rgba(13, 148, 136, 0.3);
  z-index: 1;
}

.tutor-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tutor-bio h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tutor-title {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.tutor-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.highlight-box {
  background: rgba(30, 25, 15, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.highlight-box:hover {
  background: rgba(30, 25, 15, 0.04);
  border-color: rgba(30, 25, 15, 0.1);
  transform: translateY(-2px);
}

.highlight-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.05em;
}

.highlight-desc {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- INTERACTIVE WIDGET --- */
#interactive {
  position: relative;
  overflow: hidden;
}

.widget-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.widget-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget-header {
  text-align: center;
}

.widget-header p {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.widget-interface {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.widget-display {
  background: hsl(35, 25%, 93%);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 4px 20px rgba(120, 100, 80, 0.08);
}

.widget-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(30, 25, 15, 0.01) 0%, transparent 100%);
  pointer-events: none;
}

.display-sign-placeholder {
  width: 160px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-bounce);
}

.display-sign-placeholder svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--secondary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px var(--secondary-glow));
  transition: var(--transition-bounce);
}

.display-letter {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 1rem;
  text-transform: uppercase;
}

.widget-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-container {
  position: relative;
}

.widget-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  background: rgba(30, 25, 15, 0.02);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.widget-input:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(30, 25, 15, 0.04);
  box-shadow: 0 0 0 4px var(--secondary-glow);
}

.widget-input::placeholder {
  color: var(--text-muted);
}

.widget-keyboard {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.key-btn {
  background: rgba(30, 25, 15, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.key-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--primary-glow);
}

.key-btn.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
  transform: scale(0.95);
  box-shadow: 0 0 10px var(--secondary-glow);
}

/* --- ENQUIRY FORM & FAQs --- */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: rgba(30, 25, 15, 0.02);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(30, 25, 15, 0.04);
  box-shadow: 0 0 0 4px var(--secondary-glow);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233a322c'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 16px;
  padding-right: 3rem;
}

select.form-control option {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

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

.submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  margin-top: 0.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--secondary);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
}

/* Form success overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.form-success-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(168, 60, 35, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

/* --- FOOTER --- */
footer {
  background: hsl(30, 25%, 10%);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem 0;
}

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

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-about p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links-col h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

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

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

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* --- KEYFRAME ANIMATIONS --- */
@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 14px var(--secondary-glow);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

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

/* --- PRICING PLANS --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto 4rem auto;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 2.5rem 3rem 2.5rem;
  overflow: hidden;
}

.pricing-card.pricing-accent {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 45px -15px rgba(238, 76, 35, 0.15);
}

.pricing-badge {
  position: absolute;
  top: 1.25rem;
  right: -2.75rem;
  background: var(--secondary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 3rem;
  transform: rotate(45deg);
  text-align: center;
}

.pricing-badge.accent {
  background: var(--primary);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.price-container {
  display: flex;
  align-items: baseline;
  margin: 2rem 0 0.25rem 0;
}

.price-currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-value {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.price-installment {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary);
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
}

/* Workshop Banner */
.pricing-workshop-banner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem;
}

.workshop-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(168, 60, 35, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.workshop-icon svg {
  width: 30px;
  height: 30px;
}

.workshop-content {
  flex-grow: 1;
}

.workshop-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.workshop-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  /* Mobile menu rules shifted to 1024px to prevent link wrapping */
  header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
  }
  
  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: hsl(35, 30%, 94%);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    display: none;
    box-shadow: 0 10px 20px rgba(120, 100, 80, 0.08);
  }
  
  .nav-menu.show {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-graphic {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .tutor-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .tutor-visual {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pricing-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .widget-interface {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .widget-display {
    aspect-ratio: 16/9;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-workshop-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .pricing-workshop-banner .btn {
    width: 100%;
  }
}
