/* ============================================
   FLOW TRADING - Premium Stylesheet
   ============================================ */

:root {
    --accent: #00d4aa;
    --accent-dark: #00b894;
    --accent-glow: rgba(0, 212, 170, 0.3);
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2b3d;
    --border: #2a3444;
    --text-primary: #ffffff;
    --text-secondary: #8892b0;
    --text-muted: #5a6577;
    --positive: #00d4aa;
    --negative: #ff4757;
    --red: #ff4757;
    --yellow: #ffa502;
    --blue: #3742fa;
    --gradient-1: linear-gradient(135deg, var(--accent) 0%, var(--blue) 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-accent: 0 10px 30px rgba(0, 212, 170, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0; transition: var(--transition); background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; font-size: 1.4rem; font-weight: 700; color: var(--text-primary);
}
.logo img { height: 36px; }
.logo i { color: var(--accent); font-size: 1.6rem; }
.nav-menu { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-menu a {
    text-decoration: none; color: var(--text-secondary); font-weight: 500;
    font-size: 0.9rem; transition: var(--transition); position: relative;
}
.nav-menu a:hover { color: var(--accent); }
.nav-menu a::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px; background: var(--accent); transition: var(--transition);
}
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
    background: var(--accent) !important; color: var(--bg-primary) !important;
    padding: 8px 18px !important; border-radius: 8px !important; font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.nav-toggle span { width: 25px; height: 2px; background: var(--text-primary); transition: var(--transition); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden; padding-top: 80px;
}
.hero::before {
    content: ''; position: absolute; top: -30%; right: -15%;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: heroGlow 6s ease-in-out infinite;
}
.hero::after {
    content: ''; position: absolute; bottom: -20%; left: -10%;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(55, 66, 250, 0.15) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite reverse;
}
@keyframes heroGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.15); }
}

.hero-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-text { min-width: 0; }
.hero-text h1 { font-size: 3.8rem; font-weight: 900; line-height: 1.08; margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-text h1 .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-text p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 35px; max-width: 480px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 15px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px;
    border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
    text-decoration: none; transition: var(--transition); cursor: pointer;
    border: none; font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--accent); color: var(--bg-primary); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-outline { background: transparent; color: var(--text-primary); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: #fff; font-size: 1.05rem; padding: 16px 36px; border-radius: var(--radius-sm); }
.btn-whatsapp:hover { background: #1fb855; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }

.hero-stats { display: flex; gap: 40px; margin-top: 50px; }
.stat h3 { font-size: 2.2rem; font-weight: 900; color: var(--accent); }
.stat p { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

.hero-visual { position: relative; min-width: 0; overflow: hidden; }
.chart-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
    backdrop-filter: blur(10px); overflow: hidden;
}
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.chart-header h4 { font-size: 1rem; color: var(--text-secondary); }
.chart-header .profit { color: var(--accent); font-weight: 800; font-size: 1.3rem; }
.chart-container { position: relative; height: 220px; width: 100%; }
.chart-container canvas { display: block; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .tag {
    display: inline-block; padding: 6px 18px;
    background: rgba(0, 212, 170, 0.08); border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 50px; color: var(--accent); font-size: 0.8rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px;
}
.section-header h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 15px; letter-spacing: -0.02em; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 550px; margin: 0 auto; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 40px 28px; transition: var(--transition); text-align: center;
    position: relative; overflow: hidden;
}
.about-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-1); transform: scaleX(0); transition: var(--transition);
}
.about-card:hover::before { transform: scaleX(1); }
.about-card:hover { transform: translateY(-8px); border-color: rgba(0, 212, 170, 0.3); box-shadow: var(--shadow); }
.about-card .icon {
    width: 72px; height: 72px; border-radius: 18px;
    background: rgba(0, 212, 170, 0.08); display: flex;
    align-items: center; justify-content: center; margin: 0 auto 20px;
    font-size: 1.8rem; color: var(--accent);
}
.about-card h3 { font-size: 1.15rem; margin-bottom: 12px; font-weight: 700; }
.about-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* ============================================
   ROBOTS SECTION
   ============================================ */
