/* ==========================================================================
   VOIDWARE STUDIOS - REFINED DESIGN SYSTEM
   ========================================================================== */

/* reset & base
   ========================================================================== */

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

:root {
    /* colors */
    --bg-primary: #08080e;
    --bg-secondary: #0d0d15;
    --bg-tertiary: #12121c;
    --bg-elevated: #16161f;

    /* accents */
    --accent-cyan: #00d4ff;
    --accent-pink: #ff0080;
    --accent-purple: #6600ff;
    --accent-red: #ff3366;
    --accent-green: #00ff88;

    /* text */
    --text-primary: #e8e9ed;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --text-dim: #4b5563;

    /* borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.12);

    /* effects */
    --glow-cyan: rgba(0, 212, 255, 0.4);
    --glow-pink: rgba(255, 0, 128, 0.4);
    --glow-purple: rgba(102, 0, 255, 0.4);

    /* timing */
    --transition-fast: 0.15s;
    --transition-base: 0.3s;
    --transition-slow: 0.6s;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* custom scrollbar
   ========================================================================== */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-subtle);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-pink));
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
    transition: all var(--transition-base) ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-pink), var(--accent-purple));
    box-shadow: 0 0 12px var(--glow-cyan), 0 0 20px var(--glow-pink);
    border-color: var(--bg-primary);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, var(--accent-purple), var(--accent-cyan));
}

/* firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) var(--bg-secondary);
}

/* ==========================================================================
   PARTICLE CANVAS - HERO SECTION ONLY
   ========================================================================== */

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    pointer-events: auto;
    display: block;
}

/* Hero sections contain the particles */
.hero,
.mirilux-hero,
.velocitty-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 100vh;
}

.hero .container,
.mirilux-hero .container,
.velocitty-hero .container {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* loading screen
   ========================================================================== */

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-orb {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
    box-shadow: 0 0 40px var(--glow-pink), 0 0 80px var(--glow-cyan);
    animation: pulse 2s ease-in-out infinite;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* navbar
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(8, 8, 14, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-base) ease;
}

.navbar.scrolled {
    background: rgba(8, 8, 14, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.logo-img {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.logo-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-base) ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
    transition: width var(--transition-base) ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
    transition: all var(--transition-base) ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* products dropdown
   ========================================================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-base) ease;
}

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

.nav-dropdown-arrow {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease-out);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-dropdown-item img {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 6px var(--glow-cyan));
}

.nav-dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nav-dropdown-item-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: lowercase;
}

.nav-dropdown-item:hover .nav-dropdown-item-desc {
    color: var(--text-secondary);
}

/* mobile dropdown behavior */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 0 1rem;
        min-width: auto;
    }

    .nav-dropdown-arrow {
        display: none;
    }

    .nav-dropdown-item {
        padding: 0.75rem 0;
    }

    .nav-dropdown-item:hover {
        background: transparent;
    }
}

/* hero - particles are the visual centerpiece
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px var(--glow-cyan);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--accent-cyan), #66d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* buttons
   ========================================================================== */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all var(--transition-base) var(--ease-out);
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.05rem;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-base) ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    color: #fff;
    box-shadow: 0 4px 20px var(--glow-pink);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-pink), 0 0 40px var(--glow-purple);
}

.btn-primary .btn-glow {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
}

.btn-primary:hover .btn-glow {
    opacity: 1;
}

.btn-secondary {
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 20px var(--glow-cyan);
}

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

.btn-outline:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--glow-cyan);
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* scroll indicator
   ========================================================================== */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    animation: float 3s ease-in-out infinite;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    border-radius: 2px;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* section utilities
   ========================================================================== */

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* products section
   ========================================================================== */

.products {
    padding: 140px 0 120px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.products-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.products-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.products-glow-1 {
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.products-glow-2 {
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
}

.product-showcase {
    margin-bottom: 180px;
}

.product-showcase:last-child {
    margin-bottom: 0;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.product-reverse {
    direction: rtl;
}

.product-reverse > * {
    direction: ltr;
}

.product-content {
    max-width: 600px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
}

.product-badge-dev {
    background: rgba(102, 0, 255, 0.1);
    border-color: rgba(102, 0, 255, 0.2);
    color: var(--accent-purple);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: pulse-dot 2s ease-in-out infinite;
}

.badge-dot-dev {
    background: var(--accent-purple);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-logo-large {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 20px var(--glow-cyan));
}

.product-title-group h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: lowercase;
}

.product-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: lowercase;
}

.product-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 3;
    color: var(--accent-cyan);
    margin-top: 2px;
}

.product-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-preview {
    position: relative;
}

.preview-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-slow) var(--ease-out);
}

.preview-frame:hover {
    transform: translateY(-10px);
}

.frame-glow {
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: opacity var(--transition-base) ease;
    border-radius: 16px;
    z-index: -1;
}

.preview-frame:hover .frame-glow {
    opacity: 0.3;
}

.preview-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Alternative Product Layout (Velocitty style) */
.product-showcase-alt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-showcase-alt .product-container {
    display: block;
}

.product-content-centered {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.product-brand-centered {
    justify-content: center;
}

.product-desc-centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.product-cta-centered {
    justify-content: center;
}

.product-video-wide {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.preview-frame-wide {
    border-radius: 12px;
}

.preview-frame-wide video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 11px;
}

.product-features-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-base) ease;
}

.feature-pill:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

