:root {
  --primary: #F664AF;
  --primary-rgb: 246, 100, 175;
  --accent: #FF0066;
  --highlight: #32CD32;
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-light: #1e1e1e;
  --text: #ffffff;
  --text-muted: #aaaaaa;
  --border: #333333;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

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

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

/* Layout Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: flex-start;
}

.logo span {
  font-size: 0.8rem;
  color: var(--primary);
  margin-left: 2px;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(246, 100, 175, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./images/pilates-hero.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.2) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(246, 100, 175, 0.2);
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  animation: float 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Block 1: How-to & Mini Prices & Form */
.step-map {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
}

.step-map::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--surface));
  z-index: 0;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
}

.step-icon {
  width: 50px;
  height: 50px;
  background-color: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-muted);
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.mini-card {
  background-color: var(--surface);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.mini-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(246, 100, 175, 0.1);
}

.mini-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  background-color: var(--primary);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

.mini-card.popular .mini-badge { background-color: var(--accent); }
.mini-card.value .mini-badge { background-color: var(--highlight); }
.mini-card.popular { border-color: rgba(255, 0, 102, 0.5); }
.mini-card.value { border-color: rgba(50, 205, 50, 0.5); }

.booking-form {
  background-color: var(--surface);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(246, 100, 175, 0.2);
}

.btn-full {
  width: 100%;
  padding: 1rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16/9;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  font-size: 1.2rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 20, 20, 0.5);
  border: 1px solid var(--border);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active { background-color: var(--primary); }

/* Accordion FAQ */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
}

.accordion-content p {
  padding-bottom: 1.5rem;
}

/* Circular About Section */
.about-circular {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 1/1;
}

.about-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface);
  box-shadow: 0 0 40px rgba(246, 100, 175, 0.2);
}

.about-badge {
  position: absolute;
  background: var(--surface);
  padding: 0.8rem 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite alternate;
}

.about-badge:nth-child(2) { top: 10%; left: -10%; animation-delay: 0s; }
.about-badge:nth-child(3) { top: 50%; right: -15%; animation-delay: 1s; }
.about-badge:nth-child(4) { bottom: 10%; left: 0%; animation-delay: 2s; }
.about-badge:nth-child(5) { bottom: -5%; right: 20%; animation-delay: 1.5s; }

/* Schedule Table */
.table-wrapper {
  overflow-x: auto;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.schedule-table th,
.schedule-table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.schedule-table th {
  background: var(--surface-light);
  color: var(--text-muted);
  font-weight: 500;
}

.schedule-table tr:last-child td { border-bottom: none; }

.schedule-table tr:hover { background: rgba(255,255,255,0.02); }

.level-beginner { color: var(--highlight); }
.level-intermediate { color: #3b82f6; }
.level-advanced { color: var(--primary); }
.seats-low { color: var(--accent); font-weight: bold; }

/* Full Price Cards */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.price-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(246, 100, 175, 0.15);
}

.price-card.value {
  border-color: var(--highlight);
}

.price-card.premium {
  background: linear-gradient(145deg, var(--surface) 0%, #1a0f16 100%);
  border-color: #4a3b45;
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.badge-pink { background: var(--primary); color: white; }
.badge-green { background: var(--highlight); color: #000; }

.price-header { text-align: center; margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.price-title { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1rem; }
.price-amount { font-size: 2.5rem; font-weight: bold; margin-bottom: 0.5rem; }
.price-meta { font-size: 0.9rem; color: var(--text-muted); }

.price-features { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.price-features li { margin-bottom: 1rem; display: flex; gap: 0.5rem; }
.price-features li::before { content: '✓'; color: var(--primary); }
.price-card.value .price-features li::before { color: var(--highlight); }

/* Calculator */
.calc-container {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.calc-row {
  margin-bottom: 2rem;
}

.calc-label {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  background: var(--surface-light);
  border-radius: 3px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-val-display {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  text-align: center;
  margin-top: 1rem;
}

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

.radio-label {
  flex: 1;
  min-width: 150px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.radio-label input { display: none; }
.radio-label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(246, 100, 175, 0.1);
}

.calc-result {
  background: var(--bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--primary);
}

.result-price { font-size: 3rem; font-weight: bold; color: white; margin: 1rem 0; }
.result-meta { color: var(--text-muted); font-size: 0.9rem; }
.result-saving { color: var(--highlight); margin-top: 1rem; font-weight: bold; }

/* Selling Text */
.selling-text {
  max-width: 800px;
  margin: 0 auto;
}

.pull-quote {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--primary);
  font-style: italic;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.4;
}

.selling-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.selling-content p:first-of-type::first-letter {
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  color: var(--primary);
}

/* Infographic */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.info-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-stat {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Photo Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 9/16;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 2rem 1rem 1rem;
  font-size: 0.9rem;
}

.separator {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
  width: 100%;
}

/* Reviews */
.reviews-wrapper {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.reviews-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.review-card {
  min-width: calc(33.333% - 1.33rem);
  background: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.review-stars { color: #ffd700; margin-bottom: 1rem; }
.review-text { font-style: italic; margin-bottom: 1.5rem; color: #ccc; }
.review-author { font-weight: bold; color: var(--primary); font-size: 0.9rem; }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(246, 100, 175, 0.2) 100%);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Footer */
.footer {
  background: var(--surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: white; }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--surface);
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-banner.show { transform: translateY(0); }
.cookie-text { flex: 1; font-size: 0.9rem; color: var(--text-muted); }
.cookie-btns { display: flex; gap: 1rem; }

/* Thanks Page */
.thanks-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: white;
  animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 8rem auto 4rem;
  background: var(--surface);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.legal-content h1 { margin-bottom: 2rem; }
.legal-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.legal-content p { margin-bottom: 1rem; color: var(--text-muted); }

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

@keyframes scale-up {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
  .about-circular { grid-template-columns: 1fr; }
  .review-card { min-width: calc(50% - 1rem); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    padding: 2rem 0;
    clip-path: circle(0 at top right);
    transition: clip-path 0.4s ease;
  }

  .nav-links.open { clip-path: circle(150% at top right); }
  .hamburger { display: block; }
  .nav .btn { display: none; }
  
  .review-card { min-width: 100%; }
  
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-btns { flex-wrap: wrap; justify-content: center; }
  
  .calc-container { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.5rem; }
  .price-card { padding: 1.5rem; }
  .about-badge { position: static; display: inline-block; margin: 0.5rem; animation: none; }
  .about-visual { margin-bottom: 2rem; }
}
