/* ==========================================================================
   CSS CUSTOM VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark-base: #06080a;
    --bg-dark-surface: #0b0e11;
    --bg-dark-card: rgba(13, 18, 23, 0.75);
    --bg-dark-glass: rgba(10, 14, 18, 0.65);
    
    --color-green: #00ff66;
    --color-green-hover: #00e65c;
    --color-green-glow: rgba(0, 255, 102, 0.35);
    
    --color-blue: #00bfff;
    --color-blue-glow: rgba(0, 191, 255, 0.35);
    
    --color-gold: #f59e0b;
    --color-gold-glow: rgba(245, 158, 11, 0.35);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark-base);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background: radial-gradient(circle at 50% 0%, #0d131a 0%, var(--bg-dark-base) 70%);
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text-green {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-gold {
    color: var(--color-gold);
}

/* ==========================================================================
   DYNAMIC BACKGROUNDS & ORBS
   ========================================================================== */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
}

.blue-glow {
    width: 45vw;
    height: 45vw;
    background: var(--color-blue);
    top: -10vw;
    left: -10vw;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.green-glow {
    width: 40vw;
    height: 40vw;
    background: var(--color-green);
    bottom: -10vw;
    right: -10vw;
    animation: orbFloat 20s infinite alternate-reverse ease-in-out;
}

.smoke-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(var(--bg-dark-base) 20%, transparent 100%),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 4px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 4px);
    background-size: cover, 30px 30px, 30px 30px;
    opacity: 0.35;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   BUTTONS STYLING
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 50px;
}

.btn-header {
    padding: 8px 20px;
    font-size: 0.95rem;
}

.btn-main {
    padding: 16px 36px;
    font-size: 1.2rem;
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.3rem;
}

.btn-green-glow {
    background: linear-gradient(135deg, var(--color-green) 0%, #00d957 100%);
    color: #000;
    box-shadow: 0 4px 20px var(--color-green-glow);
    border: 1px solid rgba(255,255,255,0.25);
    position: relative;
    overflow: hidden;
}

.btn-green-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    opacity: 0;
}

.btn-green-glow:hover::before {
    left: 125%;
    opacity: 1;
}

.btn-green-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 102, 0.6);
    background: linear-gradient(135deg, #00ff77 0%, var(--color-green) 100%);
}

.btn-green-glow:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: var(--transition-smooth);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.main-header {
    height: var(--header-height);
    background-color: rgba(6, 8, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-img {
    height: 42px;
    width: auto;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px var(--color-blue-glow));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(to right, #fff, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue);
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   HERO SECTION (CENTERED & BACKED AGENT)
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-centered {
    text-align: center;
    justify-content: center;
}

/* Agent Centered Background Parallax */
.agent-bg-parallax {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 85%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 85%);
}

.agent-bg-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    opacity: 0.20; /* Low opacity as requested */
    mix-blend-mode: lighten;
    filter: drop-shadow(0 0 30px rgba(0, 255, 102, 0.15));
    animation: float 8s ease-in-out infinite;
    will-change: transform;
}

.agent-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 40%, var(--bg-dark-base) 90%);
}

.hero-center-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 850px;
}

.hero-center-logo {
    margin-bottom: 24px;
}

.center-logo-img {
    height: 70px;
    width: auto;
    border-radius: 50%;
    filter: drop-shadow(0 0 15px rgba(0, 255, 102, 0.2));
}

.hero-badges-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.green-dot {
    background-color: var(--color-green);
    box-shadow: 0 0 8px var(--color-green);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 650px;
    line-height: 1.5;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.cta-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Social links styling */
.social-links-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.social-icon-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--bg-dark-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-icon-link:hover {
    color: var(--color-green);
    border-color: var(--color-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.15);
}

/* Stats grid */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.stat-box {
    background-color: var(--bg-dark-glass);
    border: 1px solid rgba(0, 255, 102, 0.15);
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.stat-box:hover {
    transform: translateY(-4px);
    border-color: var(--color-green);
    box-shadow: 0 10px 20px rgba(0, 255, 102, 0.1);
}

.stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: lowercase;
    margin-top: 4px;
    font-weight: 500;
}

/* ==========================================================================
   COMO FUNCIONA
   ========================================================================== */
.how-it-works-section {
    padding: 100px 0;
    background-color: rgba(6, 8, 10, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.step-card {
    background-color: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-glow-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-blue), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.step-card:nth-child(1) .card-glow-border {
    background: linear-gradient(90deg, transparent, var(--color-green), transparent);
}
.step-card:nth-child(3) .card-glow-border {
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.step-card:hover .card-glow-border {
    opacity: 1;
}

.step-card:hover .card-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.07);
    transform: scale(1.05);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

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

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.features-section {
    padding: 100px 0;
    position: relative;
}

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

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

.features-list {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon-bullet {
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 255, 102, 0.1);
    border: 1px solid rgba(0, 255, 102, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.1);
}

.feature-info h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

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

/* E-sports features visual card */
.features-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1.2;
}

.case-light-ray {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.case-card {
    position: relative;
    background-color: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.case-item-rarity {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    opacity: 0.6;
    border-radius: 50%;
    filter: blur(10px);
}

.case-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.cs-skins-strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.mini-skin-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.mini-skin-card .rarity {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.rarity.red {
    background-color: #eb4b4b;
    box-shadow: 0 0 8px #eb4b4b;
}

.rarity.gold-tag {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.mini-skin-card .skin-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.mini-skin-card.highlighted-gold {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, transparent 100%);
    border-color: rgba(245, 158, 11, 0.25);
    transform: scale(1.02);
}

/* ==========================================================================
   CHAMADA FINAL (CTA)
   ========================================================================== */
.final-cta-section {
    padding: 100px 0 120px 0;
    position: relative;
}

.final-cta-container {
    display: flex;
    justify-content: center;
}

.final-cta-card {
    width: 100%;
    max-width: 900px;
    position: relative;
    background: linear-gradient(135deg, rgba(11, 14, 17, 0.9) 0%, rgba(6, 8, 10, 0.95) 100%);
    border: 1px solid rgba(0, 255, 102, 0.15);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 255, 102, 0.05);
}

.cta-mesh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(0, 191, 255, 0.08) 0%, transparent 80%);
    z-index: 1;
}

.final-cta-title {
    font-size: 3rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    line-height: 1.1;
}

.final-cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 2;
}

.final-cta-card .btn {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #040507;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px 0 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 10px;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
}

.footer-legal {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.disclaimer {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */
@keyframes ping {
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(8%, 10%);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes orbPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.25;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.15;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 4px 20px var(--color-green-glow);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 255, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px var(--color-green-glow);
    }
}

.pulse-animation {
    animation: pulseGlow 2.5s infinite;
}

/* Reveal on scroll base classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .text-left {
        text-align: center;
    }
    
    .badge-premium {
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .main-header {
        height: 70px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-section {
        padding-top: calc(70px + 40px);
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .agent-bg-parallax {
        max-width: 600px;
    }
    
    .agent-bg-img {
        opacity: 0.15;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .final-cta-card {
        padding: 40px 20px;
    }
    
    .final-cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .btn-main {
        width: 100%;
        padding: 14px 24px;
        font-size: 1.1rem;
    }
    
    .btn-large {
        width: 100%;
        padding: 16px 28px;
    }
    
    .stats-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-box {
        padding: 16px 12px;
    }
}
