/* ====== RESET ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:        #0d0d12;
    --bg-2:      #14141c;
    --bg-3:      #1a1a26;
    --fg:        #f0f0f5;
    --muted:     #8a8a9a;
    --accent:    #ff2e63;
    --accent-2:  #08d9d6;
    --accent-3:  #eaeaea;
    --card:      #1a1a26;
    --border:    rgba(255,255,255,0.08);
    --radius:    16px;
    --maxw:      1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ====== UTILITY ====== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.section-label {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em;
    color: var(--accent); margin-bottom: 1rem; font-weight: 600; text-align: center;
}
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700;
    letter-spacing: -0.02em; margin-bottom: 1.5rem; text-align: center;
}
.section-title span { color: var(--accent); }
.section-title em { color: var(--accent-2); font-style: normal; }
.section-sub {
    color: var(--muted); text-align: center; max-width: 600px;
    margin: 0 auto 3.5rem; font-size: 1.05rem;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-block; padding: 1rem 2.5rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
    transition: all 0.3s ease; cursor: pointer; border: none; text-transform: uppercase;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff4a7a; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,46,99,0.4); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-3px); }
.btn-cyan { background: var(--accent-2); color: var(--bg); }
.btn-cyan:hover { background: #0eebe8; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(8,217,214,0.3); }

/* ====== NAV ====== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(13,13,18,0.85); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 1.2rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.3rem;
    letter-spacing: -0.02em; color: var(--fg);
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: var(--muted); font-size: 0.85rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 1.5rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--fg); font-size: 1.5rem; }

/* ====== HERO ====== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,46,99,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(8,217,214,0.08) 0%, transparent 50%),
                var(--bg);
}
.hero-bg-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    font-family: 'Poppins', sans-serif; font-size: 28vw; font-weight: 900;
    color: rgba(255,255,255,0.02); white-space: nowrap; pointer-events: none; z-index: 0;
}
.hero-content { position: relative; z-index: 2; padding: 2rem; max-width: 850px; }
.hero-label {
    display: inline-block; padding: 0.4rem 1.2rem; border-radius: 50px;
    background: rgba(255,46,99,0.1); border: 1px solid rgba(255,46,99,0.3);
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--accent); margin-bottom: 2rem; font-weight: 600;
}
.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 800;
    line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--accent); }
.hero h1 em { color: var(--accent-2); font-style: normal; }
.hero p {
    font-size: 1.2rem; color: var(--muted);
    max-width: 560px; margin: 0 auto 2.5rem;
}
.hero-cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* ====== PAGE HEADER ====== */
.page-header {
    padding: 10rem 2rem 4rem; text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,46,99,0.08) 0%, transparent 60%), var(--bg);
}
.page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 1rem;
}
.page-header h1 span { color: var(--accent); }
.page-header p { color: var(--muted); font-size: 1.1rem; max-width: 540px; margin: 0 auto; }
.breadcrumb {
    margin-top: 1.5rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted);
}
.breadcrumb a { color: var(--accent-2); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.5rem; }

/* ====== SECTIONS ====== */
section { padding: 6rem 0; }
.section-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

