﻿/* ============================================
   Binovax - Binovax - Binary Trading App Styles
   Inspired by Quotex Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS Variables / Design Tokens
   ============================================ */
:root {
    /* Primary Colors */
    --bg-primary: #0b0e17;
    --bg-secondary: #111827;
    --bg-card: #151c2c;
    --bg-card-hover: #1a2236;
    --bg-nav: rgba(11, 14, 23, 0.95);
    --bg-input: #0d1117;
    --bg-modal: #111827;
    
    /* Accent Colors */
    --accent-green: #00c853;
    --accent-green-hover: #00e676;
    --accent-green-glow: rgba(0, 200, 83, 0.3);
    --accent-blue: #0095ff;
    --accent-blue-hover: #33aaff;
    --accent-blue-glow: rgba(0, 149, 255, 0.3);
    --accent-red: #ff1744;
    --accent-red-hover: #ff5252;
    --accent-orange: #ff9100;
    --accent-purple: #7c4dff;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-link: #0095ff;
    
    /* Border */
    --border-color: #1e293b;
    --border-input: #2a3546;
    --border-focus: #0095ff;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0b0e17 0%, #111827 50%, #0f172a 100%);
    --gradient-green: linear-gradient(135deg, #00c853, #00e676);
    --gradient-blue: linear-gradient(135deg, #0095ff, #33aaff);
    --gradient-card: linear-gradient(145deg, #151c2c, #1a2236);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow-green: 0 0 30px rgba(0, 200, 83, 0.15);
    --shadow-glow-blue: 0 0 30px rgba(0, 149, 255, 0.15);
    
    /* Spacing */
    --nav-height: 70px;
    --container-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}  

input, select, textarea {
    font-family: inherit;
    outline: none;
}

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

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background var(--transition-normal);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    box-shadow: var(--shadow-glow-green);
}

.nav-logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff, #00c853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width var(--transition-normal);
}

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

.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    position: relative;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.nav-lang:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-lang .globe-icon {
    font-size: 16px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 0;
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
}

.nav-lang:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-signup {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 149, 255, 0.3);
}

.btn-signup:hover {
    background: var(--accent-blue-hover);
    box-shadow: 0 6px 20px rgba(0, 149, 255, 0.4);
    transform: translateY(-2px);
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-blue);
}

.btn-login:hover {
    background: rgba(0, 149, 255, 0.1);
    transform: translateY(-2px);
}

.btn-green {
    background: var(--gradient-green);
    color: #fff;
    padding: 14px 36px;
    font-size: 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-glow-green);
}

.btn-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 200, 83, 0.4);
}

.btn-white {
    background: #fff;
    color: var(--bg-primary);
    padding: 14px 36px;
    font-size: 16px;
    border-radius: var(--radius-sm);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline-green {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    padding: 14px 36px;
    font-size: 16px;
}

.btn-outline-green:hover {
    background: var(--accent-green);
    color: #fff;
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 48px;
    font-size: 17px;
    border-radius: var(--radius-md);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-height);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 200, 83, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 149, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Animated chart lines background */
.hero-bg-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    opacity: 0.15;
    overflow: hidden;
}

