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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}

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

header {
    text-align: center;
    padding: 60px 0 40px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #1d4ed8;
}

.value-prop {
    background: white;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.value-prop h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 24px;
}

.team-member-photo {
    width: 180px;
    height: 264px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.card {
    padding: 20px;
    border-radius: 6px;
}

.problem {
    background: #fee;
    border-left: 4px solid #dc2626;
}

.solution {
    background: #efe;
    border-left: 4px solid #16a34a;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.code-block {
    position: relative;
    background: #1a1a1a;
    color: #f5f5f5;
    padding: 20px;
    border-radius: 6px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    margin: 20px 0;
    white-space: pre;
}

.code-comment {
    color: #888;
}

.api-demo-banner {
    background: #f0fdf4;
    border: 2px solid #16a34a;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.api-demo-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: #166534;
}

.api-example {
    margin-bottom: 24px;
}

.api-example:last-child {
    margin-bottom: 0;
}

.api-example-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.api-example .code-block {
    margin: 0;
    border-radius: 6px 6px 0 0;
}

.api-example-actions {
    display: flex;
    gap: 0;
    background: #2a2a2a;
    border-radius: 0 0 6px 6px;
    border-top: 1px solid #333;
}

.btn-run {
    flex: 1;
    padding: 13px 16px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.15s;
    background: #16a34a;
    color: white;
    border-radius: 0 0 6px 6px;
}

.btn-run:hover {
    background: #15803d;
}

.btn-run:disabled {
    background: #4a5568;
    cursor: wait;
}

.btn-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    padding: 0;
    flex: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: background 0.15s, color 0.15s;
}

.btn-copy:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.api-response {
    margin-top: 8px;
    display: none;
}

.api-response.visible {
    display: block;
}

.api-response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.api-response-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.api-response-time {
    font-size: 0.8rem;
    color: #888;
}

.api-response pre {
    background: #0f172a;
    color: #a5f3fc;
    padding: 16px;
    border-radius: 6px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.8rem;
    overflow-x: auto;
    white-space: pre;
    max-height: 300px;
    overflow-y: auto;
    margin: 0;
}

.api-response.error pre {
    color: #fca5a5;
}

.stats {
    background: white;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stats h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
    margin-top: 8px;
}

.pricing {
    background: white;
    padding: 40px;
    border-radius: 8px;
    --pricing-bleed: min(100px, max(0px, (100vw - 1000px) / 2) + 4px);
    margin: 40px calc(-1 * var(--pricing-bleed));
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pricing h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tiers {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.tier {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.tier.featured {
    border-color: #2563eb;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.tier-price .period {
    font-size: 1rem;
    color: #666;
}

.tier-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.tier-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.tier-features li:last-child {
    border-bottom: none;
}

.feature-sub {
    list-style: none;
    padding: 4px 0 2px 12px;
    margin: 0;
}

.feature-sub li {
    font-size: 0.85rem;
    color: #666;
    padding: 2px 0;
    border-bottom: none !important;
}

.info-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 4px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background: #e5e7eb;
    color: #666;
    font-size: 0.7rem;
    font-weight: 600;
    vertical-align: middle;
}

.discount-callout {
    background: #f0f7ff;
    padding: 28px 40px;
    border-radius: 8px;
    margin: 20px 0 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #dbeafe;
}

.discount-callout-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.discount-callout-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
    width: 1.75rem;
    text-align: center;
}

.discount-callout-text {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}

.discount-callout-text strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.discount-callout-text a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.discount-callout-text a:hover {
    text-decoration: underline;
}

.info-tooltip .info-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: white;
    font-size: 0.8rem;
    font-weight: 400;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    transition: opacity 0.2s;
    pointer-events: none;
}

.info-tooltip:hover .info-text {
    visibility: visible;
    opacity: 1;
}

