/* 
   Essence Pilates - Premium Landing Page Design System
   Author: Senior Site Creation Expert
   Description: Sophisticated, minimal, and high-converting styles using HSL tailored colors.
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens / Custom Properties --- */
:root {
  /* Color Palette (HSL Under Measure) */
  --bg-primary: hsl(30, 35%, 97%);      /* Warm Ivory */
  --bg-secondary: hsl(30, 25%, 93%);    /* Soft Sand */
  --bg-tertiary: hsl(30, 20%, 88%);     /* Warm Cream */
  --bg-dark: hsl(30, 15%, 12%);         /* Warm Charcoal Deep */
  
  --color-primary: hsl(33, 35%, 43%);    /* Essence Champagne Bronze */
  --color-primary-light: hsl(33, 40%, 65%);
  --color-primary-dark: hsl(33, 35%, 33%);
  --color-text-dark: hsl(30, 15%, 15%);  /* Rich Charcoal Text */
  --color-text-muted: hsl(30, 10%, 45%); /* Soft Muted Taupe */
  --color-border: hsl(30, 20%, 86%);
  --color-white: #ffffff;
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --header-height: 80px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Shadows */
  --shadow-subtle: 0 4px 20px -2px rgba(45, 38, 32, 0.05);
  --shadow-medium: 0 12px 30px -4px rgba(45, 38, 32, 0.08);
  --shadow-premium: 0 30px 60px -15px rgba(45, 38, 32, 0.12);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

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

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

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

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

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

button, input, select {
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
}

ul {
  list-style: none;
}

/* Custom Selection Colors */
::selection {
  background-color: var(--color-primary-light);
  color: var(--color-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* --- Layout Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

/* --- Typography Utilities --- */
.h1, .h2, .h3, .h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

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

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- Custom Premium Components --- */

/* Primary Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-subtle);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.6s;
}

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

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

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

.mobile-nav-cta {
  display: none;
}

/* Glassmorphism Elements */
.glass-panel {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.header.scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-subtle);
}

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

/* Logo Design */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.1rem;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

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

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

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  position: relative;
  background: radial-gradient(circle at 80% 20%, hsl(33, 40%, 93%) 0%, var(--bg-primary) 60%);
  overflow: hidden;
}

/* Background floating decorative circles */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211,196,180,0.2) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-inset);
}

.hero-tag span {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
}

.hero-title span {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--color-primary);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* Trust Badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

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

.trust-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* Hero Image Container */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-container {
  width: 100%;
  max-width: 460px;
  height: 560px;
  position: relative;
  z-index: 2;
  border-radius: 120px 120px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 12px solid var(--color-white);
}

.hero-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(45,38,32,0.1) 0%, transparent 40%);
  z-index: 1;
}

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

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

/* Decorative frame behind image */
.hero-image-frame {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-primary-light);
  border-radius: 120px 120px 0 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* Floating badge */
.hero-badge {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 250px;
  border: 1px solid var(--color-border);
  animation: float 6s ease-in-out infinite;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.hero-badge-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.hero-badge-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.1rem;
}

/* --- PHILOSOPHY SECTION --- */
.philosophy {
  background-color: var(--bg-secondary);
  position: relative;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.philosophy-card {
  background-color: var(--color-white);
  padding: 3.5rem 2.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

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

.philosophy-card:hover::before {
  transform: scaleX(1);
}

.philosophy-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  transition: var(--transition-fast);
}

.philosophy-card:hover .philosophy-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: rotate(5deg);
}

.philosophy-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.philosophy-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- METHODOLOGY SECTION --- */
.methodology-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.methodology-image-wrapper {
  position: relative;
}

.methodology-image-container {
  border-radius: 200px 30px 200px 30px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 10px solid var(--color-white);
  height: 520px;
}

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

.methodology-badge {
  position: absolute;
  top: -30px;
  right: -30px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: 50%;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  box-shadow: var(--shadow-medium);
  animation: rotateSlow 20s linear infinite;
}

.methodology-badge span {
  font-size: 0.7rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
  font-weight: 600;
  opacity: 0.8;
}

.methodology-content h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin-bottom: 2rem;
}

.methodology-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

/* Elegant Accordion/List of Benefits */
.methodology-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--color-border);
}

.benefit-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.benefit-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-primary);
  font-weight: 500;
  width: 40px;
  height: 40px;
  background-color: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.4rem;
}

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

/* --- EXPERIENCES (CLASSES) SECTION --- */
.classes {
  background-color: var(--bg-secondary);
}

.classes-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.tab-nav {
  background: var(--bg-primary);
  padding: 0.5rem;
  border-radius: 50px;
  display: inline-flex;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-inset);
}

.tab-btn {
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--color-text-muted);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-subtle);
}

.classes-wrapper {
  position: relative;
  overflow: hidden;
}

.class-panel {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
  animation: fadeIn 0.6s ease forwards;
}

.class-panel.active {
  display: grid;
}

.class-img-container {
  border-radius: 30px;
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(255,255,255,0.6);
}

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

