/* =========================================================
   DHANISH EMPOWER - PLATFORM STYLE HOMEPAGE 10/10
   Web + Mobile | Dark + Light | SaaS + Career Platform Feel
========================================================= */

:root {
    --pf-bg: #060b18;
    --pf-bg-2: #0b1629;
    --pf-card: rgba(255,255,255,.075);
    --pf-card-2: rgba(255,255,255,.12);
    --pf-text: #f8fafc;
    --pf-muted: rgba(226,232,240,.72);
    --pf-border: rgba(125,211,252,.17);
    --pf-primary: #38bdf8;
    --pf-secondary: #818cf8;
    --pf-accent: #22d3ee;
    --pf-shadow: rgba(56,189,248,.28);
    --bg: #060b18;
    --text: #f8fafc;
    --card: rgba(255,255,255,.075);
    --primary: #38bdf8;
    --navbar-border: rgba(125,211,252,.17);
}

body.light {
    --pf-bg: #f8fafc;
    --pf-bg-2: #eef7ff;
    --pf-card: rgba(255,255,255,.82);
    --pf-card-2: #ffffff;
    --pf-text: #0f172a;
    --pf-muted: rgba(51,65,85,.76);
    --pf-border: rgba(2,132,199,.18);
    --pf-primary: #0284c7;
    --pf-secondary: #4f46e5;
    --pf-accent: #0891b2;
    --pf-shadow: rgba(2,132,199,.18);
    --bg: #f8fafc;
    --text: #0f172a;
    --card: rgba(255,255,255,.82);
    --primary: #0284c7;
    --navbar-border: rgba(2,132,199,.18);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--pf-bg);
    color: var(--pf-text);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

body.page-with-navbar {
    padding-top: 0;
}

.container {
    max-width: 1320px;
}

/* HERO */

.platform-home {
    overflow: hidden;
    background:
            radial-gradient(circle at 8% 6%, rgba(56,189,248,.18), transparent 28%),
            radial-gradient(circle at 90% 18%, rgba(129,140,248,.18), transparent 28%),
            linear-gradient(180deg, var(--pf-bg), var(--pf-bg-2));
    color: var(--pf-text);
}

.platform-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 132px 0 76px;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: radial-gradient(circle at 50% 40%, black, transparent 74%);
    pointer-events: none;
}

body.light .hero-mesh {
    background:
            linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px),
            linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
    background-size: 74px 74px;
}

.platform-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: 90px;
    border-radius: 50%;
    background: rgba(56,189,248,.16);
    filter: blur(110px);
    animation: glowFloat 7s ease-in-out infinite alternate;
}

.platform-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr);
    gap: 58px;
    align-items: center;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--pf-primary);
    background: var(--pf-card);
    border: 1px solid var(--pf-border);
    box-shadow: 0 18px 60px rgba(0,0,0,.18);
    backdrop-filter: blur(18px);
    font-weight: 950;
    font-size: .9rem;
    margin-bottom: 24px;
}

.hero-copy h1 {
    max-width: 900px;
    margin: 0 0 24px;
    font-size: clamp(3.2rem, 7vw, 6.9rem);
    line-height: .92;
    letter-spacing: -.075em;
    font-weight: 950;
}

.hero-copy h1 span {
    display: block;
    background: linear-gradient(90deg, var(--pf-primary), #a78bfa, var(--pf-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 760px;
    color: var(--pf-muted);
    font-size: clamp(1.02rem, 1.8vw, 1.28rem);
    line-height: 1.75;
    font-weight: 650;
    margin-bottom: 30px;
}

.platform-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.platform-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 23px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    transition: .28s ease;
}

.platform-btn.primary {
    color: #06111f !important;
    background: linear-gradient(135deg, #67e8f9, #38bdf8, #818cf8);
    box-shadow: 0 20px 54px var(--pf-shadow);
}

.platform-btn.secondary {
    color: var(--pf-text) !important;
    background: var(--pf-card);
    border: 1px solid var(--pf-border);
}

.platform-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 70px var(--pf-shadow);
}

