:root {
    --bg-dark: #000000;
    /* True black */
    --bg-card: #0a0a0a;
    /* Near black */
    --text-primary: #ffffff;
    --text-secondary: #888888;

    /* Labs Identity: Monochrome + Quantum Green */
    --accent-primary: #ffffff;
    --accent-secondary: #c0c0c0;
    /* Silver */
    --accent-highlight: #d4af37;
    /* Gold (Legacy) */
    --accent-glow: #00FF9D;
    /* Quantum Green - derived from circuit glow */

    --accent-gradient: linear-gradient(135deg, #ffffff 0%, #c0c0c0 100%);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

/* ===== ACCESSIBILITY (WCAG 2.1 AA) ===== */

/* Skip Link - Hidden until focused */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-glow);
    color: #000;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* Focus States - Visible keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--accent-glow);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced Motion - Respect user preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== END ACCESSIBILITY ===== */

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

/* Viewport Aurora Glow - House of Doge inspired */
.viewport-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(0, 255, 157, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(0, 255, 157, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 255, 157, 0.03) 0%, transparent 50%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-glow);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.btn-primary {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    /* Sharper edges for enterprise feel */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    background: rgba(0, 255, 157, 0.1);
    color: var(--accent-glow);
    border: 1px solid var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-glow);
    color: #000;
}

/* Hero */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Wave Transition */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 100%);
    z-index: 2;
}

.hero-wave::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.2), transparent);
}

/* Badge - Prestige Style */
.badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.08) 0%, rgba(0, 255, 157, 0.02) 100%);
    color: var(--accent-glow);
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 255, 157, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

h1 {
    font-size: 3.8rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.highlight-text {
    color: var(--accent-glow);
    position: relative;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.7;
}

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

.hero-visual::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(ellipse at center,
            rgba(0, 255, 157, 0.2) 0%,
            rgba(0, 255, 157, 0.08) 35%,
            rgba(0, 255, 157, 0.02) 60%,
            transparent 75%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(50px);
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hero-visual img {
    max-width: 400px;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Tech Specs Strip - Clean Horizontal Bar */
.tech-strip {
    background: linear-gradient(180deg, #000 0%, #080808 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 2.5rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.tech-item {
    padding: 0 1rem;
    border-right: 1px solid var(--glass-border);
}

.tech-item:last-child {
    border-right: none;
}

.tech-item h4 {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.tech-item div {
    color: var(--accent-glow);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
}

/* Threat Section - Elegant Warning */
.threat-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #050505 0%, #0a0808 50%, #050505 100%);
    text-align: center;
    position: relative;
}

.threat-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 80, 80, 0.3), transparent);
}

.threat-badge {
    color: #cc4444;
    border: 1px solid rgba(204, 68, 68, 0.2);
    background: rgba(204, 68, 68, 0.05);
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    display: inline-block;
}

.threat-section h2 {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.threat-section p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Ecosystem Comparison - Professional Grid */
.comparison-section {
    padding: 120px 0;
    background: #000;
}

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

.comparison-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.comparison-section .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.comp-col {
    padding: 3rem;
    background: #0a0a0a;
    border: 1px solid var(--glass-border);
}

.comp-col:first-child {
    border-right: none;
}

.comp-col.labs {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.02) 0%, #0a0a0a 100%);
    border-color: rgba(0, 255, 157, 0.1);
}

.comp-col h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.comp-col p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.comp-col ul {
    list-style: none;
}

.comp-col ul li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.comp-col.labs ul li {
    color: var(--text-primary);
}

/* Industries Section - Refined Cards */
.industries-section {
    padding: 100px 0;
    background: #050505;
}

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

.industries-section .section-header h2 {
    font-size: 2rem;
    font-weight: 400;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sector-card {
    padding: 2.5rem 2rem;
    background: #0a0a0a;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.sector-card:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-3px);
}

.sector-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.sector-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Grid */
.features {
    padding: 100px 0;
    background: #000;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    border-color: var(--accent-glow);
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent-glow);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

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

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

/* Responsive */
/* Responsive */
@media (max-width: 768px) {

    /* Menu visibility fix */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        bottom: 0;
        left: auto;
        /* Remove left: 0 to allow width control */
        width: 100%;
        max-width: 300px;
        /* Max width for slide-out feel */
        background: #000000;
        /* Solid black opacity */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1002;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--text-primary);
        font-weight: 500;
        display: block;
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .btn-primary {
        margin-top: 1rem;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        color: var(--accent-glow);
        width: 100%;
        text-align: center;
        white-space: nowrap;
        /* Prevent text wrapping */
    }

    /* Hero Section */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-visual img {
        max-width: 80%;
        height: auto;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-link {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 0;
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }

    /* Sections - Reduced Padding */
    .threat-section,
    .comparison-section,
    .industries-section,
    .features,
    footer {
        padding: 60px 0;
    }

    .threat-section h2,
    .comparison-section .section-header h2,
    .industries-section .section-header h2,
    .section-header h2 {
        font-size: 2rem;
    }

    /* Grids to Single Column */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .tech-item {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 1rem;
        margin-bottom: 0;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .comp-col:first-child {
        border-right: 1px solid var(--glass-border);
        border-bottom: none;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Single Column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

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

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 25px rgba(0, 255, 157, 0.15));
    }

    50% {
        filter: drop-shadow(0 0 50px rgba(0, 255, 157, 0.35));
    }

    100% {
        filter: drop-shadow(0 0 25px rgba(0, 255, 157, 0.15));
    }
}

.floating-coin {
    animation: float 6s ease-in-out infinite, pulse-glow 4s ease-in-out infinite;
}

/* Hero Link */
.hero-link {
    margin-left: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Threat Highlight */
.threat-highlight {
    color: #cc4444;
}

.threat-section strong {
    color: var(--text-primary);
}

/* Professional Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-glow);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-bottom .legal {
    font-size: 0.75rem;
    color: #555;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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