/* CSS Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typography Scale */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

/* Spacing Scale */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 44px; /* Accessibility touch target */
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.btn-primary {
    background-color: #2563EB;
    color: white;
    border-color: #2563EB;
}

.btn-primary:hover {
    background-color: #1E40AF;
    border-color: #1E40AF;
}

.btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: #2563EB;
    border-color: #2563EB;
}

.btn-secondary:hover {
    background-color: #2563EB;
    color: white;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-disabled small {
    font-weight: 400;
    opacity: 0.8;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-height: 52px;
}

.btn-full {
    width: 100%;
}


/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid #eef2f7;
    transition: transform 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}

.header.header--compact {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.header.header--hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
    height: 64px;
}

.header.header--compact .header-content {
    height: 56px;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo svg {
    height: 44px;
    width: auto;
}

.nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2563EB;
}

.nav-link:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
    border-radius: 4px;
}

.btn-header {
    height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 70%);
}

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

.hero-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.hero-logo svg {
    height: 64px;
    width: auto;
}

.hero-eyebrow {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .02em;
    opacity: .85;
    margin: 0 0 .4rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin: .6rem 0 1rem;
    opacity: .9;
    line-height: 1.4;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.hero-explainer {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 1.5rem;
    font-style: italic;
    max-width: 46ch;
    margin-left: auto;
    margin-right: auto;
}

.speed-promise {
    margin-bottom: 2rem;
}

.speed-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    color: #475569;
}

.alternative-contact {
    margin-top: 1rem;
    color: #64748b;
}

.alternative-contact .text-link {
    color: #2563EB;
    text-decoration: none;
}

.alternative-contact .text-link:hover {
    text-decoration: underline;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background-color: white;
    border: 1px solid #f1f5f9;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
}

/* Kicker Section */
.kicker {
    padding: 3rem 0;
    text-align: center;
    background-color: #f8fafc;
}

.kicker h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.kicker p {
    font-size: 1.125rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

/* Social Proof */
.social-proof {
    padding: 2rem 0;
    background-color: #1f2937;
    text-align: center;
}

.social-proof-text {
    color: #d1d5db;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f9fafb;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.card {
    background-color: white;
    padding: 2rem;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card-icon {
    color: #2563EB;
    margin: 0 auto 1.5rem;
    width: 48px;
    height: 48px;
}

.card-icon svg {
    stroke: #2563EB;
    stroke-width: 2;
    fill: none;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #6b7280;
    line-height: 1.6;
}

/* Industries */
.industries-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
    justify-items: center;
    text-align: center;
}

.industry-column {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

.industry-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.industry-list {
    list-style: none;
}

.industry-list li {
    padding: 0.5rem 0;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.industry-list li:last-child {
    border-bottom: none;
}

.industry-footnote {
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

/* Value Props */
.value-props-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.value-prop {
    text-align: center;
}

.value-prop-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.value-prop-text {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    background-color: #1d4ed8;
    padding: 2rem 0;
    text-align: center;
}

.cta-banner-text {
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
}

.cta-banner-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cta-banner-link:hover {
    color: #f59e0b;
}

.cta-banner-link:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin: 0 auto 2rem;
    justify-items: center;
}

.pricing-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card-featured {
    border-color: #1d4ed8;
    position: relative;
}

.pricing-card-featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1d4ed8;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 0.5rem;
}

.pricing-unit {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
}

.pricing-feature {
    color: #6b7280;
    font-size: 0.875rem;
}

.pricing-footnote {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-legal {
    color: #9ca3af;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 1rem 0;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    color: #10B981;
    margin: 0 auto 1.5rem;
    width: 64px;
    height: 64px;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.success-message {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.demo-form {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

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

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-input:invalid {
    border-color: #dc2626;
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    margin-top: 0.125rem;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.checkbox-text {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question:focus {
    outline: 2px solid #1d4ed8;
    outline-offset: -2px;
}

.faq-icon {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    color: #6b7280;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #1f2937;
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-copyright {
    color: #d1d5db;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-legal {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Toast */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-icon {
    flex-shrink: 0;
}

.toast-text {
    font-weight: 500;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsive */
@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }
    
    .trust-badges {
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    
    .logo svg {
        height: 48px;
    }
    
    .hero-logo svg {
        height: 80px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .value-props-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .value-props-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border-width: 3px;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
    
    .card {
        border-width: 2px;
    }
}

/* Mobile sticky call bar */
.call-bar {
    transition: opacity 0.2s ease;
}

.call-bar.is-hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px; /* Prevent overlap */
    }
    
    .call-bar {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(env(safe-area-inset-bottom) + 12px);
        z-index: 60;
        background: #2563EB;
        color: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
        text-align: center;
        padding: 14px 18px;
        font-weight: 700;
    }
    
    .call-bar a {
        color: inherit;
        text-decoration: none;
        display: block;
    }
}

@media (min-width: 769px) {
    .call-bar {
        display: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .header {
        transition: none;
    }
    
    .call-bar {
        transition: none;
    }
    
    .card,
    .pricing-card,
    .btn,
    .faq-icon,
    .toast {
        transition: none;
    }
}
