/* Zentinel Landing Page - Enterprise Grade Design System */
/* Inspired by SpaceX, Anduril, Tesla minimalist aesthetics */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Brand Colors - Minimal Cyan Theme */
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-light: #33ddff;
    --secondary: #10b981;
    --accent: #f59e0b;

    /* Grayscale Palette */
    --gray-900: #0a0a0a;
    --gray-800: #1a1a1a;
    --gray-700: #2a2a2a;
    --gray-600: #4a4a4a;
    --gray-400: #9a9a9a;
    --gray-200: #e0e0e0;
    --white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
    --font-brand: 'Orbitron', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: #000;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-light);
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
}

p {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
    font-weight: 300;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    font-weight: 300;
    max-width: 650px;
}

.brand-text {
    font-family: var(--font-brand);
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* ==================== LAYOUT ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.25rem;
    margin-top: 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.05em;
}

.logo svg {
    color: var(--primary);
}

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

.nav-links a {
    color: var(--gray-400);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

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

.nav-cta {
    display: flex;
    gap: 1rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--primary);
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-frame {
    background: var(--gray-900);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.demo-frame img {
    border-radius: var(--radius-sm);
    width: 100%;
}

/* ==================== CAPABILITY CARDS ==================== */
.capability-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.capability-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.capability-card h3 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.capability-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.capability-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.capability-list li {
    color: var(--gray-400);
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.capability-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ==================== INDUSTRY TABS ==================== */
.industry-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--gray-600);
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn:hover {
    color: var(--white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.industry-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.industry-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.industry-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.tech-specs {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item {
    text-align: left;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.spec-value {
    font-size: 1.5rem;
    color: var(--primary);
    font-family: var(--font-mono);
    font-weight: 400;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    font-size: 0.95rem;
    color: var(--gray-400);
    padding-left: 1.5rem;
    position: relative;
}

.feature-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.industry-visual img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

/* ==================== DEPLOYMENT STEPS ==================== */
.deployment-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.step-card {
    text-align: left;
}

.step-number {
    font-size: 3rem;
    font-weight: 200;
    color: rgba(0, 212, 255, 0.3);
    font-family: var(--font-mono);
    margin-bottom: 1rem;
    line-height: 1;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.step-card p {
    font-size: 1rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 300;
}

.testimonial-author {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-name {
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ==================== CONTACT FORM ==================== */
.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 300;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    /* 
       To visually place video between text and stats on mobile, 
       we'd typically need a DOM change. 
       For now, we place the visual immediately after the text block.
       If specific Text -> Video -> Stats ordering is strictly required 
       without DOM changes, we'd need `display: contents` on `.hero-text`.
    */
    .hero-text {
        display: contents;
        /* Flattens children into the parent flex container */
    }

    /* Now we have: h1, p, .flex (buttons), .hero-stats, .hero-visual direct children of .hero-content flex col */

    .hero-text>h1 {
        order: 1;
    }

    .hero-text>.hero-subtitle {
        order: 2;
    }

    .hero-visual {
        order: 3;
        width: 100%;
        margin: 1rem 0;
    }

    .hero-text>.flex {
        order: 4;
        justify-content: center;
    }

    /* Buttons */
    .hero-text>.hero-stats {
        order: 5;
        border-top: none;
        padding-top: 1rem;
        margin-top: 1rem;
        justify-content: center;
    }

    .industry-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .deployment-steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tech-specs {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

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