/* ==========================================================================
   ROOT VARIABLES — merged & harmonized
   ========================================================================== */
:root {
    --bg: #0a0e17;
    --editor: rgba(22, 27, 34, 0.92);
    --gutter: #1e2329;
    --line: #2d323a;
    --text: #f0f6fc;
    --keyword: #79c0ff;
    --string: #a5d6ff;
    --comment: #8b949e;
    --purple: #d2a8ff;
    --cyan: #7ee787;
    --glow: #00f0ff;
    --accent: #58a6ff;
    --primary: #4361ee;
    --card: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.15);
    --text-light: #94a3b8;
    --clr-bg: #0f0f23;
    --clr-overlay: rgba(15, 15, 35, 0.85);
    --clr-text-light: #e6edf3;
    --clr-green: #10b981;
    --clr-blue: #3b82f6;
    --clr-purple: #8b5cf6;
    --clr-teal: #06b6d4;
    --transition-speed: 0.35s;

    /* Creative Idea Machine adaptations */
    --glass-start: rgba(67, 97, 238, 0.16);
    --glass-end: rgba(0, 240, 255, 0.06);
    --glass-border: rgba(67, 97, 238, 0.35);
    --glass-shadow-deep: rgba(8, 18, 54, 0.88);
    --glow-cyan-strong: rgba(0, 240, 255, 0.75);
    --glow-blue: rgba(67, 97, 238, 0.65);
    --sparkle-color: #a5f3fc;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100dvh;
    height: 100%;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   BACKGROUND EFFECTS — merged both versions
   ========================================================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 75%, rgb(67 97 238 / .16) 0%, transparent 40%),
        radial-gradient(circle at 85% 20%, rgb(0 255 255 / .12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgb(88 166 255 / .07) 0%, transparent 50%);
    animation: float 30s infinite ease-in-out;
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 50% 20%, transparent 0%, rgba(0,0,0,0.28) 65%, rgba(0,0,0,0.62) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1) }
    50%      { transform: translateY(-30px) scale(1.05) }
}

/* Additional subtle movement from Creative Idea Machine */
body::before {
    inset: -40%;
    background:
        radial-gradient(circle at 20% 20%, rgba(67, 97, 238, 0.18), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.16), transparent 55%);
    opacity: 0.7;
    mix-blend-mode: screen;
    animation: subtleGlow 12s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0%   { transform: translate3d(0, 0, 0) scale(1);   opacity: 0.68; }
    100% { transform: translate3d(14px, -14px, 0) scale(1.05); opacity: 0.92; }
}

/* ==========================================================================
   PARTICLES — Creative Idea Machine style
   ========================================================================== */
.particle-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow), rgba(0,240,255,0.28) 60%, transparent 75%);
    opacity: 0;
    filter: blur(0.9px);
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0%   { transform: translate3d(0, 0, 0) scale(0.35); opacity: 0; }
    8%   { opacity: 0.65; }
    55%  { opacity: 0.92; }
    100% { transform: translate3d(0, -160px, 0) scale(1.25); opacity: 0; }
}

/* ==========================================================================
   CREATIVE IDEA MACHINE GLASS CARD — original desktop + clean mobile
   ========================================================================== */
.scene {
    perspective: 1200px;
    width: clamp(320px, 78vw, 400px);
    height: clamp(320px, 78vw, 400px);
    position: relative;
    margin-left: 120px;
    margin-top: 120px;
    margin-right: auto;
    z-index: 2;
}

.glass-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--glass-start), var(--glass-end));
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 28px 70px var(--glass-shadow-deep),
        0 0 0 1px rgba(67, 97, 238, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow: hidden;
    padding: 24px;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    cursor: pointer;
    touch-action: manipulation;
}

.glass-card:hover {
    box-shadow: 
        0 45px 100px rgba(67, 97, 238, 0.75),
        0 0 60px rgba(0, 240, 255, 0.45);
    border-color: var(--primary);
    background: linear-gradient(140deg, rgba(67,97,238,0.22), rgba(0,240,255,0.14));
}

