:root {
    /* Um pouco mais escuro para contraste */
    --bg-color: #1a1d21;
    /* Vinho */
    --primary-color: #722F37;
    /* Dourado */
    --secondary-color: #D39D53;
    /* Laranja para brilho secundário */
    --accent-glow: #e85d04;

    --text-color: #F5F5F7;
    --text-muted: #b0b0b5;

    /* Configurações de Vidro Premium */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.4);
    --blur-amt: 24px;

    --scrollbar-track: rgba(26, 29, 33, 0.7);
    --scrollbar-thumb: rgba(114, 47, 55, 0.55);
    --scrollbar-thumb-hover: rgba(114, 47, 55, 0.85);
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    /* background: linear-gradient(135deg, #1a1a1a, #2c2f5b); */
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    text-rendering: optimizeSpeed;
}

/* Adiciona textura de granulação (Noise) para dar textura física */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Luzes Ambientais de Fundo (Blobs) */
.ambient-light {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(114, 47, 55, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: floatLight 10s infinite ease-in-out;
    will-change: transform;
}

.light-1 {
    top: -100px;
    left: -100px;
}

.light-2 {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(211, 157, 83, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

@keyframes floatLight {

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

    50% {
        transform: translate(30px, 50px);
    }
}

h1,
h2,
h3,
.logo {
    font-family: 'Rubik', sans-serif;
}

/* Tipografia Fluida Responsiva */
h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
}

/* Utilitários de Texto */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Texto Gradiente Dourado */
.text-gradient-gold {
    background: linear-gradient(135deg, #D39D53 0%, #fff 50%, #D39D53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.highlight-text {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}



/* Navbar */
.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(26, 29, 33, 0.6);
    /* Mais escuro */
    backdrop-filter: blur(var(--blur-amt));
    border-bottom: 1px solid var(--glass-border);
    will-change: transform;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span:hover {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Permite crescer se o conteúdo for maior que a tela */
    display: flex;
    align-items: center;
    padding: clamp(100px, 15vh, 150px) 0 60px;
    /* Espaçamento para o header fixo */
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.hero-content a,
.hero-content button,
.hero-content .highlight-text {
    pointer-events: auto;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Globo Container */
.globe-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Mantém o formato quadrado */
    max-width: 850px;
    margin: 0 auto;
    z-index: 1;
    opacity: 0.9;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
    cursor: grab;
    pointer-events: auto;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .hero {
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }

    .hero-cta {
        align-items: center !important;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .globe-container {
        max-width: 550px;
        margin-top: 0px;
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .glass-panel {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .invisible-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .btn-large {
        width: 100%;
        padding: 15px 30px !important;
    }
}

/* GLASS CARDS ULTRA PREMIUM */
/* Efeito de borda iluminada simulando cristal */
.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(40px);
    /* Blur mais forte */
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;

    /* Borda sutil geral */
    border: 1px solid var(--glass-border);

    /* Sombras complexas para profundidade */
    box-shadow:
        0 4px 24px -1px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        /* Borda interna suave */
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    /* Highlight no topo (efeito de luz caindo) */
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

/* Efeito de reflexo diagonal ao passar o mouse */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
    pointer-events: none;
}

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

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px -5px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(211, 157, 83, 0.3);
    /* Borda interna dourada ao hover */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.text-gold {
    color: var(--secondary-color);
    font-family: 'Space Grotesk', serif;
    /* Mantém toque de elegância nos títulos dos cards */
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Seções Gerais */
section {
    padding: clamp(60px, 10vw, 120px) 0;
    position: relative;
    z-index: 2;
}

/* Grids Otimizados */
.grid-2,
.steps-grid,
.testimonials-grid {
    display: grid;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 50px;
}

.grid-2,
.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}


.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: white;
}

/* How It Works - Cards Verticais */

/* Aplicando estilo Glass nos passos também */
.step-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.step-number {
    font-family: 'Space Grotesk', serif;
    font-size: 3.5rem;
    color: rgba(211, 157, 83, 0.4);
    display: block;
    margin-bottom: 10px;
}

/* O Detalhe Invisível */
.usb-section {
    padding: 120px 0;
}

.glass-panel {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(30, 32, 36, 0.6) 0%, rgba(30, 32, 36, 0.9) 100%);
    backdrop-filter: blur(50px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 80px 60px;
    text-align: center;
}

.invisible-list {
    list-style: none;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
}

.invisible-list li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.check-gold {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    background: rgba(211, 157, 83, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Social Proof */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    color: #e0e0e0;
}

cite {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: 25px;
}

/* Responsivo */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
        /* Padding reduzido global */
    }

    .hero {
        padding: 100px 0 40px;
    }

    .glass-panel {
        padding: 40px 20px;
        /* Padding reduzido para telas menores */
        border-radius: 20px;
    }

    .heroes h1 {
        font-size: 2.8rem;
    }

    .grid-2,
    .steps-grid,
    .testimonials-grid,
    .invisible-list {
        grid-template-columns: 1fr;
    }

    .orb {
        width: 300px;
        height: 300px;
    }

    .glass-card {
        padding: 25px;
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 157, 83, 0.3);
    /* Glow dourado ao interagir */
    border-color: rgba(211, 157, 83, 0.4);
}

/* Novo Botão de Login (Nav) inspirado no código solicitado */
.btn-primary {
    position: relative;
    padding: 12px 24px;
    /* Ajuste leve para melhor proporção na nav */
    border-radius: 7px;
    border: 1px solid var(--secondary-color);
    /* Adaptado para Dourado da marca */
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    background: transparent;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    cursor: pointer;
    /* Garante cursor de clique */
    font-family: 'Rubik', sans-serif;
}

.btn-primary:hover {
    background: var(--secondary-color);
    box-shadow: 0 0 30px 5px rgba(211, 157, 83, 0.5);
    /* Glow Dourado */
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    color: var(--bg-color);
    /* Contraste melhor no texto ao preencher */
}

.btn-primary:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
}

.btn-primary::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
}

@keyframes sh02 {
    from {
        opacity: 0;
        left: 0%;
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 0;
        left: 100%;
    }
}

.btn-primary:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
}

.final-cta {
    padding: 200px 0;
}

footer {
    border-top: 1px solid var(--glass-border);
}

/* Modal de autenticação */
.glass-modal-premium {
    background: linear-gradient(145deg, rgba(114, 47, 55, 0.35) 0%, rgba(26, 29, 33, 0.75) 100%);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(211, 157, 83, 0.25);
    /* Borda dourada sutil */
    border-radius: 28px;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(211, 157, 83, 0.18),
        inset 0 2px 0 rgba(255, 255, 255, 0.08);
    color: #f5f0e6;
    /* Tom off-white quente para contraste */
    overflow: hidden;
    position: relative;
}

/* Overlay de luz suave no topo (efeito cristal) */
.glass-modal-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(211, 157, 83, 0.12), transparent);
    pointer-events: none;
}