.hero-bg-lines svg {
    width: 100%;
    height: 100%;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #00c853, #00e676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-device-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-monitor {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-monitor-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.hero-monitor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-monitor-dot.red { background: #ff5f57; }
.hero-monitor-dot.yellow { background: #febc2e; }
.hero-monitor-dot.green { background: #28c840; }

.hero-chart {
    padding: 20px;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.hero-chart canvas {
    width: 100%;
    height: 100%;
}

.hero-phone {
    position: absolute;
    bottom: -20px;
    left: -40px;
    width: 140px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.hero-phone-header {
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-phone-notch {
    width: 40px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
}

.hero-phone-screen {
    padding: 8px;
    height: 180px;
    position: relative;
}

/* Floating elements */
.floating-badge {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
    z-index: 4;
}

.floating-badge.top-right {
    top: 10px;
    right: -20px;
    animation-delay: 0s;
}

.floating-badge.bottom-right {
    bottom: 60px;
    right: -30px;
    animation-delay: 1.5s;
}

.floating-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.floating-badge-icon.green {
    background: rgba(0, 200, 83, 0.15);
    color: var(--accent-green);
}

.floating-badge-icon.blue {
    background: rgba(0, 149, 255, 0.15);
    color: var(--accent-blue);
}

.floating-badge-text {
    font-size: 12px;
    font-weight: 600;
}

.floating-badge-text span {
    display: block;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 11px;
}

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

/* ============================================
   Payment Partners Section
   ============================================ */
.payment-partners {
    padding: 40px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.payment-partners .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.payment-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity var(--transition-normal);
    letter-spacing: 1px;
}

.payment-logo:hover {
    opacity: 1;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 200, 83, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 200, 83, 0.3);
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 15px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.1);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
    background: linear-gradient(135deg, #ffffff, #00c853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: var(--shadow-glow-green);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent-green);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: rgba(0, 200, 83, 0.2);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-cta {
    text-align: center;
    margin-top: 60px;
}

/* ============================================
   Trading Prediction Section
   ============================================ */
.trading-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.trading-section .container {
    text-align: center;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.trading-demo {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.trading-demo-header {
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trading-pair {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
}

.trading-pair-flags {
    display: flex;
    align-items: center;
}

.trading-pair-flags span {
    font-size: 20px;
}

.trading-price {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 18px;
}

.trading-chart-area {
    height: 250px;
    position: relative;
    padding: 20px;
}

.trading-chart-area canvas {
    width: 100%;
    height: 100%;
}

.trading-buttons-area {
    padding: 24px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-up {
    background: var(--accent-green);
    color: #fff;
    padding: 14px 40px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-normal);
}

.btn-up:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-green);
}

.btn-down {
    background: var(--accent-red);
    color: #fff;
    padding: 14px 40px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-normal);
}

.btn-down:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.3);
}

/* ============================================
   Mobile App Section
   ============================================ */
.mobile-app-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.mobile-app-section .container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.mobile-app-content {
    flex: 1;
}

.mobile-app-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mobile-app-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.app-store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    transition: all var(--transition-normal);
}

.app-store-btn:hover {
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-green);
}

.app-store-btn .store-icon {
    font-size: 28px;
}

.app-store-btn .store-text {
    font-size: 11px;
    color: var(--text-muted);
}

.app-store-btn .store-name {
    font-size: 16px;
    font-weight: 600;
    display: block;
}

.mobile-app-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.mobile-mockup {
    width: 280px;
    height: 560px;
    background: var(--bg-card);
    border-radius: 36px;
    border: 3px solid var(--border-color);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.mobile-mockup-notch {
    width: 120px;
    height: 28px;
    background: var(--bg-primary);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.mobile-mockup-screen {
    padding: 16px;
    height: calc(100% - 28px);
    position: relative;
    overflow: hidden;
}

/* ============================================
   Reviews Section
   ============================================ */
.reviews-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.reviews-section .section-title {
    text-align: center;
}

.reviews-section .section-subtitle {
    text-align: center;
}

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

.review-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 83, 0.2);
    box-shadow: var(--shadow-glow-green);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.review-stars span {
    color: #ffc107;
    font-size: 16px;
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.review-author-info h4 {
    font-size: 15px;
    font-weight: 600;
}

.review-author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   Steps Section
   ============================================ */
.steps-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-section .section-title {
    text-align: center;
}

.steps-section .section-subtitle {
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-glow-green);
    position: relative;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 72px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), transparent);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-section .section-title {
    text-align: center;
}

.faq-section .section-subtitle {
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(0, 200, 83, 0.3);
}

.faq-item.active {
    border-color: var(--accent-green);
    box-shadow: var(--shadow-glow-green);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-fast);
    user-select: none;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question .faq-icon {
    font-size: 20px;
    color: var(--accent-green);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-green);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 800px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ============================================
   Auth Pages (Sign Up / Login)
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 200, 83, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(0, 149, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated wave chart background */
.auth-bg-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    opacity: 0.08;
    pointer-events: none;
}

.auth-bg-chart svg {
    width: 100%;
    height: 100%;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 2;
}

.auth-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.auth-card {
    background: var(--bg-modal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.auth-tabs {
    display: flex;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.auth-tab.active {
    background: var(--accent-blue);
    color: #fff;
}

.auth-tab:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.form-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(0, 149, 255, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    transition: all var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(0, 149, 255, 0.1);
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(20%);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 18px;
    transition: color var(--transition-fast);
    background: none;
    border: none;
}

.password-toggle:hover {
    color: var(--text-primary);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--accent-green);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.form-checkbox label a:hover {
    color: var(--accent-blue-hover);
}

.auth-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 149, 255, 0.3);
}

.auth-submit.green {
    background: var(--gradient-green);
}

.auth-submit.green:hover {
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.3);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-secondary);
}

.social-btn:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-blue);
}

.social-btn img {
    width: 24px;
    height: 24px;
}

.auth-footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer-text a {
    color: var(--accent-blue);
    font-weight: 600;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

.forgot-password {
    display: block;
    text-align: right;
    font-size: 13px;
    color: var(--accent-blue);
    margin-bottom: 16px;
    margin-top: -8px;
    transition: color var(--transition-fast);
}

.forgot-password:hover {
    color: var(--accent-blue-hover);
    text-decoration: underline;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

/* ============================================
   Scroll Reveal (placeholder for JS)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-app-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .app-store-buttons {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-lang {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-device-wrapper {
        max-width: 360px;
    }
    
    .stats-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card::after {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-partners .container {
        gap: 30px;
    }
    
    .payment-logo {
        font-size: 18px;
    }
    
    .auth-title {
        font-size: 26px;
    }
    
    .auth-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .trading-buttons-area {
        flex-direction: column;
    }
    
    .btn-up, .btn-down {
        justify-content: center;
    }
    
    .nav-buttons .btn-login {
        display: none;
    }
}
