:root {
    --bg-dark: #0a0a12;
    --bg-card: #12121f;
    --bg-card-hover: #1a1a2e;
    --purple: #6C3CE9;
    --purple-light: #8B5CF6;
    --purple-glow: rgba(108, 60, 233, 0.4);
    --gold: #FFD700;
    --gold-dim: #C9A800;
    --cyan: #00D4FF;
    --text: #E8E8F0;
    --text-muted: #8888A0;
    --border: rgba(108, 60, 233, 0.2);
    --gradient: linear-gradient(135deg, #6C3CE9 0%, #00D4FF 50%, #FFD700 100%);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: clip;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.6;
    position: relative;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

.container {
    max-width: 1200px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 18, 0.95);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.logo-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.badge-logo {
    width: 22px;
    height: 22px;
}

.hero-logo {
    width: 72px;
    height: 72px;
    position: relative;
    z-index: 2;
}

.icon-svg {
    width: 1.15em;
    height: 1.15em;
    display: inline-block;
    vertical-align: -0.15em;
    flex-shrink: 0;
}

.tier-icon.icon-svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: block;
    color: var(--purple-light);
}

.tier-free .tier-icon { color: var(--cyan); }
.tier-premium .tier-icon { color: var(--gold); }

.fc-icon.icon-svg {
    width: 22px;
    height: 22px;
    color: var(--purple-light);
}

.feature-icon.icon-svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    margin-top: 2px;
}

.success-icon .icon-svg {
    width: 64px;
    height: 64px;
    color: var(--cyan);
}

.course-meta .meta-item,
.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.logo-accent {
    color: var(--purple-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--purple-light);
}

.nav-cta {
    background: var(--gradient);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--purple-glow);
}

.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(108, 60, 233, 0.12);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.nav-cart .icon-svg {
    width: 22px;
    height: 22px;
}

.nav-cart:hover {
    border-color: var(--purple-light);
    background: rgba(108, 60, 233, 0.22);
    transform: translateY(-1px);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--gold);
    color: #0a0a12;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-badge[hidden] {
    display: none;
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    padding: 120px 24px 80px;
    overflow-x: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(108, 60, 233, 0.15);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--purple-light);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .line {
    display: block;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--purple-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--purple);
    background: rgba(108, 60, 233, 0.1);
}

.btn-full {
    width: 100%;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    border: 1px solid var(--border);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.ring-1 { width: 200px; height: 200px; }
.ring-2 { width: 300px; height: 300px; animation-duration: 30s; animation-direction: reverse; }
.ring-3 { width: 400px; height: 400px; animation-duration: 40s; }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-core {
    position: relative;
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 60px var(--purple-glow);
}

.core-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid var(--purple-light);
    animation: pulse 2s ease-in-out infinite;
}

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

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}



.card-1 { top: 60px; right: 20px; animation-delay: 0s; }
.card-2 { bottom: 100px; left: 0; animation-delay: 1.3s; }
.card-3 { bottom: 40px; right: 60px; animation-delay: 2.6s; }

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

/* Tier Cards */
.tiers-section {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.tier-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 0;
    overflow-wrap: break-word;
}

.tier-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}



.tier-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.tier-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tier-free .tier-price { color: var(--cyan); }
.tier-basic .tier-price { color: var(--purple-light); }
.tier-premium .tier-price { color: var(--gold); }

.tier-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.tier-count {
    display: inline-block;
    background: rgba(108, 60, 233, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--purple-light);
}

/* Courses Sections */
.courses-section {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: rgba(108, 60, 233, 0.15);
    color: var(--purple-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-free { background: rgba(0, 212, 255, 0.03); }
.section-basic { background: rgba(108, 60, 233, 0.03); }
.section-premium { background: rgba(255, 215, 0, 0.03); }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 24px;
    width: 100%;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.course-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.course-tier-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    width: fit-content;
}

.badge-free { background: rgba(0, 212, 255, 0.15); color: var(--cyan); }
.badge-basic { background: rgba(108, 60, 233, 0.15); color: var(--purple-light); }
.badge-premium { background: rgba(255, 215, 0, 0.15); color: var(--gold); }

.course-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.course-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.course-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

.price-free { color: var(--cyan); }
.price-basic { color: var(--purple-light); }
.price-premium { color: var(--gold); }

.course-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--purple);
    color: var(--purple-light);
}

