/* ==========================================
   Tradutor Invix - Landing Page CSS System
   Aesthetics: Premium, Obsidian, Glassmorphism
   ========================================== */

:root {
    --bg-dark: #0a0a12;
    --card-bg: rgba(22, 20, 39, 0.45);
    --border-glass: rgba(168, 85, 247, 0.2);
    --border-glass-cyan: rgba(6, 182, 212, 0.2);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --primary-purple: #a855f7;
    --primary-cyan: #06b6d4;
    --accent-orange: #f97316;
    --font-outfit: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    font-family: var(--font-outfit);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* --- Efeitos de Fundo Holográficos --- */
.glowing-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.28;
    pointer-events: none;
    animation: pulseOrbs 12s infinite alternate ease-in-out;
}

.orb-purple {
    background: radial-gradient(circle, var(--primary-purple) 0%, rgba(0,0,0,0) 70%);
    top: -150px;
    right: -100px;
}

.orb-cyan {
    background: radial-gradient(circle, var(--primary-cyan) 0%, rgba(0,0,0,0) 70%);
    top: 400px;
    left: -200px;
    animation-delay: 4s;
}

@keyframes pulseOrbs {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(50px, 30px); }
}

/* --- Barra de Navegação --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(10, 10, 18, 0.7);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

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

.btn-download-nav {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #7c3aed 100%);
    color: white;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

/* --- Hero Section --- */
.hero-section {
    padding: 160px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2f 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge-gemini {
    align-self: flex-start;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 20px;
    color: #c084fc;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

@media (max-width: 968px) {
    .badge-gemini {
        align-self: center;
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
}

@media (max-width: 968px) {
    .hero-description {
        margin: 0 auto;
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

@media (max-width: 968px) {
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #7c3aed 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Phone Mockup Premium (Fidelidade do App) --- */
.hero-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 320px;
    height: 640px;
    border-radius: 40px;
    border: 12px solid #2a283e;
    background-color: var(--bg-dark);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.25);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.phone-header .logo-text {
    font-size: 1rem;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: indicatorPulse 1.5s infinite alternate;
}

@keyframes indicatorPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 1; }
}

/* Animação do Radar no Mockup */
.phone-radar-container {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-wave {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    animation: waveExpand 2s infinite linear;
    pointer-events: none;
}

.wave1 { width: 60px; height: 60px; }
.wave2 { width: 60px; height: 60px; animation-delay: 0.6s; }
.wave3 { width: 60px; height: 60px; animation-delay: 1.2s; }

@keyframes waveExpand {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.2); opacity: 0; }
}

.radar-mic {
    font-size: 2.2rem;
    z-index: 5;
    background: rgba(6, 182, 212, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--primary-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.phone-transcription {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bubble {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.bubble-original {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.bubble-translated {
    background-color: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--border-glass-cyan);
    color: var(--text-primary);
}

.bubble .speaker {
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

/* --- Grid de Recursos --- */
.features-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 868px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.4);
}

.feature-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-purple {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--border-glass);
}

.icon-cyan {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--border-glass-cyan);
}

.icon-orange {
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Tech/Latency Section --- */
.tech-section {
    max-width: 1200px;
    margin: 120px auto;
    padding: 0 24px;
}

.tech-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 868px) {
    .tech-container {
        grid-template-columns: 1fr;
    }
}

.tech-image {
    display: flex;
    justify-content: center;
}

.neon-card {
    background: rgba(10, 10, 18, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.neon-card h3 {
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.latency-bar {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.latency-bar span {
    font-size: 0.9rem;
    font-weight: 600;
}

.bar-fill {
    height: 14px;
    border-radius: 7px;
    width: 100%;
}

.fill-green {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    width: 20%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.fill-red {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
    width: 90%;
}

.latency-bar .time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.tech-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-content h2 {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.tech-list li {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* --- Seção de Download --- */
.download-section {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15) 0%, rgba(10,10,18,0) 80%);
    padding: 100px 24px;
    text-align: center;
}

.download-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-container h2 {
    font-size: 2.8rem;
    font-weight: 800;
}

.download-container p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.download-badges {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.playstore-btn {
    transition: transform 0.2s;
    display: inline-block;
}

.playstore-btn:hover {
    transform: scale(1.04);
}

.playstore-img {
    height: 80px;
    object-fit: contain;
}

.download-note {
    font-size: 0.85rem !important;
    color: #6b7280 !important;
}

/* --- Rodapé --- */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #06050b;
    padding: 40px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-img-small {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--text-primary);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #4b5563;
}
