/* styles/main.css */
/* AIRIZZ - Enterprise Gateway Design System */

:root {
    /* Colors - Corporate Trust Pattern (Updated) */
    --color-primary: #0F172A; /* Navy */
    --color-secondary: #334155; /* Slate */
    --color-cta: #0369A1; /* AIRIZZ Blue */
    --color-cta-hover: #0284C7; /* Lighter Blue for hover */
    --color-bg: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-text: #020617; /* Slate 950 */
    --color-text-muted: #475569; /* Slate 600 */
    --color-border: #E2E8F0;

    /* Typography */
    --font-heading: 'EB Garamond', serif;
    --font-body: 'Lato', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.1);
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
}

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

a:hover {
    color: var(--color-cta-hover);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--color-bg); }
.navy-bg { background-color: var(--color-primary); }
.text-white, .text-white h2, .text-white h3, .text-white p { color: #FFFFFF; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    padding: 0.875rem 1.5rem;
}

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

.btn-primary:hover {
    background-color: var(--color-cta-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
}

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

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-brand img {
    height: 36px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

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

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

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    z-index: 1001;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: var(--color-text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color var(--transition-fast);
}

.dropdown-content a:hover {
    background-color: var(--color-bg);
    color: var(--color-cta);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: rgba(3, 105, 161, 0.1);
    color: var(--color-cta);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-normal);
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Logo Carousel */
.trust-bar {
    padding: 3rem 0;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.trust-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.carousel {
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.logo-item {
    padding: 0 3rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    color: #94A3B8; /* Slate 400 */
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Path Selection / Solutions */
.path-selection {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

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

.path-card {
    background-color: var(--color-surface);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: left;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(3, 105, 161, 0.2);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: rgba(3, 105, 161, 0.1);
    color: var(--color-cta);
    margin-bottom: 1.5rem;
}

.path-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.path-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-link {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Industries Tabs */
.industries-section {
    padding: 6rem 0;
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: transparent;
    transition: background-color var(--transition-fast);
}

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

.tab-btn.active {
    color: var(--color-cta);
    font-weight: 600;
}

.tab-btn.active::after {
    background-color: var(--color-cta);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

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

.tab-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tab-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.tab-text p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-secondary);
}

.check-list li::before {
    content: '✓';
    color: var(--color-cta);
    font-weight: bold;
    background: rgba(3, 105, 161, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.mock-content {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
    border-radius: 12px;
    height: 350px;
    width: 100%;
}

.mock-content.alt-bg { background: linear-gradient(135deg, #0F172A 0%, #334155 100%); }
.mock-content.alt-bg-2 { background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%); }

.industry-tab-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.industry-tab-img:hover {
    transform: scale(1.02);
}

/* Metrics Section */
.metrics-section {
    padding: 5rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2rem;
}

.metric-number {
    font-size: 4rem;
    display: inline-block;
}

.metric-symbol {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-cta);
}

.metric-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--color-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.contact-item svg {
    color: var(--color-cta);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-form-glass {
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

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

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

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-cta);
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 4rem 0 2rem;
}

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

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94A3B8;
    max-width: 300px;
}

.footer-links h4 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: #94A3B8;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94A3B8;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .cards-grid, .cards-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .navbar {
        background-color: #FFFFFF;
    }

    .nav-container {
        flex-wrap: wrap;
        height: auto;
        min-height: 70px;
        padding: 0.5rem 1.5rem;
    }

    .nav-brand {
        height: 60px;
        display: flex;
        align-items: center;
    }

    .nav-brand img {
        height: 32px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
        width: 40px;
        padding: 0;
        transition: transform var(--transition-normal);
    }

    .navbar.mobile-active .mobile-menu-btn {
        transform: rotate(90deg);
    }

    .nav-links, .nav-actions {
        display: none;
        width: 100%;
        flex-basis: 100%;
    }

    .navbar.mobile-active .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0 1.5rem;
        border-top: 1px solid var(--color-border);
    }

    .navbar.mobile-active .nav-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 2.5rem;
    }
    
    .nav-actions .btn {
        width: 100%;
    }

    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-cta-group {
        justify-content: center;
        flex-direction: column;
    }
    
    .cards-grid, .cards-grid-2x2 { grid-template-columns: 1fr; }
    
    .tab-flex, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mock-content { height: 250px; }
}