.platform-search {
    position: relative;
    max-width: 780px;
    margin-top: 30px;
    padding: 10px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    border-radius: 24px;
    background: var(--pf-card-2);
    border: 1px solid var(--pf-border);
    box-shadow: 0 30px 86px rgba(0,0,0,.24);
    backdrop-filter: blur(20px);
}

.platform-search > i {
    padding-left: 12px;
    color: var(--pf-primary);
    font-size: 1.2rem;
}

.platform-search input {
    height: 52px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--pf-text);
    font-weight: 800;
}

.platform-search input::placeholder {
    color: var(--pf-muted);
}

.platform-search button {
    height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 16px;
    background: var(--pf-primary);
    color: #06111f;
    font-weight: 950;
}

.suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 10px;
    right: 10px;
    z-index: 20;
    display: none;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(15,23,42,.98);
    border: 1px solid var(--pf-border);
    box-shadow: 0 24px 70px rgba(0,0,0,.34);
}

body.light .suggestions {
    background: rgba(255,255,255,.98);
}

.suggestions div {
    padding: 12px 16px;
    cursor: pointer;
    color: var(--pf-text);
    font-weight: 800;
}

.suggestions div:hover {
    background: rgba(56,189,248,.12);
}

.proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    color: var(--pf-muted);
    font-size: .92rem;
    font-weight: 850;
}

.proof-strip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.proof-strip i {
    color: var(--pf-primary);
}

/* Command Center */

.command-center {
    position: relative;
}

.command-center::before {
    content: "";
    position: absolute;
    inset: -70px;
    background: radial-gradient(circle, var(--pf-shadow), transparent 62%);
    filter: blur(18px);
    animation: cardFloat 7s ease-in-out infinite alternate;
}

.command-card {
    position: relative;
    padding: 24px;
    border-radius: 36px;
    background:
            linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
    border: 1px solid var(--pf-border);
    box-shadow: 0 34px 100px rgba(0,0,0,.36);
    backdrop-filter: blur(24px);
}

body.light .command-card {
    background: rgba(255,255,255,.9);
    box-shadow: 0 30px 80px rgba(15,23,42,.16);
}

.command-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.dots {
    display: flex;
    gap: 7px;
}

.dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--pf-primary);
    opacity: .9;
}

.command-header strong {
    color: var(--pf-muted);
    font-size: .86rem;
}

.score-card {
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(56,189,248,.22), rgba(129,140,248,.14));
    border: 1px solid var(--pf-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.score-card small,
.track-item small,
.question-card small,
.section-heading span,
.final-card span {
    display: block;
    color: var(--pf-primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 950;
    font-size: .74rem;
}

.score-card h3 {
    margin: 5px 0 0;
    font-weight: 950;
}

.score-ring {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--pf-primary);
    font-weight: 950;
    border: 7px solid rgba(56,189,248,.24);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.08);
}

.track-list {
    display: grid;
    gap: 12px;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    text-decoration: none;
    color: var(--pf-text) !important;
    background: var(--pf-card);
    border: 1px solid var(--pf-border);
    transition: .25s ease;
}

.track-item i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--pf-primary);
    background: rgba(56,189,248,.12);
    font-size: 1.35rem;
}

.track-item strong {
    display: block;
    margin-top: 3px;
    font-weight: 950;
    line-height: 1.25;
}

.track-item.active,
.track-item:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(56,189,248,.18), rgba(129,140,248,.10));
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.metrics-grid div {
    text-align: center;
    padding: 14px 8px;
    border-radius: 18px;
    background: rgba(255,255,255,.07);
    border: 1px solid var(--pf-border);
}

body.light .metrics-grid div {
    background: rgba(2,132,199,.06);
}

.metrics-grid strong {
    display: block;
    color: var(--pf-primary);
    font-weight: 950;
    font-size: 1.22rem;
}

.metrics-grid span {
    color: var(--pf-muted);
    font-weight: 850;
    font-size: .72rem;
}

/* Common Sections */

