:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #777777;
    --text-dim: #333333;
    --accent-color: #ffffff;
    --border-color: #222222;
    --font-mono: 'Google Sans Code', monospace;
}

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

html {
    font-size: 62.5%;
    /* 1rem = 10px */
}

body {
    font-family: var(--font-mono);
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background-image: url("http://assets.iceable.com/img/noise-transparent.png");
    opacity: 0.03;
}

/* Base Panel Settings for ScrollTrigger */
.panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    z-index: 1000;
    background-color: transparent;
    mix-blend-mode: difference;
    /* For contrast on light text when scrolling */
}

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

.logo-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.header-logo {
    height: 30px;
    width: auto;
    filter: invert(1);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    transition: color 0.3s;
}

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

.get-in-touch .btn-primary {
    padding: 0.8rem 1.6rem;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    background-color: var(--bg-color);
}

/* SECTION 1: HERO */
.hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 10rem);
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.05em;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

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

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

/* SECTION 2: SPECS */
.specs-section {
    background-color: #050505;
}

.specs-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.tech-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.spec-tag {
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    font-size: 1.4rem;
    color: var(--text-secondary);
    background-color: var(--bg-color);
}

.about-container {
    max-width: 800px;
    margin-left: auto;
}

.about-headline {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

/* SECTION 4: FOOTER */
.footer-section {
    min-height: 70vh;
    border-bottom: none;
}

.footer-grid {
    max-width: 1200px;
    width: 100%;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
}

.footer-title {
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1;
}

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

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
}

.btn-primary.large {
    padding: 1.5rem 4rem;
    font-size: 2rem;
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.btn-primary.large:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }

    .grid-layout,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-cta {
        align-items: flex-start;
    }

    .about-headline {
        font-size: 3rem;
    }

    .about-text {
        font-size: 1.6rem;
    }

    .log-line {
        font-size: 1.6rem;
    }
}
