/* ===========================
   CSS VARIABLES & ROOT STYLES
   =========================== */
:root {
    --primary: #00cc6a;
    --primary-dark: #00a858;
    --danger: #dc3545;
    --warning: #ffc107;
    --bg: #ffffff;
    --bg-card: #f8f9fa;
    --bg-hover: #e9ecef;
    --text: #212529;
    --text-muted: #6c757d;
    --border: rgba(0,0,0,0.1);
    --success: #00cc6a;
    --btc: #f7931a;
    --eth: #627eea;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===========================
   LAYOUT COMPONENTS
   =========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
    position: fixed; top: 0; width: 100%;
    background: var(--bg); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000; padding: 15px 0; transition: background 0.3s ease;
    opacity: 0.95;
}

nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.logo { font-size: 24px; font-weight: 900; color: var(--primary); text-decoration: none; flex-shrink: 0; }
.nav-right { display: flex; gap: 15px; align-items: center; flex-shrink: 0; }

/* ===========================
   TICKER STYLES
   =========================== */
.ticker {
    flex: 1;
    margin: 0 20px;
    overflow: hidden;
    position: relative;
    height: 30px;
    display: none;
}

@media (min-width: 768px) {
    .ticker { display: block; }
}

.ticker li {
    white-space: nowrap;
    opacity: 0.85;
    line-height: 30px;
    list-style: none;
    font-size: 13px;
    font-family: 'SF Mono', monospace;
    display: inline-flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-symbol {
    font-weight: 700;
    margin-right: 8px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ticker-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ticker-price {
    color: var(--text-muted);
    text-align: right;
}

.ticker-change {
    font-weight: 600;
    margin-left: 6px;
    text-align: right;
}

.ticker-change.up { 
    color: var(--success);
}

.ticker-change.down { 
    color: var(--danger);
}

/* Add visual separators between items */
.ticker-symbol:not(:first-child)::before {
    content: '•';
    color: var(--text-muted);
    margin-right: 10px;
    margin-left: 10px;
    font-weight: normal;
}

.ticker-change:last-child::after {
    content: '•';
    color: var(--text-muted);
    margin-right: 10px;
    margin-left: 10px;
    font-weight: normal;
}

/* ===========================
   BUTTON STYLES
   =========================== */
.btn { padding: 12px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s; cursor: pointer; border: none; font-size: 16px; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,204,106,0.3); }
.btn-secondary { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); background: rgba(0,204,106,0.1); }
.btn-demo { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; font-weight: 700; animation: pulse 2s infinite; }

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

/* ===========================
   HERO SECTION
   =========================== */
