:root {
    --bg: #ffffff;
    --fg: #000000;
    --accent: #0078d4;
    --glass: rgba(255, 255, 255, 0.7);
    --particle-color: rgba(0, 120, 212, 0.2);
    --btn-bg: #f3f3f3;
}

[data-theme="dark"] {
    --bg: #0a0a0a;
    --fg: #ffffff;
    --accent: #2b88d8;
    --glass: rgba(0, 0, 0, 0.7);
    --particle-color: rgba(255, 255, 255, 0.4);
    --btn-bg: #222222;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.theme-toggle {
    position: fixed;
    top: 1.5rem;
    right: 5%;
    z-index: 1000;
    background: var(--btn-bg);
    border: 1px solid rgba(128, 128, 128, 0.3);
    color: var(--fg);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle:hover {
    transform: scale(1.05);
    background: var(--glass);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
}

header.scrolled {
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    background: var(--glass);
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    padding: 1rem 5%;
}

.company-name {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

header.scrolled .company-name {
    font-size: 1.5rem;
    text-align: left;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
}

.hero-text {
    margin-top: 2rem;
    font-size: 1.25rem;
    max-width: 600px;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.content {
    padding: 10vh 10% 20vh;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 8rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

p {
    font-size: 1.1rem;
    color: var(--fg);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.6;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}