/* ========================== */
/*         THEME SETUP        */
/* ========================== */

:root {
    --primary: #5c7cfa;

    --dark-bg: #0b0e13;
    --dark-card: #141821;
    --dark-text: #e6e6e6;
    --dark-nav: rgba(0, 0, 0, 0.65);
    --dark-hero: linear-gradient(135deg, #0e121a 0%, #131926 100%);

    --light-bg: #f5f7fa;
    --light-card: #ffffff;
    --light-text: #111;
    --light-nav: rgba(255, 255, 255, 0.75);
    --light-hero: linear-gradient(135deg, #ffffff 0%, #eaeef3 100%);
}

/* ========================== */
/*         BASE THEME         */
/* ========================== */

body.dark {
    background: var(--dark-bg);
    color: var(--dark-text);
}

body.light * {
    background: var(--light-bg);
    color: var(--light-text) !important;
}


/* ========================== */
/*         NAVBAR             */
/* ========================== */

.navbar {
    backdrop-filter: blur(12px);
    transition: 0.3s;
}

body.dark .navbar {
    background: var(--dark-nav) !important;
}

body.light .navbar {
    background: var(--light-nav) !important;
}

body.light .navbar .nav-link {
    color: #222 !important;
}

body.light .navbar .btn-outline-light {
    color: #222 !important;
    border-color: #222 !important;
}

body.light .navbar .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.toggle-theme {
    cursor: pointer;
    font-size: 1.3rem;
    margin-left: 10px;
}

/* ========================== */
/*         HERO SECTION       */
/* ========================== */

.hero {
    padding: 180px 0 150px;
    transition: 0.4s;
}

body.dark .hero {
    background: var(--dark-hero);
    color: var(--dark-text);
}

body.light .hero {
    background: var(--light-hero);
    color: var(--light-text);
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 900;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.85;
}

.img_banner{
    max-height: 400px !important;
    height: 100%;
    width: auto;
}

/* ========================== */
/*       FINTECH BUTTONS      */
/* ========================== */

.fintech-btn {
    background: linear-gradient(135deg, #5c7cfa, #3b5bfd);
    border: none;
    padding: 12px 25px;
    border-radius: 14px;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: 0.3s;
    box-shadow: 0 5px 18px rgba(92, 124, 250, 0.45);
}

.fintech-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(92, 124, 250, 0.65);
}


/* ========================== */
/*        PLANOS CARDS        */
/* ========================== */
/* ================================
   PLANOS - DESIGN ULTRA PREMIUM
================================= */

.plan-card {
    position: relative;
    border-radius: 28px;
    padding: 48px 40px;
    background: rgba(15, 18, 28, 0.72);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.5s ease;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* Modo claro */
body.light .plan-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #111;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Remove glow no modo claro */
body.light .plan-card::before {
    opacity: 0 !important;
}

/* Ajusta texto degradê no preço para o claro */
body.light .price {
    background: linear-gradient(90deg, #4257d4, #7aa2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}




/* Glow elegante na borda */
.plan-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(130deg, #5c7cfa, #00c6ff, #8b5cf6, #5c7cfa);
    background-size: 300%;
    animation: borderGlow 6s linear infinite;
    opacity: 0;
    transition: 0.6s ease;
    z-index: -1;
    filter: blur(18px);
}

/* Animação do brilho da borda */
@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Hover com movimento premium */
.plan-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.plan-card:hover::before {
    opacity: 0.65;
}

/* Destaque do plano premium */
.plan-highlight {
    background: linear-gradient(135deg, #5c7cfa, #4257d4, #647dff);
    color: #fff !important;
    transform: scale(1.07);
    box-shadow: 0 0 50px rgba(92, 124, 250, 0.8);
    border: none !important;
}

.plan-highlight::before {
    opacity: 1 !important;
}

/* Títulos */
.plan-card h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 14px;
}

/* Preço elegante */
.price {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 22px;
    background: linear-gradient(90deg, #7aa2ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Lista de benefícios */
.plan-features li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    opacity: 0.92;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li i {
    color: #5c7cfa;
    font-size: 1.1rem;
}

/* Botão */
.plan-btn {
    margin-top: 25px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 1rem;
    width: 100%;
    transition: 0.35s ease;
    background: linear-gradient(135deg, #5c7cfa, #00c6ff);
    border: none;
    color: #fff !important;
}

.plan-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.5);
}

/* Switch de tema */
.toggle-theme {
    cursor: pointer;
    font-size: 1.25rem;
    color: #5c7cfa;
    transition: 0.3s ease;
}

.toggle-theme:hover {
    color: #00c6ff;
    transform: scale(1.1);
}