.hero { padding: 120px 0 0; text-align: center; background: radial-gradient(circle at 50% 50%, rgba(0,204,106,0.05) 0%, transparent 50%); }
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.2; margin-bottom: 30px; background: linear-gradient(135deg, var(--text), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.subtitle { font-size: clamp(16px, 2.5vw, 20px); color: var(--text-muted); margin-bottom: 25px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.key-metrics { display: flex; justify-content: center; align-items: center; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.metric { font-size: 14px; font-weight: 600; color: var(--primary); background: rgba(0,204,106,0.1); padding: 8px 16px; border-radius: 20px; border: 1px solid rgba(0,204,106,0.2); }

@media (max-width: 768px) { .key-metrics { gap: 15px; } .metric { font-size: 13px; padding: 6px 12px; } }

.hero-cta { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.hero-cta .btn { min-width: 220px; }

/* ===========================
   TRUST BADGES
   =========================== */
.trust-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; padding: 8px 16px; background: var(--bg-card); border-radius: 100px; border: 1px solid var(--border); }
.trust-badge::before { content: "✓"; color: var(--primary); font-weight: bold; }

/* Trust Badges Row */
.trust-badges-row { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 25px 0 15px 0; flex-wrap: wrap; }
.trust-badge-main { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 13px; font-weight: 600; padding: 8px 16px; background: var(--bg-card); border-radius: 25px; border: 1px solid var(--primary); opacity: 0.9; }

@media (max-width: 768px) { .trust-badges-row { gap: 10px; } .trust-badge-main { font-size: 12px; padding: 6px 12px; } }

/* Mini Trust Row */
.mini-trust-row { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 30px; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); }
.trust-item { display: flex; align-items: center; }
.trust-item .info-icon { 
    margin-left: 5px; 
    color: var(--text-muted); 
    font-size: 12px; 
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.trust-item:hover .info-icon { opacity: 1; }
.trust-separator { color: var(--border); }

@media (max-width: 480px) { .trust-separator { display: none; } .mini-trust-row { flex-direction: column; gap: 10px; } }

/* ===========================
   WHY THIS MATTERS SECTION
   =========================== */
.why-matters { 
    padding-top: 40px;
    background: linear-gradient(135deg, rgba(0,204,106,0.03) 0%, transparent 50%); 
}
.why-matters h2 { 
    text-align: center; 
    font-size: 36px; 
    font-weight: 900; 
    margin-bottom: 50px; 
    color: var(--text);
}
.problem-solution { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 40px; 
    margin-bottom: 60px; 
    flex-wrap: wrap;
}
.problem-box, .solution-box {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--border);
    text-align: center;
    transition: transform 0.3s ease;
}
.problem-box:hover, .solution-box:hover {
    transform: translateY(-5px);
}
.problem-box {
    border-color: rgba(255, 107, 107, 0.3);
}
.solution-box {
    border-color: var(--primary);
}
.problem-box .icon, .solution-box .icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.problem-box h3, .solution-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}
.problem-box p, .solution-box p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}
.arrow {
    font-size: 32px;
    color: var(--primary);
    font-weight: 900;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .problem-solution {
        flex-direction: column;
        gap: 20px;
    }
    .arrow {
        transform: rotate(90deg);
    }
    .why-matters h2 {
        font-size: 28px;
    }
}

/* ===========================
   COMPARISON GRAPHIC
   =========================== */
.comparison-graphic {
    margin-top: 60px;
    padding-top: 60px;
}
.comparison-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 40px;
}
.comparison-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.comparison-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 30px 20px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 2px solid;
    transition: transform 0.3s ease;
}
.comparison-item:hover {
    transform: translateY(-5px);
}
.comparison-item.bad {
    border-color: rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, var(--bg-card) 100%);
}
.comparison-item.good {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 204, 106, 0.05) 0%, var(--bg-card) 100%);
}
.comparison-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}
.comparison-icon {
    font-size: 24px;
}
.comparison-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}
.comparison-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-muted);
}
.feature-icon {
    font-size: 16px;
}
.vs-divider {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .comparison-boxes {
        flex-direction: column;
        gap: 30px;
    }
    .vs-divider {
        transform: rotate(90deg);
    }
}

/* ===========================
   VALUE PROPS
   =========================== */
.value-props { padding: 60px 0; background: var(--bg-card); }
.props-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.prop-card { text-align: center; }
.prop-icon { font-size: 48px; margin-bottom: 15px; }
.prop-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.prop-desc { color: var(--text-muted); font-size: 14px; }

/* ===========================
   STEPS SECTION
   =========================== */
.steps { padding: 80px 0; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; text-align: center; margin-bottom: 50px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 30px; position: relative; transition: all 0.3s; }
.step:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow); }
.step-number { position: absolute; top: -20px; left: 30px; background: var(--primary); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; }
.step h3 { font-size: 24px; margin-bottom: 10px; margin-top: 10px; }
.step p { color: var(--text-muted); }

/* ===========================
   CRYPTO ASSETS
   =========================== */
.assets { padding: 80px 0; background: var(--bg-card); }
.assets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; }
.asset-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; transition: all 0.3s; }
.asset-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.asset-icon { font-size: 40px; margin-bottom: 10px; }
.asset-svg { width: 40px; height: 40px; }
.asset-name { font-weight: 600; margin-bottom: 5px; }
.asset-payout { color: var(--primary); font-size: 18px; font-weight: 700; }

/* ===========================
   FEATURES SECTION
   =========================== */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-top: 40px; }
.feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 25px; display: flex; gap: 20px; align-items: flex-start; transition: all 0.3s; }
.feature:hover { background: var(--bg-hover); border-color: var(--primary); }
.feature-icon { font-size: 24px; color: var(--primary); flex-shrink: 0; }
.feature-content h3 { font-size: 18px; margin-bottom: 5px; }
.feature-content p { color: var(--text-muted); font-size: 14px; }

/* ===========================
   BINARY OPTIONS EXPLANATION
   =========================== */
.binary-explanation { max-width: 1000px; margin: 0 auto; }
.intro-text { font-size: 18px; text-align: center; margin-bottom: 40px; color: var(--text-muted); line-height: 1.6; }
.example-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 30px; margin-top: 40px; }
.example-box h3 { margin-bottom: 20px; color: var(--primary); }
.example-content p { margin-bottom: 8px; }
.example-outcome { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border); }
.example-outcome p { margin-bottom: 8px; }

/* ===========================
   INTERACTIVE TRADE CARD
   =========================== */
.interactive-trade-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: 20px; padding: 30px; margin-top: 40px; box-shadow: var(--shadow); transition: all 0.3s ease; }
.interactive-trade-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); border-color: var(--primary); }

/* Trade Header */
.trade-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.trade-header h3 { margin: 0; font-size: 20px; color: var(--primary); }
.trade-timer { font-size: 14px; color: var(--text-muted); background: rgba(0,204,106,0.1); padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(0,204,106,0.2); }

/* Trade Grid */
.trade-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 25px; margin-bottom: 25px; }

