/* ======================================================================
   FxMath Lumina — Complete Style System
   ====================================================================== */

:root {
    --bg-dark: #0a0e17;
    --bg-panel: #111827;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2b3d;
    --bg-light: #243044;
    --bg-gradient-dark: linear-gradient(135deg, #0a0e17 0%, #111827 100%);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --primary: #4caf50;
    --primary-dark: #388e3c;
    --primary-glow: rgba(76, 175, 80, 0.25);
    --accent: #29b6f6;
    --accent-glow: rgba(41, 182, 246, 0.2);
    --danger: #ef5350;
    --warning: #ffa726;
    --purple: #ab47bc;
    --cyan: #26c6da;
    --border-color: #1e293b;
    --border-light: #334155;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px var(--primary-glow);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

ul {
    list-style: none;
}

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

/* ====================================================================
   TYPOGRAPHY & UTILITY
   ==================================================================== */

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    padding: 6px 16px;
    border: 1px solid rgba(76, 175, 80, 0.25);
    border-radius: 100px;
    background: rgba(76, 175, 80, 0.08);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 16px;
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-dark {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.section-light {
    padding: 100px 0;
    background: var(--bg-panel);
    position: relative;
}

/* ====================================================================
   NAVBAR
   ==================================================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.logo-accent {
    color: var(--primary);
}

nav a {
    color: var(--text-muted);
    margin-left: 28px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
    border-radius: 2px;
}

nav a:hover {
    color: #fff;
}

nav a:hover::after {
    width: 100%;
}

.btn-outline {
    border: 2px solid var(--primary);
    padding: 8px 22px;
    border-radius: var(--radius-sm);
    color: var(--primary) !important;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff !important;
}

.btn-outline::after {
    display: none !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-nav.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav a {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ====================================================================
   HERO SECTION
   ==================================================================== */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 120px 32px 60px;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse at 70% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, black 30%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    margin-bottom: 24px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 520px;
}

.hero p strong {
    color: var(--primary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.2);
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.35);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.15rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(76, 175, 80, 0.08);
}

/* Hero Mini Stats */
.hero-stats-mini {
    display: flex;
    gap: 40px;
}

.stat-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-mini-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.stat-mini-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: 2px;
}

.stat-mini-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ── Hero Graphics / Chart ── */
.hero-graphics {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.chart-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    border-radius: var(--radius-lg);
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border-color);
    padding: 10px;
}

.chart-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.2);
    letter-spacing: 0.5px;
}

/* SVG Animations — Advanced Multi-Panel Dashboard */
.candles rect, .candles line {
    opacity: 0;
    animation: candleFade 1s ease-out forwards;
}

.candles rect:nth-child(1)  { animation-delay: 0.1s; }
.candles rect:nth-child(2)  { animation-delay: 0.2s; }
.candles rect:nth-child(3)  { animation-delay: 0.3s; }
.candles rect:nth-child(4)  { animation-delay: 0.4s; }
.candles rect:nth-child(5)  { animation-delay: 0.5s; }
.candles rect:nth-child(6)  { animation-delay: 0.6s; }
.candles rect:nth-child(7)  { animation-delay: 0.7s; }
.candles rect:nth-child(8)  { animation-delay: 0.8s; }
.candles rect:nth-child(9)  { animation-delay: 0.9s; }
.candles rect:nth-child(10) { animation-delay: 1.0s; }
.candles rect:nth-child(11) { animation-delay: 1.1s; }
.candles rect:nth-child(12) { animation-delay: 1.2s; }
.candles rect:nth-child(13) { animation-delay: 1.3s; }
.candles rect:nth-child(14) { animation-delay: 1.4s; }
.candles rect:nth-child(15) { animation-delay: 1.5s; }
.candles rect:nth-child(16) { animation-delay: 1.6s; }
.candles rect:nth-child(17) { animation-delay: 1.7s; }
.candles rect:nth-child(18) { animation-delay: 1.8s; }
.candles line:nth-child(19)  { animation-delay: 0.1s; }
.candles line:nth-child(20)  { animation-delay: 0.2s; }
.candles line:nth-child(21)  { animation-delay: 0.3s; }
.candles line:nth-child(22)  { animation-delay: 0.4s; }
.candles line:nth-child(23)  { animation-delay: 0.5s; }
.candles line:nth-child(24)  { animation-delay: 0.6s; }
.candles line:nth-child(25)  { animation-delay: 0.7s; }
.candles line:nth-child(26)  { animation-delay: 0.8s; }
.candles line:nth-child(27)  { animation-delay: 0.9s; }
.candles line:nth-child(28)  { animation-delay: 1.0s; }
.candles line:nth-child(29)  { animation-delay: 1.1s; }
.candles line:nth-child(30)  { animation-delay: 1.2s; }
.candles line:nth-child(31)  { animation-delay: 1.3s; }
.candles line:nth-child(32)  { animation-delay: 1.4s; }
.candles line:nth-child(33)  { animation-delay: 1.5s; }
.candles line:nth-child(34)  { animation-delay: 1.6s; }
.candles line:nth-child(35)  { animation-delay: 1.7s; }
.candles line:nth-child(36)  { animation-delay: 1.8s; }

