/* ========================================
   CryptoSafeInvest - Main Stylesheet
   Author: CryptoSafeInvest Team
   Version: 1.0
======================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Trust & Stability */
    --primary-900: #0B1E33;
    --primary-800: #14375C;
    --primary-700: #1E4F85;
    --primary-600: #2A6BAB;
    --primary-500: #3A87CF;
    
    /* Secondary Colors - Growth & Wealth */
    --secondary-900: #1A4731;
    --secondary-800: #256B49;
    --secondary-700: #318F61;
    --secondary-600: #3FB379;
    --secondary-500: #4FD894;
    
    /* Accent Colors - Premium */
    --accent-900: #AB7C1A;
    --accent-800: #D49C2C;
    --accent-700: #F0B73E;
    --accent-600: #FFD166;
    --accent-500: #FFE5A3;
    
    /* Neutrals */
    --neutral-50: #F9FAFB;
    --neutral-100: #F2F4F7;
    --neutral-200: #E5E8ED;
    --neutral-300: #D0D5DD;
    --neutral-400: #98A2B3;
    --neutral-500: #667085;
    --neutral-600: #475467;
    --neutral-700: #344054;
    --neutral-800: #1D2939;
    --neutral-900: #101828;
    
    /* Semantic */
    --success: #079455;
    --success-light: #E6F7E6;
    --warning: #F79E1B;
    --warning-light: #FFF4E5;
    --error: #F04438;
    --error-light: #FEE9E7;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 32px -8px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 30px 40px -20px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container */
    --container-max: 1280px;
    --container-padding: 24px;
    
    /* Z-index */
    --z-negative: -1;
    --z-normal: 1;
    --z-dropdown: 10;
    --z-sticky: 100;
    --z-fixed: 1000;
    --z-modal: 2000;
    --z-popover: 3000;
    --z-toast: 4000;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--neutral-50);
    color: var(--neutral-800);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

h1 { font-size: 3.5rem; }     /* 56px */
h2 { font-size: 2.5rem; }      /* 40px */
h3 { font-size: 1.5rem; }       /* 24px */
h4 { font-size: 1.25rem; }      /* 20px */
h5 { font-size: 1.125rem; }     /* 18px */
h6 { font-size: 1rem; }         /* 16px */

p {
    margin-bottom: 1rem;
    color: var(--neutral-600);
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-700);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section Styles */
section {
    position: relative;
    padding: var(--space-3xl) 0;
}

.section-label {
    text-align: center;
    color: var(--primary-600);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--neutral-600);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary-600);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-600);
    opacity: 0.3;
    z-index: -1;
}

/* ========================================
   Navigation
======================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: var(--z-fixed);
    border-bottom: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: var(--space-sm) 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-3d {
    width: 40px;
    height: 40px;
    position: relative;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: var(--space-xs);
    margin-right: var(--space-lg);
}

.lang-btn {
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-500);
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--primary-600);
    background: var(--neutral-100);
}

.lang-btn.active {
    color: var(--primary-700);
    background: var(--neutral-200);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--primary-600);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.chat-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.chat-toggle:hover {
    background: var(--primary-600);
}

.chat-toggle:hover .chat-icon-3d {
    filter: brightness(0) invert(1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--neutral-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-menu a {
    padding: var(--space-md);
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.mobile-menu a:hover {
    background: var(--neutral-100);
}

/* ========================================
   Buttons
======================================== */

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-outline {
    border: 2px solid var(--neutral-200);
    color: var(--neutral-700);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-500);
    background: var(--neutral-50);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    color: white;
    box-shadow: 0 4px 12px rgba(42, 107, 171, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(42, 107, 171, 0.3);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(42, 107, 171, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(42, 107, 171, 0);
    }
}

/* ========================================
   Hero Section
======================================== */

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #fff, var(--neutral-100));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(79, 216, 148, 0.05) 0%, transparent 50%);
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(58, 135, 207, 0.02) 10px,
        rgba(58, 135, 207, 0.02) 20px
    );
    top: -50%;
    left: -50%;
    animation: moveBg 30s linear infinite;
    pointer-events: none;
}

@keyframes moveBg {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: var(--z-normal);
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(58, 135, 207, 0.1);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.badge-3d {
    width: 24px;
    height: 24px;
    position: relative;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-700);
}