.glass-card:active {
    transform: scale(0.982) translateZ(5px);
}

.glass-card.is-tilting {
    transition: transform 60ms linear;
}

.icon-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: realisticFloat 5.5s ease-in-out infinite;
}

@keyframes realisticFloat {
    0%, 100% { transform: translate3d(0, 5px, 0) rotateX(5deg) rotateY(-3deg); }
    33%      { transform: translate3d(0, -7px, 14px) rotateX(1deg) rotateY(4deg); }
    66%      { transform: translate3d(0, -13px, 7px) rotateX(6deg) rotateY(-2deg); }
}

.light-glow {
    position: absolute;
    top: 48%;
    left: 50%;
    width: 240px;
    height: 240px;
    margin: -120px 0 0 -120px;
    background: radial-gradient(circle closest-side,
        var(--glow-cyan-strong) 0%,
        var(--glow-blue) 28%,
        rgba(0, 100, 200, 0.12) 62%,
        transparent 82%);
    border-radius: 50%;
    animation: 
        lightPulse 2.7s ease-in-out infinite,
        glowExpand 6s ease-in-out infinite reverse;
    mix-blend-mode: screen;
    filter: blur(1.5px);
    z-index: 0;
}

@keyframes lightPulse {
    0%, 100% { opacity: 0.58; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.20); }
}

.sparkles {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    pointer-events: none;
    z-index: 3;
}

.sparkle {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, #ffffff, var(--sparkle-color) 42%, transparent 72%);
    border-radius: 50%;
    animation: sparkleMagic 3.4s ease-in-out infinite;
    filter: blur(0.7px);
    mix-blend-mode: screen;
}

@keyframes sparkleMagic {
    0%, 100% { opacity: 0; transform: scale(0.28) translateY(0) rotate(0deg); }
    50%      { opacity: 1; transform: scale(1.25) translateY(-8px) rotate(180deg); }
}

/* Title — original desktop positioning */
.title {
    text-align: left;
    margin-bottom: -150px; 
    margin-left: 120px;  
    margin-top: 30px;
    max-width: clamp(320px, 78vw, 400px);
    z-index: 2;
}

.title h1 {
    font-size: clamp(2.4rem, 8vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--primary), var(--glow), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.05;
    margin-bottom: 0.6rem;
}

.title .subtitle {
    color: var(--text-light);
    font-size: clamp(1.1rem, 3.5vw, 1.35rem);
    font-weight: 500;
    opacity: 0.92;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Mobile — clean centered layout */
@media (max-width: 992px) {
    .scene {
        margin: 6rem auto 4rem !important;
    }
    .title {
        text-align: center !important;
        margin: 2rem auto 4rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 4rem !important;
    }
}

@media (max-width: 640px) {
    .scene {
        width: clamp(280px, 82vw, 360px) !important;
        height: clamp(280px, 82vw, 360px) !important;
        margin: 3rem auto 3.5rem !important;
    }
    .glass-card {
        border-radius: 24px !important;
        padding: 20px !important;
    }
    .light-glow {
        width: 190px !important;
        height: 190px !important;
        margin: -95px 0 0 -95px !important;
    }
    .sparkles {
        width: 230px !important;
        height: 230px !important;
    }
}

@media (max-width: 480px) {
    .scene {
        width: clamp(260px, 85vw, 340px) !important;
        height: clamp(260px, 85vw, 340px) !important;
        margin: 2.5rem auto 3rem !important;
    }
    .glass-card {
        border-radius: 20px !important;
        padding: 16px !important;
    }
    .light-glow {
        width: 170px !important;
        height: 170px !important;
        margin: -85px 0 0 -85px !important;
    }
    .sparkles {
        width: 210px !important;
        height: 210px !important;
    }
    .title h1 {
        font-size: clamp(2.2rem, 9vw, 3.2rem) !important;
    }
    .title {
        margin: 1.5rem auto 3rem !important;
    }
}

/* ==========================================================================
   PROJECTS NEXUS — original desktop + clean mobile
   ========================================================================== */
.projects-nexus-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    margin-right: 85px;
    margin-top: -600px;
    justify-content: space-between;
    gap: 6rem;
    flex-direction: row-reverse;
}