.platform-section {
    position: relative;
    padding: 96px 0;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading.left {
    margin-left: 0;
    text-align: left;
}

.section-heading h2,
.final-card h2 {
    margin: 10px 0 12px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.07;
    letter-spacing: -.045em;
    font-weight: 950;
}

.section-heading p,
.final-card p {
    color: var(--pf-muted);
    line-height: 1.75;
    font-weight: 650;
}

/* Cards */

.role-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.role-card,
.learning-card,
.feature-row,
.question-card,
.project-showcase-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--pf-text) !important;
    background: var(--pf-card);
    border: 1px solid var(--pf-border);
    border-radius: 26px;
    transition: .28s ease;
}

.role-card {
    display: block;
    min-height: 270px;
    padding: 25px;
}

.role-card::before,
.learning-card::before,
.project-showcase-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--pf-shadow), transparent 45%);
    opacity: .7;
    pointer-events: none;
}

.role-card.highlight {
    background: linear-gradient(135deg, rgba(56,189,248,.18), rgba(129,140,248,.10));
}

.role-card i,
.project-showcase-card i {
    position: relative;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 18px;
    color: var(--pf-primary);
    background: rgba(56,189,248,.13);
    font-size: 1.55rem;
}

.role-card h3,
.learning-card h3,
.project-showcase-card h3 {
    position: relative;
    font-weight: 950;
    margin-bottom: 10px;
}

.role-card p,
.learning-card p,
.project-showcase-card p {
    position: relative;
    color: var(--pf-muted);
    line-height: 1.65;
    font-weight: 620;
}

.role-card strong {
    position: relative;
    color: var(--pf-primary);
}

.role-card:hover,
.learning-card:hover,
.feature-row:hover,
.question-card:hover,
.project-showcase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56,189,248,.48);
    box-shadow: 0 26px 78px rgba(0,0,0,.24);
}

/* Feature Band */

.platform-dark-band,
.interview-intelligence,
.content-hub {
    background:
            radial-gradient(circle at left center, rgba(56,189,248,.12), transparent 36%),
            var(--pf-bg-2);
}

.platform-feature-grid,
.interview-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.feature-stack {
    display: grid;
    gap: 14px;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
}

.feature-row i {
    min-width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--pf-primary);
    background: rgba(56,189,248,.13);
    font-size: 1.35rem;
}

.feature-row h3 {
    margin: 0 0 6px;
    font-weight: 950;
}

.feature-row p {
    margin: 0;
    color: var(--pf-muted);
    line-height: 1.6;
}

/* Learning */

.learning-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 20px;
}

.learning-card {
    display: block;
    min-height: 320px;
    padding: 26px;
}

.learning-card.big {
    background:
            radial-gradient(circle at top right, rgba(56,189,248,.30), transparent 45%),
            linear-gradient(135deg, rgba(56,189,248,.16), rgba(129,140,248,.10));
}

.card-label {
    position: relative;
    display: inline-flex;
    padding: 7px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: var(--pf-primary);
    background: rgba(56,189,248,.13);
    border: 1px solid var(--pf-border);
    font-size: .75rem;
    font-weight: 950;
}

.chip-row {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-row span {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--pf-muted);
    background: rgba(255,255,255,.08);
    border: 1px solid var(--pf-border);
    font-size: .75rem;
    font-weight: 850;
}

body.light .chip-row span {
    background: rgba(2,132,199,.06);
}

/* Interview */

.question-panel {
    display: grid;
    gap: 14px;
}

.question-card {
    display: block;
    padding: 20px;
}

.question-card.active {
    background: linear-gradient(135deg, rgba(56,189,248,.22), rgba(129,140,248,.12));
}

.question-card strong {
    display: block;
    margin: 6px 0;
    font-size: 1.12rem;
    font-weight: 950;
}

.question-card span {
    color: var(--pf-muted);
    font-weight: 750;
}

/* Projects */

.project-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-showcase-card {
    display: block;
    min-height: 250px;
    padding: 26px;
}

/* Hub */

.hub-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hub-links a {
    color: var(--pf-text) !important;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--pf-card);
    border: 1px solid var(--pf-border);
    font-weight: 900;
    transition: .25s ease;
}

.hub-links a:hover {
    transform: translateY(-3px);
    color: #06111f !important;
    background: var(--pf-primary);
}

