/* ==========================================================================
   ORBA OS LANDING PAGE V3 DESIGN SYSTEM (CSS)
   Aesthetic: Deep Cyber-Spiritual, Volumetric Magenta/Pink Plasma, Glassmorphism
   Author: Alex Koncept
   ========================================================================== */

/* --- CSS Variables / Tokens --- */
:root {
    /* Color Palette */
    --color-bg-deep: #06020c;
    --color-bg-card: rgba(22, 9, 36, 0.55);
    --color-bg-card-hover: rgba(35, 14, 56, 0.75);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(240, 45, 240, 0.25);
    
    --color-text-primary: #f2eef8;
    --color-text-secondary: #a395b8;
    --color-text-muted: #6e6185;
    
    /* Brand Accent Colors */
    --color-magenta: #f02df0;
    --color-purple: #8b5cf6;
    --color-cyan: #06b6d4;
    --color-gold: #ffd700;
    
    /* Cog States HSL Accents (For Interactive Simulator) */
    --color-idle: hsl(300, 100%, 25%);         /* Deep Magenta */
    --color-idle-neon: hsl(300, 100%, 56%);    /* #f02df0 */
    --color-listening: hsl(285, 100%, 50%);    /* Purple Neon */
    --color-thinking: hsl(0, 0%, 98%);         /* Emissive White */
    --color-speaking: hsl(45, 100%, 55%);      /* Warm Gold */
    --color-analyzing: hsl(180, 100%, 50%);    /* Cyan */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #f02df0 0%, #7b2cbf 50%, #06020c 100%);
    --gradient-text: linear-gradient(90deg, #f2eef8 10%, #f472b6 60%, #f02df0 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-special: 'Syne', sans-serif;
}

/* --- Base Resets & Layout --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* --- Typography Defaults --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.text-link {
    color: #ffb5ff;
    border-bottom: 1px dashed rgba(240, 45, 240, 0.4);
}

.text-link:hover {
    color: #fff;
    border-bottom-color: #f02df0;
    text-shadow: 0 0 8px rgba(240, 45, 240, 0.6);
}

/* --- Utility Classes --- */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-magenta { color: var(--color-idle-neon); }
.text-purple { color: var(--color-listening); }
.text-white { color: var(--color-text-primary); }
.text-gold { color: var(--color-speaking); }
.text-cyan { color: var(--color-analyzing); }

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f02df0 0%, #7b2cbf 100%);
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(240, 45, 240, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(240, 45, 240, 0.5);
    background: linear-gradient(135deg, #ff5eff 0%, #8c3fd1 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-border-hover);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid #f02df0;
}

.btn-outline:hover {
    background: #f02df0;
    box-shadow: 0 8px 25px rgba(240, 45, 240, 0.4);
    transform: translateY(-2px);
}

/* --- Header Area --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(6, 2, 12, 0.75);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .header {
        position: fixed;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        max-w: 1200px;
        border-radius: 16px;
        border: 1px solid var(--color-border);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
    }
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-logo .logo-img {
    height: 38px;
}

.creator-badge {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 4px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.creator-badge .badge-label {
    color: var(--color-text-muted);
}

.creator-badge .badge-name {
    color: #ffb5ff;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-text-primary);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 45, 240, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.tagline-container {
    margin-bottom: 24px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 45, 240, 0.06);
    border: 1px solid rgba(240, 45, 240, 0.2);
    color: #ff7dff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 620px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--color-magenta);
    color: var(--color-magenta);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(240, 45, 240, 0.1);
}

.hero-visual {
    position: relative;
    height: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Mockup */
.phone-mockup {
    width: 290px;
    height: 590px;
    background: #0f0f13;
    border-radius: 40px;
    border: 8px solid #1a1a24;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    animation: floatMockup 6s ease-in-out infinite;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a24;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 20;
}

.phone-screen-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Volumetric Pink Plasma Orb */
.orb {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 35% 35%, #ffffff 0%, rgba(255, 180, 255, 0.9) 10%, transparent 40%),
        radial-gradient(circle at 65% 65%, #ffffff 0%, rgba(255, 180, 255, 0.8) 15%, transparent 50%),
        radial-gradient(circle at 50% 50%, #f02df0 0%, #aa00aa 60%, #4a0080 100%);
    box-shadow: 
        0 0 60px rgba(240, 45, 240, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.8),
        inset 0 0 40px rgba(240, 45, 240, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulsePlasma 4s ease-in-out infinite alternate;
    position: relative;
}

/* Horizontal Lens Flare */
.orb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50%;
    width: 200%;
    height: 6px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(240, 45, 240, 0.8) 20%, transparent 60%);
    transform: translateY(-50%);
    z-index: 2;
    filter: blur(2px);
    animation: flarePulse 4s ease-in-out infinite alternate;
}

.orb-inner {
    display: none;
}

@keyframes pulsePlasma {
    0% { transform: scale(0.95); box-shadow: 0 0 45px rgba(240, 45, 240, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.8), inset 0 0 40px rgba(240, 45, 240, 0.9); }
    100% { transform: scale(1.05); box-shadow: 0 0 85px rgba(240, 45, 240, 1), inset 0 0 25px rgba(255, 255, 255, 0.9), inset 0 0 50px rgba(240, 45, 240, 1); }
}

@keyframes flarePulse {
    0% { opacity: 0.6; width: 170%; left: -35%; }
    100% { opacity: 1; width: 210%; left: -55%; }
}

.phone-text {
    margin-top: 35px;
    text-align: center;
}

.phone-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.phone-text p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.phone-controls {
    position: absolute;
    bottom: 25px;
    display: flex;
    gap: 1.5rem;
    color: var(--color-text-muted);
}

.phone-controls i {
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.phone-controls i:hover {
    color: white;
}

/* Orbiting Icons */
.orbiting-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.orbit-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-magenta);
}

.orbit-icon span {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(240, 45, 240, 0.1);
    border: 1px solid rgba(240, 45, 240, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    font-size: 1.1rem;
}

/* Orbit Layout Positions */
.icon-1 { top: 12%; left: -5%; }
.icon-2 { top: 32%; right: -12%; }
.icon-3 { bottom: 28%; left: -12%; }
.icon-4 { bottom: 8%; right: -5%; }
.icon-5 { top: -5%; left: 42%; }
.icon-6 { bottom: -5%; left: 42%; }

@keyframes floatMockup {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.sub-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-magenta);
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.6rem;
    margin-bottom: 16px;
    font-weight: 800;
}

/* --- Interactive Simulator Section --- */
.interactive-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg-deep) 0%, rgba(26, 8, 48, 0.4) 50%, var(--color-bg-deep) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.interactive-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 30px;
    align-items: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(16px);
}

