:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #0f172a;
    --gray: #64748b;
    --route-widget-bg: #0f172a;
    --route-widget-fog: #0f172a;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
}
.navbar-brand i {
    color: var(--primary);
}
.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
}
.nav-link:hover {
    color: #fff !important;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.hero .lead {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
}
.hero .badge-pill {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 20px;
    display: inline-block;
}
.btn-hero {
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Code Preview */
.code-preview {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    color: #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
}
.code-preview .comment { color: #64748b; }
.code-preview .string { color: #34d399; }
.code-preview .key { color: #60a5fa; }
.code-preview .number { color: #fbbf24; }

/* Route Widget */
.route-widget {
    position: relative;
    background: var(--route-widget-bg);
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    padding: 24px;
    height: 360px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(2, 6, 23, 0.35);
    perspective: 700px;
}
.route-widget__glow {
    position: absolute;
    inset: -20% 0 40% 0;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent 60%);
    filter: blur(18px);
    opacity: 0.6;
}
.route-widget__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.route-widget__labels {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 2;
}
.route-widget__label {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}
.route-widget__sub {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Features */
.features {
    padding: 100px 0;
    background: #f8fafc;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--gray);
    margin: 0;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}
.pricing-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.45);
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 28px 60px -28px rgba(37, 99, 235, 0.45);
}
.pricing-card.featured {
    border: 2px solid rgba(37, 99, 235, 0.75);
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.95));
    box-shadow: 0 28px 70px -28px rgba(37, 99, 235, 0.55);
    overflow: visible;
    padding-top: 52px;
}
.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}
.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(140px 120px at 15% 10%, rgba(37, 99, 235, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.pricing-card:hover::after {
    opacity: 1;
}
.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
}
.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
}
.pricing-card ul {
    margin-top: 20px;
}
.pricing-card li {
    color: #334155;
}
.pricing-card .btn {
    border-radius: 12px;
    font-weight: 600;
}
.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}
.pricing-card ul li {
    padding: 10px 0;
    color: var(--gray);
}
.pricing-card ul li i {
    color: #22c55e;
    margin-right: 10px;
}

/* API Demo */
.api-demo {
    padding: 100px 0;
    background: var(--dark);
}
.api-demo h2 {
    color: #fff;
}
.api-demo .section-subtitle {
    color: #94a3b8;
}
.endpoint-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}
.endpoint-card .method {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    margin-right: 10px;
}
.endpoint-card .method.post { background: #22c55e; color: #fff; }
.endpoint-card .method.get { background: #3b82f6; color: #fff; }
.endpoint-card .path {
    color: #e2e8f0;
    font-family: monospace;
    font-size: 1.1rem;
}
.endpoint-card .description {
    color: #94a3b8;
    margin-top: 10px;
    margin-bottom: 0;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    text-align: center;
}
.cta h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
}
.cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.btn-white {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
}
.btn-white:hover {
    background: #f1f5f9;
    color: var(--primary-dark);
}

/* Footer */
footer {
    background: var(--dark);
    padding: 60px 0 30px;
    color: #94a3b8;
}
footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}
footer a {
    color: #94a3b8;
    text-decoration: none;
}
footer a:hover {
    color: #fff;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 40px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
    }
    .navbar-collapse .d-flex {
        flex-direction: column;
        gap: 10px !important;
        margin-top: 15px;
    }
    .navbar-collapse .btn {
        width: 100%;
    }
    .navbar-toggler {
        border-color: rgba(255,255,255,0.3);
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .lead {
        font-size: 1rem;
    }
    .btn-hero {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
    }
    .hero .d-flex.gap-3 {
        flex-direction: column;
    }
    .hero .mt-4.d-flex {
        flex-direction: column;
        gap: 10px !important;
    }
    .code-preview {
        font-size: 11px;
        padding: 15px;
        overflow-x: auto;
    }
    .route-widget {
        height: 300px;
    }
    .features, .pricing, .api-demo, .cta {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .pricing-card {
        padding: 30px 20px;
    }
    .pricing-card .price {
        font-size: 2.5rem;
    }
    .cta h2 {
        font-size: 1.75rem;
    }
    .cta p {
        font-size: 1rem;
    }
    footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    .code-preview {
        font-size: 10px;
    }
    .route-widget {
        height: 260px;
    }
    .feature-card {
        padding: 20px;
    }
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .endpoint-card {
        padding: 15px;
    }
    .endpoint-card .path {
        font-size: 0.9rem;
        word-break: break-all;
    }
}
.route-widget__scene {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(65deg) translateZ(-40px);
}

/* Comparison Section */
.comparison {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.15);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--dark);
    color: #fff;
}