/* Final CTA */

.final-platform-cta {
    padding-bottom: 110px;
}

.final-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 44px;
    border-radius: 36px;
    background:
            radial-gradient(circle at top right, rgba(56,189,248,.24), transparent 42%),
            var(--pf-card-2);
    border: 1px solid var(--pf-border);
    box-shadow: 0 32px 96px rgba(0,0,0,.22);
}

.final-card h2 {
    max-width: 760px;
}

.final-card p {
    margin-bottom: 0;
}

/* Animations */

@keyframes glowFloat {
    from { transform: translateY(0) scale(.96); opacity: .55; }
    to { transform: translateY(44px) scale(1.06); opacity: .9; }
}

@keyframes cardFloat {
    from { transform: translateY(0) scale(.97); opacity: .55; }
    to { transform: translateY(-22px) scale(1.04); opacity: .92; }
}

/* Responsive */

@media (max-width: 1100px) {
    .role-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .platform-hero {
        min-height: auto;
        padding: 112px 0 52px;
    }

    .platform-hero-grid,
    .platform-feature-grid,
    .interview-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-copy,
    .section-heading.left {
        text-align: center;
    }

    .hero-copy h1,
    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .platform-actions,
    .proof-strip {
        justify-content: center;
    }

    .command-center {
        max-width: 640px;
        margin: auto;
    }

    .learning-grid {
        grid-template-columns: 1fr;
    }

    .learning-card {
        min-height: 260px;
    }

    .project-showcase-grid {
        grid-template-columns: 1fr;
    }

    .final-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .platform-hero {
        padding: 96px 14px 36px;
    }

    .platform-badge {
        font-size: .72rem;
        padding: 8px 11px;
    }

    .hero-copy h1 {
        font-size: clamp(2.55rem, 13vw, 3.85rem);
        line-height: 1;
        letter-spacing: -.058em;
    }

    .hero-copy p {
        font-size: .96rem;
        line-height: 1.65;
    }

    .platform-btn {
        width: 100%;
        min-height: 50px;
    }

    .platform-search {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 22px;
    }

    .platform-search > i {
        display: none;
    }

    .platform-search input,
    .platform-search button {
        width: 100%;
        text-align: center;
        border-radius: 15px;
    }

    .proof-strip {
        gap: 9px;
        font-size: .76rem;
    }

    .command-card {
        padding: 16px;
        border-radius: 26px;
    }

    .score-card {
        padding: 16px;
        border-radius: 20px;
    }

    .score-ring {
        width: 58px;
        height: 58px;
        border-width: 5px;
        font-size: .85rem;
    }

    .track-item {
        padding: 14px;
        border-radius: 18px;
    }

    .track-item i {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 1.1rem;
    }

    .track-item strong {
        font-size: .84rem;
    }

    .metrics-grid {
        gap: 7px;
    }

    .metrics-grid div {
        padding: 10px 6px;
        border-radius: 14px;
    }

    .metrics-grid strong {
        font-size: .95rem;
    }

    .metrics-grid span {
        font-size: .58rem;
    }

    .platform-section {
        padding: 56px 14px;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .section-heading h2,
    .final-card h2 {
        font-size: 1.9rem;
    }

    .section-heading p,
    .final-card p {
        font-size: .94rem;
    }

    .role-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .role-card,
    .learning-card,
    .project-showcase-card {
        min-height: auto;
        padding: 20px;
        border-radius: 22px;
    }

    .chip-row {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 18px;
    }

    .feature-row {
        padding: 16px;
        border-radius: 20px;
    }

    .question-card {
        padding: 16px;
        border-radius: 18px;
    }

    .question-card strong {
        font-size: .98rem;
    }

    .hub-links {
        justify-content: flex-start;
        gap: 8px;
    }

    .hub-links a {
        font-size: .78rem;
        padding: 9px 11px;
    }

    .final-card {
        padding: 24px 18px;
        border-radius: 26px;
    }
}
/* =========================================================
   PREMIUM COMMAND CENTER CATEGORY UI
   Add at the VERY BOTTOM of index.css
   Web + Mobile | Dark + Light
========================================================= */

.category-command-card {
    padding: 28px !important;
}

.command-category-panel {
    position: relative;
    overflow: hidden;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 26px;
    background:
            linear-gradient(135deg, rgba(56,189,248,.13), rgba(129,140,248,.08));
    border: 1px solid rgba(125,211,252,.20);
    transition: .28s ease;
}

.command-category-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at top right, rgba(56,189,248,.22), transparent 44%);
    pointer-events: none;
}

