/* ==========================================================================
   GAME ENGINE & DEVELOPER LANDING PAGES (engine-landing.css)
   ========================================================================== */

/* --- Typography Additions --- */
.engine-dev-badge,
.ide-title,
.electric-code {
    font-family: 'Fira Code', monospace;
}

/* --- 1. THE HERO SECTION --- */
.engine-hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.engine-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.engine-hero-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--engine-glow) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 0;
    pointer-events: none;
}

.engine-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.engine-hero-text {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
	position: relative;
}

/* Developer Console Badge */
.engine-dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #a8b2c1;
    background: rgba(10, 12, 16, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.engine-dev-badge iconify-icon {
    color: var(--engine-accent);
    font-size: 1.1rem;
}

.engine-hero-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.engine-hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 90%;
}

/* FULLY ROUNDED INTERACTIVE HERO PILLS */
.engine-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.e-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.e-pill iconify-icon {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.e-pill:hover,
.e-pill.active {
    background: rgba(0, 123, 255, 0.1);
    border-color: var(--engine-accent);
    color: #fff;
    box-shadow: 0 0 15px var(--engine-glow), inset 0 0 10px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.e-pill:hover iconify-icon,
.e-pill.active iconify-icon {
    color: var(--engine-accent);
    filter: drop-shadow(0 0 5px var(--engine-accent));
}

.engine-hero-actions {
    display: flex;
    gap: 1rem;
}

.engine-btn-primary {
    background: var(--engine-accent);
    border-color: var(--engine-accent);
    border-radius: 4px;
    font-weight: 600;
}

.engine-btn-primary:hover {
    box-shadow: 0 8px 25px var(--engine-glow);
}

.engine-btn-outline {
    border-radius: 4px;
    border-color: rgba(255, 255, 255, 0.15);
}

/* --- IDE VISUAL MOCKUP --- */
.engine-hero-visual {
    flex: 1;
    perspective: 1200px;
    z-index: 5;
    display: flex;
    flex-direction: column;
}

.engine-ide-mockup {
    position: relative;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0d1116;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--engine-glow);
    transform-style: preserve-3d;
    will-change: transform;
    overflow: hidden;
}

.ide-header {
    background: #161b22;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ide-dots {
    display: flex;
    gap: 6px;
}

.ide-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #30363d;
}

.ide-dots span:nth-child(1) {
    background: #ff5f56;
}

.ide-dots span:nth-child(2) {
    background: #ffbd2e;
}

.ide-dots span:nth-child(3) {
    background: #27c93f;
}

