/* Base */
:root {
  --bg: #0f1226;
  --bg-alt: #121635;
  --card: #181c3f;
  --text: #eef0ff;
  --muted: #b2b6d4;
  --primary: #6c7cff;
  --primary-700: #5666ff;
  --accent: #ff6b9f;
  --success: #4ade80;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,0.25);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 110% -10%, rgba(108,124,255,0.15), transparent),
              radial-gradient(900px 500px at -10% 20%, rgba(255,107,159,0.12), transparent),
              var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.muted { color: var(--muted); }
.img-fallback { filter: grayscale(10%) contrast(90%); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,18,38,0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-weight: 800; letter-spacing: 0.5px; color: var(--text); text-decoration: none; font-size: 20px; background: linear-gradient(90deg, #c1c7ff, #ff96c4, #9bf8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; opacity: 0.9; }
.nav a:hover { opacity: 1; }
.nav-toggle { display: none; background: none; color: var(--text); font-size: 22px; border: 0; }

/* Hero */
.hero { padding: 96px 0 64px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.hero-copy h1 { font-size: 44px; line-height: 1.1; margin: 0 0 12px; }
.hero-copy p { color: var(--muted); margin: 0 0 24px; }
.hero-ctas { display: flex; gap: 12px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.hero-chips li { border: 1px solid rgba(255,255,255,0.16); color: #e9ecff; opacity: 0.9; padding: 6px 10px; border-radius: 999px; font-size: 12px; }
.hero-chips .chip-badge { background: linear-gradient(135deg, rgba(108,124,255,0.18), rgba(255,107,159,0.18)); border-color: rgba(255,255,255,0.22); color: #ffffff; }
.hero-art { position: relative; height: 320px; }
.hero-img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow); }
.blob { position: absolute; filter: blur(34px); opacity: 0.55; border-radius: 50%; mix-blend-mode: screen; animation: float 10s ease-in-out infinite; }
.blob.b1 { width: 260px; height: 260px; left: 10%; top: 14%; background: radial-gradient(circle at 30% 30%, #6c7cff, #4b57ff); animation-delay: 0s; }
.blob.b2 { width: 220px; height: 220px; right: 5%; top: 0; background: radial-gradient(circle at 40% 30%, #ff6b9f, #ff3e84); animation-delay: 1s; }
.blob.b3 { width: 180px; height: 180px; right: 20%; bottom: 2%; background: radial-gradient(circle at 50% 40%, #7cf5ff, #45d3e6); animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); }
.section-title { font-size: 28px; margin: 0 0 22px; }

/* Cards */
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.14); }
.card h3 { margin: 10px 0 8px; font-size: 20px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.thumb { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); transition: transform .25s ease; }
.card:hover .thumb { transform: scale(1.03); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 22px; position: relative; margin: 8px 0; }
.checklist li::before { content: "✓"; color: var(--success); position: absolute; left: 0; }

/* Schedule */
.schedule { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; }
.schedule-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; }
.schedule-head { background: rgba(255,255,255,0.05); font-weight: 600; }
.schedule-row > div { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.schedule-row:nth-child(even) { background: rgba(255,255,255,0.03); }

/* Pricing */
.card.price { position: relative; }
.card.price .price-tag { font-size: 36px; margin: 10px 0; font-weight: 800; }
.card.price .currency { opacity: 0.8; font-size: 20px; margin-right: 2px; }
.card.price.featured { border-color: rgba(108,124,255,0.6); box-shadow: 0 12px 40px rgba(108,124,255,0.25); }
.card.price .badge { position: absolute; top: -10px; right: 12px; background: var(--primary); color: white; font-size: 12px; padding: 4px 8px; border-radius: 999px; }

/* Pricing Cards - Improve readability */
#pricing .card .btn {
  background: linear-gradient(135deg, var(--primary), #8793ff);
  color: white;
  border: none;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(108, 124, 255, 0.3);
}
#pricing .card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 124, 255, 0.4);
  color: white;
}

/* Instructor redesigned */
.instructor-card { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.portrait { width: 160px; height: 160px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255,255,255,0.08); }
.instructor-name { margin: 0 0 6px; font-size: 22px; }
.instructor-tagline { margin: 0 0 10px; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.badge { background: rgba(108,124,255,0.15); color: #cfd5ff; border: 1px solid rgba(108,124,255,0.45); padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 8px 0 12px; }
.highlight-num { font-size: 20px; font-weight: 800; }
.highlight-label { color: var(--muted); font-size: 12px; }
.quote { margin: 6px 0 0; color: #dfe3ff; font-style: italic; border-left: 3px solid var(--primary); padding-left: 10px; }

/* Instructors */
.instructor { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: grid; place-items: center; font-weight: 800; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: transform 0.05s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #8793ff); color: white; border-color: rgba(255,255,255,0.12); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.16); }
.btn-small { padding: 8px 12px; border-radius: 10px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); box-shadow: var(--shadow); }

/* Contact */
#contact .card a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
#contact .card a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #25d366, #1db954);
  color: white !important;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  margin-top: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  color: white !important;
}

/* FAQ Enhanced Styling */
.faq {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq details {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 0;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}

.faq details:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.12);
}

.faq details[open] {
  border-color: rgba(108,124,255,0.3);
  box-shadow: 0 8px 30px rgba(108,124,255,0.15);
}

.faq summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  position: relative;
  transition: all 0.3s ease;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq details[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
  color: var(--accent);
}

.faq summary:hover {
  background: rgba(255,255,255,0.03);
  color: #ffffff;
}

.faq details[open] summary {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.faq details p {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

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

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 28px 0; background: rgba(0,0,0,0.2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 260px; }
}
@media (max-width: 760px) {
  .cards.three { grid-template-columns: 1fr; }
  .nav { position: fixed; inset: 56px 0 auto 0; background: rgba(15,18,38,0.97); padding: 14px; flex-direction: column; transform: translateY(-16px); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav-toggle { display: inline-block; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 150px; }
  .instructor-card { grid-template-columns: 100px 1fr; }
  .portrait { width: 100px; height: 100px; }
  
  .faq summary {
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .faq summary::after {
    right: 20px;
  }
  
  .faq details p {
    padding: 0 20px 20px;
  }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 180px; }
}