.hero-content h1 {
    font-size: 3.25rem;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--neutral-900);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--neutral-600);
    margin-bottom: var(--space-xl);
}

/* Hero Stats 3D */
.hero-stats-3d {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.stat-3d-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.stat-icon-3d {
    width: 48px;
    height: 48px;
    position: relative;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-700);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.play-icon-3d {
    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
    margin-right: var(--space-xs);
}

/* Ticker */
.ticker-container {
    background: white;
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    overflow: hidden;
}

.ticker {
    display: flex;
    gap: var(--space-xl);
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
}

.ticker-icon-3d {
    width: 24px;
    height: 24px;
    position: relative;
}

.ticker-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
}

/* ========================================
   Hero Card (Form)
======================================== */

.hero-card {
    background: white;
    border-radius: var(--radius-3xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--neutral-200);
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
}

.card-header .meta {
    color: var(--neutral-500);
    font-size: 0.875rem;
}

/* Form Progress */
.form-progress {
    margin-bottom: var(--space-xl);
}

.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600), var(--secondary-500));
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    transition: width var(--transition-base);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.step.active {
    opacity: 1;
}

.step-icon-3d {
    width: 32px;
    height: 32px;
    position: relative;
}

.step span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neutral-600);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Form Fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.field {
    margin-bottom: var(--space-md);
    position: relative;
}

.field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.field input,
.field select {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    background: white;
}

.field input:hover,
.field select:hover {
    border-color: var(--neutral-300);
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(58, 135, 207, 0.1);
}

.field input.error,
.field select.error {
    border-color: var(--error);
}