.projects-left {
    flex: 1;
    max-width: 600px;
    text-align: right;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    width: 100%;
    max-width: 520px;
    margin-left: 0;
}

.projects-header h2 {
    font-size: 4.2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #4361ee, #7c3aed, #c84efd, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    background-size: 200%;
    animation: gradientShift 10s ease infinite;
    margin-bottom: 16px;
}

.projects-header p {
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: .9;
    font-weight: 500;
}

.project-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px;
    height: 110px;
    background: rgb(255 255 255 / .05);
    backdrop-filter: blur(16px);
    border: 1.5px solid rgb(67 97 238 / .3);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(.23, 1, .32, 1);
    box-shadow: 0 8px 32px rgb(0 0 0 / .4)
}

.project-btn:hover {
    transform: translateY(-14px) scale(1.07);
    border-color: var(--primary);
    background: rgb(67 97 238 / .18);
    box-shadow: 0 25px 70px rgb(67 97 238 / .7), 0 0 60px rgb(0 255 255 / .4)
}

.btn-main {
    font-size: 1.48rem;
    font-weight: 800;
    background: linear-gradient(90deg, #7c3aed, #4361ee, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text
}

.btn-sub {
    font-size: .98rem;
    color: var(--text-light);
    margin-top: 6px;
    font-weight: 600
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgb(0 255 255 / .25), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none
}

.project-btn:hover .btn-glow {
    opacity: 1
}

/* Desktop — force original layout */
@media (min-width: 993px) {
    .projects-nexus-container {
        margin-top: -600px !important;
        margin-right: 85px !important;
        flex-direction: row-reverse !important;
    }
    .projects-left {
        text-align: right !important;
    }
}

/* Mobile — clean centered stack */
@media (max-width: 992px) {
    .projects-nexus-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 4rem !important;
        margin-top: 2rem !important;
        margin-right: 0 !important;
        margin-bottom: 6rem !important;
    }

    .projects-left {
        text-align: center !important;
        max-width: 100% !important;
    }

    .projects-grid {
        max-width: 90% !important;
        grid-template-columns: 1fr !important;
        gap: 1.8rem !important;
    }

    .project-btn {
        height: auto !important;
        padding: 1.6rem 1.8rem !important;
        min-height: 110px !important;
    }
}

@media (max-width: 480px) {
    .projects-header h2 {
        font-size: 3.2rem !important;
    }
    .projects-nexus-container {
        padding: 0 1.2rem !important;
        margin-bottom: 4rem !important;
    }
}

/* ==========================================================================
   ORIGINAL WEBSITE STYLES (header → footer) — completely unchanged
   ========================================================================== */

img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain !important;
    object-position: center !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 15px;
    z-index: 1000;
    background: rgb(10 14 23 / .95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgb(67 97 238 / .2);
    box-shadow: 0 8px 32px rgb(0 0 0 / .6)
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 2.1rem;
    letter-spacing: -1.5px;
    text-decoration: none;
    display: flex;
    gap: 6px;
    align-items: center;
    color: var(--text)
}

