:root {
    --blue: #2563EB;
    --blue-light: #3B82F6;
    --blue-pale: #EFF6FF;
    --blue-mid: #DBEAFE;
    --dark: #111827;
    --gray: #6B7280;
    --border: #E5E7EB;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--dark);
    overflow-x: hidden;
}

/* HEADER */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-wrap img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-wrap span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    letter-spacing: -0.01em;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

nav a,
nav button {
    font-size: 0.875rem;
    color: var(--gray);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
}

nav a:hover,
nav button:hover {
    color: var(--dark);
}

.btn-nav {
    background: var(--blue) !important;
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem !important;
    transition: background 0.2s, transform 0.2s !important;
}

.btn-nav:hover {
    background: #1D4ED8 !important;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    header {
        padding: 0 1rem;
    }

    nav {
        gap: 1rem;
    }

    nav a {
        display: none;
    }

    nav button {
        display: none;
    }
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 4rem;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #EFF6FF 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-pale);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    border: 1px solid var(--blue-mid);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22C55E;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.hero-title .accent {
    color: var(--blue);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 420px;
}

.cta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.btn-outline {
    background: #fff;
    color: var(--dark);
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.btn-outline:hover {
    border-color: #9CA3AF;
    transform: translateY(-2px);
}

.social-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatars {
    display: flex;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -6px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

@media (max-width: 640px) {
    .hero {
        padding: 6rem 1.25rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-sub {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .cta-row {
        align-items: center;
        text-align: center;
    }

    .social-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.social-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* MAP CARD */
.map-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.map-header {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FAFAFA;
}

.map-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.fuel-pills {
    display: flex;
    gap: 0.4rem;
}

.fuel-pill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.pill-gas {
    background: #EFF6FF;
    color: var(--blue);
}

.pill-eth {
    background: #F0FDF4;
    color: #16A34A;
}

.map-view {
    height: 240px;
    position: relative;
    background: #F8FAFC;
    overflow: hidden;
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.5;
}

.map-road-h {
    position: absolute;
    left: 0;
    right: 0;
    background: #E2E8F0;
    border-radius: 2px;
}

.map-road-v {
    position: absolute;
    top: 0;
    bottom: 0;
    background: #E2E8F0;
    border-radius: 2px;
}

.pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.pin:nth-child(5) {
    animation-delay: 0.6s;
}

.pin:nth-child(6) {
    animation-delay: 1.2s;
}

.pin:nth-child(7) {
    animation-delay: 1.8s;
}

@keyframes float {

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

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

.pin-label {
    background: var(--blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.28rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}

.pin-label.best {
    background: #16A34A;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.35);
}

.pin-label.muted {
    background: #64748B;
    box-shadow: 0 3px 10px rgba(100, 116, 139, 0.25);
}

.pin-stem {
    width: 2px;
    height: 10px;
    background: var(--blue);
    border-radius: 1px;
}

.pin-stem.best {
    background: #16A34A;
}

.pin-stem.muted {
    background: #64748B;
}

.pin-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.pin-dot.best {
    background: #16A34A;
}

.pin-dot.muted {
    background: #64748B;
}

.price-list {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    transition: border-color 0.2s;
}

.price-row.best-row {
    border-color: #BBF7D0;
    background: #F0FDF4;
}

.price-row:hover {
    border-color: #93C5FD;
}

.row-left p:first-child {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
}

.row-left p:last-child {
    font-size: 0.7rem;
    color: var(--gray);
    margin-top: 1px;
}

.row-right {
    text-align: right;
}

.row-price {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--dark);
}

.row-price.green {
    color: #16A34A;
}

.row-tag {
    font-size: 0.65rem;
    font-weight: 600;
    margin-top: 1px;
}

.tag-best {
    color: #16A34A;
}

.tag-diff {
    color: var(--gray);
}

@media (max-width: 640px) {
    .map-view {
        height: 180px;
    }

    .map-card {
        border-radius: 16px;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .row-right {
        text-align: left;
    }
}

/* STATS */
.stats-section {
    background: var(--blue-pale);
    border-top: 1px solid var(--blue-mid);
    border-bottom: 1px solid var(--blue-mid);
    padding: 3rem 2rem;
}

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--blue-mid);
    border: 1px solid var(--blue-mid);
    border-radius: 16px;
    overflow: hidden;
}

.stat-cell {
    background: #fff;
    padding: 1.75rem 1rem;
    text-align: center;
}

.stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* COMO FUNCIONA */
.steps-section {
    padding: 6rem 2rem;
    background: #fff;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.step-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.step-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
    transform: translateY(-4px);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.step-num-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.65;
}

@media (max-width: 640px) {
    .stat-cell {
        padding: 1.25rem 0.75rem;
    }

    .stat-num {
        font-size: 1.4rem;
    }
}

/* REVIEWS */
.reviews-section {
    padding: 6rem 2rem;
    background: #FAFAFA;
    border-top: 1px solid var(--border);
}

.review-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.review-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.07);
}

.stars {
    color: #F59E0B;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.review-text {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
}

.author-city {
    font-size: 0.75rem;
    color: var(--gray);
}

/* CTA FINAL */
.cta-section {
    padding: 7rem 2rem;
    background: var(--blue);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08), transparent 65%);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: #fff;
    color: var(--blue);
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: background 0.2s, border-color 0.2s;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
    .cta-section {
        padding: 5rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }
}

/* MODAL */
#modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#modal.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
    animation: fadeUp 0.22s ease;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

@keyframes fadeUp {
    from {
        transform: translateY(16px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav .btn-nav {
        display: none;
    }
}