.command-category-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(56,189,248,.45);
    box-shadow: 0 20px 55px rgba(0,0,0,.20);
}

.command-category-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.command-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 19px;
    display: grid;
    place-items: center;
    color: var(--pf-primary);
    background: rgba(56,189,248,.14);
    border: 1px solid rgba(125,211,252,.20);
    font-size: 1.45rem;
}

.command-category-head small {
    display: block;
    margin-bottom: 4px;
    color: var(--pf-primary);
    text-transform: uppercase;
    letter-spacing: .055em;
    font-size: .76rem;
    font-weight: 950;
}

.command-category-head strong {
    display: block;
    color: var(--pf-text);
    font-size: 1.15rem;
    font-weight: 950;
    line-height: 1.2;
}

.command-course-pills {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.command-course-pills a {
    max-width: 100%;
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--pf-text) !important;
    text-decoration: none;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(125,211,252,.16);
    font-size: .76rem;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: .22s ease;
}

.command-course-pills a:hover {
    color: #06111f !important;
    background: var(--pf-primary);
    border-color: var(--pf-primary);
    transform: translateY(-2px);
}

/* Make fallback links hidden when Thymeleaf renders many dynamic courses.
   Optional: remove these fallback static links later if you don't want duplicates. */
.command-course-pills a:nth-child(n+7) {
    display: none;
}

/* Light mode */
body.light .command-category-panel {
    background:
            radial-gradient(circle at top right, rgba(2,132,199,.12), transparent 42%),
            rgba(255,255,255,.86);
    border-color: rgba(2,132,199,.16);
    box-shadow: 0 16px 34px rgba(15,23,42,.08);
}

body.light .command-category-icon {
    background: rgba(2,132,199,.10);
    border-color: rgba(2,132,199,.16);
}

body.light .command-course-pills a {
    background: rgba(2,132,199,.07);
    border-color: rgba(2,132,199,.14);
    color: #0f172a !important;
}

/* Tablet */
@media (max-width: 991px) {
    .category-command-card {
        max-width: 680px;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .category-command-card {
        padding: 16px !important;
        border-radius: 26px !important;
    }

    .command-category-panel {
        padding: 15px;
        margin-bottom: 12px;
        border-radius: 20px;
    }

    .command-category-head {
        grid-template-columns: 44px 1fr;
        gap: 11px;
        margin-bottom: 11px;
    }

    .command-category-icon {
        width: 44px;
        height: 44px;
        border-radius: 15px;
        font-size: 1.1rem;
    }

    .command-category-head small {
        font-size: .62rem;
        letter-spacing: .04em;
    }

    .command-category-head strong {
        font-size: .88rem;
        line-height: 1.22;
    }

    .command-course-pills {
        gap: 6px;
    }

    .command-course-pills a {
        padding: 6px 8px;
        font-size: .64rem;
        max-width: 145px;
    }

    .command-course-pills a:nth-child(n+5) {
        display: none;
    }
}

@media (max-width: 390px) {
    .command-course-pills a {
        max-width: 125px;
        font-size: .6rem;
    }

    .command-category-head strong {
        font-size: .82rem;
    }
}
/* FINAL HERO VIEWPORT FIX */
.platform-hero {
    min-height: auto !important;
    padding: 118px 0 70px !important;
    align-items: flex-start !important;
}

.platform-hero-grid {
    align-items: flex-start !important;
}

.hero-copy h1 {
    font-size: clamp(3rem, 6vw, 6rem) !important;
}

.hero-copy p {
    max-width: 760px;
    font-size: 1.22rem !important;
}

.command-card {
    max-height: none !important;
    overflow: visible !important;
}

.command-category-panel {
    padding: 18px !important;
    margin-bottom: 14px !important;
}

.command-course-pills a {
    font-size: 0.72rem !important;
    padding: 7px 10px !important;
}

/* Better laptop fit */
@media (min-width: 992px) and (max-height: 820px) {
    .platform-hero {
        padding-top: 112px !important;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 5.5vw, 5.4rem) !important;
    }

    .command-card {
        padding: 20px !important;
    }

    .score-card {
        padding: 16px !important;
        margin-bottom: 12px !important;
    }

    .command-category-panel {
        padding: 15px !important;
        margin-bottom: 11px !important;
    }

    .metrics-grid div {
        padding: 10px 8px !important;
    }
}