.logo span {
    background: linear-gradient(90deg, #4361ee, #7c3aed, #c84efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    font-weight: 900
}

.logo .bracket {
    color: var(--primary)
}

.hero {
    text-align: center;
    padding: 160px 24px 100px;
    max-width: 1200px;
    margin: 0 auto
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.4rem
}

.hero .main-title {
    background: linear-gradient(90deg, #4361ee, #7c3aed, #c84efd);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #fff0;
    color: #fff0;
    animation: gradientShift 8s ease infinite
}

.hero .highlight {
    background: linear-gradient(90deg, #c84efd, #4361ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #fff0;
    color: #fff0
}

.hero .subtitle {
    font-size: 1.65rem;
    font-weight: 500;
    color: var(--text-light);
    opacity: .92;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50% }
    50%      { background-position: 100% 50% }
}

.grid-container {
    max-width: 1400px;
    margin: 0 auto 6rem;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px
}

@media (max-width:1024px) {
    .grid-container { grid-template-columns: repeat(3, 1fr) }
}

@media (max-width:768px) {
    .grid-container { grid-template-columns: repeat(2, 1fr); gap: 20px }
}

@media (max-width:480px) {
    .grid-container { grid-template-columns: 1fr; gap: 20px }
}

.course-card {
    background: rgb(255 255 255 / .06);
    backdrop-filter: blur(12px);
    border: 1px solid rgb(255 255 255 / .1);
    border-radius: 20px;
    padding: 20px 24px;
    height: 115px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 8px 32px rgb(0 0 0 / .4);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden
}

.course-card:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgb(67 97 238 / .6), 0 0 40px rgb(0 255 255 / .3);
    background: rgb(67 97 238 / .12)
}

.course-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px
}

.course-text h3 {
    font-size: 1.32rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff
}

.course-text p {
    font-size: .92rem;
    color: var(--text-light);
    opacity: .95;
    font-weight: 500
}

.course-icon {
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 12px rgb(0 255 255 / .4))
}

.course-card:hover .course-icon {
    transform: scale(1.4) rotate(15deg)
}

.split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 100%;
    margin: 8rem auto 6rem;
    padding: 0 3rem;
    overflow-x: hidden
}

.editor-side,
.compilers-side {
    flex: 1;
    min-width: 0;
    position: relative
}

.editor-side {
    flex: 1.6
}

.editor-card {
    width: 100% !important;
    max-width: 800px;
    margin: 0 auto;
    background: var(--editor);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgb(0 0 0 / .8), 0 0 100px rgb(0 255 255 / .25);
    border: 1.5px solid var(--border);
    backdrop-filter: blur(18px)
}

.editor-tabs {
    display: flex;
    background: #1a1a1a;
    padding: 10px 14px 0;
    border-bottom: 1px solid var(--line);
    gap: 4px
}

.tab {
    padding: 11px 18px;
    background: #2a2a2a;
    color: #888;
    font-size: 14px;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
    cursor: pointer
}

.tab.active {
    background: var(--editor);
    color: var(--text);
    font-weight: 600
}

.gutter {
    position: absolute;
    left: 0;
    top: 0;
    width: 72px;
    height: 100%;
    background: var(--gutter);
    border-right: 1px solid var(--line);
    padding: 60px 0 20px;
    font-size: 16.5px;
    color: var(--comment);
    user-select: none;
    z-index: 3;
    font-family: 'Fira Mono', monospace;
    line-height: 2
}

.code-area {
    margin-left: 72px;
    padding: 24px 32px;
    min-height: 500px;
    color: var(--text);
    font-size: 18.5px;
    line-height: 2;
    font-family: 'Fira Mono', monospace
}

.code-line {
    display: block
}

.code-line.active {
    background: rgb(88 166 255 / .22);
    border-left: 4px solid var(--accent);
    padding-left: 14px;
    margin-left: -18px;
    border-radius: 0 8px 8px 0
}

.keyword {
    color: var(--keyword)
}

.string {
    color: var(--string)
}

.comment {
    color: var(--comment);
    font-style: italic
}

.cursor {
    display: inline-block;
    width: 14px;
    height: 1.6em;
    background: var(--glow);
    animation: blink 1s steps(2) infinite;
    box-shadow: 0 0 20px var(--glow);
    vertical-align: middle
}

@keyframes blink {
    0%, 100% { opacity: 1 }
    50%      { opacity: 0 }
}

.compilers-section {
    max-width: 520px
}

