/* ========================================
   HEMERIS - Modern Industrial Design System
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Colors - Hemeris Brand Palette */
    --color-bg: #f0f0ef;
    --color-bg-alt: #e5e5e4;
    --color-surface: #ffffff;
    --color-text: #0d0c11;
    --color-text-secondary: #3d3c41;
    --color-text-muted: #6d6c71;

    /* Primary - Hemeris Green */
    --color-primary: #569432;
    --color-primary-dark: #457828;
    --color-primary-light: #6aab42;

    /* Secondary - Hemeris Violet */
    --color-accent: #5f3a8e;
    --color-accent-light: #7a4fb0;
    --color-accent-dark: #4a2d6e;

    /* Gradient - Green to Violet */
    --gradient-primary: linear-gradient(135deg, #569432 0%, #5f3a8e 100%);
    --gradient-subtle: linear-gradient(180deg, #f0f0ef 0%, #e5e5e4 100%);

    /* Borders */
    --border-color: #d8d8d7;
    --border-color-strong: #c5c5c4;

    /* Typography Scale */
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 900px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   UTILITIES
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: var(--space-24) 0;
    width: 100%;
}

.section-header {
    margin-bottom: var(--space-16);
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-top: var(--space-4);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

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

.btn-primary:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--border-color-strong);
}

.btn-secondary:hover {
    border-color: var(--color-text);
    background: var(--color-bg-alt);
}

.btn-large {
    padding: var(--space-5) var(--space-8);
    font-size: var(--text-base);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(240, 240, 239, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-logo-text {
    font-family: 'Krona One', sans-serif;
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.nav-cta {
    padding: var(--space-2) var(--space-5);
    background: var(--color-text);
    color: var(--color-surface) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-base) !important;
}

.nav-cta:hover {
    background: var(--color-primary) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-base);
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Menu */
@media (max-width: 768px) {
    .nav-container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-bg);
        border-bottom: 1px solid var(--border-color);
        padding: var(--space-6);
        gap: var(--space-4);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition-base);
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-cta {
        text-align: center;
        margin-top: var(--space-2);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }
}

/* ========================================
   HERO
   ======================================== */

/* ========================================
   VIDEO HERO
   ======================================== */

.video-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 12, 17, 0.45);
    z-index: 1;
}

.video-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.video-hero-title {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: var(--space-4);
}

.text-gradient-light {
    background: linear-gradient(135deg, #8bc66b 0%, #b08fd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    margin-bottom: var(--space-12);
}

.scroll-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
    border-color: #fff;
    color: #fff;
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ========================================
   HERO (Second section)
   ======================================== */

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-16) var(--space-6) var(--space-8);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-16);
    flex: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-8);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.hero-image {
    max-width: 120%;
    width: 120%;
    height: auto;
    margin-right: -10%;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plasma-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.plasma-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
    border-color: var(--color-accent);
}

.plasma-ring:nth-child(2) {
    width: 75%;
    height: 75%;
    animation-delay: 0.5s;
    border-color: var(--color-primary);
}

.plasma-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    animation-delay: 1s;
    border-color: var(--color-accent);
}