.ide-title {
    font-size: 0.75rem;
    color: #8b949e;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.ide-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2ea043;
    background: rgba(46, 160, 67, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(46, 160, 67, 0.2);
    cursor: pointer;
}

/* Updated for Video/Image Background Loading */
.ide-body {
    padding: 0;
    line-height: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* The Over-Scan Stretch Trick */
.ide-body iframe {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border: none;
    pointer-events: none;
    opacity: 0.95;
}

/* --- NEW: ELECTRIC PROMO BOX --- */
.engine-promo-box {
    position: relative;
    margin-top: 2rem;
    background: rgba(0, 123, 255, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 123, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.engine-promo-box:hover {
    transform: translateY(-3px);
    border-color: var(--engine-accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(0, 123, 255, 0.15);
}

.promo-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.promo-badge {
    display: inline-block;
    background: var(--engine-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    box-shadow: 0 0 10px var(--engine-glow);
    animation: pulseBadge 2s infinite;
}

.promo-content h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.promo-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.promo-content p strong {
    color: #fff;
}

.promo-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--engine-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.promo-link:hover {
    color: #fff;
}

.promo-link iconify-icon {
    transition: transform 0.3s ease;
}

.promo-link:hover iconify-icon {
    transform: translateX(4px);
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 var(--engine-glow);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* ==========================================================================
   ADVANCED DEVELOPER CAPABILITIES GRID
   ========================================================================== */
.dev-caps-section {
    padding: 6rem 0;
}

.dev-caps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.dev-cap-card {
    background: rgba(13, 17, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dev-cap-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(13, 17, 22, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 123, 255, 0.03);
}

.cap-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.cap-card-header iconify-icon {
    font-size: 1.8rem;
    color: var(--engine-accent);
}

.electric-code {
    background: rgba(0, 123, 255, 0.1);
    color: #60a5fa;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    font-size: 0.75rem;
}

.dev-cap-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.dev-cap-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   CONSTRAINED ENGINE TICKER
   ========================================================================== */
.engine-ticker-section {
    padding: 4rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.engine-ticker-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.constrained-ticker-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ticker-track-engines {
    display: flex;
    width: max-content;
    animation: scrollEngines 30s linear infinite;
}

.ticker-track-engines:hover {
    animation-play-state: paused;
}

.ticker-content-engines {
    display: flex;
    gap: 4rem;
    padding-right: 4rem;
}

.ticker-item-engine {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.3s, color 0.3s;
    white-space: nowrap;
}

.ticker-item-engine iconify-icon {
    font-size: 2rem;
    color: var(--engine-accent);
}

.ticker-item-engine:hover {
    opacity: 1;
    color: #fff;
}

@keyframes scrollEngines {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   LAUNCHBOOST.IO PATCHING SECTION
   ========================================================================== */
.engine-launchboost-section {
    position: relative;
    padding: 7rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.lb-glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.lb-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.lb-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.lb-brand-logo {
    margin: 0 auto 1.5rem auto;
    display: block;
    max-width: 280px;
    filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.3));
}

.lb-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.lb-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

.lb-requirements {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.req-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(13, 17, 22, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.req-badge iconify-icon {
    font-size: 1.2rem;
}

.lb-free-badge {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.lb-sub-badge {
    color: var(--engine-accent);
    border-color: rgba(0, 123, 255, 0.3);
}

.lb-dev-badge {
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.4);
}

.lb-patch-highlight {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 123, 255, 0.08) 0%, rgba(13, 17, 22, 0.4) 100%);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: inset 0 0 30px rgba(0, 123, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.lb-patch-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--engine-accent), transparent);
}

.highlight-icon {
    font-size: 3rem;
    color: var(--engine-accent);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px var(--engine-glow));
}

.lb-patch-highlight h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.lb-patch-highlight p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* --- THE LIVE ANIMATED PATCHER PROTOTYPE --- */
.lb-mock-launcher-wrapper {
    max-width: 900px;
    margin: 3rem auto 0;
    perspective: 1000px;
}

.lb-mock-launcher {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px var(--engine-glow);
    background-size: cover;
    background-position: center;
    background-color: #111;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}

.lb-mock-launcher:hover {
    transform: rotateX(0deg);
}

.lb-mock-topbar {
    background: rgba(13, 17, 22, 0.9);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.lb-mock-title {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: #8b949e;
    font-weight: 500;
    margin-right: 40px;
}

.lb-mock-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    position: relative;
}

.lb-mock-patch-ui {
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lb-mock-status-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
}

#lb-mock-status {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}

#lb-mock-speed {
    transition: opacity 0.5s ease;
}

.lb-mock-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.lb-mock-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--engine-accent);
    box-shadow: 0 0 15px var(--engine-accent);
    border-radius: 4px;
}

.lb-mock-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#lb-mock-percent {
    font-family: 'Fira Code', monospace;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.lb-mock-play-btn {
    padding: 0.8rem 2.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    color: #666;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lb-mock-play-btn.ready {
    background: var(--engine-accent);
    color: #fff;
    border-color: var(--engine-accent);
    box-shadow: 0 0 20px var(--engine-glow);
    cursor: pointer;
}

.lb-mock-play-btn.ready iconify-icon {
    font-size: 1.2rem;
}

/* ==========================================================================
   RESTORED SKELETON STYLES
   ========================================================================== */

/* Specs */
.engine-specs-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.specs-unified-card {
    background: rgba(13, 17, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 3rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.os-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.os-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.os-badge iconify-icon {
    font-size: 1.4rem;
    color: var(--engine-accent);
}

.specs-grid-unified {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.spec-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--engine-accent);
    flex-shrink: 0;
}

.spec-info strong {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2px;
}

.spec-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Widgets */
.widgets-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.glc-widgets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.widget-card {
    background: rgba(13, 17, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.stat-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.widget-bg-icon {
    position: absolute;
    font-size: 15rem;
    color: var(--engine-accent);
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.discord-widget iframe {
    border: none;
    display: block;
}

/* FAQ */
.faq-section {
    padding: 6rem 0;
}

.glc-faq-accordion {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(13, 17, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--engine-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer-inner {
    padding: 15px 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* SEO / Docs */
.seo-blurb-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.glc-seo-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(13, 17, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
}

.seo-blurb-text {
    text-align: center;
}

.seo-blurb-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.docs-section {
    padding: 6rem 0;
}

.docs-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 17, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4rem;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.docs-text {
    flex: 1.5;
    text-align: left;
}

.glc-docs-pills {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.glc-docs-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #fff;
}

.docs-visual {
    flex: 1;
    text-align: right;
}

.docs-icon {
    font-size: 8rem;
    opacity: 0.8;
}

/* ==========================================================================
   EVENT ACTION SYSTEM SECTION
   ========================================================================== */
.engine-events-section {
    padding: 7rem 0;
    position: relative;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.events-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.events-text-content {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.events-visual-content {
    flex: 0.9;
    position: relative;
    perspective: 1200px;
    width: 100%;
}

/* Logic Stack Cards */
.logic-feature-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.logic-stack-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: rgba(13, 17, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: left;
}

.logic-stack-card:hover {
    background: rgba(13, 17, 22, 0.9);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(168, 85, 247, 0.05);
}

.logic-icon {
    width: 48px;
    height: 48px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #c084fc;
    flex-shrink: 0;
}

.logic-text h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.logic-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Sequence Builder Visual Mockup */
.events-glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.mock-sequence-builder {
    position: relative;
    z-index: 2;
    background: rgba(10, 12, 16, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.1);
    backdrop-filter: blur(10px);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    width: 100%;
}

.mock-sequence-builder:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.builder-header {
    background: #161b22;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
}

.bh-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #8b949e;
    font-family: 'Fira Code', monospace;
}

.bh-left span {
    color: #a855f7;
}

.bh-actions {
    display: flex;
    gap: 10px;
    color: #6e7681;
    font-size: 1.1rem;
}

.builder-body {
    padding: 2rem;
}

.seq-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--step-color);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.seq-step.active-step {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 2px 0 10px rgba(255, 255, 255, 0.02);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.step-num {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--step-color);
    opacity: 0.8;
}

.step-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.step-detail strong {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2px;
}

.step-detail span {
    font-size: 0.8rem;
    color: #8b949e;
}

.step-icons {
    color: #6e7681;
    opacity: 0;
    transition: opacity 0.3s;
}

.seq-step:hover .step-icons {
    opacity: 1;
    cursor: pointer;
}

.seq-line {
    height: 20px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0 0 2.2rem;
}

/* ==========================================================================
   DYNAMIC VARIABLES SECTION
   ========================================================================== */
.engine-variables-section {
    padding: 7rem 0;
    position: relative;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.var-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    margin-top: 2rem;
}

.var-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.var-feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.var-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.var-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #38bdf8;
    flex-shrink: 0;
    box-shadow: inset 0 0 15px rgba(14, 165, 233, 0.05);
}

.var-info h4 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.var-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Variable Inspector Visual Mockup */
.var-visual-content {
    flex: 1;
    position: relative;
    perspective: 1200px;
    width: 100%;
}

.var-glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.mock-var-inspector {
    position: relative;
    z-index: 2;
    background: rgba(10, 12, 16, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(14, 165, 233, 0.08);
    backdrop-filter: blur(10px);
    transform: rotateY(5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    width: 100%;
}

.mock-var-inspector:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.inspector-header {
    background: #161b22;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
}

.ih-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #8b949e;
    font-family: 'Fira Code', monospace;
}

.ih-dots {
    display: flex;
    gap: 6px;
}

.ih-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #30363d;
}

.inspector-body {
    padding: 1.5rem;
}

.var-table-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6e7681;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.var-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.var-row:last-of-type {
    border-bottom: none;
}

.highlight-row {
    background: rgba(14, 165, 233, 0.05);
    border-radius: 4px;
    padding: 0.8rem 0.5rem;
    margin: 0 -0.5rem;
    border-bottom: none;
}

.var-value {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
}

.string-val {
    color: #a5d6ff;
}

.numeric-val {
    color: #79c0ff;
    font-weight: 700;
}

.boolean-val {
    color: #7ee787;
}

/* Binding Demo Block */
.var-binding-demo {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.var-binding-demo > span {
    font-size: 0.8rem;
    color: #8b949e;
}

.mock-label-preview {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-label-preview strong {
    color: #38bdf8;
}

/* ==========================================================================
   INTERACTIVE OBJECT TOOLBOX
   ========================================================================== */
.engine-objects-section {
    padding: 7rem 0;
    border-top: 1px solid var(--border-color);
}

.ide-toolbox-layout {
    display: flex;
    gap: 2rem;
    background: rgba(10, 12, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.toolbox-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 1rem;
}

.toolbox-sidebar::-webkit-scrollbar {
    width: 6px;
}

.toolbox-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.toolbox-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.toolbox-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--engine-accent);
}

.tc-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.tc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.obj-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c9d1d9;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.obj-pill iconify-icon {
    font-size: 1.1rem;
    color: #8b949e;
    transition: color 0.2s;
}

.obj-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.obj-pill.active {
    background: rgba(245, 176, 65, 0.15);
    border-color: #f5b041;
    color: #fff;
    box-shadow: 0 0 15px rgba(245, 176, 65, 0.2);
}

.obj-pill.active iconify-icon {
    color: #f5b041;
}

/* Dev Edition specific pills */
.dev-pill {
    border-style: dashed;
}

.dev-pill.active {
    background: rgba(168, 85, 247, 0.15);
    border-color: #a855f7;
    border-style: solid;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.dev-pill.active iconify-icon {
    color: #a855f7;
}

/* Right Panel: Canvas Inspector */
.toolbox-canvas {
    flex: 1.2;
    background: #0d1116;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.canvas-header {
    background: #161b22;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ch-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #8b949e;
    font-family: 'Fira Code', monospace;
    text-transform: uppercase;
}

.ch-dots {
    display: flex;
    gap: 6px;
}

.ch-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #30363d;
}

.canvas-body {
    flex: 1;
    padding: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.preview-backdrop-icon {
    position: absolute;
    right: -10%;
    bottom: -10%;
    font-size: 20rem;
    color: #fff;
    opacity: 0.02;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: rotate(-15deg);
}

.preview-content-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.preview-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.preview-title-row h3 {
    font-size: 2rem;
    margin: 0;
    color: #fff;
}

.tier-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
}

.gamer-tier {
    background: rgba(255, 255, 255, 0.1);
    color: #c9d1d9;
}

.dev-tier-badge {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

#preview-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.preview-caps-header {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #8b949e;
    margin-bottom: 1rem;
}

.preview-caps-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.preview-caps-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-caps-list li iconify-icon {
    color: #f5b041;
    font-size: 1.2rem;
}

.dev-color li iconify-icon {
    color: #a855f7;
}

/* ==========================================================================
   INTERACTIVE PLUGINS SECTION
   ========================================================================== */
.engine-plugins-section {
    padding: 7rem 0;
    border-top: 1px solid var(--border-color);
}

.plugin-disclaimer-box {
    background: rgba(13, 17, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--engine-accent);
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.plugin-disclaimer-box iconify-icon {
    font-size: 1.5rem;
    color: var(--engine-accent);
    margin-top: 2px;
}

.disclaimer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.disclaimer-text strong {
    color: #fff;
}

.plugins-showcase-wrapper {
    display: flex;
    background: rgba(10, 12, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    min-height: 500px;
}

/* Nav Menu (Left) */
.plugins-nav {
    width: 350px;
    background: rgba(13, 17, 22, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.plugin-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.plugin-nav-item:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.02);
}

.plugin-nav-item.active {
    background: linear-gradient(90deg, var(--brand-glow, rgba(255, 255, 255, 0.05)) 0%, transparent 100%);
    border-left-color: var(--brand);
}

.plugin-nav-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand);
    transition: all 0.3s ease;
}

.plugin-nav-item.active .nav-icon {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 0 15px var(--brand);
}

.nav-info h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}

/* Badges */
.plugin-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.badge-free {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.badge-premium {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

.badge-soon {
    background: rgba(255, 255, 255, 0.1);
    color: #8b949e;
}

/* Display Pane (Right) */
.plugins-display {
    flex: 1;
    position: relative;
    background: #0a0c10;
}

.plugin-pane {
    position: absolute;
    inset: 0;
    padding: 3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.plugin-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pane-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pane-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--brand);
    box-shadow: 0 0 30px var(--brand-glow);
}

.pane-header h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.pane-header p {
    font-size: 1rem;
    color: var(--brand);
    font-weight: 500;
    margin: 0;
}

.pane-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.pane-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pane-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.pane-features li iconify-icon {
    font-size: 1.4rem;
    color: var(--brand);
    margin-top: 2px;
}

.pane-features li div strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.pane-features li div span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   ENGINE SCREENSHOTS GALLERY
   ========================================================================== */
.engine-gallery-section {
    padding: 7rem 0;
    border-top: 1px solid var(--border-color);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.template-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    background: #0d1116;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateZ(0);
}

.template-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.template-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0, 123, 255, 0.2) 0%, rgba(13, 17, 22, 0.85) 100%);
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
	pointer-events: none; /* Add this line */
}

.template-overlay iconify-icon {
    font-size: 3rem;
    color: #fff;
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 15px var(--engine-accent));
	pointer-events: none;
}

.template-item:hover img {
    transform: scale(1.05);
}

.template-item:hover .template-overlay {
    opacity: 1;
}

.template-item:hover .template-overlay iconify-icon {
    transform: scale(1);
}

/* ==========================================================================
   PRICING MEGA CARD (MERGED FINAL)
   ========================================================================== */
.engine-pricing-section {
    padding: 7rem 0;
    border-top: 1px solid var(--border-color);
}

.pricing-mega-card {
    display: flex;
    background: rgba(13, 17, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    max-width: 1150px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 123, 255, 0.05);
}

.mega-card-left {
    flex: 1.1;
    padding: 3.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.mega-card-right {
    flex: 0.9;
    background: #0a0c10;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.engine-watermark-icon {
    position: absolute;
    right: -10%;
    top: 10%;
    font-size: 28rem;
    color: #fff;
    opacity: 0.02;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 0;
}

.value-header h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.value-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.included-checklist {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.included-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.included-checklist iconify-icon {
    color: var(--engine-accent);
    font-size: 1.3rem;
}

.sub-req-tag {
    font-size: 0.75rem;
    color: #8b949e;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

/* Urgency Timer */
.urgency-banner {
    background: rgba(0, 123, 255, 0.05);
    border-bottom: 1px solid rgba(0, 123, 255, 0.15);
    padding: 1.5rem 2rem;
    text-align: center;
}

.urgency-title {
    color: #ff5f56;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.urgency-title iconify-icon {
    font-size: 1.1rem;
}

.evergreen-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    min-width: 60px;
}

.time-box span {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    font-family: monospace;
    line-height: 1;
}

.time-box small {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 1px;
}

.evergreen-timer .sep {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    margin-top: -15px;
}

/* Pricing Body */
.pricing-body {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-label.active-label {
    color: #fff;
}

.discount-pill {
    background: rgba(46, 160, 67, 0.15);
    color: #2ea043;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(46, 160, 67, 0.3);
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #1f2937;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: var(--engine-accent);
    transition: 0.4s;
    box-shadow: 0 0 10px var(--engine-accent);
}

input:checked + .slider {
    background-color: rgba(0, 123, 255, 0.1);
    border-color: var(--engine-accent);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--engine-accent);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.price-state {
    display: none;
    text-align: center;
    animation: fadeIn 0.4s ease;
    width: 100%;
}

.price-state.active {
    display: block;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 0.5rem;
}

.new-price {
    font-size: 4.5rem;
    color: #fff;
    font-weight: 800;
    line-height: 1;
}

.price-suffix {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
}

.billed-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.text-success {
    color: #2ea043 !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Free Addons Box */
.included-addons-box {
    width: 100%;
    margin: 1.5rem 0 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #c9d1d9;
}

.free-text {
    color: #2ea043;
    font-weight: 700;
    font-size: 0.85rem;
}

.full-width-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.full-width-btn iconify-icon {
    font-size: 1.3rem;
    margin-right: 8px;
}

/* Mini Single-Row Guarantees */
.mini-guarantees-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.mini-guar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-guar iconify-icon {
    font-size: 1.2rem;
    color: var(--engine-accent);
}

.trust-box {
    width: 100%;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.pay-icon {
    font-size: 1.8rem;
    opacity: 0.7;
}

.trust-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   FINAL CTA HERO SECTION
   ========================================================================== */
.final-cta-section {
    padding: 2rem 0 6rem;
    border-top: 1px solid var(--border-color);
}

.final-cta-banner {
    background: rgba(13, 17, 22, 0.8);
    border: 1px solid var(--engine-accent);
    border-radius: 8px;
    padding: 5rem 3rem;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 40px var(--engine-glow);
}

.final-cta-banner.split-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    background: rgba(13, 17, 22, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--engine-accent);
    border-radius: 16px;
    padding: 4rem;
    margin: 0 auto;
    max-width: 1220px;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 40px var(--engine-glow);
    position: relative;
    overflow: hidden;
}

.final-cta-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--engine-glow));
}

.pulse-btn {
    animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
    0% {
        box-shadow: 0 0 0 0 var(--engine-glow);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Background rotating glow */
.final-cta-glow {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--engine-glow) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: spinGlow 15s linear infinite;
}

.final-cta-content-left {
    flex: 1.1;
    position: relative;
    z-index: 2;
}

.final-cta-content-left h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.final-cta-content-left p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.final-cta-content-left .pulse-btn {
    background: var(--engine-accent);
    border-color: var(--engine-accent);
    box-shadow: 0 0 20px var(--engine-glow);
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1.2rem 2.5rem !important;
}

.final-cta-content-left .pulse-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px var(--engine-glow) !important;
}

/* 3D Tilted Visual */
.final-cta-visual-right {
    flex: 0.9;
    position: relative;
    z-index: 2;
    perspective: 1200px;
    min-width: 0;
    width: 100%;
    max-width: 45%;
}

.cta-tilt-wrapper {
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--engine-glow);
    transform-style: preserve-3d;
    will-change: transform;
    overflow: hidden;
    width: 100%;
}

.cta-tilt-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.6) blur(1px);
    transition: filter 0.3s ease;
}

.cta-tilt-wrapper:hover img {
    filter: brightness(0.8) blur(0);
}

.cta-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(50px);
    font-size: 7rem;
    color: var(--engine-accent);
    filter: drop-shadow(0 0 30px var(--engine-glow));
    pointer-events: none;
}

/* Animations */
@keyframes spinGlow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

/* ==========================================================================
   ULTRA STRICT FINAL CTA
   ========================================================================== */
.glc-ultra-cta-section {
    padding: 2rem 0 6rem;
    width: 100%;
    overflow: hidden;
}

.glc-ultra-grid-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    background: rgba(13, 17, 22, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--engine-accent);
    border-radius: 16px;
    padding: 4rem;
    margin: 0 auto;
    max-width: 1220px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 40px var(--engine-glow);
}

.glc-ultra-glow {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--engine-glow) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: spinGlow 15s linear infinite;
}

.glc-ultra-content-col {
    position: relative;
    z-index: 2;
    text-align: left;
    min-width: 0;
}

.glc-ultra-content-col h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.glc-ultra-content-col p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.glc-ultra-visual-col {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    perspective: 1200px;
}

.glc-ultra-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--engine-glow);
    transform-style: preserve-3d;
    will-change: transform;
    overflow: hidden;
}

.glc-ultra-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0.6) blur(1px);
    transition: filter 0.3s ease;
}