.compilers-header {
    text-align: right;
    margin-bottom: 2.8rem
}

.compilers-header h2 {
    font-size: 1.8rem;
    background: linear-gradient(90deg, #fff, var(--primary), #0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #fff0;
    color: #fff0
}

.compilers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-left: auto
}

.compiler-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card);
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.12rem;
    color: var(--text);
    border-radius: 18px;
    text-decoration: none;
    border: 1.5px solid #fff0;
    backdrop-filter: blur(10px);
    transition: all 0.7s cubic-bezier(.25, .8, .25, 1);
    box-shadow: 0 4px 12px rgb(0 0 0 / .3)
}

.compiler-button:hover {
    transform: translateY(-10px) scale(1.06);
    border-color: var(--primary);
    background: rgb(67 97 238 / .15);
    box-shadow: 0 16px 40px rgb(67 97 238 / .6), 0 0 50px rgb(67 97 238 / .5)
}

.stats-section {
    height: auto;
    min-height: 80dvh;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 35px;
    padding: 120px 20px
}

@media (max-width:992px) {
    .stats-section {
        min-height: 80dvh !important;
        height: auto !important;
        padding: 140px 20px 160px !important;
        display: block !important
    }
}

.code-bg {
    position: absolute;
    inset: 0;
    font-family: 'Source Code Pro', monospace;
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    color: rgb(173 216 255 / .12);
    white-space: pre;
    line-height: 2.2;
    text-align: center;
    animation: scrollCode 50s linear infinite;
    user-select: none;
    pointer-events: none
}

@keyframes scrollCode {
    0%   { transform: translateY(0) }
    100% { transform: translateY(-50%) }
}

.stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.star {
    position: absolute;
    background: #e0f2fe;
    border-radius: 50%;
    box-shadow: 0 0 10px 4px rgb(174 227 255 / .6);
    animation: twinkle 4s infinite ease-in-out
}

.star.small { width: 2px; height: 2px }
.star.medium { width: 3px; height: 3px }
.star.large { width: 5px; height: 5px }

@keyframes twinkle {
    0%, 100% { opacity: .4; transform: scale(1) }
    50%      { opacity: 1; transform: scale(1.6) }
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.codeverse-logo {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    font-family: 'Pacifico', cursive;
    font-size: clamp(4.5rem, 12vw, 11rem);
    letter-spacing: 8px;
    color: #fff;
    text-shadow: 0 0 30px #0ff, 0 0 60px #0ff, 0 0 90px #4361ee, 0 0 120px #4361ee;
    animation: logoPulse 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
    white-space: nowrap
}

@keyframes logoPulse {
    0%, 100% {
        text-shadow: 0 0 30px #0ff, 0 0 60px #0ff, 0 0 90px #4361ee
    }
    50% {
        text-shadow: 0 0 40px #0ff, 0 0 80px #0ff, 0 0 120px #4361ee, 0 0 160px #4361ee;
        transform: translate(-50%, -50%) scale(1.05)
    }
}

.unique-stats-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 6vw, 48px);
    z-index: 10;
    text-align: right
}

.stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    line-height: 1.15
}

