/*
Theme Name: SUST - Sustainable Urban Smart Technology
Theme URI: https://sust.om
Author: SUST Team
Author URI: https://sust.om
Description: Enterprise-grade landing page theme for SUST, an AI-powered robotic waste sorting technology company based in Oman.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sust-theme
Tags: one-page, custom-logo, responsive-layout, sustainability, technology

Smart Waste. Real Impact.
*/

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors - Teal/Green Sustainability Palette */
    --color-primary: #0D9488;
    --color-primary-dark: #0F766E;
    --color-primary-light: #14B8A6;
    --color-accent: #22C55E;
    
    /* Neutral Colors */
    --color-dark: #0F172A;
    --color-dark-secondary: #1E293B;
    --color-gray-900: #111827;
    --color-gray-800: #1F2937;
    --color-gray-700: #374151;
    --color-gray-600: #4B5563;
    --color-gray-500: #6B7280;
    --color-gray-400: #9CA3AF;
    --color-gray-300: #D1D5DB;
    --color-gray-200: #E5E7EB;
    --color-gray-100: #F3F4F6;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1280px;
    --container-padding: 24px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    max-width: 700px;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-white);
}

.section--dark .section-description {
    color: var(--color-gray-400);
}

.section--gray {
    background-color: var(--color-gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-description {
    margin: 0 auto;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

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

.btn--secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn--white {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn--white:hover {
    background-color: var(--color-gray-100);
    color: var(--color-dark);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

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

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--color-gray-700);
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark);
    transition: all var(--transition-fast);
}

@media (max-width: 1024px) {
    .mobile-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--color-gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/ai_generated/facility-interior.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(13, 148, 136, 0.2);
    color: var(--color-primary-light);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--color-primary-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray-400);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ===== PROBLEM SECTION ===== */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background-color: var(--color-dark-secondary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.problem-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
}

.problem-card h4 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.problem-card-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
}

.problem-card p {
    color: var(--color-gray-400);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .problem-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== HOW IT WORKS SECTION ===== */
.system-diagram {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
}

.system-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
}

.system-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.system-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.step-title {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

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

@media (max-width: 768px) {
    .system-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .system-steps::before {
        display: none;
    }
}

/* ===== FEATURES GRID ===== */
.feature-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card h4 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
}

/* ===== ROBOTIC SECTION ===== */
.robotic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.robotic-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.robotic-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.robotic-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.robotic-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.robotic-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: rgba(13, 148, 136, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.robotic-feature h5 {
    margin-bottom: 0.25rem;
}

.robotic-feature p {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
}

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

/* ===== IMAGE SHOWCASE ===== */
.image-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.showcase-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.showcase-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1.5rem 1rem 1rem;
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .image-showcase {
        grid-template-columns: 1fr;
    }
}

/* ===== METRICS SECTION ===== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.metric-card {
    background: linear-gradient(135deg, var(--color-dark-secondary) 0%, var(--color-gray-900) 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

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

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        padding: 1.5rem 1rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
}

/* ===== USE CASES SECTION ===== */
.usecase-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.usecase-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    cursor: pointer;
    background-color: var(--color-gray-100);
    color: var(--color-gray-600);
    border: none;
    transition: all var(--transition-base);
}

.usecase-tab.active,
.usecase-tab:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.usecase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.usecase-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.usecase-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.usecase-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.usecase-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.usecase-point-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .usecase-content {
        grid-template-columns: 1fr;
    }
    
    .usecase-tabs {
        flex-wrap: wrap;
    }
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
}

.comparison-table thead {
    background-color: var(--color-dark);
}

.comparison-table th {
    color: var(--color-white);
    font-weight: 600;
}

.comparison-table th.highlight {
    background-color: var(--color-primary);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: var(--color-gray-50);
}

.comparison-table tbody tr:hover {
    background-color: rgba(13, 148, 136, 0.05);
}

.comparison-table .check {
    color: var(--color-accent);
}

.comparison-table .cross {
    color: var(--color-gray-400);
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 1rem;
    }
}

/* ===== MARKET SECTION ===== */
.market-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.market-stat {
    text-align: center;
}

.market-stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.market-stat-label {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin-top: 0.5rem;
}