.field-icon-3d {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

/* Checkbox */
.checkbox-field {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
    position: relative;
}

.checkbox-3d {
    width: 20px;
    height: 20px;
    position: relative;
}

.checkbox-field input {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-field label {
    font-size: 0.875rem;
    color: var(--neutral-600);
    cursor: pointer;
}

.checkbox-field a {
    color: var(--primary-600);
    font-weight: 600;
}

/* Secure Badge */
.secure-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

.secure-icon-3d {
    width: 16px;
    height: 16px;
    position: relative;
    display: inline-block;
}

/* Social Proof */
.social-proof {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px solid var(--neutral-100);
}

.proof-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.proof-icon-3d {
    width: 24px;
    height: 24px;
    position: relative;
}

.avatars-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.avatar-3d {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.avatar-count {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Trusted By Section
======================================== */

.trusted-by {
    padding: var(--space-2xl) 0;
    background: white;
    border-top: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
}

.company-logos-3d {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.company-logo-3d {
    width: 100px;
    height: 40px;
    position: relative;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.company-logo-3d:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ========================================
   Regulatory Badges
======================================== */

.regulatory-badges {
    padding: var(--space-2xl) 0;
    background: var(--neutral-50);
}

.badges-3d-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.badge-3d-card {
    position: relative;
    width: 100%;
    height: 200px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.badge-3d-card:hover {
    transform: rotateY(180deg);
}

.badge-3d-front,
.badge-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-2xl);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.badge-3d-front {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
    color: white;
}

.badge-3d-back {
    background: linear-gradient(135deg, var(--secondary-800), var(--secondary-600));
    color: white;
    transform: rotateY(180deg);
}

.badge-icon-3d {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-md);
    position: relative;
}

.badge-3d-front h4 {
    color: white;
    font-size: 1.125rem;
}

.badge-3d-back p {
    color: white;
    margin: 0;
}

/* ========================================
   Markets Section
======================================== */

.markets {
    padding: var(--space-3xl) 0;
    background: white;
}

.markets-tabs-3d {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.tab-3d {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 24px;
    border: 2px solid var(--neutral-200);
    background: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--neutral-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-3d:hover {
    border-color: var(--primary-400);
    color: var(--primary-600);
    transform: translateY(-2px);
}

.tab-3d.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
}

.tab-3d.active .tab-icon-3d {
    filter: brightness(0) invert(1);
}

.tab-icon-3d {
    width: 20px;
    height: 20px;
    position: relative;
}

.markets-table-container {
    background: var(--neutral-50);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.markets-table {
    width: 100%;
    border-collapse: collapse;
}

.markets-table th {
    background: var(--neutral-100);
    padding: var(--space-md);
    text-align: left;
    font-weight: 600;
    color: var(--neutral-700);
    font-size: 0.875rem;
}

.markets-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--neutral-200);
    color: var(--neutral-700);
}

.markets-table tr:last-child td {
    border-bottom: none;
}

.markets-table tr:hover td {
    background: var(--neutral-100);
}

.asset-cell {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.asset-icon-3d {
    width: 24px;
    height: 24px;
    position: relative;
}

.positive {
    color: var(--success);
    font-weight: 600;
}

.negative {
    color: var(--error);
    font-weight: 600;
}

.change-indicator-3d {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: var(--space-xs);
    position: relative;
}

/* ========================================
   Live News Section
======================================== */

.news-section {
    padding: var(--space-3xl) 0;
    background: var(--neutral-50);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.news-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
    display: flex;
    gap: var(--space-md);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.news-icon-3d {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    position: relative;
}

.news-content {
    flex: 1;
}

.news-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-600);
    margin-bottom: var(--space-xs);
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--neutral-900);
    line-height: 1.4;
}

.news-summary {
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-bottom: var(--space-sm);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.news-time {
    color: var(--neutral-400);
}

.news-impact {
    font-weight: 600;
}

.news-impact.positive {
    color: var(--success);
}

.news-impact.negative {
    color: var(--error);
}

/* News Ticker */
.news-ticker-container {
    background: white;
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid var(--neutral-200);
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.news-ticker-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.875rem;
}

.news-ticker {
    flex: 1;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: var(--space-xl);
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    font-size: 0.875rem;
    color: var(--neutral-700);
}

.news-cta {
    text-align: center;
}

/* ========================================
   Features Grid
======================================== */

.features {
    padding: var(--space-3xl) 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.feature-icon-3d {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    position: relative;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--neutral-900);
}

.feature-card p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ========================================
   How It Works
======================================== */

.how-it-works {
    padding: var(--space-3xl) 0;
    background: var(--neutral-50);
}

.steps-3d-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.step-3d-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.step-3d-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-number-3d {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    position: relative;
}

.step-icon-3d {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    position: relative;
}

.step-3d-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.step-3d-card p {
    color: var(--neutral-600);
}

/* Bonus Banner */
.bonus-banner-3d {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    flex-wrap: wrap;
    gap: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.bonus-icon-3d {
    width: 48px;
    height: 48px;
    position: relative;
}

.bonus-banner-3d p {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
    flex: 1;
}

.bonus-banner-3d .btn {
    background: white;
    color: var(--primary-700);
}

/* ========================================
   Testimonials
======================================== */

.testimonials {
    padding: var(--space-3xl) 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.testimonial-card-3d {
    background: var(--neutral-50);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.testimonial-card-3d:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.rating-3d {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.star-3d {
    width: 20px;
    height: 20px;
    position: relative;
}

.quote {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--neutral-700);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar-3d {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
}

.author strong {
    display: block;
    color: var(--neutral-900);
    font-size: 0.9375rem;
}

.author span {
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

/* Trustpilot Widget */
.trustpilot-widget-3d {
    text-align: center;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-full);
    display: inline-block;
    margin: 0 auto;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.trustpilot-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    display: inline-block;
    margin-right: var(--space-sm);
}

.trustpilot-stars-3d {
    display: inline-flex;
    gap: 4px;
    margin-right: var(--space-sm);
}

/* ========================================
   FAQ Section
======================================== */

.faq {
    padding: var(--space-3xl) 0;
    background: var(--neutral-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--primary-300);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg);
    background: white;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--neutral-50);
}

.faq-icon-3d {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
}

.arrow-3d {
    width: 16px;
    height: 16px;
    margin-left: auto;
    position: relative;
    transition: transform var(--transition-base);
}

.faq-item.active .arrow-3d {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
    color: var(--neutral-600);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    max-height: 200px;
}

/* ========================================
   CTA Section
======================================== */

.cta-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-700);
}

.cta-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cta-icon-3d {
    width: 24px;
    height: 24px;
    position: relative;
}

.cta-feature span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

/* ========================================
   Chat Bot
======================================== */

.chat-bot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: var(--z-fixed);
}

.chat-bot-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.chat-bot-button:hover {
    transform: scale(1.1);
}

.chat-icon-3d {
    width: 30px;
    height: 30px;
    position: relative;
    filter: brightness(0) invert(1);
}

.chat-bot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--neutral-200);
    display: none;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-bot-container.active .chat-bot-window {
    display: block;
}

.chat-header {
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
    color: white;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-avatar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.bot-avatar-3d {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.chat-header h4 {
    color: white;
    font-size: 1rem;
}

.online-status {
    font-size: 0.75rem;
    color: var(--secondary-500);
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: var(--space-md);
    background: var(--neutral-50);
}

.message {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.message.bot-message {
    align-items: flex-start;
}

.message.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.bot-small-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-600);
    position: relative;
}

.message-content {
    max-width: 70%;
}

.message.bot-message .message-content {
    background: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
}

.message.user-message .message-content {
    background: var(--primary-600);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
}

.message.user-message .message-content p {
    color: white;
}

.chat-input-area {
    padding: var(--space-md);
    border-top: 1px solid var(--neutral-200);
    display: flex;
    gap: var(--space-sm);
}

.chat-input-area input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--primary-500);
}

.chat-input-area button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-600);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-icon-3d {
    width: 20px;
    height: 20px;
    position: relative;
    filter: brightness(0) invert(1);
}

.chat-options {
    padding: var(--space-sm);
    border-top: 1px solid var(--neutral-200);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.chat-option {
    padding: var(--space-xs) var(--space-sm);
    background: var(--neutral-100);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--neutral-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-option:hover {
    background: var(--primary-600);
    color: white;
}

/* ========================================
   Social Buttons
======================================== */

.social-buttons {
    position: fixed;
    bottom: 100px;
    right: 100px;
    z-index: var(--z-fixed);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.social-button:hover {
    transform: scale(1.1);
}

.social-button.telegram {
    background: #0088cc;
}

.social-button.whatsapp {
    background: #25D366;
}

.telegram-icon-3d,
.whatsapp-icon-3d {
    width: 25px;
    height: 25px;
    position: relative;
    filter: brightness(0) invert(1);
}

/* ========================================
   Footer
======================================== */

.footer {
    background: var(--neutral-900);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo-3d {
    width: 40px;
    height: 40px;
    position: relative;
}

.footer-brand strong {
    color: white;
    font-size: 1.125rem;
}

.footer-description {
    color: var(--neutral-400);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.social-links-3d {
    display: flex;
    gap: var(--space-md);
}

.social-link-3d {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
}

.social-link-3d:hover {
    background: var(--primary-600);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.875rem;
}

.footer-col ul a:hover {
    color: var(--accent-600);
}

.payment-methods-3d {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    flex-wrap: wrap;
}

.payment-icon-3d {
    width: 50px;
    height: 30px;
    position: relative;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.payment-icon-3d:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.risk-warning {
    color: var(--neutral-500);
    font-size: 0.75rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--neutral-800);
    color: var(--neutral-500);
    font-size: 0.875rem;
}

/* ========================================
   Back to Top
======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-600);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.back-to-top:hover {
    background: var(--primary-700);
    transform: translateY(-3px);
}

.arrow-up-3d {
    width: 20px;
    height: 20px;
    position: relative;
    filter: brightness(0) invert(1);
}

/* ========================================
   Video Modal
======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: black;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

#introVideo {
    width: 100%;
    display: block;
}

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-stats-3d {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .badges-3d-grid,
    .features-grid,
    .testimonials-grid,
    .news-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-3d-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .lang-switcher {
        margin-right: auto;
    }
    
    .badges-3d-grid,
    .features-grid,
    .testimonials-grid,
    .news-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-stats-3d {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    .bonus-banner-3d {
        flex-direction: column;
        text-align: center;
    }
    
    .chat-bot-window {
        width: 300px;
        right: -20px;
    }
    
    .social-buttons {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .ticker-item {
        font-size: 0.75rem;
    }
    
    .hero-card {
        padding: var(--space-lg);
    }
    
    .markets-table {
        font-size: 0.875rem;
    }
    
    .markets-table th,
    .markets-table td {
        padding: var(--space-sm);
    }
}