@keyframes candleFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Volume Bars */
.candles-vol rect {
    opacity: 0;
    animation: volSlide 0.6s ease-out forwards;
    transform-origin: bottom;
}
.candles-vol rect:nth-child(1)  { animation-delay: 0.15s; }
.candles-vol rect:nth-child(2)  { animation-delay: 0.25s; }
.candles-vol rect:nth-child(3)  { animation-delay: 0.35s; }
.candles-vol rect:nth-child(4)  { animation-delay: 0.45s; }
.candles-vol rect:nth-child(5)  { animation-delay: 0.55s; }
.candles-vol rect:nth-child(6)  { animation-delay: 0.65s; }
.candles-vol rect:nth-child(7)  { animation-delay: 0.75s; }
.candles-vol rect:nth-child(8)  { animation-delay: 0.85s; }
.candles-vol rect:nth-child(9)  { animation-delay: 0.95s; }
.candles-vol rect:nth-child(10) { animation-delay: 1.05s; }
.candles-vol rect:nth-child(11) { animation-delay: 1.15s; }
.candles-vol rect:nth-child(12) { animation-delay: 1.25s; }
.candles-vol rect:nth-child(13) { animation-delay: 1.35s; }
.candles-vol rect:nth-child(14) { animation-delay: 1.45s; }
.candles-vol rect:nth-child(15) { animation-delay: 1.55s; }
.candles-vol rect:nth-child(16) { animation-delay: 1.65s; }
.candles-vol rect:nth-child(17) { animation-delay: 1.75s; }
.candles-vol rect:nth-child(18) { animation-delay: 1.85s; }

@keyframes volSlide {
    from { opacity: 0; transform: scaleY(0); }
    to { opacity: 1; transform: scaleY(1); }
}

/* Moving Average Lines — Draw on */
.ma-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawMA 3s ease-out 0.5s forwards;
}

@keyframes drawMA {
    to { stroke-dashoffset: 0; }
}

/* Buy/Sell Signal Pulsing */
.signal {
    opacity: 0;
    animation: signalPop 0.6s ease-out forwards, signalPulse 2s ease-in-out 0.6s infinite;
}
.signal:nth-child(1) { animation-delay: 1.2s, 1.8s; }
.signal:nth-child(2) { animation-delay: 1.6s, 2.2s; }
.signal:nth-child(3) { animation-delay: 2.0s, 2.6s; }

@keyframes signalPop {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes signalPulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.5; }
}

/* RSI Line — Draw */
.rsi-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawRSI 2s ease-out 1s forwards;
}

@keyframes drawRSI {
    to { stroke-dashoffset: 0; }
}

/* MACD Bars — Animate Up */
.macd-bars rect {
    opacity: 0;
    animation: macdBar 0.5s ease-out forwards;
    transform-origin: 50% 341px;
}
.macd-bars rect:nth-child(1)  { animation-delay: 1.4s; }
.macd-bars rect:nth-child(2)  { animation-delay: 1.5s; }
.macd-bars rect:nth-child(3)  { animation-delay: 1.6s; }
.macd-bars rect:nth-child(4)  { animation-delay: 1.7s; }
.macd-bars rect:nth-child(5)  { animation-delay: 1.8s; }
.macd-bars rect:nth-child(6)  { animation-delay: 1.9s; }
.macd-bars rect:nth-child(7)  { animation-delay: 2.0s; }
.macd-bars rect:nth-child(8)  { animation-delay: 2.1s; }
.macd-bars rect:nth-child(9)  { animation-delay: 2.2s; }
.macd-bars rect:nth-child(10) { animation-delay: 2.3s; }
.macd-bars rect:nth-child(11) { animation-delay: 2.4s; }
.macd-bars rect:nth-child(12) { animation-delay: 2.5s; }
.macd-bars rect:nth-child(13) { animation-delay: 2.6s; }
.macd-bars rect:nth-child(14) { animation-delay: 2.7s; }
.macd-bars rect:nth-child(15) { animation-delay: 2.8s; }
.macd-bars rect:nth-child(16) { animation-delay: 2.9s; }
.macd-bars rect:nth-child(17) { animation-delay: 3.0s; }
.macd-bars rect:nth-child(18) { animation-delay: 3.1s; }

@keyframes macdBar {
    from { opacity: 0; transform: scaleY(0); }
    to { opacity: 1; transform: scaleY(1); }
}

