/* ============================================
   UNIVERSO DMX – Design System & Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #07080c;
    --bg-secondary: #0d0f17;
    --bg-card: rgba(15, 18, 30, 0.65);
    --bg-card-hover: rgba(20, 25, 45, 0.8);
    --border-card: rgba(0, 255, 204, 0.12);
    --border-card-hover: rgba(0, 255, 204, 0.35);

    --accent-cyan: #00ffcc;
    --accent-blue: #00ccff;
    --accent-purple: #a855f7;
    --accent-pink: #f472b6;
    --accent-red: #ff3b3b;
    --accent-gradient: linear-gradient(135deg, #00ffcc, #00ccff);
    --accent-gradient-hover: linear-gradient(135deg, #00ccff, #00ffcc);

    --text-primary: #f0f2f5;
    --text-secondary: rgba(240, 242, 245, 0.6);
    --text-muted: rgba(240, 242, 245, 0.4);

    --glow-cyan: 0 0 20px rgba(0, 255, 204, 0.25);
    --glow-cyan-strong: 0 0 30px rgba(0, 255, 204, 0.45);
    --glow-red: 0 0 15px rgba(255, 59, 59, 0.5);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 50px;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 10px;
}

/* ---------- Canvas Background ---------- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Main Wrapper ---------- */
.site-wrapper {
    position: relative;
    z-index: 1;
}

/* ---------- Header ---------- */
.site-header {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    background: rgba(7, 8, 12, 0.6);
    border-bottom: 1px solid rgba(0, 255, 204, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo img {
    height: 44px;
    width: auto;
    transition: var(--transition-normal);
    filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.2));
}

.header-logo img:hover {
    filter: drop-shadow(0 0 14px rgba(0, 255, 204, 0.5));
    transform: scale(1.04);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.header-nav a:hover {
    color: var(--accent-cyan);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a.nav-link.active {
    color: var(--accent-cyan);
}

.header-nav a.nav-link.active::after {
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ---------- Hero Section ---------- */
.hero {
    text-align: center;
    padding: 80px 20px 50px;
    position: relative;
}

.hero-logo {
    margin-bottom: 25px;
    animation: floatIn 1s ease-out;
}

.hero-logo img {
    max-width: 360px;
    width: 90%;
    filter: drop-shadow(0 0 30px rgba(0, 255, 204, 0.15));
    transition: var(--transition-normal);
}

.hero-logo img:hover {
    filter: drop-shadow(0 0 40px rgba(0, 255, 204, 0.3));
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 3px;
    margin: 35px auto 0;
    animation: fadeUp 0.8s ease-out 0.6s both;
}

/* ---------- Container ---------- */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Products Section ---------- */
.products-section {
    padding: 30px 0 80px;
}

.section-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 40px;
    opacity: 0.7;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* ---------- Product Card ---------- */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 28px 24px 24px;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;

    /* Scroll reveal */
    opacity: 0;
    transform: translateY(40px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Glow effect on top edge */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal), width var(--transition-normal);
    border-radius: 0 0 4px 4px;
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-card-hover);
    box-shadow: var(--glow-cyan), 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px);
}

.product-card:hover::before {
    opacity: 1;
    width: 80%;
}

/* ---------- Product Image ---------- */
.product-image {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    transition: var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.06);
    filter: drop-shadow(0 4px 20px rgba(0, 255, 204, 0.2));
}

/* ---------- Product Text ---------- */
.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.product-description {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
}

/* ---------- Tags ---------- */
.product-meta {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.tag.pro {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.15), rgba(0, 204, 255, 0.15));
    border-color: rgba(0, 255, 204, 0.3);
    color: var(--accent-cyan);
}

.tag.macros {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(244, 114, 182, 0.15));
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--accent-purple);
}

.tag.plugins {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(168, 85, 247, 0.15));
    border-color: rgba(244, 114, 182, 0.3);
    color: var(--accent-pink);
}

.tag.dmx {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.15), rgba(0, 255, 204, 0.15));
    border-color: rgba(0, 204, 255, 0.3);
    color: var(--accent-blue);
}

.tag.effects {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.12), rgba(168, 85, 247, 0.12));
    border-color: rgba(0, 204, 255, 0.25);
    color: var(--accent-blue);
}

/* ---------- Buttons ---------- */
.btn {
    display: block;
    width: 100%;
    padding: 11px 0;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
    letter-spacing: 0.3px;
}

.video-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    margin-bottom: 10px;
}

.video-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
    box-shadow: var(--glow-red);
    transform: scale(1.02);
}

.video-btn .btn-icon {
    margin-right: 6px;
    font-size: 11px;
}

.download-btn {
    background: var(--accent-gradient);
    color: #000;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover {
    box-shadow: var(--glow-cyan-strong);
    transform: scale(1.03);
}

