:root {
    --bg: #0a0a0a;
    --fg: #ffffff;
    --accent: #00f2ff;
    --accent-muted: #004d52;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', sans-serif;
}

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

/* Custom cursor only on devices with hover support */
@media (hover: hover) {
    * {
        cursor: none;
    }
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-main);
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}

/* Custom Cursor Elements - Only on devices with hover support */
@media (hover: hover) {
    #cursor {
        position: fixed;
        width: 10px;
        height: 10px;
        background: var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transition: transform 0.1s ease;
    }

    #cursor-follower {
        position: fixed;
        width: 40px;
        height: 40px;
        border: 1px solid var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    }
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
    #cursor,
    #cursor-follower {
        display: none !important;
    }
}

/* Layout Grid - Non-conventional */
.grid-container {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 80px;
    grid-template-rows: 100px 1fr 100px;
    height: 100vh;
    max-width: 100vw;
    padding: 20px;
}

/* Navigation - Vertical Sidebars */
nav {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.logo {
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -2px;
    transform: rotate(-90deg);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.social-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.4);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    writing-mode: vertical-rl;
    transition: color 0.3s;
}

@media (hover: hover) {
    .social-links a:hover {
        color: var(--accent);
    }
}

/* Hero Content */
main {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    position: relative;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 12rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.hero-title span {
    display: block;
    -webkit-text-stroke: 1px var(--fg);
    color: transparent;
    transition: all 0.5s ease;
}

@media (hover: hover) {
    .hero-title span:hover {
        color: var(--fg);
        -webkit-text-stroke: 0px;
    }
}

.hero-desc {
    font-family: var(--font-mono);
    font-size: 1rem;
    max-width: 400px;
    margin-top: 40px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    border-left: 2px solid var(--accent);
    padding-left: 20px;
}

/* Interactive Elements */
.abstract-shape {
    position: absolute;
    right: -5%;
    top: 20%;
    width: 500px;
    max-width: 80vw;
    height: 500px;
    max-height: 80vw;
    background: linear-gradient(45deg, var(--accent-muted), transparent);
    filter: blur(80px);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.cta-container {
    margin-top: 60px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.btn-main {
    font-family: var(--font-mono);
    padding: 20px 40px;
    background: transparent;
    border: 1px solid var(--fg);
    color: var(--fg);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

@media (hover: hover) {
    .btn-main:hover {
        background: var(--fg);
        color: var(--bg);
    }
}

.btn-secondary {
    font-family: var(--font-mono);
    padding: 20px 40px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

@media (hover: hover) {
    .btn-secondary:hover {
        background: var(--accent);
        color: var(--bg);
    }
}

.scroll-indicator {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scroll-text {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin-top: 20px;
}

/* Stats Bar */
.stats-bar {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
    display: flex;
    align-items: center;
    gap: 80px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent);
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        height: auto;
        padding: 10px;
    }
    nav {
        border-right: none;
        height: auto;
        grid-row: 1;
        padding: 20px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .logo {
        transform: none;
        text-align: center;
    }
    .social-links { display: none; }
    main {
        padding-left: 0;
        padding-top: 100px;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.8rem; }
    .hero-description { text-align: center; margin-left: auto; margin-right: auto; }
    .cta-container {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        align-items: center;
    }
    .btn-main, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    .stats-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 40px 0;
        width: 100%;
    }
    .abstract-shape { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; line-height: 1.1; }
    .hero-subtitle { font-size: 1.5rem; }
    .grid-container { padding: 5px; }
}