.stat-item h2 {
    font-size: clamp(2.7rem, 8vw, 4.4rem) !important;
    font-weight: 900;
    background: linear-gradient(90deg, #4361ee, #7c3aed, #c84efd, #00f0ff, #4361ee);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    animation: gradientFlow 8s ease infinite;
    margin: 0
}

.stat-item p {
    font-family: 'Source Code Pro', monospace;
    font-size: clamp(1.05rem, 3.2vw, 1.42rem);
    color: #b8f42d;
    text-shadow: 0 0 12px #b8f42d;
    margin-top: 9px
}

@keyframes gradientFlow {
    0%   { background-position: 0% 50% }
    50%  { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

@media (max-width:768px) {
    .unique-stats-container {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-50%);
        text-align: center;
        gap: 40px !important
    }

    .codeverse-logo {
        left: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
        font-size: clamp(4rem, 12vw, 7rem) !important;
        letter-spacing: 4px;
        text-shadow: 0 0 20px #0ff, 0 0 40px #0ff, 0 0 60px #4361ee !important
    }
}

@media (max-width:480px) {
    .codeverse-logo {
        font-size: clamp(3.5rem, 11vw, 5.5rem) !important
    }
}

.aim-title {
    font-family: 'Source Code Pro', monospace;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: #b8f42d;
    text-shadow: 0 0 20px #b8f42d;
    margin-bottom: 10px
}

.why-programiz-section {
    padding: 160px 40px 140px;
    text-align: center
}

.why-programiz-title {
    font-size: 4.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, #4361ee, #7c3aed, #00f0ff, #c84efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    background-size: 300%;
    animation: gradientShift 12s ease infinite;
    margin-bottom: 100px;
    text-shadow: 0 0 40px rgb(67 97 238 / .5)
}

.why-programiz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto
}

.why-programiz-card {
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1.5px solid #fff0;
    border-radius: 20px;
    padding: 42px 32px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 8px 32px rgb(0 0 0 / .4);
    transition: all 0.7s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    overflow: hidden
}

.why-programiz-card:hover {
    transform: translateY(-16px) scale(1.07);
    border-color: var(--primary);
    background: rgb(67 97 238 / .15);
    box-shadow: 0 25px 70px rgb(67 97 238 / .7), 0 0 60px rgb(0 255 255 / .4)
}

.why-programiz-icon {
    font-size: 5rem;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 20px rgb(0 255 255 / .6));
    transition: transform 0.5s ease
}

.why-programiz-card:hover .why-programiz-icon {
    transform: scale(1.3) rotate(12deg)
}

.why-programiz-subtitle {
    font-size: 1.68rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00f0ff, #7c3aed, #c84efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    line-height: 1.3
}

@media (max-width:992px) {
    .why-programiz-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .why-programiz-card {
        height: 200px
    }

    .why-programiz-icon {
        font-size: 6rem
    }
}

footer {
    margin-top: auto;
    padding: 90px 10% 40px;
    border-top: 1px solid rgb(67 97 238 / .3);
    color: var(--text-light)
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px
}

.footer-column h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #00f0ff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-column h3::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #00f0ff, transparent);
    margin-left: 12px
}

.footer-column ul {
    list-style: none
}

.footer-column ul li {
    margin-bottom: 11px;
    font-size: .95rem;
    color: var(--text-light);
    transition: all 0.3s;
    position: relative;
    padding-left: 4px
}

.footer-column ul li:hover {
    color: #fff;
    transform: translateX(6px)
}

.footer-column ul li::before {
    content: '>';
    position: absolute;
    left: -18px;
    opacity: 0;
    color: #7c3aed;
    transition: all 0.3s
}

.footer-column ul li:hover::before {
    opacity: 1;
    left: -14px
}

.footer-bottom {
    margin-top: 60px;
    padding: 24px 10%;
    background: rgb(10 14 23 / .95);
    border-top: 1px solid rgb(67 97 238 / .3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .92rem;
    backdrop-filter: blur(12px)
}

.social-links {
    display: flex;
    gap: 16px
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / .05);
    border: 1px solid rgb(255 255 255 / .12);
    border-radius: 50%;
    color: #ccc;
    font-size: 1.3rem;
    transition: all 0.4s
}

.social-links a:hover {
    color: #fff;
    border-color: #00f0ff;
    background: rgb(0 240 255 / .15);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgb(0 240 255 / .3)
}

@media (max-width:1100px) {
    .footer-container { grid-template-columns: repeat(3, 1fr) }
}

@media (max-width:768px) {
    footer { padding: 70px 5% 40px }
    .footer-container { grid-template-columns: 1fr; gap: 32px }
    .footer-column h3::after { display: none }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center
    }
}