.comparison-table th {
    padding: 20px 24px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.comparison-table th.feature-col {
    text-align: left;
    width: 200px;
}

.comparison-table th.provider-col {
    min-width: 160px;
}

.comparison-table th.recommended {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    position: relative;
}

.recommended-badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    margin-bottom: 6px;
}

.comparison-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #334155;
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--dark);
}

.comparison-table td.recommended-cell {
    background: rgba(37, 99, 235, 0.04);
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

.comparison-table tbody tr:last-child td.recommended-cell {
    border-bottom: 2px solid var(--primary);
}

.comparison-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.02);
}

.comparison-table tbody tr:hover td.recommended-cell {
    background: rgba(37, 99, 235, 0.08);
}

/* Savings Calculator */
.savings-calculator {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 60px -20px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.savings-calculator h3 {
    font-weight: 700;
    color: var(--dark);
}

.volume-selector {
    margin-bottom: 20px;
}

.volume-selector label {
    font-size: 1.1rem;
    color: var(--dark);
}

.volume-selector label strong {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Custom Range Slider */
.form-range {
    height: 8px;
    -webkit-appearance: none;
    background: transparent;
}

.form-range::-webkit-slider-runnable-track {
    height: 8px;
    background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 50%, #93c5fd 100%);
    border-radius: 4px;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    margin-top: -8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.2s;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.form-range::-moz-range-track {
    height: 8px;
    background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 50%, #93c5fd 100%);
    border-radius: 4px;
}

.form-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Cost Cards */
.cost-card {
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.cost-card.qorvia {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.3);
}

.cost-card.competitor {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.cost-card .provider-name {
    font-weight: 600;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.cost-card.qorvia .provider-name {
    color: var(--primary);
}

.cost-card .cost-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.cost-card.qorvia .cost-value {
    color: var(--primary);
}

.cost-card .cost-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 4px;
}

.savings-badge {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 12px;
}

/* Total Savings */
.total-savings {
    padding: 24px;
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
    border-radius: 16px;
    border: 1px solid #86efac;
}

.savings-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.savings-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #16a34a;
}

.savings-text {
    font-size: 1.1rem;
    color: #15803d;
    font-weight: 500;
}

/* Comparison Section Mobile */
@media (max-width: 768px) {
    .comparison {
        padding: 60px 0;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }

    .comparison-table th.feature-col {
        width: 120px;
    }

    .comparison-table th.provider-col {
        min-width: 100px;
    }

    .recommended-badge {
        font-size: 8px;
        padding: 3px 8px;
        top: -10px;
    }

    .savings-calculator {
        padding: 24px;
    }

    .savings-calculator h3 {
        font-size: 1.25rem;
    }

    .cost-card .cost-value {
        font-size: 1.5rem;
    }

    .savings-amount {
        font-size: 1.75rem;
    }

    .savings-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .comparison-table-wrapper {
        margin: 0 -15px;
        border-radius: 0;
    }

    .comparison-table {
        border-radius: 0;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.75rem;
    }

    .cost-card {
        padding: 16px;
    }

    .cost-card .cost-value {
        font-size: 1.25rem;
    }

    .savings-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

/* Trust Badges */
.trust-section {
    padding: 30px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}

.trust-badge i {
    font-size: 2rem;
    flex-shrink: 0;
}

.trust-badge span {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.3;
}

.trust-badge strong {
    color: var(--dark);
}

/* Social Proof */
.social-proof {
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--dark);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial-text .bi-quote {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 8px;
    opacity: 0.5;
}

.testimonial-author {
    font-size: 0.95rem;
    color: var(--gray);
}

.testimonial-author strong {
    color: var(--dark);
}

/* Trust Badges Mobile */
@media (max-width: 768px) {
    .trust-section {
        padding: 20px;
    }

    .trust-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .trust-badge i {
        font-size: 1.5rem;
    }

    .trust-badge span {
        font-size: 0.8rem;
    }

    .social-proof {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .trust-badge span {
        font-size: 0.75rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* SDK Section */
.sdk-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.badge-pill-dark {
    background: rgba(15, 23, 42, 0.1);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.sdk-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.sdk-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.sdk-feature:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.sdk-feature i {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdk-feature div {
    display: flex;
    flex-direction: column;
}

.sdk-feature strong {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 2px;
}

.sdk-feature span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Phone Mockup */
.sdk-demo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.4);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #64748b;
}

.demo-placeholder-content i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.7;
}

.demo-placeholder-content span {
    font-size: 0.9rem;
}

/* Demo Gallery */
.demo-gallery {
    padding: 100px 0;
    background: var(--dark);
    overflow: visible;
}

.demo-gallery .container {
    overflow: visible;
}

.demo-gallery .section-title,
.demo-gallery .section-subtitle {
    color: #fff;
}

.demo-gallery .section-subtitle {
    color: #94a3b8;
}

/* Demo Slider */
.demo-slider-wrapper {
    position: relative;
    padding: 0 80px;
    overflow: visible;
}

.demo-swiper {
    padding-bottom: 60px;
    overflow: visible;
}

.demo-swiper .swiper-wrapper {
    overflow: visible;
}

.demo-slide {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.swiper-slide-active .demo-slide {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
    transform: scale(1.02);
}

.demo-slide-video {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e3a5f 100%);
}

.demo-slide-content {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    min-height: 0;
    max-height: calc(100% - 80px);
}

.demo-video-container,
.demo-screenshot-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.demo-video-container:hover,
.demo-screenshot-container:hover {
    color: #94a3b8;
    background: rgba(37, 99, 235, 0.1);
}

.demo-video-container i {
    font-size: 72px;
    color: var(--primary);
    opacity: 0.9;
    transition: all 0.3s;
}

.demo-video-container:hover i {
    transform: scale(1.1);
    opacity: 1;
}

.demo-video-container span {
    font-size: 1rem;
    font-weight: 500;
}

.demo-screenshot-container i {
    font-size: 64px;
    color: #475569;
    transition: all 0.3s;
}

.swiper-slide-active .demo-screenshot-container i {
    color: var(--primary);
    opacity: 0.8;
}

.demo-slide-caption {
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-slide-caption h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.demo-slide-caption p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Swiper Navigation */
.demo-swiper .swiper-button-prev,
.demo-swiper .swiper-button-next {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.9);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
}

.demo-swiper .swiper-button-prev:hover,
.demo-swiper .swiper-button-next:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.demo-swiper .swiper-button-prev::after,
.demo-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

.demo-swiper .swiper-button-prev {
    left: 0;
}

.demo-swiper .swiper-button-next {
    right: 0;
}

/* Swiper Pagination */
.demo-swiper .swiper-pagination {
    bottom: 0;
}

.demo-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s;
}

.demo-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background: #fff;
}

.use-case-card {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.use-case-icon.delivery {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.use-case-icon.taxi {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
}

.use-case-icon.fitness {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.use-case-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.use-case-card > p {
    color: var(--gray);
    margin-bottom: 20px;
}

.use-case-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-features li {
    padding: 6px 0;
    color: #334155;
    font-size: 0.9rem;
    position: relative;
    padding-left: 24px;
}

.use-case-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2322c55e'%3E%3Cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z'/%3E%3C/svg%3E") no-repeat center;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #f8fafc;
}

.faq .accordion-item {
    border: none;
    margin-bottom: 16px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq .accordion-button {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    background: #fff;
    border: none;
    box-shadow: none !important;
}

.faq .accordion-button:not(.collapsed) {
    background: #fff;
    color: var(--primary);
}

.faq .accordion-button::after {
    background-size: 16px;
    width: 16px;
    height: 16px;
}

.faq .accordion-body {
    padding: 0 24px 20px;
    color: var(--gray);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 30px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
}

.stat-item {
    padding: 10px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 4px;
}

/* Mobile responsive for new sections */
@media (max-width: 768px) {
    .sdk-section, .demo-gallery {
        padding: 60px 0;
    }

    .sdk-section .section-title {
        font-size: 1.75rem;
    }

    .sdk-feature {
        padding: 12px;
    }

    .sdk-feature i {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .phone-mockup {
        width: 220px;
        height: 460px;
        border-radius: 32px;
        padding: 10px;
    }

    .phone-mockup::before {
        width: 60px;
        height: 20px;
        top: 16px;
    }

    .phone-screen {
        border-radius: 24px;
    }

    /* Demo Slider Mobile */
    .demo-slider-wrapper {
        padding: 0 50px;
        overflow: visible;
    }

    .demo-slide {
        height: 360px;
    }

    .demo-video-container i {
        font-size: 56px;
    }

    .demo-screenshot-container i {
        font-size: 48px;
    }

    .demo-slide-caption {
        padding: 16px 20px;
    }

    .demo-slide-caption h4 {
        font-size: 1rem;
    }

    .demo-slide-caption p {
        font-size: 0.85rem;
    }

    .demo-swiper .swiper-button-prev,
    .demo-swiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .demo-swiper .swiper-button-prev::after,
    .demo-swiper .swiper-button-next::after {
        font-size: 14px;
    }

    .use-cases, .faq {
        padding: 60px 0;
    }

    .use-case-card {
        padding: 20px;
    }

    .use-case-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .faq .accordion-button {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .faq .accordion-body {
        padding: 0 20px 16px;
        font-size: 0.9rem;
    }

    .stats-section {
        padding: 20px;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .use-case-features li {
        font-size: 0.85rem;
    }

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

    .sdk-section .section-title {
        font-size: 1.5rem;
    }

    .sdk-feature {
        padding: 10px;
        gap: 12px;
    }

    .sdk-feature strong {
        font-size: 0.9rem;
    }

    .sdk-feature span {
        font-size: 0.8rem;
    }

    .phone-mockup {
        width: 180px;
        height: 380px;
        border-radius: 28px;
    }

    .phone-mockup::before {
        width: 50px;
        height: 16px;
        top: 12px;
        border-radius: 8px;
    }

    .phone-screen {
        border-radius: 20px;
    }

    .demo-placeholder-content i {
        font-size: 36px;
    }

    /* Demo Slider Small Mobile */
    .demo-slider-wrapper {
        padding: 0 30px;
        overflow: visible;
    }

    .demo-slide {
        height: 320px;
    }

    .demo-slide-content {
        padding: 20px;
    }

    .demo-video-container i {
        font-size: 48px;
    }

    .demo-screenshot-container i {
        font-size: 40px;
    }

    .demo-slide-caption {
        padding: 14px 16px;
    }

    .demo-slide-caption h4 {
        font-size: 0.95rem;
    }

    .demo-slide-caption p {
        font-size: 0.8rem;
    }

    .demo-swiper .swiper-button-prev,
    .demo-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
        display: none;
    }

    .demo-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .demo-swiper .swiper-pagination-bullet-active {
        width: 24px;
    }
}

/* Demo Slide Images */
.demo-slide-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

/* SDK Demo Video */
.sdk-demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Video Mute Button */
.video-mute-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-mute-btn:hover {
    background: rgba(37, 99, 235, 0.8);
    transform: scale(1.1);
}

.video-mute-btn:active {
    transform: scale(0.95);
}

@media (max-width: 576px) {
    .video-mute-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
        bottom: 12px;
        right: 12px;
    }
}