.market-map {
    background-color: var(--color-gray-100);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.market-countries {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.market-country {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-white);
    border-radius: 100px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.market-country.current {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

/* ===== DEPLOYMENT MODEL ===== */
.deployment-models {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.deployment-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 2px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.deployment-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl);
}

.deployment-badge {
    display: inline-block;
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.deployment-card h4 {
    margin-bottom: 1rem;
}

.deployment-card p {
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
}

.deployment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.deployment-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray-700);
}

.deployment-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .deployment-models {
        grid-template-columns: 1fr;
    }
}

/* ===== TEAM SECTION ===== */
.team-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.team-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.team-image {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 2rem 1rem 1rem;
    color: var(--color-white);
}

.team-image-caption h5 {
    color: var(--color-white);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.team-image-caption p {
    font-size: 0.8125rem;
    color: var(--color-gray-300);
}

.awards-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-white);
}

.award-icon {
    font-size: 2rem;
}

.award-text h5 {
    color: var(--color-white);
    font-size: 1rem;
}

.award-text p {
    font-size: 0.8125rem;
    opacity: 0.9;
}

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

@media (max-width: 640px) {
    .team-gallery {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/ai_generated/gcc-mrf-exterior.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

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

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* Honeypot field - hidden from humans */
.hp-field {
    position: absolute;
    left: -9999px;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.form-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--color-accent);
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-base);
}

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