.interactive-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.control-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.panel-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.state-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.state-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.state-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.btn-info {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.btn-desc {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.state-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-border-hover);
    transform: translateX(5px);
}

.state-btn:hover i {
    transform: scale(1.15);
}

.state-btn.active {
    background: rgba(240, 45, 240, 0.08);
    border-color: rgba(240, 45, 240, 0.4);
}

.state-btn.active .btn-title {
    color: #ffb5ff;
}

.volume-slider-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.volume-slider-container label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffb5ff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(240, 45, 240, 0.8);
    transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* --- Live Canvas OrbaSphere --- */
.sphere-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canvas-sphere {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
}

.sphere-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 45, 240, 0.25) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    filter: blur(25px);
    transition: all 0.8s ease;
}

.state-overlay {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 8px 20px;
    border-radius: 30px;
}

.state-indicator {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-secondary);
}

.state-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentcolor;
    transition: all 0.3s ease;
}

.state-idle { background-color: var(--color-idle-neon); }

/* --- Console terminal --- */
.preview-panel {
    height: 100%;
    display: flex;
    align-items: center;
}

.preview-monitor {
    width: 100%;
    height: 480px;
    background: #0b0514;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.monitor-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.monitor-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.monitor-header .red { background-color: #ff5f56; }
.monitor-header .yellow { background-color: #ffbd2e; }
.monitor-header .green { background-color: #27c93f; }

.monitor-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    margin-left: auto;
}

.monitor-content {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    line-height: 1.4;
}

.term-line {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUpIn 0.5s forwards ease;
}

.term-line .t-badge {
    font-weight: bold;
    margin-right: 6px;
}

.term-line.system { color: var(--color-text-muted); }
.term-line.user { color: #f2eef8; }
.term-line.state-cyan { color: #00f2fe; }
.term-line.success { color: #27c93f; }
.term-line.thinking { color: #ff7dff; }
.term-line.speaking { color: var(--color-speaking); }

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Modules Section (V2 Grid) --- */
.modules-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--color-border);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1200px) {
    .modules-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.module-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.module-card:hover {
    background: var(--color-bg-card-hover);
    border-color: rgba(240, 45, 240, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(240, 45, 240, 0.1);
}

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.module-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.08);
}

.module-card:hover .module-num {
    color: var(--color-magenta);
}

.module-icon {
    font-size: 1.3rem;
}

.module-title {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.module-desc {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* --- Universes Section (V2 Grid) --- */
.universes-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg-deep) 0%, rgba(20, 5, 30, 0.3) 100%);
    border-bottom: 1px solid var(--color-border);
}

.universes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.universe-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.universe-card:hover {
    border-color: var(--color-cyan);
    background: rgba(6, 182, 212, 0.05);
    transform: translateY(-4px);
}

.universe-card i {
    font-size: 2.2rem;
    color: var(--color-cyan);
}

.universe-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.universe-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* --- Rules Split Section (V2 Layout) --- */
.rules-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 60px;
    margin: 80px 0;
    backdrop-filter: blur(16px);
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.rule-item {
    display: flex;
    gap: 1.2rem;
}

.rule-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-magenta);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.rule-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-primary);
}

