/* ================================================
   MOLINA TRADER — styles.css
   Fonte única: Outfit | Design premium dark
   ================================================ */

:root {
    --color-bg-dark:    #000000;
    --color-bg-panel:   #111111;
    --color-neon-green: #CCFF00;
    --color-neon-glow:  rgba(204, 255, 0, 0.25);
    --color-text-title: #FFFFFF;
    --color-text-body:  #98989D;
    --glass-bg:         rgba(20, 20, 22, 0.45);
    --glass-border:     rgba(255, 255, 255, 0.09);
    --font-title:       'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition:       color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    --bottom-bar-h:     112px;

    --grid-line: rgba(204, 255, 0, 0.08);
}

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

body {
    background-color: var(--color-bg-dark);
    font-family: var(--font-body);
    color: var(--color-text-body);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ── Background grid ── */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -3;
    pointer-events: none;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.content-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* ── Top Warning — Glassmorphism ── */
.top-warning {
    width: 100%;
    text-align: center;
    padding: 0.5rem 1rem;
    font-family: var(--font-title);
    font-weight: 800; /* Extra bold */
    font-size: 0.52rem;
    letter-spacing: 0.8px;
    color: #000; /* Black for contrast on green */
    text-transform: uppercase;
    z-index: 10;
    position: relative;
    background: var(--color-neon-green);
    box-shadow: 0 4px 15px rgba(204, 255, 0, 0.4);
}

.hero-visual {
    width: 100%;
    height: 400px;
    position: relative;
    margin-top: -3rem;
    z-index: 1;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    background-image: url('HERO.PNG');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 40%; /* Reduced from 80% to show more photo */
    background: linear-gradient(to bottom, transparent 0%, var(--color-bg-dark) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
    margin-top: -12rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
}

.author-label {
    margin-bottom: 1.2rem;
}
.header-logo {
    height: 32px;
    width: auto;
    display: block;
}

.brand-name {
    width: auto;
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    background: rgba(204, 255, 0, 0.1);
    border: 1px solid rgba(204, 255, 0, 0.25);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(204, 255, 0, 0.05);
}
.brand-name::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--color-neon-green);
    border-radius: 50%;
    margin-left: 4px;
    box-shadow: 0 0 10px var(--color-neon-green);
}

.main-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-text-title);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.sub-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-neon-green);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.description {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    font-style: italic;
    color: #dfdfdf;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* ─────────────────────────────────────────
   CTA BUTTON — Idêntico em todo o site
───────────────────────────────────────── */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Slightly reduced gap */
    background: var(--color-neon-green);
    color: #000;
    padding: 0.75rem 1.5rem; /* Reduced from 1.1rem */
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.78rem; /* Reduced from 0.88rem */
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap; /* Keep words on one line */
    /* Sombra neon vibrante */
    box-shadow:
        0 8px 32px rgba(204, 255, 0, 0.25),
        0 2px 12px rgba(204, 255, 0, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 1rem;
    width: fit-content; /* Adjust button size to content */
    margin-left: auto;
    margin-right: auto;
}

.btn-primary:hover {
    box-shadow:
        0 12px 40px rgba(204, 255, 0, 0.45),
        0 4px 16px rgba(204, 255, 0, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.arrow-icon {
    flex-shrink: 0;
}

/* ── Aviso de urgência ── */
.bottom-warning {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--yellow-warning);
    text-align: center;
    margin-bottom: 1.5rem;
}

.warning-icon.yellow {
    color: var(--yellow-warning);
}

/* ─────────────────────────────────────────
   SOCIAL PROOF SECTION
───────────────────────────────────────── */
.social-proof-section {
    padding: 2rem 1.5rem 2rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-title);
    border-bottom: 1px dashed var(--grid-line);
    display: inline-block;
    padding-bottom: 0.5rem;
    width: 100%;
}

/* ── Swiper Video Carousel ── */
.videoSwiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px;
    margin-bottom: 1.5rem;
}

.video-slide {
    background-position: center;
    background-size: cover;
    width: 250px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 2px solid #222;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.swiper-slide-active {
    border-color: var(--color-neon-green);
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.4);
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}