.footer-heading {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

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

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVENESS ===== */

/* Mobile base - 768px and below */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 16px;
    }
    
    /* Typography scaling */
    h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }
    h4 { font-size: clamp(1.1rem, 3vw, 1.25rem); }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Hero section mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stat-value {
        font-size: 1.75rem;
    }
    
    /* Buttons mobile */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .btn--large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Section headers mobile */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    /* Problem cards mobile */
    .problem-card {
        padding: 1.5rem;
    }
    
    .problem-card-value {
        font-size: 2rem;
    }
    
    .problem-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    /* System diagram mobile */
    .system-diagram {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Feature cards mobile */
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    /* Robotic section mobile */
    .robotic-image img {
        height: 250px;
    }
    
    .robotic-feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
    
    /* Image showcase mobile */
    .showcase-item img {
        height: 200px;
    }
    
    /* Use case cards mobile */
    .usecase-tabs {
        gap: 0.5rem;
    }
    
    .usecase-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .usecase-image img {
        height: 250px;
    }
    
    /* Comparison table mobile */
    .comparison-table {
        font-size: 0.8125rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.625rem 0.75rem;
    }
    
    /* Market section mobile */
    .market-stat-value {
        font-size: 2rem;
    }
    
    .market-map {
        padding: 1.5rem;
    }
    
    .market-countries {
        gap: 0.75rem;
    }
    
    .market-country {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Deployment cards mobile */
    .deployment-card {
        padding: 1.5rem;
    }
    
    /* Team section mobile */
    .team-image img {
        height: 220px;
    }
    
    .team-image-caption {
        padding: 1.5rem 0.75rem 0.75rem;
    }
    
    .team-image-caption h5 {
        font-size: 0.8125rem;
    }
    
    .team-image-caption p {
        font-size: 0.75rem;
    }
    
    .awards-banner {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .award-icon {
        font-size: 1.5rem;
    }
    
    .award-text h5 {
        font-size: 0.875rem;
    }
    
    .award-text p {
        font-size: 0.75rem;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer mobile */
    .site-footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

/* Small mobile - 480px and below */
@media (max-width: 480px) {
    :root {
        --container-padding: 12px;
    }
    
    /* Typography for small screens */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }
    
    body {
        font-size: 0.9375rem;
    }
    
    .section-description {
        font-size: 0.9375rem;
    }
    
    /* Hero small mobile */
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .hero-stats {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
    
    /* Problem cards small mobile */
    .problem-card-value {
        font-size: 1.75rem;
    }
    
    .problem-card p {
        font-size: 0.875rem;
    }
    
    /* System steps small mobile */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-title {
        font-size: 0.9375rem;
    }
    
    .step-desc {
        font-size: 0.8125rem;
    }
    
    /* Feature cards small mobile */
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-card p {
        font-size: 0.875rem;
    }
    
    /* Robotic section small mobile */
    .robotic-image img {
        height: 200px;
    }
    
    .robotic-feature p {
        font-size: 0.875rem;
    }
    
    /* Showcase small mobile */
    .showcase-item img {
        height: 180px;
    }
    
    .showcase-caption {
        font-size: 0.75rem;
        padding: 1rem 0.75rem 0.75rem;
    }
    
    /* Use case tabs small mobile */
    .usecase-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    /* Market stats small mobile */
    .market-stat-value {
        font-size: 1.75rem;
    }
    
    .market-stat-label {
        font-size: 0.8125rem;
    }
    
    .market-country {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    /* Team gallery small mobile */
    .team-image img {
        height: 200px;
    }
    
    .awards-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .award-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Contact form small mobile */
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
    
    .form-group label {
        font-size: 0.875rem;
    }
    
    /* Footer small mobile */
    .footer-social a {
        width: 36px;
        height: 36px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ROI Calculator responsive */
@media (max-width: 768px) {
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* Use case cards responsive */
@media (max-width: 640px) {
    .usecase-card {
        margin-bottom: 1rem;
    }
    
    .usecase-card .usecase-image {
        height: 160px;
    }
    
    .usecase-card ul {
        font-size: 0.875rem;
    }
}

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
}

.container {
    overflow-x: hidden;
}

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

/* Table horizontal scroll on mobile */
@media (max-width: 768px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}



/* ===== ENHANCED MOBILE IMAGE FIXES ===== */
img,
.robotic-image img,
.showcase-item img,
.usecase-image img,
.team-image img,
.system-diagram img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.robotic-image,
.showcase-item,
.usecase-image,
.team-image {
    overflow: hidden;
}

@media (max-width: 768px) {
    .robotic-image img,
    .showcase-item img,
    .usecase-image img,
    .team-image img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
    }
    
    .system-diagram img {
        width: 100%;
        height: auto;
    }
}

/* ===== CENTERED CARDS & ICONS (ALL SECTIONS) ===== */

/* Problem cards centering */
.problem-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
}

.problem-card {
    flex: 1 1 280px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* System steps centering */
.system-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

.system-step {
    flex: 1 1 200px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Feature cards centering */
.grid--3,
.grid--4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
}

.feature-card {
    flex: 1 1 280px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    margin: 0 auto 1.5rem auto;
}

/* Metrics grid centering */
.metrics-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
}

.metric-card {
    flex: 1 1 200px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Market stats centering */
.market-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

.market-stat {
    flex: 1 1 150px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Solutions/revenue cards centering */
.deployment-models,
.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
}

.deployment-card,
.solution-card {
    flex: 1 1 320px;
    max-width: 500px;
}

/* Use cases grid centering */
.usecases-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
}

.usecase-card {
    flex: 1 1 280px;
    max-width: 380px;
}

/* Team gallery centering */
.team-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
}

.team-image {
    flex: 1 1 280px;
    max-width: 380px;
}

/* Awards banner centering */
.awards-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* Image showcase centering */
.image-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
}

.showcase-item {
    flex: 1 1 280px;
    max-width: 380px;
}

/* ===== AI DETECTION GALLERY SECTION ===== */
.ai-gallery {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
}

.ai-gallery .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ai-gallery h2 {
    color: var(--color-white);
}

.ai-gallery .section-description {
    color: var(--color-gray-400);
    max-width: 700px;
    margin: 0 auto;
}

.ai-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ai-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.ai-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.ai-gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.ai-gallery-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

/* AI Gallery responsive */
@media (max-width: 768px) {
    .ai-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-gallery-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .ai-gallery-item img {
        height: 220px;
    }
}

/* ===== PROTOTYPE SHOWCASE SECTION ===== */
.prototype-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.prototype-item {
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.prototype-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.prototype-caption {
    padding: 1.25rem;
    text-align: center;
}

.prototype-caption h4 {
    margin-bottom: 0.25rem;
}

.prototype-caption p {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

@media (max-width: 768px) {
    .prototype-showcase {
        grid-template-columns: 1fr;
    }
    
    .prototype-item img {
        height: 250px;
    }
}
