/* CSS Variables */
:root {
    --blue: #000cff;
    --blue-dark: #000acc;
    --blue-light: #e6e8ff;
    --green: #26cb8b;
    --green-dark: #1eb37a;
    --green-light: #e8f9f1;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 12, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero .highlight {
    color: var(--blue);
}

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

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--gray-50);
}

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

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.features-grid.four-col {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.feature-card.compact {
    padding: 1.5rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.feature-icon.green-icon {
    background: var(--green-light);
    color: var(--green);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

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

/* Split Content */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.split-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.split-text .lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.feature-list.large li {
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 50%;
}

.check-icon.green {
    background: var(--green-light);
    color: var(--green);
}

.check-icon svg {
    width: 14px;
    height: 14px;
}

/* Code Tags */
.code-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: var(--radius);
    font-family: 'Monaco', 'Consolas', monospace;
}

.compliance-note {
    padding: 1rem;
    background: var(--green-light);
    border-radius: var(--radius);
    color: var(--green-dark);
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Visual Cards */
.compliance-visual {
    display: grid;
    gap: 1rem;
}

.visual-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.visual-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
}

.visual-icon.blue {
    background: var(--blue-light);
    color: var(--blue);
}

.visual-icon.green {
    background: var(--green-light);
    color: var(--green);
}

.visual-card span {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.0625rem;
}

/* Fulfillment Grid */
.fulfillment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.fulfillment-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.fulfillment-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--blue-light);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    line-height: 1;
    z-index: 0;
}

.fulfillment-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.fulfillment-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    position: relative;
    z-index: 1;
}

/* SLA Scoreboard */
.sla-scoreboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.sla-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.sla-tiles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sla-tile {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.sla-tile:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
}

.sla-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
}

.sla-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
}

.ops-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ops-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.ops-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
}

.ops-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.ops-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.ops-content p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Contact Section */
.section-cta {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: 5rem 0;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
}

.contact-feature svg {
    color: var(--green);
    flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 12, 255, 0.1);
}

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

.form-message {
    padding: 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: var(--green-light);
    color: var(--green-dark);
}

.form-message.error {
    display: block;
    background: #fef2f2;
    color: #dc2626;
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.spinner-circle {
    stroke: currentColor;
    stroke-dasharray: 60;
    stroke-dashoffset: 45;
}

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

/* Footer */
.footer {
    background: var(--gray-900);
    padding: 4rem 0 2rem;
    color: var(--gray-400);
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

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

.footer-contact address {
    font-style: normal;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

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

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .split-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .split-content.reverse {
        direction: ltr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sla-scoreboard {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 4rem;
    }

    .section {
        padding: 4rem 0;
    }

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

    .features-grid.four-col {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .ops-cards {
        grid-template-columns: 1fr;
    }

    .sla-tile {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

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

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

    .features-grid.four-col,
    .fulfillment-grid {
        grid-template-columns: 1fr;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .logo img {
        height: 32px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .sla-value {
        font-size: 1.5rem;
    }
}