.toggle-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    opacity: 0;
}

.video-slide:hover .toggle-play-btn,
.toggle-play-btn.show-paused {
    opacity: 1;
}

.toggle-play-btn:hover {
    background: var(--color-neon-green);
    border-color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.toggle-mute-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.toggle-mute-btn:hover {
    background: var(--color-neon-green);
    border-color: #fff;
}

/* Pagination and Nav */
.swiper-pagination-bullet {
    background: #555 !important;
    opacity: 1 !important;
}
.swiper-pagination-bullet-active {
    background: var(--color-neon-green) !important;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--color-neon-green) !important;
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
}

/* ── CTA Bottom ── */
.cta-bottom {
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* ── Pulse animation ── */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 32px rgba(204, 255, 0, 0.25), 0 2px 8px rgba(204, 255, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.18); }
    50%       { box-shadow: 0 12px 48px rgba(204, 255, 0, 0.4), 0 4px 16px rgba(204, 255, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.18); }
}
.pulse-anim {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
    background: #030303;
    border-top: 1px solid rgba(204, 255, 0, 0.12);
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 0;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand {
    margin-bottom: 1rem;
}
.footer-logo {
    height: 28px;
    width: auto;
    opacity: 0.9;
}

.brand-name-footer {
    width: auto;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 255, 0, 0.08);
    border: 1px solid rgba(204, 255, 0, 0.15);
    padding: 0.3rem 1rem;
    border-radius: 50px;
}
.brand-name-footer::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--color-neon-green);
    border-radius: 50%;
    margin-left: 3px;
    box-shadow: 0 0 8px var(--color-neon-green);
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.5px;
}

/* ─────────────────────────────────────────
   AUTHOR CARD — Profile
───────────────────────────────────────── */
.author-section {
    padding: 2rem 1.5rem 3rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.author-card {
    background: rgba(17, 17, 17, 0.4);
    border: 1px solid rgba(204, 255, 0, 0.2);
    border-radius: 20px;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    width: 100%;
    box-shadow: inset 0 0 20px rgba(204, 255, 0, 0.05);
}

.author-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-photo-container {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid var(--color-neon-green);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.25);
}

.author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Slight zoom for better face focus */
}

.author-card-name {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.author-card-role {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--color-text-body);
    font-weight: 500;
}

.author-experience {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.exp-number {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-neon-green);
    line-height: 1;
    text-shadow: 0 0 12px rgba(204, 255, 0, 0.5);
}

.exp-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--color-text-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
}

/* Desk adjustment for author section */
@media (min-width: 768px) {
    .author-section {
        max-width: 1000px;
        padding-top: 4rem;
        padding-bottom: 5rem;
    }
    .author-card {
        padding: 2rem;
    }
    .author-photo-container {
        width: 80px;
        height: 80px;
    }
    .author-card-name {
        font-size: 1.4rem;
    }
    .exp-number {
        font-size: 2.2rem;
    }
}

/* ─────────────────────────────────────────
   DESKTOP — min-width: 768px
───────────────────────────────────────── */
@media (min-width: 768px) {
    .content-wrapper {
        max-width: 1000px;
    }

    .hero-section {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding-top: 5rem;
    }

    .top-warning {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .hero-visual {
        flex: 1;
        height: 600px;
        order: 2;
        margin-top: 0;
    }

    .hero-image-container {
        background-image: url('HERO.PNG');
        background-position: center;
    }

    .hero-image-container::after {
        /* Removed radial gradient that was covering the photo on PC */
        display: none; 
    }

    .hero-content {
        flex: 1;
        order: 1;
        padding: 0 3rem;
        margin-top: 0;
    }

    .main-title {
        font-size: 3rem;
    }

    .sub-title {
        font-size: 2rem;
    }

    .btn-primary {
        align-self: flex-start;
        padding: 1.25rem 3rem;
        font-size: 0.95rem;
    }

    .bottom-warning {
        text-align: left;
    }

    .social-proof-section {
        padding: 2rem 1.5rem 2rem;
    }

    .site-footer .footer-inner {
        max-width: 1000px;
    }
}
