/* =========================================================================
   ZenithDesk Premium Stylesheet
   Theme: Luxury, Automotive-Inspired, Dark Mode, Minimalist
   Colors: Matte Blacks, Deep Charcoals, Neon Violet/Blue Accents
   Font: Outfit (Thin & Modern)
   ========================================================================= */

:root {
    /* Color Palette */
    --bg-primary: #0a0a0c;
    /* Deepest Charcoal / Almost Black */
    --bg-secondary: #121215;
    /* Slightly lighter matte black for contrast */
    --bg-tertiary: #1a1a1f;
    /* For cards or raised elements */

    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --text-muted: #6b6b75;

    /* Accents (Electric Blue & Violet) */
    --accent-blue: #00e1ff;
    --accent-violet: #8a2be2;
    --accent-glow: rgba(0, 225, 255, 0.4);
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));

    /* Glassmorphism */
    --glass-bg: rgba(18, 18, 21, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* Fonts */
    --font-primary: 'Outfit', sans-serif;

    /* Easing */
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Variables */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease-smooth);
}

/* =========================================================================
   Utility Classes & Buttons
   ========================================================================= */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    /* Slight rounding for sharp premium feel */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s var(--ease-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--text-primary);
    z-index: -1;
    transition: width 0.4s var(--ease-smooth);
}

.btn-primary:hover {
    color: var(--bg-primary);
    border-color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}

.btn-secondary:hover {
    color: var(--text-primary);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1rem;
}

/* =========================================================================
   Navigation
   ========================================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: padding 0.5s var(--ease-smooth), background-color 0.5s, backdrop-filter 0.5s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 16px 0;
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-blue);
    transition: width 0.4s var(--ease-smooth);
    box-shadow: 0 0 5px var(--accent-blue);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 225, 255, 0.2);
}

/* =========================================================================
   Hero Section
   ========================================================================= */

.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Hero image will be set inline or via JS to point to the generated artifact */
    background-image: url('file:///C:/Users/gkapi/.gemini/antigravity/brain/ffd0f845-6bda-49cf-970a-b1fc23aa2ad7/zenithdesk_hero_1773699939960.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay for profound depth */
    background: linear-gradient(to bottom,
            rgba(10, 10, 12, 0.2) 0%,
            rgba(10, 10, 12, 0.4) 50%,
            var(--bg-primary) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    font-size: 6rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0a0ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 50px;
    text-shadow: 0 0 20px var(--accent-glow);
}

.hero-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
}

/* =========================================================================
   General Section Layouts
   ========================================================================= */

.section {
    padding: 160px 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-container.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.section-container.reverse>* {
    direction: ltr;
}

.section-title {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.title-underline {
    width: 60px;
    height: 1px;
    background: var(--accent-gradient);
    margin-bottom: 40px;
    box-shadow: 0 0 10px var(--accent-violet);
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 40px;
}

/* Lists in sections */
.features-list {
    list-style: none;
}

.features-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-blue);
}

.highlight {
    color: var(--text-primary);
    font-weight: 400;
}

/* =========================================================================
   Specific Sections
   ========================================================================= */

.engineering {
    background-color: var(--bg-primary);
}

.craftsmanship {
    background-color: var(--bg-secondary);
}

.feature-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
    display: block;
    margin: 0 auto;
}

.feature-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Quote Section */
.quote {
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
    text-align: center;
    padding: 200px 0;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.quote-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quote-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: var(--bg-primary);
    padding: 60px 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================================================
   Animations (Reveal on Scroll)
   ========================================================================= */

.animate-in {
    opacity: 0;
    transition: all 1.2s var(--ease-in-out);
    will-change: opacity, transform;
}

.fade-up {
    transform: translateY(40px);
}

.slide-left {
    transform: translateX(40px);
}

.slide-right {
    transform: translateX(-40px);
}

.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Sequencing Delays */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .section-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .section-container.reverse {
        grid-template-columns: 1fr;
    }

    .section-visual {
        order: -1;
    }

    .quote-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Mobile menu needed for production */
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}