/* Mobile premium fit */
@media (max-width: 576px) {
    .platform-hero {
        padding: 92px 14px 36px !important;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 12vw, 3.5rem) !important;
    }

    .hero-copy p {
        font-size: 0.95rem !important;
    }

    .command-card {
        padding: 14px !important;
        border-radius: 24px !important;
    }
}
/* FINAL 10/10 HERO TYPOGRAPHY + HEIGHT FIX */

@media (min-width: 992px) {
    .platform-hero {
        min-height: calc(100vh - 90px) !important;
        padding: 118px 0 56px !important;
    }

    .hero-copy h1 {
        max-width: 760px !important;
        font-size: clamp(4.2rem, 5.4vw, 6rem) !important;
        line-height: 0.94 !important;
        letter-spacing: -0.07em !important;
    }

    .hero-copy h1 span {
        display: block !important;
    }

    .hero-copy p {
        max-width: 760px !important;
        font-size: 1.18rem !important;
        line-height: 1.65 !important;
    }

    .platform-hero-grid {
        gap: 52px !important;
        align-items: flex-start !important;
    }

    .command-card {
        padding: 22px !important;
        transform: scale(0.96);
        transform-origin: top center;
    }
}

/* Laptop height fit */
@media (min-width: 992px) and (max-height: 820px) {
    .hero-copy h1 {
        font-size: clamp(3.6rem, 5vw, 5.3rem) !important;
    }

    .platform-hero {
        padding-top: 108px !important;
    }

    .command-card {
        transform: scale(0.92);
    }
}

/* Mobile remains premium */
@media (max-width: 576px) {
    .hero-copy h1 {
        font-size: clamp(2.45rem, 11vw, 3.35rem) !important;
        line-height: 1 !important;
    }

    .platform-hero {
        padding-top: 92px !important;
    }
}

/* FINAL 10/10 ABOVE-THE-FOLD HERO FIT */

@media (min-width: 992px) {
    .platform-hero {
        min-height: calc(100vh - 86px) !important;
        padding: 108px 0 42px !important;
    }

    .platform-hero-grid {
        grid-template-columns: 1.05fr .9fr !important;
        gap: 46px !important;
        align-items: flex-start !important;
    }

    .hero-copy h1 {
        max-width: 790px !important;
        font-size: clamp(4rem, 5vw, 5.6rem) !important;
        line-height: .95 !important;
    }

    .hero-copy p {
        max-width: 760px !important;
        font-size: 1.1rem !important;
        line-height: 1.55 !important;
        margin-bottom: 22px !important;
    }

    .platform-search {
        margin-top: 24px !important;
    }

    .command-card {
        padding: 18px !important;
        border-radius: 30px !important;
        transform: scale(.92) !important;
        transform-origin: top center !important;
    }

    .score-card {
        padding: 15px !important;
        margin-bottom: 10px !important;
    }

    .command-category-panel {
        padding: 14px !important;
        margin-bottom: 10px !important;
        border-radius: 22px !important;
    }

    .command-category-head {
        margin-bottom: 10px !important;
    }

    .metrics-grid {
        margin-top: 10px !important;
    }

    .metrics-grid div {
        padding: 9px 6px !important;
    }
}

@media (min-width: 992px) and (max-height: 760px) {
    .hero-copy h1 {
        font-size: clamp(3.5rem, 4.7vw, 5rem) !important;
    }

    .platform-hero {
        padding-top: 98px !important;
    }

    .command-card {
        transform: scale(.86) !important;
    }
}
/* FINAL PLATFORM HERO 10/10 BALANCE */

