/* Landing Page Specific Styles */
.landing-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-darker);
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9), transparent);
    backdrop-filter: blur(5px);
    box-sizing: border-box;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-wrapper-small {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px -5px rgba(99, 102, 241, 0.4);
}

.logo-wrapper-small .logo-icon {
    font-size: 20px;
    color: white;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--surface-border);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

/* 3D Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.parallax-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('3d_sports_car.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.1s ease-out;
    /* Darken background to make text pop */
    filter: brightness(0.6) contrast(1.2);
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Vignette effect */
    background: radial-gradient(circle at center, transparent 20%, var(--bg-darker) 100%),
                linear-gradient(to bottom, transparent 60%, var(--bg-darker) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 6.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateZ(60px);
}

/* Glitch effect on pseudo-element */
.hero-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: white;
    -webkit-text-stroke: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    animation: glitch 4s infinite alternate;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 1.5rem auto 3rem;
    max-width: 600px;
    line-height: 1.6;
    transform: translateZ(40px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    justify-content: center;
    transform: translateZ(50px);
}

/* Customize primary button for hero */
.btn-glow {
    width: auto;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6), 0 0 40px rgba(168, 85, 247, 0.4);
    animation: pulseGlow 2s infinite alternate;
    text-decoration: none;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(168, 85, 247, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.8), 0 0 60px rgba(168, 85, 247, 0.6);
    }
}

@keyframes glitch {
    0% { clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); transform: translate(0); }
    10% { clip-path: polygon(0 15%, 100% 15%, 100% 55%, 0 55%); transform: translate(-2px, 2px); }
    20% { clip-path: polygon(0 10%, 100% 10%, 100% 35%, 0 35%); transform: translate(2px, -2px); }
    30% { clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%); transform: translate(-2px, 0); }
    40% { clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); transform: translate(0); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); transform: translate(0); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    .navbar {
        padding: 1rem;
    }
    .nav-links {
        display: none; /* simple mobile hide for now */
    }
}
