:root {
    --bg-color: #121212;
    --grid-line: #333333;
    --text-main: #f0f0f0;
    --neon-green: #ccff00;
    --neon-pink: #ff0099;
    --concrete: #2a2a2a;
    --border-width: 2px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-mono);
    overflow-x: hidden;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-green);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--neon-green);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    width: 40px;
    height: 40px;
}

/* Typography Utilities */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--bg-color);
    /* Opaque to hide grid */
    border-bottom: var(--border-width) solid var(--text-main);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-box {
    font-size: 2rem;
    font-weight: 700;
    background: var(--neon-green);
    color: #000;
    padding: 0.5rem 1rem;
    box-shadow: 4px 4px 0px var(--text-main);
}

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

.brutal-link {
    font-weight: 700;
}

.brutal-link:hover {
    color: var(--neon-green);
    text-decoration: line-through;
}

.brutal-btn {
    background: var(--text-main);
    color: var(--bg-color);
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    border: var(--border-width) solid transparent;
    transition: all 0.2s;
}

.brutal-btn:hover {
    background: var(--neon-pink);
    box-shadow: 4px 4px 0px var(--neon-green);
    transform: translate(-2px, -2px);
}

/* Marquee */
.marquee-container {
    background: var(--neon-green);
    color: #000;
    padding: 0.5rem 0;
    overflow: hidden;
    border-bottom: var(--border-width) solid var(--text-main);
    font-weight: 700;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-size: 1.2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    border-bottom: var(--border-width) solid var(--text-main);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    width: 100%;
    height: 100%;
}

.hero-title {
    grid-column: 1 / span 1;
    grid-row: 1 / span 2;
    border-right: var(--border-width) solid var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-title h1 {
    font-size: 15vw;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-main);
    position: relative;
}

.hero-title h1::before {
    content: attr(data-text);
    /* Glitch layer 1 */
    position: absolute;
    left: -2px;
    text-shadow: 1px 0 var(--neon-pink);
    top: 0;
    color: var(--text-main);
    background: var(--bg-color);
    /* Hide stroke below */
    overflow: hidden;
    clip-path: inset(0 0 0 0);
    animation: glitch 2s infinite linear alternate-reverse;
}

.hero-sub {
    border-bottom: var(--border-width) solid var(--text-main);
    padding: 2rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.hero-stat {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: var(--neon-green);
}

.hero-stat .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.hero-cta {
    grid-column: 1 / -1;
    border-top: var(--border-width) solid var(--text-main);
    padding: 2rem;
    text-align: center;
    background: var(--concrete);
}

/* Mega Button */
.mega-btn {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--neon-green);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.mega-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--neon-green);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.mega-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Section Common */
.section-container {
    padding: 4rem 2rem;
    border-bottom: var(--border-width) solid var(--text-main);
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--neon-green);
}

.line {
    height: 2px;
    background: var(--text-main);
    width: 100px;
    margin-top: 1rem;
}

/* Performance Stats Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-box {
    border: var(--border-width) solid var(--text-main);
    padding: 2rem;
    background: var(--bg-color);
    position: relative;
    box-shadow: 8px 8px 0px var(--concrete);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-green);
}

.stat-value.color-red {
    color: #ff5f56;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    /* Thick borders created by bg color/gap */
    background: var(--text-main);
    /* Border color */
    border: var(--border-width) solid var(--text-main);
}

.bento-card {
    background: var(--bg-color);
    padding: 2rem;
    transition: background 0.3s;
}

.bento-card:hover {
    background: #1a1a1a;
}

.bento-card.highlight {
    background: var(--concrete);
}

.card-icon {
    font-size: 1.2rem;
    color: var(--neon-pink);
    margin-bottom: 1rem;
}

.bento-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bento-card p {
    color: #888;
}

/* Founder Box */
.founder-box {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border: var(--border-width) solid var(--text-main);
    background: var(--concrete);
}

.founder-img-placeholder {
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: var(--border-width) solid var(--text-main);
    padding: 2rem;
}

.ascii-art {
    font-size: 8rem;
    font-weight: 700;
    color: var(--neon-pink);
    letter-spacing: -10px;
}

.founder-info {
    padding: 3rem;
}

.founder-info h2 {
    color: #888;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.founder-info h3 {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 0.5rem;
}

.founder-info .role {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.founder-info .bio {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
}

/* Terminal */
.terminal-box {
    max-width: 800px;
    margin: 0 auto;
    border: var(--border-width) solid var(--text-main);
    background: #000;
    font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
    background: var(--text-main);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #000;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-header .title {
    color: var(--bg-color);
    margin-left: 1rem;
    font-weight: 700;
}

.terminal-body {
    padding: 2rem;
    color: var(--neon-green);
}

.cursor-link {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: underline;
}

.cursor-link:hover {
    background: var(--neon-green);
    color: #000;
}

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: var(--border-width) solid var(--text-main);
}

.footer-item {
    padding: 2rem;
    border-right: var(--border-width) solid var(--text-main);
    text-align: center;
    font-weight: 700;
}

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

/* Glitch Animation */
@keyframes glitch {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-2px, 0);
    }

    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(2px, 0);
    }

    40% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-2px, 0);
    }

    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(2px, 0);
    }

    80% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-2px, 0);
    }

    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(2px, 0);
    }
}

.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-title h1 {
        font-size: 20vw;
    }

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

    .footer-item {
        border-right: none;
        border-bottom: var(--border-width) solid var(--text-main);
    }

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

    .founder-box {
        grid-template-columns: 1fr;
    }

    .founder-img-placeholder {
        border-right: none;
        border-bottom: var(--border-width) solid var(--text-main);
    }
}