.glc-ultra-3d-wrapper:hover .glc-ultra-img {
    filter: brightness(0.8) blur(0);
}

.glc-ultra-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(50px);
    font-size: 7rem;
    color: var(--engine-accent);
    filter: drop-shadow(0 0 30px var(--engine-glow));
    pointer-events: none;
}

/* Misc */
.uk-flag {
    width: 18px;
    height: auto;
    vertical-align: middle;
    margin: 0 4px;
    border-radius: 2px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .engine-promo-box {
        text-align: center;
    }

    .dev-caps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .engine-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .engine-hero-visual {
        width: 100%;
        max-width: 800px;
    }

    .docs-banner {
        flex-direction: column;
        text-align: center;
    }

    .docs-text {
        text-align: center;
    }

    .glc-docs-pills {
        justify-content: center;
    }

    .events-split-layout {
        flex-direction: column;
        gap: 4rem;
    }

    .events-text-content {
        align-items: center;
        text-align: center;
    }

    .logic-stack-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logic-stack-card:hover {
        transform: translateY(-5px);
    }

    .step-detail {
        text-align: center;
    }

    .mock-sequence-builder {
        transform: none;
        max-width: 700px;
        margin: 0 auto;
    }

    .var-split-layout {
        flex-direction: column;
        gap: 4rem;
    }

    .var-text-content {
        text-align: center;
    }

    .var-feature-item {
        flex-direction: column;
        align-items: center;
    }

    .mock-var-inspector {
        transform: none;
        max-width: 700px;
        margin: 0 auto;
    }

    .ide-toolbox-layout {
        flex-direction: column;
    }

    .toolbox-sidebar {
        max-height: 400px;
        padding-right: 0;
    }

    .tc-pills {
        justify-content: center;
    }

    .tc-header {
        justify-content: center;
    }

    .preview-title-row {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    #preview-desc {
        text-align: center;
        margin: 0 auto 2rem;
    }

    .preview-caps-header {
        text-align: center;
    }

    .plugins-showcase-wrapper {
        flex-direction: column;
    }

    .plugins-nav {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .plugin-pane {
        position: absolute;
        padding: 2rem 1.5rem;
    }

    .plugin-pane.active {
        position: relative;
    }

    .pane-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .pane-lead {
        text-align: center;
    }

    .pricing-mega-card {
        flex-direction: column;
        max-width: 800px;
    }

    .engine-watermark-icon {
        top: -5%;
        right: -5%;
        font-size: 20rem;
    }

    .mega-card-left {
        padding: 3rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mega-card-right {
        border-left: none;
    }

    .final-cta-banner.split-cta {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }

    .final-cta-content-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .final-cta-visual-right {
        max-width: 100%;
    }

    .glc-ultra-grid-box {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        padding: 3rem 2rem;
        gap: 3rem;
    }

    .glc-ultra-content-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .engine-dev-badge,
    .lb-brand-logo {
        margin-inline: auto !important;
    }

    .engine-hero-title,
    .engine-hero-lead,
    .section-header h2,
    .section-header p,
    .lb-header h2,
    .lb-lead {
        text-align: center;
        margin-inline: auto;
    }

    .engine-hero-text {
        align-items: center;
        text-align: center;
    }

    .engine-hero-pills {
        justify-content: center;
    }

    .engine-hero {
        padding: 6rem 0 4rem;
    }

    .engine-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .engine-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .dev-caps-grid,
    .specs-grid-unified,
    .glc-widgets-grid {
        grid-template-columns: 1fr;
    }

    .ticker-content-engines {
        gap: 2rem;
        padding-right: 2rem;
    }

    .ticker-item-engine {
        font-size: 1.1rem;
    }

    .lb-mock-content {
        padding: 1rem;
    }

    .lb-mock-patch-ui {
        padding: 1rem;
    }

    #lb-mock-percent {
        font-size: 1.5rem;
    }

    .lb-mock-play-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    #lb-mock-status {
        font-size: 0.8rem;
    }

    .docs-banner,
    .final-cta-banner,
    .glc-seo-card,
    .specs-unified-card {
        padding: 2rem 1.5rem;
    }

    .engine-events-section {
        padding: 5rem 0;
    }

    .builder-body {
        padding: 1.5rem;
    }

    .seq-step {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        border-left: none;
        border-top: 3px solid var(--step-color);
    }

    .seq-line {
        margin: 0 auto;
    }

    .bh-left {
        font-size: 0.75rem;
    }

    .var-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .var-binding-demo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .plugin-disclaimer-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .pane-features li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .template-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .mega-card-left {
        text-align: center;
    }

    .included-checklist li {
        justify-content: flex-start;
        text-align: left;
    }

    .pricing-guarantees-grid {
        grid-template-columns: 1fr;
    }

    .pricing-toggle-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        border-radius: 12px;
    }

    .discount-pill {
        margin-left: 5px;
    }

    .pricing-body {
        padding: 2rem 1rem;
    }

    .urgency-banner {
        padding: 1.2rem 1rem;
    }

    .mini-guarantees-row {
        justify-content: space-around;
        align-items: flex-start;
    }

    .final-cta-content-left .pulse-btn {
        padding: 1rem 1.5rem !important;
        font-size: 0.9rem;
    }

    .cta-overlay-icon,
    .glc-ultra-overlay {
        font-size: 5rem;
    }
}

