:root {
  --purple: #8b5cf6;
  --purple-dark: #7c3aed;
  --pink: #ec4899;
  --pink-dark: #db2777;
  --dark: #1e1b4b;
  --text: #6b7280;
  --text-dark: #374151;
  --bg: #faf5ff;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--purple), var(--pink));
  --shadow: 0 25px 60px rgba(139, 92, 246, 0.2);
  --radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--dark);
  line-height: 1.15;
}

/* Navbar */
.navbar {
  padding: 1.25rem 0;
  transition: all 0.4s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(139, 92, 246, 0.08);
}

.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark) !important;
}

.navbar-brand span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  font-size: 0.9rem;
}

.btn-gradient {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.35s;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.45);
  color: white;
}

.btn-outline-purple {
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.35s;
}

.btn-outline-purple:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}

.hero-blob.one {
  width: 500px;
  height: 500px;
  background: var(--purple);
  top: -10%;
  right: -5%;
  opacity: 0.15;
}

.hero-blob.two {
  width: 400px;
  height: 400px;
  background: var(--pink);
  bottom: 0;
  left: -10%;
  opacity: 0.12;
}

.hero-content { position: relative; z-index: 1; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
  margin-bottom: 1.5rem;
}

.hero-chip .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 2rem;
  color: var(--text);
}

.hero-visual {
  position: relative;
}

.hero-img-main {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-class-card {
  position: absolute;
  background: white;
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-class-card.top {
  top: 10%;
  left: -5%;
  animation: float 4s ease-in-out infinite;
}

.hero-class-card.bottom {
  bottom: 12%;
  right: -3%;
  animation: float 4s ease-in-out infinite 1.5s;
}

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

.class-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

/* Marquee */
.marquee {
  background: var(--gradient);
  color: white;
  padding: 1rem 0;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-inner span {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
section { padding: 110px 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

/* Classes */
.class-grid-item {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s;
  height: 100%;
}

.class-grid-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.class-grid-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.class-grid-body { padding: 1.75rem; }

.class-tag {
  display: inline-block;
  background: var(--bg);
  color: var(--purple);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.class-grid-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.class-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text);
}

.class-meta i { color: var(--pink); }

/* Schedule */
.schedule { background: var(--bg); }

.schedule-day {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.schedule-day h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg);
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
}

.schedule-item .time {
  font-weight: 700;
  color: var(--purple);
}

/* Instructors */
.instructor-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: white;
  transition: all 0.4s;
  border: 2px solid transparent;
}

.instructor-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
}

.instructor-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 3px solid transparent;
  background: var(--gradient);
  padding: 3px;
}

.instructor-card h4 { font-size: 1.15rem; }

.instructor-specialty {
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Pricing */
.price-pulse {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid #f3f4f6;
  transition: all 0.4s;
  height: 100%;
}

.price-pulse:hover,
.price-pulse.popular {
  border-color: var(--purple);
  box-shadow: var(--shadow);
}

.price-pulse.popular { transform: scale(1.04); }

.price-pulse .amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-pulse .amount small {
  font-size: 1rem;
  -webkit-text-fill-color: var(--text);
}

.price-list {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.price-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.price-list li i { color: var(--purple); }

/* Testimonials */
.testimonial-pulse {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-pulse .quote {
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-pulse img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

/* CTA */
.cta-pulse {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 5rem 3rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-pulse::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -50px;
}

.cta-pulse h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

/* Contact */
.contact-form-pulse {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-pulse .form-control {
  border: 2px solid #f3f4f6;
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  background: var(--bg);
}

.contact-form-pulse .form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
  background: white;
}

/* Footer */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
}

footer h5 {
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover { color: var(--pink); }

/* Animations */
.slide-up {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 991px) {
  .hero-img-main { height: 420px; }
  .hero-class-card { display: none; }
  .price-pulse.popular { transform: none; }
}

@media (max-width: 576px) {
  section { padding: 80px 0; }
  .cta-pulse { padding: 3rem 1.5rem; }
}