@media (max-width:900px) {
    .editor-card { width: 100% !important; max-width: none; border-radius: 20px }
    .split-container { flex-direction: column; gap: 5rem; padding: 0 1.5rem }
    .compilers-grid { grid-template-columns: 1fr }
    .compilers-section { padding: 0 2rem; margin-top: 3rem }
}

.supreme-executive-practice {
    margin: 0;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6rem;
    overflow: hidden;
    position: relative;
    color: var(--text);
    cursor: default
}

.supreme-executive-practice .questions-section {
    max-width: 640px;
    padding: 0 24px;
    flex: 1;
    perspective: 2000px
}

.supreme-executive-practice .questions-header h2 {
    font-size: 3.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, #4361ee, #7c3aed, #c84efd, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    background-size: 200%;
    animation: gradientShift 10s ease infinite;
    margin-bottom: 16px
}

.supreme-executive-practice .questions-header p {
    font-size: 1.35rem;
    color: var(--text-light);
    opacity: .92;
    font-weight: 500
}

.supreme-executive-practice .questions-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 580px
}

.supreme-executive-practice .btn-wrapper {
    display: flex;
    justify-content: flex-start;
    perspective: 1000px
}

.supreme-executive-practice .btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    background: rgb(255 255 255 / .06);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgb(255 255 255 / .1);
    border-radius: 18px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(.23, 1, .32, 1);
    box-shadow: 0 8px 32px rgb(0 0 0 / .4)
}

.supreme-executive-practice .btn:hover {
    transform: translateY(-10px) scale(1.06);
    border-color: var(--primary);
    background: rgb(67 97 238 / .15);
    box-shadow: 0 20px 50px rgb(67 97 238 / .6), 0 0 60px rgb(0 255 255 / .4)
}

.supreme-executive-practice .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgb(0 255 255 / .2), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none
}

.supreme-executive-practice .btn:hover::before {
    opacity: 1
}

