:root {
    --primary: #6C63FF;
    /* Violeta vibrante */
    --primary-dark: #524bcc;
    --secondary: #00D2D3;
    /* Cyan para acentos */
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

/* Background blobs for aesthetics */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 1;
}

.blob-1 {
    top: -100px;
    left: -100px;
}

.blob-2 {
    bottom: -100px;
    right: -100px;
    background: var(--secondary);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    padding-bottom: 0.2rem;
    /* Prevent descender clipping */
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    text-align: left;
    /* Align with hero text */
}

.warning-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 400px;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 25px -5px rgba(108, 99, 255, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 15px 30px -5px rgba(108, 99, 255, 0.5);
}

.download-btn i {
    font-size: 1.4rem;
}

/* --- QR Code Area --- */
.download-area {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.qr-box img {
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .download-area {
        flex-direction: column;
    }

    /* Hide QR on mobile since they are already on the phone */
    .qr-box {
        display: none;
    }
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    border-radius: 40px;
    border: 10px solid #334155;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: #000;
    position: relative;
    z-index: 2;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating badge effect */
.floating-badge {
    position: absolute;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.badge-trust {
    top: 20%;
    right: -20px;
    width: 200px;
}

.badge-safety {
    bottom: 20%;
    left: -40px;
}

/* --- Features Section --- */
.features {
    padding: 6rem 2rem;
    background: var(--bg-dark);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* --- Showcase Section --- */
.showcase {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--bg-dark), #0f0f15);
}

.screenshots-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.screenshots-container::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    min-width: 250px;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid #334155;
}

.screenshot-item img {
    width: 100%;
    display: block;
}

/* --- Footer --- */
footer {
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .floating-badge {
        display: none;
        /* Hide floating elements on tiny screens to avoid clutter */
    }
}

/* --- New Layout Utilities --- */
.section-spacing {
    padding: 4rem 2rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.max-w-600 {
    max-width: 600px;
    margin: 1rem auto;
    color: var(--text-muted);
}

.badge-pill {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* --- Role Cards --- */
.roles {
    background: linear-gradient(to bottom, var(--bg-dark), #162032);
}

.role-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.role-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.driver-card .role-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.passenger-card .role-icon {
    background: rgba(0, 210, 211, 0.1);
    color: var(--secondary);
}

.role-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.role-subtitle {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.role-list {
    list-style: none;
    padding: 0;
}

.role-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.role-list li::before {
    content: "•";
    color: var(--text-main);
    position: absolute;
    left: 0;
    font-weight: bold;
}