/*
 * CSS MODERNIZADO PARA MODO FANTASMA
 * Design moderno, animações fluidas, e experiência de usuário otimizada
 */

:root {
    --color-primary: #8a2be2; /* Roxo vibrante */
    --color-secondary: #00ffff; /* Ciano */
    --color-background: #0a0a2a; /* Azul escuro quase preto */
    --color-text: #ffffff;
    --color-gradient-start: #8a2be2;
    --color-gradient-end: #00ffff;
    --color-accent: #ff00ff; /* Magenta */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.app-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

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

/* ===== HEADER/NAVBAR ===== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
    font-size: 0.95em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border: 2px solid var(--color-secondary);
    border-radius: 20px;
    transition: var(--transition-smooth);
    font-size: 0.85em;
}

.social-link:hover {
    background: var(--color-secondary);
    color: var(--color-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

/* Responsividade do Header */
@media (max-width: 768px) {
    .main-header nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.85em;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        padding: 6px 12px;
        font-size: 0.75em;
    }
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

h1 {
    font-size: 2.5em;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

h2 {
    font-size: 1.8em;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

h3 {
    font-size: 1.3em;
}

p {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.section-title {
    font-size: 2em;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1em;
    color: #ccc;
    margin-bottom: 40px;
}

/* ===== BOTÕES ===== */
button {
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin: 10px 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

button:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(to right, #ff00ff, #00ffff);
    color: var(--color-background);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-background);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    padding: 60px 20px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.main-title {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.sub-title {
    font-size: 1.5em;
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-weight: 600;
}

.description {
    font-size: 1.1em;
    color: #ddd;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.hero-image {
    text-align: center;
    padding: 0 20px 40px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.6);
    transition: var(--transition-smooth);
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.8);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 0;
    background-color: #1a1a3a;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    border-left: 5px solid var(--color-secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-left-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.feature-card h3 {
    font-size: 1.4em;
    color: var(--color-secondary);
    text-align: left;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.feature-card:hover h3 {
    color: var(--color-accent);
}

.feature-card p {
    text-align: left;
    font-size: 0.95em;
    position: relative;
    z-index: 1;
}

/* ===== VEHICLE SECTION ===== */
.vehicle-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(138, 43, 226, 0.05) 100%);
}

.vehicle-features-list {
    list-style: none;
    max-width: 800px;
    margin: 40px auto;
}

.vehicle-features-list li {
    padding: 15px 20px;
    margin: 10px 0;
    background: rgba(138, 43, 226, 0.1);
    border-left: 4px solid var(--color-secondary);
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.vehicle-features-list li:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateX(10px);
    border-left-color: var(--color-accent);
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(26, 26, 58, 0.8) 0%, rgba(138, 43, 226, 0.1) 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(138, 43, 226, 0.3);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
    z-index: 0;
}

.pricing-card:hover::before {
    top: -25%;
    left: -25%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.3);
}

.pricing-card > * {
    position: relative;
    z-index: 1;
}

.pricing-card.featured {
    border: 3px solid var(--color-secondary);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.6em;
    color: var(--color-primary);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.pricing-card:hover h3 {
    color: var(--color-secondary);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(138, 43, 226, 0.3);
    font-size: 0.95em;
    transition: var(--transition-smooth);
}

.pricing-card ul li:hover {
    padding-left: 10px;
    color: var(--color-secondary);
}

.pricing-card .price {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--color-secondary);
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    margin-top: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.cta .section-title {
    color: var(--color-text);
}

.cta .section-subtitle {
    color: #eee;
}

.cta button {
    margin-top: 20px;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    font-size: 0.9em;
    color: #aaa;
    background: rgba(10, 10, 42, 0.5);
}

/* ===== RESPONSIVIDADE ===== */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5em;
    }

    h2 {
        font-size: 2.2em;
    }

    p {
        font-size: 1.1em;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        padding: 100px 20px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

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

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-card.featured {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        display: flex;
        text-align: left;
        align-items: center;
        justify-content: space-between;
        padding: 100px 0;
    }

    .hero-content > div {
        flex: 1;
        padding: 0 20px;
    }

    .hero-content h1, .hero-content h2, .hero-content p {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-buttons button {
        margin-left: 0;
        margin-right: 15px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .main-header nav {
        padding: 20px 0;
    }

    .nav-links {
        gap: 40px;
    }
}

/* ===== ANIMAÇÕES ADICIONAIS ===== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    }
}

.btn-primary {
    animation: glow 3s ease-in-out infinite;
}

/* Scroll Animation */
.feature-card, .pricing-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