@media (min-width: 992px) {
    .platform-hero {
        padding: 96px 0 28px !important;
        min-height: calc(100vh - 86px) !important;
    }

    .platform-hero-grid {
        grid-template-columns: 1.08fr .82fr !important;
        gap: 40px !important;
    }

    .hero-copy h1 {
        max-width: 820px !important;
        font-size: clamp(3.8rem, 4.75vw, 5.35rem) !important;
        line-height: .96 !important;
    }

    .hero-copy p {
        max-width: 780px !important;
        font-size: 1.05rem !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .platform-search {
        max-width: 720px !important;
        margin-top: 22px !important;
    }

    .command-center {
        max-width: 620px !important;
        margin-left: auto !important;
    }

    .command-card {
        transform: scale(.88) !important;
        transform-origin: top right !important;
        padding: 18px !important;
    }

    .command-category-panel {
        padding: 13px !important;
        margin-bottom: 9px !important;
    }

    .command-category-head strong {
        font-size: .98rem !important;
    }

    .command-course-pills a {
        font-size: .66rem !important;
        padding: 6px 9px !important;
    }

    .metrics-grid div {
        padding: 8px 6px !important;
    }
}

/* Large desktop keeps it premium */
@media (min-width: 1500px) {
    .hero-copy h1 {
        font-size: clamp(4.4rem, 5.2vw, 6rem) !important;
    }

    .command-card {
        transform: scale(.94) !important;
    }
}
.about-contact-section{
    position: relative;
    overflow: hidden;
}

.about-contact-grid{
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: stretch;
}

.about-platform-card,
.contact-platform-card{
    background: linear-gradient(145deg,
    rgba(15,23,42,0.95),
    rgba(30,41,59,0.92));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    padding: 40px;
    box-shadow:
            0 20px 60px rgba(0,0,0,0.35),
            inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}

body.light .about-platform-card,
body.light .contact-platform-card{
    background: linear-gradient(145deg,#ffffff,#eef6ff);
    border: 1px solid rgba(0,140,255,0.12);
}

.section-mini-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(59,130,246,0.15);
    color:#38bdf8;
    font-weight:700;
    margin-bottom:20px;
}

.about-platform-card h2{
    font-size: clamp(2rem,4vw,3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 22px;
}

.about-platform-card p,
.contact-platform-card p{
    font-size: 1.08rem;
    line-height: 1.9;
    opacity: 0.92;
}

.about-points{
    display:grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap:16px;
    margin:30px 0;
}

.about-points div{
    display:flex;
    gap:10px;
    align-items:flex-start;
    font-weight:700;
}

.about-points i{
    color:#38bdf8;
}

.contact-card-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
    color:#38bdf8;
    font-weight:800;
}

.contact-card-header i{
    font-size:1.4rem;
}

.contact-platform-card h3{
    font-size:2rem;
    font-weight:900;
    margin-bottom:18px;
}

.contact-links{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-top:28px;
}

.contact-links a{
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px 18px;
    border-radius:18px;
    text-decoration:none;
    color:inherit;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.06);
    transition:0.3s ease;
    font-weight:700;
}

.contact-links a:hover{
    transform:translateY(-4px);
    border-color:#38bdf8;
    color:#38bdf8;
}

body.light .contact-links a{
    background:#f7fbff;
}

.support-box{
    margin-top:30px;
    padding:18px;
    border-radius:20px;
    background:linear-gradient(135deg,#0ea5e9,#6366f1);
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:700;
}

@media (max-width: 992px){

    .about-contact-grid{
        grid-template-columns:1fr;
    }

    .about-platform-card,
    .contact-platform-card{
        padding:28px;
    }

    .about-points{
        grid-template-columns:1fr;
    }

    .contact-platform-card h3{
        font-size:1.6rem;
    }
}
@media (min-width: 992px) {
    .contact-info-card h1 {
        font-size: clamp(3rem, 4.8vw, 5rem);
        line-height: 1.05;
    }

    .contact-wrapper {
        align-items: flex-start;
    }
}