/* Trade Sections */
.trade-section { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.section-header { margin-bottom: 15px; }
.section-title { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Asset Info Section */
.asset-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.btc-icon { flex-shrink: 0; }
.asset-details { display: flex; flex-direction: column; }
.asset-name { font-size: 16px; font-weight: 700; color: var(--text); }
.asset-pair { font-size: 12px; color: var(--text-muted); }

.current-price { margin-bottom: 15px; }
.price-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
.price-value { display: block; font-size: 22px; font-weight: 900; color: var(--text); margin-bottom: 3px; }
.price-change { font-size: 12px; font-weight: 600; color: var(--success); }

.price-chart { 
    height: 80px; 
    background: rgba(0,204,106,0.05); 
    border-radius: 6px; 
    padding: 10px; 
    position: relative; 
    overflow: hidden;
}
.chart-bar {
    fill: var(--success);
    opacity: 0.8;
    animation: chartGrow 2s ease-out forwards;
}
.chart-bar.down {
    fill: var(--danger);
}
.chart-grid {
    stroke: rgba(255,255,255,0.1);
    stroke-width: 0.5;
}

@keyframes chartGrow {
    from { 
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to { 
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

/* Your Trade Section */
.investment-amount { margin-bottom: 20px; }
.investment-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
.investment-value { display: block; font-size: 24px; font-weight: 900; color: var(--primary); }
.investment-input { 
    display: inline-block; 
    font-size: 24px; 
    font-weight: 900; 
    color: var(--primary); 
    background: transparent; 
    border: none; 
    outline: none; 
    width: auto;
    min-width: 80px;
    padding: 0;
}
.investment-value-wrapper {
    display: flex;
    align-items: baseline;
}
.investment-currency {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    margin-right: 2px;
}
.investment-input:focus { 
    color: var(--accent); 
}

.prediction-buttons { }
.prediction-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.button-group { display: flex; gap: 10px; }
.prediction-btn { flex: 1; background: var(--bg-card); border: 2px solid var(--border); border-radius: 8px; padding: 10px; cursor: pointer; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.prediction-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.prediction-btn.active { border-color: var(--primary); background: rgba(0,204,106,0.1); }

.btn-icon { font-size: 18px; }
.btn-text { font-size: 12px; font-weight: 700; color: var(--text); }
.btn-target { font-size: 10px; color: var(--text-muted); }

.up-btn .btn-icon { color: var(--success); }
.down-btn .btn-icon { color: var(--danger); }

/* Outcomes Section */
.outcomes { }
.outcome-card { margin-bottom: 12px; border-radius: 8px; padding: 12px; transition: all 0.3s ease; }
.outcome-card:last-child { margin-bottom: 0; }

.win-outcome { background: linear-gradient(135deg, rgba(0,204,106,0.1), rgba(0,204,106,0.05)); border: 1px solid rgba(0,204,106,0.2); }
.lose-outcome { background: linear-gradient(135deg, rgba(220,53,69,0.1), rgba(220,53,69,0.05)); border: 1px solid rgba(220,53,69,0.2); }

.outcome-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.outcome-icon { font-size: 16px; }
.outcome-title { font-size: 12px; font-weight: 600; color: var(--text); }

.outcome-details { display: flex; flex-direction: column; gap: 2px; }
.outcome-amount { font-size: 18px; font-weight: 900; }
.win-outcome .outcome-amount { color: var(--success); }
.lose-outcome .outcome-amount { color: var(--danger); }
.outcome-total { font-size: 12px; color: var(--text-muted); }
.outcome-return { font-size: 14px; color: var(--primary); font-weight: 800; }

/* Trade Footer */
.trade-footer { display: flex; gap: 15px; justify-content: center; align-items: center; }
.try-trade-btn { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border: none; border-radius: 8px; padding: 12px 24px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; animation: pulse 2s infinite; }
.try-trade-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,204,106,0.3); }
.btn-arrow { transition: transform 0.3s ease; }
.try-trade-btn:hover .btn-arrow { transform: translateX(3px); }

.new-example-btn { background: transparent; color: var(--text-muted); border: 1px solid var(--border); border-radius: 8px; padding: 12px 20px; font-size: 14px; cursor: pointer; transition: all 0.3s ease; }
.new-example-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ===========================
   ACCOUNT TYPES
   =========================== */
.accounts { padding: 80px 0; background: var(--bg-card); }
.accounts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.account-card { background: var(--bg); border: 2px solid var(--border); border-radius: 16px; padding: 30px; text-align: center; position: relative; transition: all 0.3s; }
.account-card.featured { border-color: var(--primary); transform: scale(1.05); }
.account-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.account-type { font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.account-price { font-size: 36px; font-weight: 900; color: var(--primary); margin-bottom: 20px; }
.account-features { list-style: none; margin-bottom: 30px; }
.account-features li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.account-features li:last-child { border-bottom: none; }

/* ===========================
   RISK DISCLOSURE
   =========================== */
.risk { padding: 40px 0; background: rgba(220, 53, 69, 0.1); border-top: 2px solid var(--danger); border-bottom: 2px solid var(--danger); text-align: center; }
.risk-content { max-width: 800px; margin: 0 auto; }
.risk h3 { color: var(--danger); margin-bottom: 15px; }
.risk p { color: var(--text-muted); margin-bottom: 10px; }

/* ===========================
   FOOTER
   =========================== */
footer { padding: 60px 0 30px; background: var(--bg-card); border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 30px; }
.footer-section h4 { font-size: 16px; margin-bottom: 15px; color: var(--primary); }
.footer-links { list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; display: block; padding: 5px 0; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { padding-top: 30px; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 14px; }

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in { opacity: 0; transform: translateY(30px); animation: fadeIn 0.8s ease forwards; }

@keyframes fadeIn { 
    to { opacity: 1; transform: translateY(0); } 
}

/* ===========================
   RESPONSIVE MEDIA QUERIES
   =========================== */
@media (max-width: 768px) {
    .hero { padding: 100px 0 0; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; }
    .features-grid, .accounts-grid { grid-template-columns: 1fr; }
    .account-card.featured { transform: none; }
    
    /* Mobile Trade Card */
    .trade-grid { grid-template-columns: 1fr; gap: 15px; }
    .interactive-trade-card { padding: 20px; margin-top: 30px; }
    .trade-header { flex-direction: column; gap: 10px; align-items: flex-start; }
    .trade-footer { flex-direction: column; gap: 10px; }
    .try-trade-btn, .new-example-btn { width: 100%; justify-content: center; }
}