/* Premium Educational Platform Styling 2025 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Refined Palette - Clean, Trustworthy, Premium */
    --primary: #6366f1;
    /* Indigo 500 */
    --primary-dark: #4f46e5;
    /* Indigo 600 */
    --primary-light: #818cf8;
    /* Indigo 400 */

    --secondary: #0ea5e9;
    /* Sky 500 */
    --accent: #f43f5e;
    /* Rose 500 */

    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    /* Slate 50 */
    --bg-soft: #f1f5f9;
    /* Slate 100 */
    --bg-dark: #0f172a;
    /* Slate 900 */

    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #94a3b8;
    /* Slate 400 */
    --text-inv: #ffffff;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    --grad-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
    --grad-surface: linear-gradient(to bottom, #ffffff, #f8fafc);
    --grad-text: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);

    /* Shadows meant for depth, not effect */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

    /* Modern Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--text-main);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
}

p {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

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

input,
button,
textarea {
    font-family: inherit;
}

/* Animation Utility */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
    position: relative;
}

/* Reusable Components */

tgs-player {
    width: 180px !important;
    height: 180px !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.header-logo img {
    width: 44px;
    height: 44px;
    border-radius: 44px;
    box-shadow: var(--shadow-sm);
}

.header-nav {
    display: none;
    background: rgba(15, 23, 42, 0.04);
    padding: 4px;
    border-radius: var(--radius-full);
}

@media (min-width: 900px) {
    .header-nav {
        display: flex;
        gap: 4px;
    }
}

.header-nav a {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.header-nav a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.8);
}

.header-cta {
    display: none;
    padding: 12px 24px;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .header-cta {
        display: inline-flex;
    }
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

@media (min-width: 900px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    overflow: hidden;
    background: linear-gradient(to bottom, #fff, #f8fafc);
}

.hero-content {
    display: grid;
    gap: 60px;
    grid-template-columns: 1fr;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(99, 102, 241, 0.2);
    z-index: -1;
    transform: rotate(-2deg);
    border-radius: 4px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin-bottom: 24px;
    background: #eff6ff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--bg-soft);
}

.stat-item h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
}

.sticker-hero {
    margin: 0 0 20px;
}

.hero-form {
    background: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
    z-index: 2;
}

.hero-form h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-align: center;
}

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

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--bg-soft);
    background: var(--bg-soft);
    transition: all 0.2s;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.hero-form .btn {
    width: 100%;
    padding: 18px;
    margin-top: 10px;
}

/* Programs */
.programs {
    background: var(--bg-main);
    padding-top: 60px;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 80px;
}

.section-header tgs-player {
    margin: 0 auto 10px;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    padding: 32px
}

.program-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-out);
    border: 1px solid var(--bg-soft);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.program-card.featured {
    border: 2px solid var(--primary);
    background: #fdfdff;
}

.program-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    transition: transform 0.3s var(--ease-bounce);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    background: #e0e7ff;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* Guarantee */
.guarantee {
    background: #fff;
    padding-top: 0;
}

.guarantee-content {
    display: grid;
    gap: 80px;
    align-items: center;
    background: var(--bg-alt);
    padding: 80px;
    border-radius: 40px;
}

@media (min-width: 992px) {
    .guarantee-content {
        grid-template-columns: 1.5fr 1fr;
    }
}

.guarantee h2 span {
    color: var(--primary);
}

.guarantee-badge {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.guarantee-badge h3 {
    font-size: 3rem;
    color: var(--primary);
}

/* Ecosystem */
.ecosystem {
    background: var(--bg-dark);
    color: white;
    border-radius: 60px;
    margin: 40px 24px;
    width: calc(100% - 48px);
    overflow: hidden;
    position: relative;
}

.ecosystem .section-header h2 {
    color: white;
}

.ecosystem .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.eco-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.eco-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.eco-card h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.eco-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.eco-card.large {
    grid-column: span 1;
    background: var(--primary);
    border: none;
}

@media(min-width: 992px) {
    .eco-card.large {
        grid-column: span 2;
    }
}

/* Teachers */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
}

