:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    /* Brand Colors extracted from SVG */
    --color-accent: #80B447; 
    --color-accent-glow: rgba(128, 180, 71, 0.4);
    
    /* Gradients */
    --gradient-silver: linear-gradient(180deg, #FFFFFF 10%, #E0E0E0 50%, #606060 100%);
    --gradient-teta: linear-gradient(135deg, #86B159 0%, #80B447 50%, #7EB642 100%);
    
    /* Typography System */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ... (keep other styles) ... */

.brand-name {
    font-family: var(--font-heading);
    font-size: 4rem; 
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-transform: uppercase; 
    
    /* Silver Gradient */
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255,255,255,0.1));
}

.sub-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500; 
    
    /* Teta Green Gradient */
    background: var(--gradient-teta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    letter-spacing: 0.8em;
    text-transform: uppercase;
    /* opacity: 0.8; Removed opacity to let gradient shine */
}

*, *::before, *::after {
    box-sizing: border-box; /* Critical for layout arithmetic */
    margin: 0;
    padding: 0;
}

/* Fail-safe image handling */
img, svg, picture, video {
    max-width: 100%;
    display: block;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body); /* Base font */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

h1, h2, h3, h4, h5, h6, button, .btn {
    font-family: var(--font-heading);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 50;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

/* Typography & Utilities */
h1 {
    font-weight: 300;
    letter-spacing: -0.02em;
    font-size: 2rem;
    color: rgba(255,255,255,0.9);
}

h3 {
    font-family: var(--font-heading); /* Technical Heading */
    color: var(--color-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Cursor */
/* Canvas Background (The Light Engine) */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block; /* Removes baseline ghost space */
    max-width: 100vw;
    z-index: -1; 
    pointer-events: none;
    background-color: var(--color-bg);
}

/* Content Wrapper to CLIP all overflow (Crucial for Mobile) */
#wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden; /* This is the ultimate scroll killer */
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ensure Text is crisp on top */
.hero, .contact-section {
    z-index: 2;
    position: relative;
}


/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    min-height: 60vh;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}
.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo-container {
    margin-bottom: 2rem;
    position: relative;
}

.main-logo {
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto; /* Ensure centering */
    transition: filter 0.5s ease;
    filter: drop-shadow(0 0 20px rgba(128, 180, 71, 0.3)); /* Base Glow */
}

.main-logo:hover {
    filter: drop-shadow(0 0 35px rgba(128, 180, 71, 0.6)); /* Intensified Hover Glow */
}

/* Typography Refinement */
.slogan-container h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* More space between brand and subtitle */
    margin-bottom: 3rem;
    text-align: center;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 4rem; /* Larger for vertical stack */
    line-height: 0.9;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.04em;
    text-transform: uppercase; 
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255,255,255,0.1));
}

.sub-title {
    font-family: var(--font-heading); /* Switch title to heading font for tracking/tech look */
    font-size: 1rem;
    font-weight: 500; 
    
    background: var(--gradient-teta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    letter-spacing: 0.8em; /* Extremely wide spacing for that 'Movie Poster' look */
    text-transform: uppercase;
}

.separator {
    display: none; /* No separator needed for vertical stack */
}

@media (min-width: 900px) {
    /* Main layout is still vertical, but we scale up sizes */
    .brand-name {
        font-size: 6rem;
    }
    .sub-title {
        font-size: 1.5rem;
        letter-spacing: 1em;
    }
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid transparent;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #000;
    box-shadow: 0 0 20px rgba(140, 189, 62, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(140, 189, 62, 0.4);
    background-color: #9dcf46;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.btn.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer / Contact */
.contact-section {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-card {
    text-align: left;
}
.contact-card:last-child {
    text-align: right;
}

.contact-card p, .contact-card a {
    font-family: var(--font-body);
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    display: block;
}

.contact-card a:hover {
    color: var(--color-accent);
}

.contact-center {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 0 4rem;
    height: 100%;
    justify-content: center;
}

.main-link {
    font-family: var(--font-heading); /* Technical for main links */
    font-size: 1.1rem;
    color: #fff;
    opacity: 0.8;
}
.main-link:hover {
    opacity: 1;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 4px;
    text-shadow: 0 0 15px rgba(128, 180, 71, 0.6); /* Restored Glow */
}

/* Mobile Responsive */
/* Mobile Responsive */
/* Global Scroll Prevention */
/* Global Scroll Prevention */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    /* Ultra Compact Layout */
    .hero {
        min-height: auto;
        padding: 3rem 0 1rem 0;
        width: 100%; /* Reverted to 100% */
        overflow-x: hidden;
    }
    
    .hero-content {
        width: 90%; /* Inner constraint */
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-section {
        padding: 0 0 2rem 0;
        border-top: none;
        width: 100%; /* Reverted to 100% */
        overflow-x: hidden;
    }
    
    .contact-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .contact-grid {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 1.5rem;
        width: 90%; /* Inner constraint */
        margin: 0 auto;
    }

    /* Smaller Logo */
    .main-logo {
        max-width: 45vw; /* Smaller */
        height: auto;
    }

    .logo-container {
        margin-bottom: 0.5rem;
    }

    /* Tighter Typography */
    .brand-name {
        font-size: 9.5vw; /* Smaller to prevent width issues */
        line-height: 1.0;
    }

    .sub-title {
        font-size: 3vw;
        letter-spacing: 0.15em; /* Drastically reduced spacing */
        margin-top: 0.2rem;
    }

    .slogan-container h1 {
        margin-bottom: 1.5rem;
    }

    /* Compact Vertical Stack */
    .contact-grid {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 1.5rem; /* Tighter gaps */
        width: 100%;
    }
    
    .contact-card, .contact-card:last-child {
        text-align: center;
        width: 100%;
        margin: 0;
    }
    
    .contact-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .contact-card p, .contact-card a {
        font-size: 0.85rem; /* Smaller text */
    }

    .contact-center {
        border: none !important; /* Force remove borders */
        padding: 0;
        order: -1; 
        margin-bottom: 0.5rem;
        width: 100%;
        background: transparent;
    }
    
    .contact-section {
        border-top: none; /* Remove horizontal line */
        padding: 0 1rem 2rem 1rem;
    }
    
    .main-link {
        font-size: 1rem;
    }
}