.glc-ultra-grid-box {
    overflow: hidden;
    isolation: isolate;
}

.glc-ultra-glow {
    width: 120%;
    height: 120%;
}

.value-mockup-container {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.value-mockup-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* ==========================================================================
   MINIMAL LANDING PAGE FOOTER
   ========================================================================== */

.glc-minimal-footer {
    background-color: #030405;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 10;
    margin-top: 2rem;
}

.glc-footer-links-inline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.glc-footer-links-inline a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.glc-footer-links-inline a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.glc-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.glc-footer-meta p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.bytebox-link {
    color: #38bdf8;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bytebox-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.glc-footer-socials {
    display: flex;
    gap: 1rem;
}

.glc-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.glc-footer-socials a:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.4);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.15);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .glc-footer-links-inline {
        gap: 1.2rem;
    }
    .glc-footer-meta {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .glc-footer-socials {
        justify-content: center;
    }
}

/* ==========================================================================
   EDITOR PREVIEW SECTION (INTERACTIVE GIF TABS)
   ========================================================================== */
.ep-section {
    padding: 7rem 0;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.ep-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* 45% left, 55% right ratio */
    gap: 4rem;
    align-items: center;
}

/* --- Left Nav Menu --- */
.ep-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ep-nav-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ep-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.ep-nav-item.active {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.1) 0%, transparent 100%);
    border-color: rgba(0, 123, 255, 0.2);
    border-left: 4px solid var(--engine-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateX(10px);
}

