@import url('./colors.css');

:root {
    --bg: var(--bg-primary);
    --bg-elevated: var(--bg-elevated);
    --bg-card: var(--bg-card);
    --border: var(--border-color);
    --text: var(--text-primary);
    --text-secondary: var(--text-secondary);
    --accent: var(--accent-primary);
    --accent-hover: var(--accent-hover);
    --accent-glow: var(--accent-glow);
    --bg-dark: var(--bg-primary);
    --blue-primary: var(--color-blue);
    --blue-light: var(--color-cyan);
    --text-main: var(--text-primary);
    --text-muted: var(--text-muted);
    --glow-color: var(--accent-glow);
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Navbar ── */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-navbar);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: color 0.2s;
}

.nav-brand i {
    color: var(--accent);
    font-size: 1.3rem;
}

.nav-brand:hover {
    color: var(--accent);
}

/* ── Hero ── */

.hero {
    position: relative;
    text-align: center;
    padding: 80px 24px 60px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(30, 136, 229, 0.12);
    border: 1px solid rgba(30, 136, 229, 0.25);
    color: #90caf9;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 30%, #90caf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 auto 28px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(30, 136, 229, 0.3);
}

.main-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(30, 136, 229, 0.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Extensions section ── */

.extensions-section {
    padding: 20px 32px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.section-header p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.extensions-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
}

/* ── Modal info (shared) ── */

.info {
    display: flex;
    gap: 12px;
    padding: 6px;
    justify-content: center;
}

.info > div {
    padding: 6px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

/* ── Footer ── */

.site-footer {
    margin-top: auto;
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Fundo com efeito de gradiente e partículas simuladas */
.banner-container {
    width: 100%;
    max-width: 1400px;
    padding: 60px 40px;
    box-sizing: border-box;
    border-radius: 20px;
    margin-bottom: 150px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

/* --- COLUNA ESQUERDA (TEXTOS E CCTA) --- */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: start;
}

.logo-area {
    display: flex;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.logo-area span { color: var(--blue-primary); }

.main-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -1px;
}
.main-title .highlight-blue {
    color: #2563eb;
}
.main-title .highlight-cyan {
    background: linear-gradient(to right, #00cdff, #0070f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
}

/* Mini características (Seguro, Atualizações...) */
.features-inline {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.feat-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 12px;
}
.feat-box svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #3b82f6;
    stroke-width: 2;
}
.feat-text h4 { margin: 0; font-size: 0.95rem; font-weight: 600; }
.feat-text p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }

/* Botão principal de Ação */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--accent);
    background-size: 200% auto;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    width: fit-content;
    box-shadow: 0 10px 25px rgba(67, 100, 247, 0.4);
    transition: 0.3s ease;
}
.btn-cta:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(67, 100, 247, 0.6);
}
.btn-cta svg { width: 20px; height: 20px; fill: currentColor; }

/* --- COLUNA CENTRAL (A CAIXA 3D EM SVG) --- */
.center-column {
    display: flex;
    justify-content: center;
    position: relative;
}
.box-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    animation: float 4s ease-in-out infinite;
}
/* Brilho pulsante atrás da caixa */
.box-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.3) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- COLUNA DIREITA (GRID DE PRODUTOS) --- */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.product-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(6, 18, 46, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 14px 20px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}
.product-card:hover {
    background: rgba(6, 18, 46, 0.7);
    border-color: rgba(0, 205, 255, 0.5);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 112, 243, 0.15);
}
.card-icon {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #38bdf8;
    stroke-width: 1.5;
}
.card-info h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.card-info p { margin: 2px 0 0 0; font-size: 0.85rem; color: var(--text-muted); }

/* --- ANIMAÇÕES E RESPONSIVIDADE --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (max-width: 1024px) {
    .banner-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        text-align: center;
    }
    .left-column, .right-column {
        align-items: center;
    }
    .features-inline {
        justify-content: center;
        flex-wrap: wrap;
    }
    .product-card {
        width: 100%;
        max-width: 400px;
        text-align: left;
    }
    .product-card:hover {
        transform: translateY(-3px);
    }
}

/* ── Responsive ── */

@media (max-width: 600px) {
    .navbar {
        padding: 12px 16px;
    }

    .hero {
        padding: 48px 16px 40px;
    }

    .extensions-section {
        padding: 16px 16px 40px;
    }

    .hero-stats {
        gap: 20px;
    }
}
