/* ===================================
   PROFESSIONAL CLEAN DESIGN SYSTEM
   Airshow Technologies Version 1
   =================================== */

:root {
    /* Colors - Light Professional Theme */
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-primary: #8B1A1A;
    --color-primary-light: #A82020;
    --color-primary-dark: #6B1414;
    --color-text: #2a2a2a;
    --color-text-light: #606060;
    --color-border: #e0e0e0;
    --color-shadow: rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
    --spacing-3xl: 4rem;

    /* Layout */
    --container-max: 1200px;
    --border-radius: 8px;

    /* Animations */
    --transition: 0.3s ease;
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

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

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

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text);
}

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

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

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

.nav-cta {
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--color-primary);
    color: white !important;
    border-radius: var(--border-radius);
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-shadow);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

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

.hero {
    padding: calc(80px + var(--spacing-2xl)) var(--spacing-lg) var(--spacing-2xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
    margin-bottom: var(--spacing-xl);
}

.hero-content h1 {
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat-card {
    padding: var(--spacing-lg);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--color-shadow);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 26, 26, 0.3);
}

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

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

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.125rem;
}

/* ===================================
   SECTIONS
   =================================== */

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

.section-alt {
    background: var(--color-bg-alt);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

/* ===================================
   COMPARISON CHART
   =================================== */

.comparison-chart {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px var(--color-shadow);
}

.comparison-item {
    margin-bottom: var(--spacing-lg);
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--spacing-xs);
}

.comparison-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text);
}

.comparison-value {
    font-weight: 700;
    font-size: 1.5rem;
}

.comparison-value.slow {
    color: #d32f2f;
}

.comparison-value.fast {
    color: var(--color-primary);
}

.comparison-bar {
    height: 30px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--color-shadow);
}

.comparison-bar.standard {
    width: 100%;
    background: linear-gradient(90deg, #d32f2f 0%, #f44336 100%);
}

.comparison-bar.optimized {
    width: 2%;
    min-width: 120px;
    background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

/* ===================================
   FEATURES GRID
   =================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.feature {
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--color-shadow);
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.feature h3 {
    margin-bottom: var(--spacing-sm);
}

.feature p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===================================
   SERVICES GRID
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--color-shadow);
    border-color: var(--color-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 26, 26, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.service-features li::before {
    content: "✓ ";
    color: var(--color-primary);
    font-weight: 700;
    margin-right: var(--spacing-xs);
}

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

.cta-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 0;
}

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

.cta-section .btn-primary:hover {
    background: var(--color-bg-alt);
    transform: translateY(-2px);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item strong {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.contact-item p {
    color: var(--color-text-light);
    margin: 0;
}

.contact-form-wrapper {
    padding: var(--spacing-xl);
    background: var(--color-bg-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: var(--spacing-md);
    font-family: var(--font-main);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: border-color var(--transition);
}

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

.form-group textarea {
    resize: vertical;
}

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

.footer {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--color-text);
    color: white;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-2xl);
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.copyright {
    font-size: 0.85rem;
    margin-top: var(--spacing-md);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.footer-col a,
.footer-col p {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: white;
}

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

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

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

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

    .mobile-menu-toggle {
        display: flex;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding-top: calc(60px + var(--spacing-xl));
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

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

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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