.rule-content p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.rules-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cube-container {
    position: relative;
    width: 240px;
    height: 240px;
}

.cube-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 25px rgba(240, 45, 240, 0.4));
    animation: floatCube 6s ease-in-out infinite;
}

@keyframes floatCube {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- Roadmap Timeline (V2 Style) --- */
.roadmap-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--color-border);
}

.roadmap-container-wrap {
    position: relative;
    padding: 40px 0;
}

.roadmap-line {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.roadmap-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.roadmap-phase {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 18%;
}

.phase-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-magenta);
    margin-bottom: 12px;
    box-shadow: 0 0 15px var(--color-magenta);
}

.phase-dot.status-active {
    background: #27c93f;
    box-shadow: 0 0 15px #27c93f;
}

.phase-dot.status-dev {
    background: #06b6d4;
    box-shadow: 0 0 15px #06b6d4;
}

.phase-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.phase-status {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

.phase-status.status-active {
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    border: 1px solid rgba(39, 201, 63, 0.2);
}

.phase-status.status-dev {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.phase-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.phase-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.phase-list li {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.phase-list li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-text-muted);
    border-radius: 50%;
}

/* --- Installation Section (V1 Tabs) --- */
.installation-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg-deep) 0%, rgba(20, 5, 30, 0.3) 100%);
    border-bottom: 1px solid var(--color-border);
}

.install-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.tab-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--color-border);
}

.tab-btn {
    padding: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #ffb5ff;
    background: rgba(240, 45, 240, 0.06);
    border-bottom: 3px solid var(--color-magenta);
}

.tab-btn:hover {
    color: var(--color-text-primary);
}

.tab-content {
    padding: 40px;
    display: none;
}

.tab-content.active {
    display: block;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.step-item {
    display: flex;
    gap: 24px;
}

.step-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f02df0 0%, #7b2cbf 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(240, 45, 240, 0.4);
}

.step-text strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.step-text p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.step-text ul {
    list-style: none;
    margin-left: 10px;
}

.step-text ul li {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-text ul li::before {
    content: '→';
    color: var(--color-magenta);
    font-weight: bold;
}

pre {
    background: #0b0514;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    margin-top: 10px;
}

pre code {
    color: #e0aaff;
}

/* --- Specifications Section (V1 Table) --- */
.specs-section {
    padding: 100px 0;
}

.specs-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.specs-table th, .specs-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.specs-table th {
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text-primary);
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.specs-table td {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.specs-table td strong {
    color: var(--color-text-primary);
}

/* --- Footer Area --- */
.footer {
    background: #040108;
    border-top: 1px solid var(--color-border);
    padding: 80px 0 30px 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--color-magenta);
    font-weight: 300;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4, .footer-author h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-magenta);
}

.footer-author p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.social-icons a:hover {
    background: rgba(240, 45, 240, 0.08);
    border-color: var(--color-magenta);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-bottom span {
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* --- Responsive Layouts --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .hero-description {
        margin: 0 auto 30px auto;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .interactive-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .rules-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .roadmap-line {
        top: 0;
        bottom: 0;
        left: 20px;
        width: 2px;
        height: auto;
    }
    
    .roadmap-container {
        flex-direction: column;
        gap: 30px;
        padding-left: 40px;
    }
    
    .roadmap-phase {
        width: 100%;
    }
    
    .phase-dot {
        position: absolute;
        left: -30px;
        top: 4px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .tab-selectors {
        grid-template-columns: 1fr;
    }
}