/* ====== CLASSES GRID ====== */
.classes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.class-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; transition: all 0.3s;
}
.class-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.class-card-img {
    height: 200px; display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700;
    color: rgba(255,255,255,0.8); position: relative;
}
.class-card:nth-child(1) .class-card-img { background: linear-gradient(135deg, #ff2e63, #1a1a26); }
.class-card:nth-child(2) .class-card-img { background: linear-gradient(135deg, #08d9d6, #0d0d12); }
.class-card:nth-child(3) .class-card-img { background: linear-gradient(135deg, #7c3aed, #1a1a26); }
.class-card:nth-child(4) .class-card-img { background: linear-gradient(135deg, #f59e0b, #1a1a26); }
.class-card:nth-child(5) .class-card-img { background: linear-gradient(135deg, #ec4899, #0d0d12); }
.class-card:nth-child(6) .class-card-img { background: linear-gradient(135deg, #10b981, #1a1a26); }
.class-card-body { padding: 1.8rem; }
.class-card-body .tag {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--accent-2); margin-bottom: 0.5rem;
}
.class-card-body h3 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.class-card-body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.class-meta { display: flex; gap: 1.5rem; font-size: 0.8rem; color: var(--muted); }
.class-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ====== SCHEDULE TABLE ====== */
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th, .schedule-table td {
    padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border);
}
.schedule-table th {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--accent); font-weight: 600;
}
.schedule-table td { color: var(--muted); font-size: 0.95rem; }
.schedule-table td:first-child { color: var(--fg); font-weight: 500; }
.schedule-table tr:hover td { background: rgba(255,255,255,0.02); }
.schedule-badge {
    display: inline-block; padding: 0.2rem 0.8rem; border-radius: 50px;
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-hot { background: rgba(255,46,99,0.15); color: var(--accent); }
.badge-new { background: rgba(8,217,214,0.15); color: var(--accent-2); }
.badge-pro { background: rgba(124,58,237,0.15); color: #a78bfa; }

/* ====== INSTRUCTORS ====== */
.instructors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.instructor-card { text-align: center; transition: transform 0.3s; }
.instructor-card:hover { transform: translateY(-8px); }
.instructor-avatar {
    width: 180px; height: 180px; border-radius: 50%; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 800;
    color: rgba(255,255,255,0.7); position: relative; overflow: hidden;
}
.instructor-card:nth-child(1) .instructor-avatar { background: linear-gradient(135deg, #ff2e63, #7c3aed); }
.instructor-card:nth-child(2) .instructor-avatar { background: linear-gradient(135deg, #08d9d6, #1a1a26); }
.instructor-card:nth-child(3) .instructor-avatar { background: linear-gradient(135deg, #f59e0b, #ff2e63); }
.instructor-card:nth-child(4) .instructor-avatar { background: linear-gradient(135deg, #ec4899, #7c3aed); }
.instructor-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; }
.instructor-role { color: var(--accent); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; font-weight: 600; }
.instructor-card p { color: var(--muted); font-size: 0.9rem; max-width: 260px; margin: 0 auto; }
.instructor-social { margin-top: 1rem; display: flex; justify-content: center; gap: 1rem; }
.instructor-social a { color: var(--muted); font-size: 0.85rem; transition: color 0.2s; }
.instructor-social a:hover { color: var(--accent-2); }

/* ====== STATS ====== */
.stats-bar { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; padding: 3rem 0; }
.stat { text-align: center; }
.stat-num {
    font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 800;
    color: var(--accent); display: block; line-height: 1;
}
.stat-num em { color: var(--accent-2); font-style: normal; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-top: 0.5rem; }

/* ====== ABOUT ====== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual {
    aspect-ratio: 1; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-size: 5rem; font-weight: 900;
    color: rgba(255,255,255,0.15);
}
.about-text .section-label, .about-text .section-title { text-align: left; }
.about-text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.about-text strong { color: var(--fg); font-weight: 600; }

/* ====== TESTIMONIALS ====== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.2rem 2rem; transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: var(--accent-2); }
.testimonial-card .quote {
    font-size: 1.05rem; color: var(--fg); margin-bottom: 1.5rem;
    line-height: 1.7; font-style: italic;
}
.testimonial-card .author { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.testimonial-card .role { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }

/* ====== PRICING ====== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.pricing-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center;
    transition: all 0.3s; position: relative;
}
.pricing-card:hover { transform: translateY(-6px); border-color: var(--accent-2); }
.pricing-card.featured { border-color: var(--accent); }
.pricing-card.featured::before {
    content: 'POPULAR'; position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700;
    padding: 0.3rem 1rem; border-radius: 50px; letter-spacing: 0.1em;
}
.pricing-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-card .desc { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.pricing-price {
    font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 800;
    margin-bottom: 0.3rem;
}
.pricing-price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pricing-period { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.pricing-features { text-align: left; margin-bottom: 2rem; }
.pricing-features li { padding: 0.5rem 0; color: var(--muted); font-size: 0.92rem; display: flex; align-items: start; gap: 0.5rem; }
.pricing-features li::before { content: '✓'; color: var(--accent-2); font-weight: 700; flex-shrink: 0; }

/* ====== GALLERY ====== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.gallery-item {
    aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700;
    color: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.4s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item:nth-child(1) { background: linear-gradient(135deg, #ff2e63, #0d0d12); }
.gallery-item:nth-child(2) { background: linear-gradient(135deg, #08d9d6, #1a1a26); }
.gallery-item:nth-child(3) { background: linear-gradient(135deg, #7c3aed, #ff2e63); }
.gallery-item:nth-child(4) { background: linear-gradient(135deg, #f59e0b, #08d9d6); }
.gallery-item:nth-child(5) { background: linear-gradient(135deg, #ec4899, #0d0d12); }
.gallery-item:nth-child(6) { background: linear-gradient(135deg, #10b981, #1a1a26); }
.gallery-item:nth-child(7) { background: linear-gradient(135deg, #ff2e63, #7c3aed); }
.gallery-item:nth-child(8) { background: linear-gradient(135deg, #08d9d6, #ec4899); }

/* ====== FAQ ====== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 0;
    font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600;
    color: var(--fg); cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: transform 0.3s; }
.faq-q.open::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--muted); font-size: 0.95rem; }
.faq-a.open { max-height: 250px; padding-bottom: 1.5rem; }

/* ====== CONTACT ====== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info p { color: var(--muted); margin-bottom: 1.5rem; }
.contact-info strong {
    color: var(--fg); font-weight: 600; display: block; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.3rem; color: var(--accent-2);
}
.contact-info a { color: var(--accent); font-size: 1.05rem; }
.contact-info a:hover { text-decoration: underline; }
.contact-form { display: grid; gap: 1rem; }
.contact-form input, .contact-form textarea, .contact-form select {
    background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px;
    padding: 0.9rem 1rem; color: var(--fg); font-family: inherit; font-size: 0.95rem;
    transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none; border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ====== MAP ====== */
.map-embed {
    width: 100%; height: 350px; border-radius: var(--radius);
    margin-top: 3rem; background: var(--bg-3); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.9rem;
}

/* ====== CTA BANNER ====== */
.cta-banner {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    text-align: center; padding: 5rem 2rem; margin: 0; position: relative; overflow: hidden;
}
.cta-banner h2 {
    font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700; margin-bottom: 1rem; color: #fff;
}
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner .btn { background: #fff; color: var(--accent); }
.cta-banner .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* ====== FOOTER ====== */
footer { background: var(--bg-2); padding: 4rem 2rem 2rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }
.footer-logo span { color: var(--accent); }
.footer-tagline { color: var(--muted); font-size: 0.9rem; max-width: 300px; }
.footer-col h4 {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--accent-2); margin-bottom: 1rem; font-weight: 600;
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 2rem; border-top: 1px solid var(--border);
    text-align: center; color: var(--muted); font-size: 0.8rem;
}
.footer-bottom span { color: var(--accent); }
.footer-bottom a { color: var(--muted); margin: 0 0.5rem; }
.footer-bottom a:hover { color: var(--accent-2); }

/* ====== 404 ====== */
.notfound { text-align: center; padding: 10rem 2rem; }
.notfound h1 { font-family: 'Poppins', sans-serif; font-size: 6rem; font-weight: 800; color: var(--accent); }
.notfound h2 { font-family: 'Poppins', sans-serif; font-size: 1.8rem; margin-bottom: 1rem; }
.notfound p { color: var(--muted); margin-bottom: 2rem; }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 1rem 2rem; gap: 1rem; border-bottom: 1px solid var(--border); }
    .nav-links.show { display: flex; }
    .nav-cta .btn { display: none; }
    .nav-toggle { display: block; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .stats-bar { gap: 2rem; }
    .section-wrap { padding: 0 1.5rem; }
    .schedule-table { font-size: 0.85rem; }
    .schedule-table th, .schedule-table td { padding: 0.7rem 0.8rem; }
}

/* ====== ANIMATIONS ====== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-label, .hero h1, .hero p, .hero-cta { animation: fadeUp 0.8s ease-out backwards; }
.hero-label { animation-delay: 0.1s; }
.hero h1    { animation-delay: 0.2s; }
.hero p     { animation-delay: 0.35s; }
.hero-cta   { animation-delay: 0.5s; }