.plasma-core {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow:
        0 0 60px rgba(86, 148, 50, 0.3),
        0 0 120px rgba(95, 58, 142, 0.2);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

@keyframes glow {
    0% {
        box-shadow:
            0 0 60px rgba(86, 148, 50, 0.3),
            0 0 120px rgba(95, 58, 142, 0.2);
    }
    100% {
        box-shadow:
            0 0 80px rgba(86, 148, 50, 0.4),
            0 0 160px rgba(95, 58, 142, 0.3);
    }
}

.hero-stats {
    display: flex;
    gap: var(--space-16);
    padding-top: var(--space-6);
    margin-top: var(--space-12);
    border-top: 1px solid var(--border-color);
    max-width: var(--container-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-text);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* ========================================
   VALUE PROPOSITION SECTION
   ======================================== */

.section-problem {
    background: var(--color-surface);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.problem-card {
    padding: var(--space-8);
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color-strong);
}

.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    color: var(--color-primary);
}

.problem-icon svg {
    width: 24px;
    height: 24px;
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.problem-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================
   TECHNOLOGY SECTION
   ======================================== */

.section-technology {
    background: var(--gradient-subtle);
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.tech-content {
    max-width: 520px;
}

.tech-lead {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: var(--space-4);
    margin-bottom: var(--space-10);
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.tech-feature {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.tech-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.tech-feature-icon svg {
    width: 20px;
    height: 20px;
}

.tech-feature h4 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.tech-feature p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

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

.plasma-image {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.tech-diagram {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-layer {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed var(--border-color-strong);
}

.diagram-layer-1 {
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
    border-color: var(--color-accent);
}

.diagram-layer-2 {
    width: 70%;
    height: 70%;
    animation: rotate 20s linear infinite reverse;
    border-color: var(--color-primary);
}

.diagram-layer-3 {
    width: 40%;
    height: 40%;
    animation: rotate 15s linear infinite;
    border-color: var(--color-accent);
}

.diagram-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--color-text);
    border-radius: 50%;
    color: var(--color-surface);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.section-process {
    background: var(--color-surface);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
    padding: var(--space-8);
}

.step-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-bg-alt);
    line-height: 1;
    margin-bottom: var(--space-4);
    transition: color var(--transition-base);
}

.process-step:hover .step-number {
    color: var(--color-primary);
    opacity: 0.3;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.step-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    max-width: 280px;
    margin: 0 auto;
}

.step-line {
    position: absolute;
    top: 50%;
    right: 0;
    width: calc(var(--space-8) + 40px);
    height: 1px;
    background: var(--border-color);
    transform: translateX(50%);
}

.process-step:last-child .step-line {
    display: none;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.section-services {
    position: relative;
    background: var(--color-text);
    color: var(--color-surface);
    overflow: hidden;
}

.services-3d-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 0;
    pointer-events: none;
}

.services-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 12, 17, 0.75);
    z-index: 1;
}

.services-container {
    position: relative;
    z-index: 2;
}

.section-services .section-tag {
    color: var(--color-primary-light);
}

.section-services .workflow-num {
    background: var(--color-primary);
}

.section-services .section-title {
    color: var(--color-surface);
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.services-info p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-4);
    margin-bottom: var(--space-8);
}

.services-workflow {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.workflow-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.workflow-num {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    font-size: var(--text-xs);
    font-weight: 600;
}

.workflow-arrow {
    color: rgba(255, 255, 255, 0.3);
}

.services-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.service-card {
    padding: var(--space-6);
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.service-card:hover {
    background: rgba(26, 26, 46, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.service-card p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   CROPS SECTION
   ======================================== */

.section-crops {
    background: var(--color-bg);
    padding: var(--space-16) 0;
}

.crops-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.crop-item {
    padding: var(--space-4) var(--space-6);
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.crop-item:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-surface);
}

.crop-name {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* ========================================
   PATHOGENS GRID SECTION
   ======================================== */

.section-pathogens {
    background: var(--color-surface);
}

.pathogens-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

.pathogen-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.pathogen-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pathogen-item .crop-name {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
}

.pathogen-item .pathogen-list {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    font-style: italic;
}

@media (max-width: 768px) {
    .pathogens-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pathogens-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pathogens-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TEAM SECTION
   ======================================== */

.section-team {
    background: var(--color-surface);
}

/* Team Quadrant Layout */
.team-quadrant {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.team-department {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--border-color);
}

.team-department-title {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-color);
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.team-card-compact {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.team-photo-sm img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-bg-alt);
}

.team-placeholder-sm {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-secondary);
    border: 2px solid var(--color-bg-alt);
}

.team-info-compact h4 {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
}

.team-role-sm {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-1);
}

.team-info-compact p {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* Legacy team grid (keep for compatibility) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.team-card {
    text-align: center;
}

.team-photo {
    margin-bottom: var(--space-6);
}

.team-photo img {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--color-bg-alt);
    transition: all var(--transition-base);
}

.team-card:hover .team-photo img {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.team-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-text-secondary);
    border: 3px solid var(--color-bg-alt);
}

.team-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.team-role {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

.team-info p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    max-width: 280px;
    margin: 0 auto;
}

/* ========================================
   CTA SECTION
   ======================================== */

.section-cta {
    background: var(--gradient-subtle);
    padding: var(--space-32) 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    justify-content: center;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--border-color);
    padding: var(--space-16) 0 var(--space-8);
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--space-8);
}

.footer-brand .logo-text {
    margin-bottom: var(--space-2);
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: var(--space-3);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: var(--space-8);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-text);
    color: var(--color-surface);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

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

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-text);
}

/* ========================================
   ANIMATIONS - Scroll Reveal
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .video-hero {
        height: 70vh;
    }

    .video-hero-title {
        font-size: var(--text-4xl);
    }

    .hero {
        padding-top: var(--space-12);
        padding-bottom: var(--space-8);
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .hero-main {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .hero-visual {
        order: -1;
        justify-content: center;
        overflow: hidden;
    }

    .hero-image {
        max-width: 90%;
        width: 90%;
        margin: 0 auto;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-stats {
        margin-top: var(--space-8);
    }

    .hero-actions {
        margin-bottom: var(--space-4);
    }

    .tech-layout,
    .services-layout {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }


    .tech-visual {
        order: -1;
    }

    .plasma-image {
        max-width: 350px;
    }

    .problem-grid,
    .process-steps,
    .team-grid,
    .team-quadrant {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .step-line {
        display: none;
    }

    .process-step {
        text-align: left;
        display: flex;
        gap: var(--space-6);
        align-items: flex-start;
    }

    .step-number {
        font-size: var(--text-3xl);
        flex-shrink: 0;
    }

    .step-content p {
        margin: 0;
        max-width: none;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-image {
        max-width: 80%;
        width: 80%;
        margin: 0 auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }

    .plasma-image {
        max-width: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .services-workflow {
        flex-direction: column;
        align-items: flex-start;
    }

    .workflow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }

    .hero {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-image {
        max-width: 70%;
        width: 70%;
    }

    .plasma-image {
        max-width: 240px;
    }

    .btn {
        width: 100%;
    }

    .crops-grid {
        gap: var(--space-2);
    }

    .crop-item {
        padding: var(--space-3) var(--space-4);
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .video-hero-title {
        font-size: 5.5rem;
    }

    .hero-main {
        max-width: 1400px;
    }

    .hero-stats {
        max-width: 1400px;
    }
}

@media (min-width: 1800px) {
    .video-hero-title {
        font-size: 6.5rem;
    }

    .video-hero-subtitle {
        font-size: var(--text-2xl);
    }

    .hero-main {
        max-width: 1600px;
        gap: var(--space-24);
    }

    .hero-stats {
        max-width: 1600px;
    }
}
