:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --secondary: #ec4899;
    --background: #0b0e14;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    
    --section-padding: 110px; /* Reduced by 40% from 180px */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-body);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
}

.blob-1 {
    top: -200px;
    right: -200px;
    animation: orbit 20s infinite linear;
}

.blob-2 {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    animation: orbit 25s infinite linear reverse;
}

.blob-3 {
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, #3b82f6, transparent 70%);
    width: 400px;
    height: 400px;
    opacity: 0.1;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--text);
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px var(--primary-glow);
    background: var(--primary-light);
}

.btn-secondary {
    background: var(--surface);
    color: white;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    padding: 100px 0;
    align-items: center;
}

.hero-content .badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2; /* Increased from 1.1 */
    margin-bottom: 32px; /* Increased from 24px */
    letter-spacing: -2px;
}

h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.trust-indicators {
    display: flex;
    gap: 48px;
}

.indicator {
    display: flex;
    flex-direction: column;
}

.indicator .val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}

.indicator .lab {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Hero Visual & Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.app-ui-mockup {
    width: 100%;
    max-width: 380px;
    background: #1a1f2e;
    border: 8px solid #2d3548;
    border-radius: 40px;
    padding: 24px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
    animation: float 6s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.ui-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.ui-avatar {
    width: 48px;
    height: 48px;
    background: var(--surface);
    border-radius: 50%;
}

.ui-title {
    display: block;
    font-weight: 700;
}

.ui-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ui-offers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.offer-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.offer-card.active {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
}

.offer-driver {
    font-weight: 600;
    font-size: 0.9rem;
}

.offer-rating {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ui-action {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
}

/* Sections */
section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: 4rem; /* Increased from 3.5rem */
    font-weight: 800;
    margin-bottom: 32px; /* Increased from 24px */
}

.section-subtitle {
    font-size: 1.4rem; /* Increased from 1.3rem */
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto 70px; /* Reduced by 40% from 120px */
}

/* Negotiation Step Grid */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-item {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-10px);
    background: var(--surface-hover);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* Dual Section Cards */
.flex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card {
    padding: 50px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.card-rider {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
}

.card-driver {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), transparent);
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 20px;
    padding-left: 32px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
}

/* Safety Section */
.safety-section {
    background: rgba(0, 0, 0, 0.2);
}

.safety-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.safety-text {
    flex: 1.2;
}

.safety-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.safety-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.safety-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.shield-orb {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    box-shadow: 0 0 50px var(--primary-glow);
    animation: pulse 4s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Payments Section */
.payment-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    font-weight: 700;
    color: var(--text-muted);
}

.payment-logos span {
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 100px;
    background: var(--surface);
}

/* Footer */
footer {
    padding: 100px 0 40px;
    background: #05070a;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 250px;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

/* Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .trust-indicators {
        justify-content: center;
    }

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

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

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

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

/* Mobile Menu Toggle Styling */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text);
    margin-bottom: 5px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --font-size-body: 1.05rem;
        --font-size-subpage: 1.15rem;
    }

    h1 {
        font-size: 3rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .desktop-nav {
        position: fixed;
        top: 80px; /* Below header */
        left: 0;
        width: 100%;
        background: rgba(11, 14, 20, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        text-align: center;
    }

    .desktop-nav.active {
        transform: translateY(0);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }

    .header-actions {
        display: none;
    }
}

/* =========================================
   SUBPAGES & TOPOGRAPHY
   ========================================= */

.subpage .page-content {
    padding: 120px 0 160px;
}

.subpage .page-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 80px;
}

.subpage .content-text {
    max-width: 900px;
    font-size: var(--font-size-subpage);
    color: var(--text-muted);
    margin-bottom: 60px;
}

.subpage .content-text h2 {
    color: var(--text);
    margin: 64px 0 32px;
    font-size: 2.2rem;
}

.subpage .content-text p {
    margin-bottom: 32px;
    line-height: 2;
}

/* =========================================
   FAQ ACCORDION (GLOBAL)
   ========================================= */

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: var(--surface-hover);
}

.faq-item.active {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.faq-question {
    padding: 28px 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.25rem;
    user-select: none;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    transition: transform 0.4s ease;
    color: var(--primary-light);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 40px;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

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

/* Media Queries Refinement */
@media (max-width: 1024px) {
    .subpage .page-title { font-size: 3.5rem; }
    .subpage .content-text { font-size: 1.15rem; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.5rem; }
    .page-title { font-size: 2.2rem; }
    .safety-cards-grid, .contact-grid { grid-template-columns: 1fr; }
    .faq-question { padding: 20px 24px; font-size: 1.1rem; }
    .card { padding: 32px; }
    .card h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-content .badge { font-size: 0.8rem; }
    .payment-logos { flex-direction: column; align-items: center; gap: 20px; }
}