/* Título com gradiente dourado */
.modal-title.text-gradient-gold {
    background: linear-gradient(135deg, #D39D53 0%, #fff8e0 50%, #D39D53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
}

/* Botão Google premium (fundo branco com borda/glow dourado) */
.btn-google-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 340px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1d21;
    /* Texto escuro para contraste no branco */
    background: linear-gradient(145deg, #ffffff 0%, #f8f6f2 100%);
    border: 1px solid rgba(211, 157, 83, 0.6);
    border-radius: 14px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.btn-google-premium:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 15px 40px rgba(211, 157, 83, 0.35),
        0 0 0 2px rgba(211, 157, 83, 0.4);
    background: #ffffff;
}

.btn-google-premium:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Efeito de brilho diagonal no hover */
.btn-google-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.btn-google-premium:hover::before {
    left: 200%;
}

/* Ícone de globo ou close button */
.btn-close-white {
    filter: invert(0.9) brightness(1.8) sepia(0.3) hue-rotate(30deg);
    /* Tom dourado sutil */
}

.text-gold {
    color: var(--secondary-color) !important;
}

/* Ajustes responsivos */
@media (max-width: 576px) {
    .glass-modal-premium {
        border-radius: 20px;
        margin: 0 12px;
    }

    .btn-google-premium {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 392px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* Glass dropdown premium */
.glass-dropdown {
    background: linear-gradient(145deg, rgba(40, 44, 52, 0.85) 0%, rgba(26, 29, 33, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(211, 157, 83, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.dropdown-item {
    color: var(--text-color);
    transition: all 0.2s;
    border-radius: 8px;
    font-size: 1rem;
}

.dropdown-item:hover {
    background: rgba(211, 157, 83, 0.15);
    color: var(--secondary-color);
}

.dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
}