.class-info h3 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.class-focus {
  display: inline-block;
  background-color: var(--bg-tertiary);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.class-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
  margin-bottom: 3rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.feature-pill-icon {
  color: var(--color-primary);
  font-size: 1.1rem;
  width: 24px;
  height: 24px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-pill span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

/* --- INTERACTIVE MATCHING WIDGET --- */
.matching-widget {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.widget-container-box {
  background-color: var(--bg-dark);
  background-image: url('assets/abstract_bg.png');
  background-size: cover;
  background-position: center;
  border-radius: 40px;
  padding: 5rem 4rem;
  color: var(--color-white);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.widget-container-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(45,38,32,0.7) 0%, rgba(20,18,16,0.95) 80%);
  z-index: 1;
}

.widget-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.widget-intro h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.widget-intro p {
  color: var(--bg-tertiary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Wizard Flow Styles */
.wizard-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.wizard-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.progress-bar-container {
  flex-grow: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 33.3%;
  background-color: var(--color-primary-light);
  transition: var(--transition-smooth);
}

.progress-step {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wizard-step {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.wizard-step.active {
  display: block;
}

.step-question {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--color-white);
}

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

.option-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 1.8rem;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: var(--transition-fast);
}

.option-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.option-card.selected {
  background: rgba(211, 196, 180, 0.12);
  border-color: var(--color-primary-light);
  box-shadow: 0 0 15px rgba(211, 196, 180, 0.15);
}

.option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.option-card.selected .option-radio {
  border-color: var(--color-primary-light);
}

.option-card.selected .option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
}

.option-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--bg-primary);
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
}

.btn-prev {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.8rem 1.5rem;
  transition: var(--transition-fast);
}

.btn-prev:hover {
  color: var(--color-white);
}

/* Results Custom Frame */
.result-card-display {
  text-align: center;
}

.result-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary-light);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: inline-block;
}

.result-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.result-description {
  color: var(--bg-tertiary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.result-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.result-cta-btn {
  background-color: var(--color-primary-light);
  color: var(--bg-dark);
}

.result-cta-btn:hover {
  background-color: var(--color-white);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.result-cta-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- SOCIAL PROOF / TESTIMONIALS --- */
.testimonials {
  background-color: var(--bg-primary);
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 3rem 2.2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-primary-light);
}

.quote-icon {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.1;
  color: var(--bg-secondary);
  position: absolute;
  top: 35px;
  left: 20px;
  pointer-events: none;
  font-style: italic;
  font-weight: bold;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
}

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

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

.stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary-light);
  font-size: 0.8rem;
}

/* --- FAQ SECTION --- */
.faq {
  background-color: var(--bg-secondary);
}

.faq-layout {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-card {
  background-color: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  padding: 1.8rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  padding-right: 1.5rem;
}

.faq-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.faq-icon-wrapper i {
  transition: transform 0.4s ease;
  display: inline-block;
  font-style: normal;
  font-weight: 300;
  font-size: 1.2rem;
}

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

.faq-content-inner {
  padding: 0 2.2rem 2.2rem 2.2rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* FAQ Active State */
.faq-card.active {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-medium);
}

.faq-card.active .faq-icon-wrapper {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.faq-card.active .faq-icon-wrapper i {
  transform: rotate(45deg);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--bg-dark);
  color: var(--bg-primary);
  padding: 6rem 0 3rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo .logo-main {
  color: var(--bg-primary);
}

.footer-logo .logo-sub {
  color: var(--color-primary-light);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--bg-tertiary);
  margin-top: 1.5rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--color-primary-light);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

.footer-nav-col h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.8rem;
  color: var(--color-white);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--bg-tertiary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary-light);
  padding-left: 5px;
}

.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.8rem;
  color: var(--color-white);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: var(--bg-tertiary);
}

.contact-item-row {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  color: var(--color-primary-light);
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

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

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

/* --- SCROLL ANIMATIONS REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- ANIMATION KEYFRAMES --- */
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

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

@keyframes rotateSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
    width: 100%;
  }
  
  .hero-image-wrapper {
    margin-top: 2rem;
  }
  
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .methodology-image-wrapper {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .class-panel {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .class-img-container {
    height: 350px;
  }
  
  .widget-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-trust {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-badge {
    left: 10px;
    bottom: 20px;
    padding: 1rem;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  
  .widget-container-box {
    padding: 3rem 2rem;
  }
  
  .wizard-card {
    padding: 2rem 1.5rem;
  }
  
  .step-question {
    font-size: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  /* Mobile Navigation Hamburger */
  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 8rem 3rem 3rem 3rem;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  /* hamburger transformation when open */
  .mobile-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .header-cta {
    display: none; /* Hide top right header CTA on mobile, hero action handles it */
  }
  
  .mobile-nav-cta {
    display: flex;
    width: 100%;
    margin-top: 2rem;
  }
}

@media (max-width: 1100px) and (min-width: 993px) {
  .nav-menu {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.8rem;
  }
}