/* MACD & Signal Lines — Draw */
.macd-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawMACD 2s ease-out 1.5s forwards;
}

.macd-signal {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawMACDSig 2s ease-out 2s forwards;
}

@keyframes drawMACD {
    to { stroke-dashoffset: 0; }
}

@keyframes drawMACDSig {
    to { stroke-dashoffset: 0; }
}

/* Badge Pulse Dot */
.badge-pulse-dot {
    animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; r: 3; }
    50% { opacity: 0.4; r: 4; }
}

/* ====================================================================
   TRUST BAR
   ==================================================================== */

.trust-bar {
    padding: 40px 0;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.trust-bar p {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.trust-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-icons span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.trust-icons span i {
    font-size: 1.2rem;
    color: var(--primary);
}

.trust-icons span:hover {
    color: #fff;
}

/* ====================================================================
   FEATURES
   ==================================================================== */

.section-features {
    position: relative;
}

.feature-card {
    background: var(--bg-card);
    padding: 36px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--icon-color, var(--primary));
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(255,255,255,0.08);
    border-color: var(--icon-color, var(--primary));
    box-shadow: 0 0 20px rgba(var(--icon-color), 0.15);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ====================================================================
   STATS BAR (Animated Counters)
   ==================================================================== */

.stats-bar {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(41, 182, 246, 0.08));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
    margin-top: 4px;
}

/* ====================================================================
   PIPELINE / HOW IT WORKS
   ==================================================================== */

.pipeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.pipeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 48px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
    opacity: 0.5;
}

.pipeline-step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 0;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 8px;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ====================================================================
   PERFORMANCE SECTION
   ==================================================================== */

.perf-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.perf-tab {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
}

.perf-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.perf-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.2);
}

.perf-content {
    display: none;
}

.perf-content.active {
    display: block;
    animation: fadeUp 0.4s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.perf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.perf-card {
    background: var(--bg-card);
    padding: 28px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition);
}

.perf-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.perf-card i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.perf-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.perf-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0 4px;
}

.comparison-table th {
    padding: 14px 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table td {
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-main);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #fff;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.comparison-table td:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.badge-red {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(239, 83, 80, 0.12);
    color: var(--danger);
}

.badge-green {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(76, 175, 80, 0.12);
    color: var(--primary);
}

/* ====================================================================
   WHY SECTION (vs. Normal EAs)
   ==================================================================== */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background: var(--bg-card);
    padding: 36px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-card-win {
    border-color: rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.06), rgba(41, 182, 246, 0.04));
}

.why-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.why-header i {
    font-size: 1.6rem;
}

.why-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.why-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.why-card ul li i {
    width: 20px;
    text-align: center;
    font-size: 0.85rem;
}

.why-card ul li .fa-check {
    color: var(--primary);
}
.why-card ul li .fa-times {
    color: var(--danger);
}

/* ====================================================================
   FAQ ACCORDION
   ==================================================================== */

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-dim);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ====================================================================
   CTA BANNER
   ==================================================================== */

.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(41, 182, 246, 0.08));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 32px;
}

.cta-guarantee {
    margin-top: 20px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.cta-guarantee i {
    color: var(--primary);
    margin-right: 6px;
}

/* ====================================================================
   PRICING
   ==================================================================== */

.pricing {
    padding: 100px 24px;
    display: flex;
    justify-content: center;
    background: var(--bg-dark);
}

.pricing-card {
    background: var(--bg-panel);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(76, 175, 80, 0.3);
    text-align: center;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(76, 175, 80, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pricing-card h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.price {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.price-currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 8px;
}

.price-sub {
    color: var(--text-dim);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.price-features {
    text-align: left;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.price-features li i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.pricing-card .btn-primary {
    width: 100%;
    justify-content: center;
}

.price-note {
    margin-top: 16px;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ====================================================================
   FOOTER
   ==================================================================== */

footer {
    background: #05080f;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 60px 24px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.disclaimer {
    font-size: 0.75rem !important;
    color: #555 !important;
    margin-top: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 40px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-stats-mini {
        justify-content: center;
    }
    .perf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero {
        padding: 100px 20px 40px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-stats-mini {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    .stat-mini {
        align-items: center;
    }
    .section-dark, .section-light {
        padding: 60px 0;
    }
    .pipeline::before {
        left: 28px;
    }
    .step-number {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.85rem;
    }
    .pipeline-step {
        gap: 16px;
        padding: 20px 0;
    }
    .step-arrow {
        display: none;
    }
    .perf-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-suffix {
        font-size: 1.5rem;
    }
    .trust-icons {
        gap: 20px;
    }
    .trust-icons span {
        font-size: 0.85rem;
    }
    .pricing-card {
        padding: 36px 24px;
    }
    .price {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .perf-tabs {
        gap: 6px;
    }
    .perf-tab {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .perf-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
}
