/* 
   Fábrica de Traders - Dark Premium Minimal
   Concept: iOS Dark Mode, OLED Black, Clean
*/

:root {
    /* Dark Mode Palette */
    --bg-body: #050505;
    --bg-alt: #121212;
    --bg-card: #1C1C1E;
    
    --text-main: #F5F5F7;
    --text-sec: #98989D;
    
    --primary: #2997FF;
    --primary-hover: #007AFF;
    
    --border: #2C2C2E;
    
    --container: 980px;
    --header-h: 60px;
    --radius: 14px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    line-height: 1.5;
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Previne scroll horizontal */
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    height: var(--header-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0; width: 100%; z-index: 100;
}

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

.logo { 
    font-weight: 700; 
    font-size: 1.1rem; 
    letter-spacing: -0.5px; 
    color: #fff;
    white-space: nowrap; 
}
.highlight { color: var(--primary); }

.nav { display: flex; gap: 20px; align-items: center; }
.nav a { 
    text-decoration: none; 
    color: var(--text-sec); 
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav a:hover { color: #fff; }

.btn-header {
    background: #fff;
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 100px;
    transition: transform 0.2s;
    font-weight: 600;
}
.btn-header:hover { transform: scale(1.05); }

/* Hero */
.hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 40px;
}

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

.badge-simple {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(41, 151, 255, 0.15);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(41, 151, 255, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem); /* Responsivo fluido */
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: #fff;
}

.hero-subtitle {
    color: var(--text-sec);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-wrapper {
    margin-bottom: 24px;
}

.btn-primary-hero {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(41, 151, 255, 0.3);
}

.btn-primary-hero:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 151, 255, 0.4);
}

.hero-stats-simple {
    font-size: 0.85rem;
    color: var(--text-sec);
}
.hero-stats-simple strong { color: #fff; }

.hero-image img {
    width: 100%;
    height: auto; /* Mantém proporção */
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 20px 40px rgba(0,0,0,0.5);
    display: block;
}

/* Features Strip */
.features-strip {
    background: var(--bg-alt);
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Grid automático */
    gap: 40px;
}

.feature-item h3 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.feature-item p { font-size: 0.95rem; color: var(--text-sec); }
.feat-icon { 
    font-size: 1.5rem; 
    margin-bottom: 12px; 
    width: 48px; height: 48px;
    background: var(--bg-card);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
}

/* Video */
.video-section { padding: 60px 0; }
.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 0 1px var(--border), 0 20px 50px rgba(0,0,0,0.4);
}
.video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.video-caption {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-sec);
    padding: 0 10px;
}

/* Results */
.results-section {
    padding: 60px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.text-center { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 2rem; letter-spacing: -1px; color: #fff; }

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsivo */
    gap: 24px;
}

.result-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.result-card:hover { transform: translateY(-4px); background: #252528; }

.rc-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.rc-top strong { color: #fff; }

.profit { color: #32D74B; font-weight: 600; }
.result-card p { font-size: 0.9rem; color: var(--text-sec); font-style: italic; }

/* Gift Section */
.gift-section { padding: 60px 0; }

.gift-box {
    background: linear-gradient(135deg, #1C1C1E 0%, #000000 100%);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    gap: 30px; /* Espaço entre colunas */
}

.gift-content {
    flex: 1; /* Ocupa espaço disponível */
}

.gift-content h2 { font-size: 1.5rem; margin-bottom: 8px; color: #fff; }
.gift-content p { color: var(--text-sec); margin-bottom: 24px; }

.coupon-display {
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 8px;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap; /* Mobile friendly */
}

.coupon-display strong { color: #FFD60A; letter-spacing: 1px; }
.coupon-display button {
    background: #fff;
    color: #000;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

.timer-simple {
    font-size: 2.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #fff;
    white-space: nowrap;
}
.gift-timer small { color: var(--text-sec); display: block; text-align: center; }

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-sec);
    background: var(--bg-body);
}

/* 📱 MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    /* Header */
    .header-container { padding: 0 16px; }
    .nav { display: none; /* Simplificação máxima para mobile */ }
    
    /* Hero */
    .hero { padding-top: 100px; text-align: center; }
    .hero-container { grid-template-columns: 1fr; gap: 32px; }
    .signup-simple { justify-content: center; }
    .signup-simple input { width: 100%; }
    .signup-simple button { width: 100%; }
    
    /* Features */
    .features-strip { padding: 40px 0; }
    .features-grid { gap: 30px; text-align: center; }
    .feature-item { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    
    /* Video */
    .video-section { padding: 40px 0; }
    
    /* Results */
    .results-section { padding: 40px 0; }
    .results-grid { grid-template-columns: 1fr; }
    
    /* Gift */
    .gift-section { padding: 40px 0; }
    .gift-box { 
        flex-direction: column; 
        text-align: center; 
        padding: 30px 20px; 
    }
    .gift-timer { width: 100%; display: flex; flex-direction: column; align-items: center; }
    .timer-simple { font-size: 2rem; }
    .coupon-display { justify-content: center; width: 100%; }
    
    /* Container Padding */
    .container { padding: 0 16px; }
}

/* Tablets pequenos */
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .gift-box { padding: 24px 16px; }
    .timer-simple { font-size: 1.75rem; }
}