.ep-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ep-nav-item.active .ep-icon {
    background: var(--engine-accent);
    color: #fff;
    box-shadow: 0 0 15px var(--engine-glow);
}

.ep-text h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.ep-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.ep-nav-item.active .ep-text h4 {
    color: var(--engine-accent);
}

/* --- Right Visual Display --- */
.ep-visual-display {
    position: relative;
    width: 100%;
}

.ep-glow-backdrop {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, var(--engine-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.ep-ide-window {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0d1116;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px var(--engine-glow);
    overflow: hidden;
}

.ep-ide-header {
    background: #161b22;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ep-dots { display: flex; gap: 6px; }
.ep-dots span { width: 12px; height: 12px; border-radius: 50%; background: #30363d; }
.ep-dots span:nth-child(1) { background: #ff5f56; }
.ep-dots span:nth-child(2) { background: #ffbd2e; }
.ep-dots span:nth-child(3) { background: #27c93f; }

.ep-ide-title {
    flex: 1;
    text-align: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #8b949e;
    margin-right: 48px; /* Offsets the dots to keep text centered */
}

/* Smooth GIF Crossfading */
.ep-gif-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050608;
}

.ep-gif {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
}

.ep-gif.active {
    opacity: 1;
    visibility: visible;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .ep-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Reorder so the GIF window shows ABOVE the tabs on mobile */
    .ep-visual-display {
        order: -1; 
    }

    .ep-nav-item:hover, .ep-nav-item.active {
        transform: translateX(0); /* Disable horizontal nudge on mobile */
    }
}
@media (max-width: 768px) {
    .ep-nav-item {
        padding: 1rem;
        gap: 1rem;
    }
    .ep-icon {
        width: 35px; height: 35px; font-size: 1.3rem;
    }
}

/* ==========================================================================
   EDITOR PREVIEW SECTION (HORIZONTAL CARDS + GIANT VIDEO)
   ========================================================================== */
.ep-section {
    padding: 7rem 0;
    border-top: 1px solid var(--border-color);

    overflow: hidden;
}

.ep-layout-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Top Row: Card Navigation --- */
.ep-nav-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.ep-nav-item {
    flex: 1 1 200px; 
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Highlight bar moved to the top of the card */
    border-top: 4px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ep-nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.ep-nav-item.active {
    background: linear-gradient(180deg, rgba(0, 123, 255, 0.1) 0%, transparent 100%);
    border-color: rgba(0, 123, 255, 0.2);
    border-top: 4px solid var(--engine-accent);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transform: translateY(-8px);
}

.ep-icon {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    margin-bottom: 1.2rem;
}

.ep-nav-item.active .ep-icon {
    background: var(--engine-accent);
    color: #fff;
    box-shadow: 0 0 20px var(--engine-glow);
}

.ep-text h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.ep-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.ep-nav-item.active .ep-text h4 {
    color: var(--engine-accent);
}

/* --- Bottom Row: Giant Visual Display --- */
.ep-visual-display {
    position: relative;
    width: 100%;
    max-width: 1100px; /* Constrains it slightly so it doesn't stretch too thin */
}

.ep-glow-backdrop {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, var(--engine-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.ep-ide-window {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0d1116;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px var(--engine-glow);
    overflow: hidden;
}

.ep-ide-header {
    background: #161b22;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ep-dots { display: flex; gap: 6px; }
.ep-dots span { width: 12px; height: 12px; border-radius: 50%; background: #30363d; }
.ep-dots span:nth-child(1) { background: #ff5f56; }
.ep-dots span:nth-child(2) { background: #ffbd2e; }
.ep-dots span:nth-child(3) { background: #27c93f; }

.ep-ide-title {
    flex: 1;
    text-align: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #8b949e;
    margin-right: 48px;
}

/* Smooth Video Crossfading & Over-scan Trick */
.ep-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050608;
    overflow: hidden; 
}

.ep-video-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
}

.ep-video-slide.active {
    opacity: 1;
    visibility: visible;
}

.ep-video-slide iframe {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; /* Changed from 120% */
    height: 100%; /* Changed from 120% */
    border: none;
    pointer-events: none;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .ep-layout-stacked {
        display: flex;
        flex-direction: column;
    }
    
    /* 1. Forces the video to the top on tablet/mobile */
    .ep-visual-display {
        order: -1; 
        margin-bottom: 2rem; /* Creates a buffer so cards don't underlap */
    }
    
    .ep-nav-row { 
        order: 2; 
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    /* 2. Replaces the horizontal scroll with a strict 2-column grid */
    .ep-nav-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        flex-wrap: nowrap; /* Resets previous styles */
        overflow-x: visible; /* Resets previous styles */
    }
    
    .ep-nav-item {
        max-width: 100%;
        width: 100%;
        padding: 1.2rem 0.8rem;
    }
    
    /* 3. Stops the cards from jumping UP into the video on mobile */
    .ep-nav-item:hover,
    .ep-nav-item.active {
        transform: none !important; 
    }
    
    /* Shrink text slightly so 2 cards fit nicely on phone screens */
    .ep-text h4 { font-size: 0.95rem; }
    .ep-text p { font-size: 0.8rem; line-height: 1.4; }
    .ep-icon { width: 40px; height: 40px; font-size: 1.4rem; margin-bottom: 0.8rem; }
}

/* Optional: For very small screens (like older iPhones) */
@media (max-width: 480px) {
    .ep-nav-row { gap: 0.8rem; }
    /* Hides the description paragraph on tiny screens so the 2-column grid doesn't look squished. Keeps the icon and title. */
    .ep-text p { display: none; } 
}

.value-header h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    padding-top: 15px;
}

/* ==========================================================================
   RECENTLY JOINED SECTION (6-COLUMN MICRO LAYOUT)
   ========================================================================== */
.engine-recent-users {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.recent-users-grid {
    display: grid;
    /* Forces 6 equal columns on desktop */
    grid-template-columns: repeat(6, 1fr); 
    gap: 1rem;
    max-width: 1250px; /* Widened container to prevent squashing */
    margin: 0 auto;
    padding: 0 1rem;
}

.recent-user-card {
    background: rgba(13, 17, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.8rem; /* Reduced padding */
    display: flex;
    align-items: center;
    gap: 0.6rem; /* Tighter gap between avatar and text */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.recent-user-card:hover {
    background: rgba(13, 17, 22, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 0 15px rgba(255,255,255,0.02);
}

.recent-user-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--engine-accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.recent-user-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 10px var(--engine-glow);
}

.ru-avatar img {
    width: 34px; /* Shrunk avatar */
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    display: block;
}

.ru-info {
    flex: 1;
    min-width: 0; /* Allows text truncation if names are extremely long */
}

.ru-info h4 {
    font-size: 0.85rem; /* Shrunk font */
    color: #fff;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds '...' if a username is too long */
}

.ru-info span {
    font-size: 0.65rem; /* Shrunk font */
    color: var(--text-muted);
    display: block;
    white-space: nowrap;
}

.ru-engine {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.05);
    transition: color 0.3s, transform 0.3s;
    margin-left: auto; /* Pushes the icon completely to the right */
}

.recent-user-card:hover .ru-engine {
    color: var(--engine-accent);
    transform: scale(1.1) rotate(5deg);
}

/* --- Tablet & Mobile Responsiveness --- */
@media (max-width: 1200px) {
    .recent-users-grid {
        grid-template-columns: repeat(3, 1fr); /* 3x2 grid for tablets */
    }
}

@media (max-width: 768px) {
    .recent-users-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x3 grid for large phones */
    }
}

@media (max-width: 480px) {
    .recent-users-grid {
        grid-template-columns: 1fr; /* Stacked for tiny screens */
    }
}