:root {
    --primary: #e67e22;
    --primary-dark: #d35400;
    --bg-dark: #0a0a0a;
    --card-bg: #141414;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --accent: #f39c12;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Glassmorphism */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo img { height: 45px; }

nav { display: flex; gap: 40px; align-items: center; }
nav a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}
nav a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary);
    color: #000 !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 180px 8% 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
}

.hero-content { max-width: 650px; }

.badge-new {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 45px;
    max-width: 550px;
}

.hero-btns { display: flex; gap: 20px; }

.btn-main {
    padding: 18px 40px;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.4s;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-secondary {
    background: var(--glass);
    color: #fff;
    border: 1px solid var(--glass-border);
}

.btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
}

/* Smartphone Simulator */
.simulator-container {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 50px;
    border: 12px solid #1a1a1a;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8), 
                inset 0 0 10px rgba(255,255,255,0.1);
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: 0.6s ease;
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #111;
    position: relative;
    overflow: hidden;
}

.screen-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transition: 0.8s;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.screen-content.active { opacity: 1; }

.phone-header {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    margin-bottom: 20px;
}

/* Estilos de Telas do Sim */
.sim-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 12px;
}

.sim-btn {
    background: var(--primary);
    border-radius: 10px;
    height: 35px;
    width: 100%;
    margin-top: auto;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* GPS Road & Arrow */
.gps-road-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ocupa todo o wrapper */
    z-index: 0;
    pointer-events: none;
}

.road-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 4;
    stroke-dasharray: 10 10;
}

.road-path-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 10000;
    stroke-dashoffset: 10000;
    filter: drop-shadow(0 0 8px var(--primary));
    transition: stroke-dashoffset 0.1s linear;
}

.gps-arrow-red {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 5px 15px rgba(231, 76, 60, 0.5));
}

/* Criando a seta vermelha via CSS (estilo a imagem enviada) */
.arrow-icon {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 35px solid #e74c3c;
    position: relative;
}

.arrow-icon::after {
    content: '';
    position: absolute;
    top: 25px;
    left: -15px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 10px solid #0a0a0a; /* Recorte da base para dar o efeito da imagem */
}

/* Seções de Jornada Ajustadas */
.journey-section {
    padding: 150px 8%;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.journey-section:nth-child(even) {
    flex-direction: row-reverse;
}

.journey-content {
    flex: 1;
}

.journey-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.journey-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 30px;
}