.teacher-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-soft);
    text-align: center;
    transition: all 0.3s;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.teacher-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.audio-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 16px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
}

/* Testimonials */
.testimonials {
    background: var(--bg-alt);
    overflow: hidden;
    position: relative;
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    background: #ffe4e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.price-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    border: 1px solid var(--bg-soft);
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price-tier {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.1em;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 24px 0 40px;
    letter-spacing: -0.04em;
}

.price-amount span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: normal;
}

.price-features {
    margin-bottom: 32px;
    flex-grow: 1;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-alt);
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 0.95rem;
}

.price-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 800;
    background: #e0e7ff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.price-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Bonuses & Approach */
.bonuses {
    padding: 80px 0;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.bonus-card {
    padding: 40px;
    background: #fdfdff;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(99, 102, 241, 0.3);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.approach-card {
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.approach-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* Consultation & CTA */
.consultation,
.final-cta {
    background: var(--bg-dark);
    color: white;
    overflow: hidden;
    position: relative;
}

.consultation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
}

.consultation h2,
.final-cta h2 {
    color: white;
}

.consultation p,
.final-cta p {
    color: rgba(255, 255, 255, 0.7);
}

.consultation-form,
.final-form {
    background: white;
    padding: 56px;
    border-radius: 40px;
    box-shadow: var(--shadow-xl);
}

.consultation-form h2 {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.faq-item {
    background: white;
    border: 1px solid var(--bg-soft);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: var(--primary);
    background: #fdfdff;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 100px 0 40px;
    font-size: 0.95rem;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal p,
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-legal img {
    width: 50px;
    border-radius: 100px;
}

/* Course Detail Panel */
.course-detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-detail.active {
    opacity: 1;
    pointer-events: auto;
}

.course-detail__card {
    background: white;
    padding: 60px;
    border-radius: 32px;
    box-shadow: var(--shadow-2xl);
    width: 90%;
    max-width: 600px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-detail.active .course-detail__card {
    transform: translateY(0);
}

.course-detail__back {
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: 24px;
    padding: 0;
}

.course-detail__highlights li {
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .testimonial-card,
    .hero-form,
    .consultation-form {
        padding: 32px;
    }

    .ecosystem {
        margin: 24px 12px;
        width: calc(100% - 24px);
        border-radius: 32px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .guarantee-content {
        padding: 40px;
    }

    .guarantee-badge {
        width: 100%;
        height: auto;
        border-radius: 32px;
    }
}

/* Helpers */
.hero-sticker-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.hero-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-author-details {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.more-teachers {
    margin-top: 48px;
    text-align: center;
}

/* Layout Fixes */
.consultation-inner,
.final-cta-content {
    display: grid;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {

    .consultation-inner,
    .final-cta-content {
        grid-template-columns: 1fr 1fr;
    }
}

.bonuses-header {
    text-align: center;
    margin-bottom: 60px;
}

.bonuses-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bonuses-header tgs-player {
    margin: 0 auto 10px;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.bg-shape svg {
    width: 100%;
    height: 100%;
    filter: blur(80px);
    opacity: 0.8;
}

.shape-hero {
    top: -100px;
    left: -100px;
    width: 700px;
    height: 700px;
    animation: float-slow 20s ease-in-out infinite alternate;
}

.shape-eco-1 {
    top: -50px;
    right: -50px;
    width: 500px;
    height: 500px;
    animation: float-slow 15s ease-in-out infinite alternate-reverse;
}

.shape-eco-2 {
    bottom: -100px;
    left: -50px;
    width: 600px;
    height: 600px;
    animation: morph 25s linear infinite;
}

.shape-testi {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    z-index: -1;
    opacity: 0.3;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(40px, 60px) rotate(8deg);
    }
}

@keyframes morph {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

/* Hover Interactions */
.hero:hover .shape-hero {
    filter: blur(60px);
    transition: filter 1s ease;
}

.ecosystem:hover .shape-eco-1,
.ecosystem:hover .shape-eco-2 {
    opacity: 0.8;
    transition: opacity 0.5s ease;
}