.btn-buy {
    background: var(--purple);
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-buy:hover {
    background: var(--purple-light);
}

.btn-cart {
    background: transparent;
    border: 1px solid var(--purple-light);
    color: var(--purple-light);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-cart:hover {
    background: rgba(108, 60, 233, 0.2);
    color: #fff;
}

.btn-cart.in-cart {
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-download {
    background: var(--cyan);
    border: none;
    color: #0a0a12;
    cursor: pointer;
    font-weight: 600;
}

.btn-download:hover {
    filter: brightness(1.1);
}

/* About */
.about-section {
    position: relative;
    z-index: 2;
    padding: 80px 0 40px;
}

.about-content {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-content p {
    margin-bottom: 16px;
}

.about-content a {
    color: var(--purple-light);
}

/* FAQ */
.faq-section {
    position: relative;
    z-index: 2;
    padding: 40px 0 80px;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 4px 16px 12px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 0;
    list-style: none;
    color: var(--text);
}

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

.faq-item summary::before {
    content: "+ ";
    color: var(--purple-light);
    font-weight: 700;
}

.faq-item[open] summary::before {
    content: "− ";
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.65;
    padding-bottom: 8px;
    margin: 0;
}

.faq-item a {
    color: var(--purple-light);
}

/* Tutoring */
.tutoring-section {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(108, 60, 233, 0.05));
}

.tutoring-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.tutoring-info h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.tutoring-info > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.tutoring-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tutoring-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}



.tutoring-features strong {
    display: block;
    margin-bottom: 2px;
}

.tutoring-features span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tutoring-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.tutoring-form h3 {
    font-family: var(--font-display);
    margin-bottom: 24px;
    font-size: 1.3rem;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: var(--gold);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

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

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

.modal-checkout {
    max-width: 480px;
}

.modal-cart {
    max-width: 520px;
}

.cart-content {
    padding: 32px;
}

.cart-content h2 {
    font-family: var(--font-display);
    margin-bottom: 4px;
    padding-right: 32px;
}

.cart-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.cart-empty {
    text-align: center;
    padding: 32px 12px;
    color: var(--text-muted);
}

.cart-empty p {
    margin-bottom: 20px;
}

.cart-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 42vh;
    overflow-y: auto;
    padding-right: 4px;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.cart-item-info {
    min-width: 0;
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    line-height: 1.35;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cart-item-price {
    font-family: var(--font-display);
    color: var(--gold);
    font-weight: 700;
    white-space: nowrap;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #ff6b8a;
}

.cart-summary {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-bottom: 16px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.cart-summary-row.total {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-top: 8px;
}

.cart-summary-row.total span:last-child {
    color: var(--gold);
}

.cart-limit {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.cart-limit.over {
    color: #ff6b8a;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-actions .btn-secondary {
    width: 100%;
}

.checkout-items {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    max-height: 160px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.checkout-items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.checkout-items li:last-child {
    border-bottom: none;
}

.checkout-items .item-price {
    color: var(--gold);
    white-space: nowrap;
    font-weight: 600;
}

.success-downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    text-align: left;
}

.success-downloads .btn {
    width: 100%;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
}

.modal-content {
    padding: 32px;
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
    padding-right: 32px;
}

.modal-modules {
    margin-top: 24px;
}

.modal-modules h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.module-list {
    list-style: none;
}

.module-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    display: flex;
    gap: 10px;
}

.module-list li::before {
    content: '▸';
    color: var(--purple-light);
}

/* Checkout */
.checkout-content {
    padding: 32px;
}

.checkout-content h2 {
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.checkout-price {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    margin: 16px 0 24px;
}

.checkout-form .form-group {
    margin-bottom: 16px;
}

.checkout-success {
    text-align: center;
    padding: 20px 0;
}

.checkout-success .success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.checkout-success h3 {
    font-family: var(--font-display);
    color: var(--cyan);
    margin-bottom: 12px;
}

.flutterwave-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.flutterwave-badge strong {
    color: #f97316;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--bg-card);
    border: 1px solid var(--purple);
    padding: 16px 24px;
    border-radius: 12px;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success { border-color: var(--cyan); }
.toast.error { border-color: #ff4466; }

/* Mobile floating course tabs */
.mobile-float-nav {
    display: none;
}

@media (max-width: 968px) {
    .mobile-float-nav {
        display: flex;
        position: fixed;
        bottom: 16px;
        left: 16px;
        right: 16px;
        z-index: 1500;
        transition: transform 0.3s ease, opacity 0.3s ease;
        background: rgba(18, 18, 31, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 8px;
        gap: 6px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(108, 60, 233, 0.15);
    }

    .mobile-float-nav.hidden {
        transform: translateY(calc(100% + 24px));
        opacity: 0;
        pointer-events: none;
    }

    .float-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 10px 6px;
        background: transparent;
        border: none;
        border-radius: 12px;
        color: var(--text-muted);
        font-family: var(--font-body);
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        cursor: pointer;
        transition: all 0.25s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .float-nav-item .icon-svg {
        width: 22px;
        height: 22px;
        transition: color 0.25s ease;
    }

    .float-nav-item:active {
        transform: scale(0.96);
    }

    .float-nav-item.active {
        background: rgba(108, 60, 233, 0.2);
        color: var(--text);
    }

    .float-nav-item[data-section="free-courses"].active {
        color: var(--cyan);
    }

    .float-nav-item[data-section="free-courses"].active .icon-svg {
        color: var(--cyan);
    }

    .float-nav-item[data-section="basic-courses"].active {
        color: var(--purple-light);
    }

    .float-nav-item[data-section="basic-courses"].active .icon-svg {
        color: var(--purple-light);
    }

    .float-nav-item[data-section="premium-courses"].active {
        color: var(--gold);
    }

    .float-nav-item[data-section="premium-courses"].active .icon-svg {
        color: var(--gold);
    }

    body {
        padding-bottom: 88px;
    }

    .toast {
        bottom: 96px;
    }

    .footer {
        padding-bottom: 24px;
    }

    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 16px 60px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 24px;
        overflow: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        word-break: break-word;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
        font-size: 1rem;
        max-width: 100%;
        padding: 0 4px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-actions .btn {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        max-width: 100%;
    }

    .hero-visual {
        height: 260px;
        margin-top: 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .ring-1 { width: 140px; height: 140px; }
    .ring-2 { width: 200px; height: 200px; }
    .ring-3 { width: 260px; height: 260px; }

    .hero-core {
        width: 90px;
        height: 90px;
    }

    .hero-logo {
        width: 54px;
        height: 54px;
    }

    .floating-card {
        padding: 8px 12px;
        font-size: 0.75rem;
        max-width: calc(50% - 8px);
    }

    .card-1 { top: 20px; right: 8px; left: auto; }
    .card-2 { bottom: 70px; left: 8px; right: auto; }
    .card-3 { bottom: 20px; right: 8px; left: auto; }

    .tier-cards {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
    }

    .tutoring-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        width: 100%;
        min-width: 0;
    }

    .tutoring-form {
        min-width: 0;
        width: 100%;
        padding: 24px 20px;
    }

    .footer-grid { grid-template-columns: 1fr; }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .course-card {
        padding: 20px;
        min-width: 0;
    }

    .course-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .course-actions {
        flex-wrap: wrap;
        width: 100%;
        justify-content: stretch;
        gap: 8px;
    }

    .course-actions .btn-sm {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        text-align: center;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        padding: 0 8px;
    }

    .section-header p {
        padding: 0 8px;
    }

    .courses-section,
    .tiers-section,
    .tutoring-section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .modal {
        max-width: 100%;
        margin: 0 auto;
    }

    .modal-overlay {
        padding: 16px;
    }

    .toast {
        left: 16px;
        right: 16px;
        max-width: none;
    }

    .cursor-glow {
        display: none;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .navbar {
        padding: 14px 0;
        transition: none;
    }

    .navbar.scrolled {
        padding: 14px 0;
    }

    .nav-container {
        flex-wrap: nowrap;
        padding: 0 16px;
        position: relative;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-cart {
        margin-left: auto;
        margin-right: 10px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 12px;
        gap: 4px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
        z-index: 1001;
    }

    .nav-links.mobile-open li {
        width: 100%;
    }

    .nav-links.mobile-open a {
        display: block;
        padding: 12px 14px;
        border-radius: 8px;
        font-size: 0.9rem;
    }

    .nav-links.mobile-open a:hover,
    .nav-links.mobile-open a:active {
        background: rgba(108, 60, 233, 0.15);
        color: var(--purple-light);
    }

    .courses-section,
    .tutoring-section,
    .tiers-section {
        scroll-margin-top: 80px;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container {
        padding: 0 12px;
    }

    .hero {
        padding: 96px 12px 48px;
    }

    .courses-grid { grid-template-columns: 1fr; }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
        width: 100%;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 12px;
        max-width: 100%;
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .course-actions .btn-sm {
        flex: 1 1 100%;
    }

    .mobile-float-nav {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .toast {
        left: 12px;
        right: 12px;
    }

    .nav-links.mobile-open {
        left: 12px;
        right: 12px;
    }

    .footer-links a {
        overflow-wrap: anywhere;
    }
}