:root {
    --primary: #3B82F6;
    --primary-dark: #1D4ED8;
    --secondary: #8B5CF6;
    --secondary-dark: #5B21B6;
    --accent: #F59E0B;
    --background: #0F172A;
    --surface: #1E293B;
    --surface-dark: #0B1120;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --success: #10B981;
    --success-dark: #047857;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --btn-radius: 6px;
    --card-radius: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.35);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.glass-panel {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    position: relative;
    overflow: hidden;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--background);
    border-bottom: 1px solid var(--surface);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo img {
    display: block;
    height: 54px;
    width: auto;
    max-width: 220px;
    border-radius: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex: 1;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.18s ease;
}

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

.btn {
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    display: inline-block;
    border-radius: var(--btn-radius);
    border: 1px solid transparent;
    text-align: center;
    user-select: none;
}

.btn:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.65);
    outline-offset: 2px;
}

.btn:hover {
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid #334155;
}

.btn-secondary:hover {
    background: #334155;
}

.btn-contrast {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 96px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.22), rgba(15, 23, 42, 0));
}

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

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.hero-points {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.hero-points span {
    color: var(--text);
    border-left: 3px solid var(--primary);
    padding: 0.35rem 0 0.35rem 0.85rem;
    font-weight: 600;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    border: 4px solid var(--surface);
}

.info-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.5rem;
}

.info-block {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem;
}

.info-block h2,
.info-block h3 {
    margin-bottom: 1rem;
}

.info-block h2 {
    font-size: 2rem;
}

.info-block h3 {
    color: var(--primary);
    font-size: 1.35rem;
}

.info-block p {
    color: var(--text-muted);
}

.testimonials-section {
    padding: 0 20px 30px;
}

.reviews-light {
    color: #0f172a;
}

.reviews-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

.reviews-light .section-heading h2 {
    color: #0f172a;
}

.reviews-light .btn {
    color: #0f172a;
    border-color: #cbd5e1;
    background: #ffffff;
}

.reviews-light .btn:hover {
    background: #f1f5f9;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: 2.2rem;
}

.trustpilot-review-box {
    min-height: 280px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.course-showcase,
.learning-section,
.dashboard-section,
.final-cta {
    padding: 30px 20px 80px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.showcase-card {
    overflow: hidden;
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.showcase-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 0;
}

.showcase-card div {
    padding: 1.5rem;
}

.showcase-card span,
.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
}

.showcase-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.showcase-card p,
.learning-layout p,
.steps-list p,
.dashboard-panel p,
.dashboard-grid span,
.final-cta p {
    color: var(--text-muted);
}

.learning-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.learning-layout h2,
.dashboard-panel h2,
.final-cta h2 {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.learning-layout .btn {
    margin-top: 1.5rem;
}

.steps-list {
    display: grid;
    gap: 1rem;
}

.steps-list div,
.dashboard-panel {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1.5rem;
}

.steps-list span {
    color: var(--primary);
    font-weight: 800;
}

.steps-list h3 {
    margin: 0.35rem 0 0.4rem;
}

.dashboard-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    padding: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dashboard-grid div {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
}

.dashboard-grid strong,
.dashboard-grid span {
    display: block;
}

.dashboard-grid strong {
    margin-bottom: 0.35rem;
}

.final-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 50px;
}

.pricing {
    padding: 100px 0;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

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

.price-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--surface);
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border);
    transition: transform 0.2s ease;
}

.price-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.6);
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.features {
    list-style: none;
    margin-bottom: 2rem;
    width: 100%;
}

.features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--surface-dark);
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    background: var(--surface);
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border);
}

.search-input,
.form-control {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--btn-radius);
    border: 1px solid var(--glass-border);
    background: var(--background);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.search-input:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.course-card {
    background: var(--surface);
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border);
    transition: transform 0.2s ease;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 6px solid var(--surface-dark);
    border-radius: 50%;
    border-top: 6px solid var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }
    .nav-content {
...
        gap: 1rem;
    }

    .logo img {
        height: 44px;
        max-width: 165px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .hero-content,
    .info-grid,
    .showcase-grid,
    .learning-layout,
    .dashboard-panel {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 2.5rem;
    }

    .hero-text h1 {
        font-size: 2.6rem;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    nav {
        padding: 0.7rem 0;
    }

    .nav-content {
        gap: 0.75rem;
    }

    .logo img {
        height: 36px;
        max-width: 135px;
    }

    .btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 95px;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text p {
        font-size: 1.05rem;
    }

    .glass-panel,
    .info-block,
    .reviews-panel {
        padding: 1.5rem;
    }

    .course-showcase,
    .learning-section,
    .dashboard-section,
    .final-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

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