.supreme-executive-practice .icon-container {
    position: relative;
    width: 236px;
    height: 236px;
    border-radius: 64px;
    background: radial-gradient(circle at 19% 19%, #ff5e7c, #4361ee, #9d00ff), linear-gradient(145deg, rgb(255 255 255 / .3), rgb(255 255 255 / .1));
    box-shadow: 0 40px 90px rgb(10 15 44 / .32), 0 18px 42px rgb(0 0 0 / .26), inset 0 0 100px rgb(255 255 255 / .26), 0 0 0 2.6px rgb(255 255 255 / .24), 0 0 60px rgb(74 107 255 / .32), 0 0 0 1.6px rgb(255 255 255 / .14), 0 0 40px cyan;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    transform: perspective(2000px) rotateX(9.5deg) rotateY(-6.5deg);
    transition: all 1s cubic-bezier(.23, 1, .32, 1);
    backdrop-filter: blur(22px);
    cursor: pointer;
    margin-right: 150px;
    margin-top: 100px;
    margin-left: auto
}

.supreme-executive-practice .icon-container:hover {
    transform: perspective(2000px) rotateX(16deg) rotateY(-11deg) translateY(-20px) scale(1.06);
    box-shadow: 0 58px 125px rgb(10 15 44 / .46), 0 26px 60px rgb(0 0 0 / .32), inset 0 0 120px rgb(255 255 255 / .46), 0 0 0 3.2px rgb(255 255 255 / .32), 0 0 85px rgb(74 107 255 / .44), 0 0 0 2.2px rgb(255 255 255 / .2), 0 0 50px #00ffff, 0 0 70px #9d00ff
}

.supreme-executive-practice .icon-container::before {
    content: '';
    position: absolute;
    inset: -32px;
    border-radius: 72px;
    background: radial-gradient(circle at 40% 40%, rgb(255 255 255 / .4), transparent 68%), radial-gradient(circle at 60% 60%, rgb(255 200 220 / .24), transparent 72%), radial-gradient(circle at 50% 50%, rgb(0 212 255 / .15), transparent 75%);
    filter: blur(32px);
    opacity: 0;
    transition: opacity 1s;
    z-index: -1
}

.supreme-executive-practice .icon-container:hover::before {
    opacity: 1
}

.supreme-executive-practice .glow {
    position: absolute;
    width: 206px;
    height: 206px;
    border-radius: 64px;
    background: radial-gradient(circle at 38% 38%, rgb(255 94 124 / .98), rgb(74 107 255 / .8) 50%, rgb(0 212 255 / .4) 75%, transparent 85%);
    filter: blur(30px)
}

.supreme-executive-practice svg {
    width: 140px;
    height: 140px;
    filter: drop-shadow(0 12px 26px rgb(0 0 0 / .34)) drop-shadow(0 8px 18px rgb(0 0 0 / .26));
    position: relative;
    z-index: 1
}

.supreme-executive-practice .curl-wave {
    position: absolute;
    width: 54px;
    height: 54px;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: radial-gradient(circle at 0% 50%, rgb(255 255 255 / .44), transparent 77%);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none
}

.supreme-executive-practice .bookmark {
    position: absolute;
    width: 12px;
    height: 46px;
    top: 14px;
    right: 16px;
    background: linear-gradient(180deg, #f1c40f, #f1c40f, #b8972a);
    border-radius: 4px;
    box-shadow: 0 6px 14px rgb(212 175 55 / .5), inset 0 2.5px 4px rgb(255 255 255 / .45);
    z-index: 3
}

.supreme-executive-practice .bookmark::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid #fff0;
    border-right: 6px solid #fff0;
    border-top: 10px solid #b8972a;
    filter: drop-shadow(0 2.5px 5px rgb(0 0 0 / .3))
}

.supreme-executive-practice .page-number {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 11px;
    font-weight: 900;
    color: #5a7aff;
    letter-spacing: 1.2px;
    z-index: 2
}

@media (max-width:1100px) {
    .supreme-executive-practice {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 4rem;
        padding: 100px 30px 140px;
        text-align: center
    }

    .supreme-executive-practice .questions-section {
        margin-right: 0 !important;
        max-width: 640px
    }

    .supreme-executive-practice .icon-container {
        margin-left: auto;
        margin-right: auto;
        margin-top: 2rem
    }

    .questions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 22px
    }
}

@media (max-width:480px) {
    .supreme-executive-practice {
        padding: 80px 20px 100px !important;
        gap: 3rem
    }

    .supreme-executive-practice .questions-header h2 {
        font-size: 2.6rem !important
    }

    .questions-grid {
        grid-template-columns: 1fr !important
    }

    .supreme-executive-practice .icon-container {
        width: 200px;
        height: 200px
    }

    .supreme-executive-practice svg {
        width: 120px;
        height: 120px
    }
}

@media (max-width:1400px) {
    .split-container { gap: 3rem; padding: 0 2rem }
    .code-area { font-size: 17.5px; line-height: 1.9 }
    .gutter { font-size: 16px; width: 68px }
    .code-area { margin-left: 68px }
}

@media (max-width:1200px) {
    .editor-card { max-width: 700px }
    .compilers-section { max-width: 460px }
    .code-area { font-size: 16.8px }
}

.project-btn,
.why-programiz-card,
.course-card,
.compiler-button,
.supreme-executive-practice .btn,
.icon-container,
.glow,
.curl-wave,
.bookmark,
svg {
    transform: translateZ(0);
    backface-visibility: hidden
}

.projects-nexus-section {
    margin-bottom: 10rem
}

.stats-section {
    margin-top: 8rem
}

@media (max-width:992px) {
    .projects-nexus-section { margin-bottom: 8rem }
    .stats-section { margin-top: 6rem }
}

@media (max-width:480px) {
    .projects-nexus-section { margin-bottom: 6rem }
    .stats-section { margin-top: 4rem }
}

/* ==========================================================================
   REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}