.robots-section { background: var(--bg-secondary); }
.robots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; }
.robot-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.robot-card:hover { transform: translateY(-6px); border-color: rgba(0, 212, 170, 0.3); box-shadow: var(--shadow); }
.robot-card-header { padding: 25px 25px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.robot-card-header h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.5px; }
.robot-status {
    padding: 4px 12px; border-radius: 50px; font-size: 0.72rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.robot-status.ativo { background: rgba(0, 212, 170, 0.12); color: var(--accent); }
.robot-status.inativo { background: rgba(255, 71, 87, 0.12); color: var(--red); }
.robot-status.manutencao { background: rgba(255, 165, 2, 0.12); color: var(--yellow); }
.robot-card-body { padding: 18px 25px; }
.robot-card-body p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 12px; }
.robot-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.robot-meta span { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
.robot-meta span i { color: var(--accent); font-size: 0.75rem; }
.robot-card-footer {
    padding: 18px 25px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.robot-profit { font-size: 1.25rem; font-weight: 800; color: var(--accent); }
.robot-profit.negative { color: var(--red); }
.robot-profit small { font-size: 0.72rem; color: var(--text-muted); font-weight: 400; }

/* ============================================
   TICKER / MARQUEE
   ============================================ */
.ticker-section {
    padding: 0; background: rgba(10, 14, 23, 0.95);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    overflow: hidden; position: relative; height: 52px; display: flex; align-items: center;
}
.ticker-label {
    position: absolute; left: 0; top: 0; bottom: 0; z-index: 3;
    display: flex; align-items: center; gap: 8px; padding: 0 24px;
    background: linear-gradient(90deg, rgba(0,212,170,0.1) 0%, rgba(0,212,170,0.05) 85%, transparent 100%);
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--accent);
    border-right: 1px solid var(--border);
}
.ticker-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
    animation: tickerPulse 1.5s infinite;
}
@keyframes tickerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.ticker-wrap {
    display: flex; overflow: hidden; margin-left: 220px; width: calc(100% - 220px);
}
.ticker-track {
    display: flex; gap: 0; animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    display: flex; align-items: center; gap: 10px;
    padding: 0 24px; height: 52px;
    border-right: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap; flex-shrink: 0;
}
.ticker-item .ticker-name { font-weight: 700; font-size: 0.82rem; color: var(--text-primary); letter-spacing: 0.3px; }
.ticker-item .ticker-date { font-size: 0.75rem; color: var(--text-muted); }
.ticker-item .ticker-value { font-weight: 800; font-size: 0.88rem; padding: 3px 10px; border-radius: 4px; }
.ticker-item .ticker-value.up { color: #00e68a; background: rgba(0, 230, 138, 0.08); }
.ticker-item .ticker-value.down { color: #ff6b6b; background: rgba(255, 107, 107, 0.08); }
.ticker-item .ticker-info { font-size: 0.7rem; color: var(--text-muted); font-style: italic; }
.ticker-item .ticker-icon { font-size: 0.7rem; }
.ticker-item .ticker-icon.up { color: #00e68a; }
.ticker-item .ticker-icon.down { color: #ff6b6b; }

@media (max-width: 768px) {
    .ticker-label { padding: 0 12px; font-size: 0.65rem; }
    .ticker-wrap { margin-left: 160px; width: calc(100% - 160px); }
}
@media (max-width: 480px) {
    .ticker-label { display: none; }
    .ticker-wrap { margin-left: 0; width: 100%; }
}

/* ============================================
   RESULTS TABLE
   ============================================ */
.results-table-wrapper {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.results-filter {
    padding: 18px 25px; display: flex; gap: 15px; align-items: center;
    border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.results-filter select {
    padding: 10px 15px; background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text-primary); font-family: 'Inter'; font-size: 0.88rem; cursor: pointer;
}
.results-table { width: 100%; border-collapse: collapse; }
.results-table th {
    padding: 14px 25px; text-align: left; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted);
    background: var(--bg-secondary); border-bottom: 1px solid var(--border);
}
.results-table td { padding: 14px 25px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.results-table tr:hover td { background: rgba(0, 212, 170, 0.02); }
.results-table .positive { color: var(--positive); font-weight: 700; }
.results-table .negative { color: var(--negative); font-weight: 700; }
.results-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.summary-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; text-align: center;
}
.summary-card h4 {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-muted); margin-bottom: 10px; font-weight: 600;
}
.summary-card .value { font-size: 1.8rem; font-weight: 900; }
.summary-card .value.green { color: var(--positive); }
.summary-card .value.red { color: var(--negative); }
.summary-card .value.blue { color: var(--blue); }
.summary-card .value.yellow { color: var(--yellow); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--bg-secondary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.testimonial-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px; transition: var(--transition);
    position: relative;
}
.testimonial-card::before {
    content: '\201C'; position: absolute; top: 16px; right: 24px;
    font-size: 4rem; color: var(--accent); opacity: 0.1; font-family: Georgia, serif; line-height: 1;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(0, 212, 170, 0.2); }
.testimonial-text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; color: #fff; flex-shrink: 0;
}
.testimonial-info h4 { font-size: 0.95rem; font-weight: 700; }
.testimonial-info p { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================
   WHATSAPP CTA
   ============================================ */
.whatsapp-cta-section { padding: 60px 0; }
.whatsapp-cta {
    background: linear-gradient(135deg, #1a2332 0%, #0f1923 100%);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 50px 40px; display: flex; align-items: center;
    justify-content: space-between; gap: 30px;
}
.whatsapp-cta-content { display: flex; align-items: center; gap: 20px; }
.whatsapp-cta-content > i { font-size: 3rem; color: #25D366; }
.whatsapp-cta-content h2 { font-size: 1.6rem; font-weight: 800; }
.whatsapp-cta-content p { color: var(--text-secondary); font-size: 0.95rem; margin-top: 4px; }

.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.8rem; text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition); animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo {
    display: flex; align-items: center; gap: 10px; font-size: 1.2rem;
    margin-bottom: 15px; color: var(--text-primary); font-weight: 700;
}
.footer-logo i { color: var(--accent); }
.footer-col p { color: var(--text-secondary); font-size: 0.88rem; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.88rem; transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-col ul li i { margin-right: 8px; color: var(--accent); font-size: 0.8rem; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 42px; height: 42px; border-radius: var(--radius-sm);
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); text-decoration: none; transition: var(--transition); font-size: 1.1rem;
}
.social-links a:hover { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }
.footer-bottom { padding-top: 30px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom .disclaimer { margin-top: 8px; font-size: 0.72rem; opacity: 0.6; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.6rem; }
    .hero-text p { margin: 0 auto 35px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .whatsapp-cta { flex-direction: column; text-align: center; }
    .whatsapp-cta-content { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .results-summary { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--bg-secondary); flex-direction: column; padding: 80px 30px;
        gap: 20px; transition: var(--transition); border-left: 1px solid var(--border);
    }
    .nav-menu.active { right: 0; }
    .nav-toggle { display: flex; }
    .hero-text h1 { font-size: 2rem; }
    .section-header h2 { font-size: 2rem; }
    .robots-grid { grid-template-columns: 1fr; }
    .results-summary { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .ticker-label { display: none; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================
   SELECTION
   ============================================ */
::selection { background: var(--accent); color: var(--bg-primary); }