.feature-pill svg {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .product-features-row {
        gap: 0.75rem;
    }

    .feature-pill {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .feature-pill svg {
        width: 14px;
        height: 14px;
    }
}

.preview-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-grid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 3rem;
    opacity: 0.1;
}

.grid-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.placeholder-icon-large {
    width: 120px;
    height: 120px;
    color: var(--accent-purple);
    filter: drop-shadow(0 0 30px var(--glow-purple));
}

.placeholder-icon-large svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.preview-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.stat-pill-dev {
    background: rgba(102, 0, 255, 0.1);
    border-color: rgba(102, 0, 255, 0.2);
    color: var(--accent-purple);
}

.stat-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: pulse-dot 2s ease-in-out infinite;
}

.stat-pulse-dev {
    background: var(--accent-purple);
}

/* stats banner
   ========================================================================== */

.stats-banner {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-block {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: lowercase;
    font-weight: 500;
}

.stat-bar {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: var(--border-subtle);
}

/* about section
   ========================================================================== */

.about {
    padding: 140px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

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

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-text {
    margin-bottom: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-principles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.principle-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.principle-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dim);
    font-family: 'Courier New', monospace;
}

.principle-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.principle-content p {
    font-size: 1rem;
    color: var(--text-tertiary);
    text-transform: lowercase;
}

.about-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    animation: float-slow 6s ease-in-out infinite;
}

.about-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 40px var(--glow-cyan)) drop-shadow(0 0 80px var(--glow-pink));
    transition: all var(--transition-slow) var(--ease-out);
    position: relative;
    z-index: 2;
}

.about-logo:hover {
    filter: drop-shadow(0 0 60px var(--glow-cyan)) drop-shadow(0 0 100px var(--glow-pink)) drop-shadow(0 0 120px var(--glow-purple));
    transform: scale(1.05);
}

.about-logo-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-cyan) 0%, var(--accent-pink) 50%, transparent 70%);
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse-glow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* community section
   ========================================================================== */

.community {
    padding: 140px 0;
    background: var(--bg-secondary);
}

.community-header {
    text-align: center;
    margin-bottom: 5rem;
}

.community-links {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.comm-link-featured {
    width: 100%;
}

.comm-link {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    text-decoration: none;
    transition: all var(--transition-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.comm-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 128, 0.05));
    opacity: 0;
    transition: opacity var(--transition-base) ease;
}

.comm-link:hover::before {
    opacity: 1;
}

.comm-link:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.comm-link-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.comm-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform var(--transition-base) ease;
}

.comm-link[data-platform="discord"] .comm-icon {
    background: rgba(88, 101, 242, 0.15);
    color: #5865f2;
}

.comm-link[data-platform="twitter"] .comm-icon {
    background: rgba(29, 155, 240, 0.15);
    color: #1da1f2;
}

.comm-link[data-platform="github"] .comm-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.comm-link:hover .comm-icon {
    transform: scale(1.1) rotate(-5deg);
}

.comm-icon svg {
    width: 24px;
    height: 24px;
}

.comm-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.comm-info p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: lowercase;
}

.comm-stats {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.comm-stat-dot {
    opacity: 0.5;
}

.comm-arrow {
    align-self: flex-end;
    width: 24px;
    height: 24px;
    color: var(--text-dim);
    transition: all var(--transition-base) ease;
}

.comm-link:hover .comm-arrow {
    transform: translateX(5px);
    color: var(--accent-cyan);
}

/* footer
   ========================================================================== */

.footer {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-section {
    max-width: 350px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.footer-brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
    text-transform: lowercase;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base) ease;
}

.social-link:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--glow-cyan);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    transition: all var(--transition-fast) ease;
}

.footer-link:hover {
    color: var(--accent-cyan);
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-built {
    text-transform: lowercase;
    font-style: italic;
}

/* cursor glow
   ========================================================================== */

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, rgba(255, 0, 128, 0.04) 30%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    filter: blur(40px);
}

/* responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .product-reverse {
        direction: ltr;
    }

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .about-logo {
        max-width: 400px;
    }

    .about-logo-container {
        padding: 2rem;
    }

    .community-links {
        max-width: 100%;
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 3rem;
    }

    .stat-divider {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand-section {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(8, 8, 14, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 3rem 2rem;
        transition: left 0.4s ease;
        gap: 1.5rem;
        border-top: 1px solid var(--border-subtle);
    }

    .nav-links.active {
        left: 0;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .product-showcase {
        margin-bottom: 100px;
    }

    .product-highlights {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-logo {
        max-width: 300px;
    }

    .about-logo-container {
        padding: 1.5rem;
    }

    .community-links {
        gap: 1.5rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .product-showcase {
        margin-bottom: 80px;
    }

    .product-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .product-logo-large {
        height: 50px;
    }

    .highlight-number {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .legal-document {
        padding: 100px 0 60px;
    }

    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section ul {
        padding-left: 1.25rem;
    }
}

/* legal pages
   ========================================================================== */

.legal-document {
    padding: 140px 0 100px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 3rem;
}

.legal-intro p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-subtle);
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.legal-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-section li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.legal-section a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--transition-fast) ease;
}

.legal-section a:hover {
    color: var(--accent-pink);
}

.legal-caps {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contact-info {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.legal-acceptance {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-medium);
    border-radius: 12px;
    text-align: center;
}

.legal-acceptance p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
