:root {
  --primary: #DF73FF;
  --accent: #F984E5;
  --highlight: #990066;
  --text-dark: #2D3748;
  --text-light: #718096;
  --bg-light: #ffffff;
  --bg-alt: #FDF4FF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 10px 25px rgba(223, 115, 255, 0.15);
  --border-radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
}

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

section {
  padding: 100px 20px;
}

section:nth-child(even) {
  background-color: var(--bg-alt);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--highlight);
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--highlight);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 5px 15px rgba(223, 115, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(223, 115, 255, 0.6);
}

.btn-secondary {
  background: white;
  color: var(--highlight);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 50%, transparent 100%), url('../img/hero-yoga.png') center/cover;
  padding-top: 80px;
}

.hero-content {
  max-width: 600px;
  animation: slideRight 1s ease forwards;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--highlight);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--highlight);
  box-shadow: var(--shadow);
}

.floating-element {
  position: absolute;
  animation: float 4s ease-in-out infinite;
  opacity: 0.6;
}

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

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in { opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease; transform: translateY(30px); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* About Section */
.about {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-img {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

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

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.features-list {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
}

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

/* Slider Section */
.classes-slider {
  text-align: center;
  overflow: hidden;
  position: relative;
}

.classes-slider h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 10px;
}

.class-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.class-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.class-info {
  padding: 20px;
  text-align: left;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

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

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--highlight);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

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

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.accordion-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--highlight);
  background: white;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--bg-alt);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
  padding: 20px;
  max-height: 500px;
}

/* Circular Layout */
.community-section {
  text-align: center;
}

.community-section h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.circle-layout {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.center-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow);
  z-index: 2;
  border: 5px solid white;
}

.circle-item {
  position: absolute;
  background: white;
  padding: 10px 15px;
  border-radius: 30px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--highlight);
  z-index: 3;
  white-space: nowrap;
  transition: var(--transition);
}

.circle-item:hover {
  transform: scale(1.1);
  background: var(--bg-alt);
}

/* Positioning items in circle */
.item-1 { top: -20px; left: 50%; transform: translateX(-50%); }
.item-2 { top: 20%; right: -50px; }
.item-3 { bottom: 20%; right: -30px; }
.item-4 { bottom: -20px; left: 50%; transform: translateX(-50%); }
.item-5 { bottom: 20%; left: -30px; }
.item-6 { top: 20%; left: -50px; }

/* Table */
.comparison-section {
  text-align: center;
}

.comparison-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

th, td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

th {
  background: var(--bg-alt);
  color: var(--highlight);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

td:first-child {
  text-align: left;
  font-weight: 600;
}

.check { color: var(--primary); font-size: 1.2rem; }
.cross { color: #ccc; font-size: 1.2rem; }

/* Pricing */
.pricing-section {
  text-align: center;
}

.pricing-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.pricing-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px 20px;
  width: 280px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(223, 115, 255, 0.2);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--highlight), var(--primary));
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--highlight);
  margin: 20px 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin: 20px 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* Calculator */
.calculator-section {
  text-align: center;
  background: var(--bg-alt);
}

.calc-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.slider-container {
  margin: 30px 0;
}

input[type=range] {
  width: 100%;
  accent-color: var(--primary);
}

.radio-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}

.radio-group label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.calc-result {
  font-size: 2rem;
  font-weight: bold;
  color: var(--highlight);
  margin: 20px 0;
}

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

.selling-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.selling-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.selling-text p:first-of-type::first-letter {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--primary);
  float: left;
  margin-right: 10px;
  line-height: 1;
}

.pull-quote {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--highlight);
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 30px 0;
}

/* Infographic */
.infographic-section {
  text-align: center;
}

.diagram-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.diagram-item {
  width: 150px;
  text-align: center;
}

.circle-chart {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) calc(var(--percent) * 1%), #eee 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
}

.circle-chart::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
}

.chart-value {
  position: relative;
  z-index: 1;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--highlight);
}

/* Gallery */
.gallery-section {
  text-align: center;
}

.hr-line {
  height: 1px;
  background: #eee;
  margin: 30px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Testimonials */
.testimonials-section {
  background: var(--bg-alt);
  text-align: center;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.test-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.test-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #FFD700;
  margin-bottom: 15px;
}

/* Form */
.form-section {
  background: linear-gradient(135deg, var(--bg-alt), white);
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(223, 115, 255, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 20px;
}

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

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 2;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-btns {
  display: flex;
  gap: 10px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.modal-content {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
}

.toggle-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.5rem; }
  .about { flex-direction: column; }
  .circle-layout { width: 300px; height: 300px; }
  .center-photo { width: 200px; height: 200px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: 0.3s ease;
  }
  nav ul.active { left: 0; }
  .hero-btns { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .pricing-cards { flex-direction: column; align-items: center; }
  section { padding: 60px 20px; }
  
  .item-1, .item-2, .item-3, .item-4, .item-5, .item-6 {
    position: static;
    transform: none;
    margin: 10px;
    display: inline-block;
  }
  .circle-layout { height: auto; text-align: center; }
  .center-photo { position: relative; transform: none; top: 0; left: 0; margin-bottom: 20px; }
}