.download-btn:hover::before {
    left: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid rgba(0, 255, 204, 0.08);
    background: rgba(7, 8, 12, 0.8);
    backdrop-filter: blur(12px);
    padding: 40px 24px 25px;
    text-align: center;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-brand img {
    height: 36px;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-brand img:hover {
    opacity: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-copy .accent {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* ---------- Purchase Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(12, 14, 24, 0.92);
    border: 1px solid rgba(0, 255, 204, 0.18);
    border-radius: var(--radius-lg);
    padding: 40px 32px 32px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 0 40px rgba(0, 255, 204, 0.08),
        0 25px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

/* Brilho superior do card */
.modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 0 0 4px 4px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 59, 59, 0.2);
    border-color: rgba(255, 59, 59, 0.4);
    color: var(--accent-red);
    transform: rotate(90deg);
}

.modal-badge {
    display: inline-block;
    padding: 5px 18px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.15), rgba(0, 204, 255, 0.15));
    border: 1px solid rgba(0, 255, 204, 0.25);
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.modal-price-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.modal-price {
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.modal-info {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Currency selection cards */
.currency-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 8px;
}

.currency-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 204, 255, 0.2);
    background: rgba(0, 204, 255, 0.06);
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-primary);
    font-family: var(--font-family);
}

.currency-card:hover {
    border-color: rgba(0, 204, 255, 0.5);
    background: rgba(0, 204, 255, 0.12);
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.15);
    transform: translateY(-3px);
}

.currency-card-brl {
    border-color: rgba(0, 200, 83, 0.2);
    background: rgba(0, 200, 83, 0.06);
}

.currency-card-brl:hover {
    border-color: rgba(0, 200, 83, 0.5);
    background: rgba(0, 200, 83, 0.12);
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.15);
}

.currency-flag {
    font-size: 2rem;
    line-height: 1;
}

.currency-label {
    font-size: 1rem;
    font-weight: 700;
}

.currency-method {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Back button */
.modal-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: var(--font-family);
    cursor: pointer;
    padding: 4px 0;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.modal-back:hover {
    color: var(--accent-cyan);
}

/* Step transitions */
.modal-step {
    animation: fadeUp 0.3s ease-out;
}

.modal-paypal-container {
    margin-bottom: 6px;
    min-height: 55px;
}

.modal-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.modal-cinqpay-btn {
    background: linear-gradient(135deg, #00c853, #00e676);
    color: #000;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 0;
    border-radius: var(--radius-full);
    display: block;
    text-decoration: none;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.modal-cinqpay-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.modal-cinqpay-btn:hover {
    box-shadow: 0 0 25px rgba(0, 200, 83, 0.4);
    transform: scale(1.03);
}

.modal-cinqpay-btn:hover::before {
    left: 100%;
}

.modal-footer-text {
    margin-top: 18px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modal-footer-text svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

/* Mensagem de sucesso no modal */
.modal-success {
    padding: 30px 0;
}

.modal-success .success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.modal-success h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.modal-success p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.modal-success .btn {
    display: inline-block;
    width: auto;
    padding: 12px 36px;
}

/* ---------- Courses Section ---------- */
.courses-section {
    padding: 20px 0 80px;
    position: relative;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0.4;
}

.courses-heading {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.courses-subheading {
    text-align: center;
    font-size: clamp(0.88rem, 1.8vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 45px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
}

/* Course Card */
.course-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: var(--transition-normal);

    /* Scroll reveal */
    opacity: 0;
    transform: translateY(40px);
}

.course-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.course-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(-6px);
}

/* Course badge */
.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.course-badge.coming-soon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(244, 114, 182, 0.25));
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: var(--accent-purple);
    animation: pulseGlow 3s ease-in-out infinite;
}

.course-badge.available {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.2), rgba(0, 204, 255, 0.2));
    border: 1px solid rgba(0, 255, 204, 0.4);
    color: var(--accent-cyan);
}

/* Course Image */
.course-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.course-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-card), transparent);
    pointer-events: none;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.06);
}

/* Course Content */
.course-content {
    padding: 24px 28px 28px;
}

/* Course Level */
.course-level {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.level-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.level-dot.beginner {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}

.level-dot.advanced {
    background: var(--accent-purple);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.course-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Course Topics */
.course-topics {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}

.course-topics li {
    font-size: 0.78rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.course-card:hover .course-topics li {
    color: var(--text-secondary);
}

/* Course Button */
.course-btn {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.course-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.course-btn:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
    transform: scale(1.03);
}

.course-btn:hover::before {
    left: 100%;
}

.course-btn.disabled {
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
}

/* ---------- Animations ---------- */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(0, 255, 204, 0.1);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 255, 204, 0.2);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 12px;
        padding: 15px 20px;
    }

    .header-nav {
        gap: 14px;
    }

    .hero {
        padding: 50px 16px 35px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .course-topics {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 22px 18px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }
}