.features {
    background: white;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.features h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    padding: 20px;
    border-left: 3px solid #2563eb;
    background: #f9fafb;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

.faq {
    background: white;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 0.9rem;
}

.tech-note {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.api-tabs {
   display: flex;
   gap: 0;
   margin-bottom: 20px;
   border-bottom: 2px solid #e5e5e5;
}

.api-tab {
   flex: 1 1 0;
   min-width: 0;
   padding: 10px 20px;
   border: none;
   background: none;
   cursor: pointer;
   font-size: 0.95rem;
   font-weight: 600;
   font-family: inherit;
   color: #888;
   border-bottom: 2px solid transparent;
   margin-bottom: -2px;
   transition: color 0.15s, border-color 0.15s;
}

.api-tab:hover {
   color: #333;
}

.api-tab.active {
   color: #2563eb;
   border-bottom-color: #2563eb;
}

.api-tab-panel {
   display: none;
}

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

.matrix-table {
   width: 100%;
   border-collapse: collapse;
   font-size: 0.85rem;
   margin-bottom: 12px;
   border-radius: 6px;
   overflow: hidden;
}

.matrix-table th, .matrix-table td {
   padding: 8px 10px;
   text-align: center;
   border: 1px solid #e5e5e5;
}

.matrix-table th {
   background: #f9fafb;
   font-weight: 600;
   color: #333;
   font-size: 0.8rem;
}

.matrix-table td {
   font-family: 'Monaco', 'Courier New', monospace;
   font-weight: 600;
}

.matrix-table .row-header {
   background: #f9fafb;
   font-weight: 600;
   font-family: inherit;
   text-align: left;
   color: #333;
   font-size: 0.8rem;
}

.matrix-number-icon {
   width: 26px;
   height: 26px;
   line-height: 26px;
   text-align: center;
   font-size: 13px;
   font-weight: 700;
   color: white;
   background: #2563eb;
   border-radius: 50%;
   border: 2px solid white;
   box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.coverage-maps {
    display: flex;
    gap: 12px;
}

.coverage-map-panel {
    flex: 1;
    min-width: 0;
}

.coverage-map-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
}

#coverage-map-na,
#coverage-map-eu {
    height: 260px;
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.coverage-label {
    background: #1e40af;
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    white-space: nowrap;
}
.coverage-label::before { display: none; }

#vroom-example .code-block {
   max-height: 150px;
   overflow-y: auto;
}

#route-map, #vroom-map {
   z-index: 0;
   border: 1px solid #e5e5e5;
}

.navbar {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #2563eb;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown-toggle:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 220px;
    padding: 4px 0;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    transition: background 0.1s;
}

.nav-dropdown-item:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

.nav-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: #2563eb;
    text-decoration: none;
    padding: 6px 14px;
    margin-left: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
    transition: background 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
    background: #1d4ed8;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.45);
}

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

    .problem-solution,
    .tiers,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 15px;
    }

    .value-prop {
        padding: 20px;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .btn-copy {
        display: none;
    }

    .discount-callout {
        padding: 20px;
    }

    .discount-callout-row {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .nav-cta {
        display: none;
    }

    /* Prevent maps from stealing page scroll on mobile */
    #route-map, #vroom-map, #matrix-map, #coverage-map-na, #coverage-map-eu {
        pointer-events: none;
    }

    .coverage-maps {
        flex-direction: column;
    }

    #coverage-map-na,
    #coverage-map-eu {
        height: 200px;
    }

    /* No interaction on curl/response blocks on mobile — illustrative only */
    .code-block,
    .api-response pre {
        pointer-events: none;
    }
}

.social-proof {
    text-align: center;
    padding: 32px 20px;
    margin: 0 0 40px;
}

.social-proof-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
}

.social-proof-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.social-proof-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: social-proof-scroll 30s linear infinite;
}

.social-proof-carousel:hover .social-proof-track {
    animation-play-state: paused;
}

@keyframes social-proof-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.social-proof-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    flex-shrink: 0;
}

.social-proof-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.2s;
}

@media (prefers-reduced-motion: reduce) {
    .social-proof-carousel {
        overflow-x: auto;
    }

    .social-proof-track {
        animation: none;
    }

    .social-proof-logo-box[aria-hidden="true"] {
        display: none;
    }
}

.social-proof-logo:hover {
    opacity: 1;
}

.social-proof-logo--padded {
    padding: 12px;
}

.social-proof-logo--rounded {
    border-radius: 8px;
}

.coming-soon-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.hero-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-badge--blue {
    background: #eff6ff;
    color: #1e3a8a;
    border-color: #bfdbfe;
}

.hero-badge--green {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.hero-badge--gray {
    background: #f3f4f6;
    color: #374151;
    border-color: #e5e7eb;
}

.waitlist-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
    flex: 1 1 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.waitlist-form button {
    flex: 1 1 100%;
    padding: 12px 16px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.waitlist-form button:hover {
    background: #1d4ed8;
}

.waitlist-confirmation {
    background: #dcfce7;
    color: #166534;
    padding: 16px 20px;
    border-radius: 6px;
    font-weight: 600;
    max-width: 480px;
    margin: 0 auto;
}