/* Dashboard Mockup */
.dashboard-mockup {
    flex: 1.5;
    background: #111;
    border: 8px solid #222;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dash-header { height: 30px; background: #222; border-radius: 8px; width: 60%; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; flex: 1; }
.dash-card { background: #1a1a1a; border-radius: 12px; border: 1px solid #333; padding: 15px; }
.dash-chart { height: 100px; background: linear-gradient(to top, rgba(230, 126, 34, 0.1), transparent); border-bottom: 2px solid var(--primary); margin-top: 10px; }

/* Features Section */
.features-section {
    padding: 150px 8%;
    background: #070707;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.f-card {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
}

.f-card:hover {
    background: #1a1a1a;
    border-color: var(--primary);
    transform: translateY(-10px);
}

.f-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.f-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.f-card p {
    color: var(--text-dim);
}

/* Download Section */
.download-section {
    padding: 150px 8%;
    background: #0a0a0a;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.download-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.download-card {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    max-width: 480px;
    flex: 1;
    min-width: 300px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.download-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: #1a1a1a;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 800;
}

.download-card p {
    color: var(--text-dim);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.download-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    text-align: left;
    min-width: 180px;
}

.btn-download:hover {
    background: #111;
    border-color: var(--primary);
    transform: scale(1.05);
}

.btn-download i {
    font-size: 1.8rem;
    color: var(--primary);
}

.btn-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-text strong {
    font-size: 1.1rem;
    display: block;
    font-weight: 700;
}

/* Footer */
footer {
    padding: 100px 8% 50px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
}

@media (max-width: 768px) {
    /* Header Mobile Fix - Ultra Clean */
    header {
        padding: 12px 5%;
        justify-content: space-between;
    }
    
    .logo { font-size: 1.1rem; }
    .logo img { height: 32px; }
    
    /* Esconde links de texto no mobile para não amontoar */
    nav a:not(.btn-nav) { display: none; }
    
    nav { gap: 0; }
    
    .btn-nav {
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .gps-arrow-red {
        width: 30px;
        height: 30px;
    }
    
    .arrow-icon {
        border-left-width: 10px;
        border-right-width: 10px;
        border-bottom-width: 25px;
    }

    .arrow-icon::after {
        top: 18px;
        left: -10px;
        border-left-width: 10px;
        border-right-width: 10px;
    }

    .hero { 
        flex-direction: column; 
        text-align: center; 
        padding-top: 100px; 
        padding-bottom: 40px;
    }
    
    .hero h1 { 
        font-size: 2rem; 
        letter-spacing: -1px;
    }
    .hero p { 
        font-size: 0.95rem; 
        margin: 0 auto 25px; 
    }
    .hero-btns { 
        display: flex;
        flex-direction: row;
        gap: 10px; 
        justify-content: center;
        width: 100%;
    }
    .btn-main { 
        padding: 12px 10px; 
        font-size: 0.85rem; 
        flex: 1;
        max-width: 150px;
    }

    /* Ajuste da Estrada no Mobile */
    .gps-road-svg {
        left: 0;
        width: 100%;
        transform: none;
        opacity: 0.7;
    }

    .road-path { stroke-width: 8; }
    .road-path-progress { stroke-width: 8; }

    .journey-section {
        flex-direction: column !important;
        text-align: center;
        padding: 40px 5%;
        gap: 30px;
        min-height: auto;
        width: 100vw;
        overflow: hidden;
    }

    .journey-content h2 { font-size: 1.6rem; }
    .journey-content p { font-size: 0.9rem; }
    .journey-content ul { display: inline-block; text-align: left; }

    .simulator-container {
        width: 100%;
        display: flex;
        justify-content: center;
        perspective: none; 
    }

    .phone-frame {
        width: 200px !important;
        height: 400px !important;
        transform: none !important;
        margin: 0 auto;
    }

    /* Fix Dashboard Mockup Mobile */
    .dashboard-mockup {
        width: 100% !important;
        max-width: 320px !important;
        flex: none;
        height: auto !important; /* Força a altura a ser automática */
        aspect-ratio: auto !important; /* Remove a proporção que limitava o fundo */
        padding: 15px;
        margin: 20px auto;
        box-sizing: border-box;
        display: block; /* Muda para block no mobile para o fundo seguir o fluxo */
    }

    .dash-header {
        width: 100%;
        margin-bottom: 15px;
    }

    .dash-grid { 
        grid-template-columns: 1fr; 
        gap: 12px; 
        margin-bottom: 12px;
    }

    .dash-card { 
        padding: 12px; 
        height: auto !important;
        flex: none !important; /* Remove o flex 1 que forçava tamanhos estranhos */
    }

    .dash-chart { 
        height: 50px; 
    }

    .floating-element {
        display: none; 
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Download Section Mobile */
    .download-section {
        padding: 80px 5%;
    }

    .download-card {
        padding: 30px 20px;
        min-width: 100%;
    }

    .download-card h3 {
        font-size: 1.5rem;
    }

    .download-card p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }
}

    .dashboard-mockup {
        width: 100%;
        max-width: 320px;
        flex: none;
        height: auto;
        padding: 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .dash-grid { grid-template-columns: 1fr; gap: 10px; }
    .dash-card { padding: 10px; }
    .dash-chart { height: 50px; }

    .floating-element {
        display: none; 
    }
}

