/* ========================================
   TRADO - AI Gold Trading Bot
   Professional Styles with Animations
   ======================================== */

/* CSS Variables */
:root {
    --primary: #2436bf;
    --primary-dark: #1a2a8f;
    --primary-light: #3a4fd4;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --gray-100: #f1f3f8;
    --gray-200: #e2e6f0;
    --gray-300: #c5cbd9;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --gold: #d4af37;
    --gold-light: #f4e4a6;
    --success: #10b981;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px rgba(36, 54, 191, 0.3);
}

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

/* SVG Default Sizing - Prevent oversized icons */
svg {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

svg:not([width]):not([class]) {
    width: 24px;
    height: 24px;
}

/* Select/Dropdown Reset */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

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

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body[dir="rtl"] {
    font-family: var(--font-arabic);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    flex-direction: row;
    gap: 4px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: 8px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-right .lang-switcher {
    position: static;
    box-shadow: none;
}

.mobile-lang-switcher {
    display: none;
}

body[dir="rtl"] .lang-switcher {
    right: auto;
    left: 20px;
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background: var(--gray-100);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-700);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--gray-900);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(36, 54, 191, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 54, 191, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gold);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(-50px, -30px) scale(1.05); }
}

.gold-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(36, 54, 191, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 8vw, 76px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title span {
    display: block;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-200);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray-300);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(16px); opacity: 0; }
}

/* Trust Banner */
.trust-banner {
    background: var(--primary);
    padding: 40px 0;
}

.trust-content {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.trust-text h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.trust-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(36, 54, 191, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--off-white);
}

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

.step {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.step-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-100);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.step-card:hover .step-number {
    color: var(--primary);
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-line {
    display: none;
}

/* Performance Section */
.performance {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* AI Intelligence Section */
.ai-section {
    padding: 100px 0;
    background: var(--white);
}

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

.ai-feature-card {
    background: var(--off-white);
    padding: 32px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.ai-feature-card:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ai-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ai-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.ai-feature-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.ai-feature-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

.ai-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, rgba(36, 54, 191, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 24px 32px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.ai-note-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-note-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.ai-note p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
}

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

@media (max-width: 768px) {
    .ai-features-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-note {
        flex-direction: column;
        text-align: center;
    }
    
    .ai-note-icon {
        margin: 0 auto;
    }
}

body[dir="rtl"] .ai-note {
    border-left: none;
    border-right: 4px solid var(--primary);
}

.performance-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-card.featured {
    background: var(--gold);
    border-color: var(--gold);
}

.stat-card.featured .stat-value,
.stat-card.featured .stat-title {
    color: var(--gray-900);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-title {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* Performance Chart */
.performance-chart {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.chart-header h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.legend-item.profit::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 3px;
}

.chart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 200px;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar {
    flex: 1;
    height: var(--bar-height);
    background: linear-gradient(180deg, var(--gold) 0%, rgba(212, 175, 55, 0.6) 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1s ease;
}

.chart-bar.visible {
    transform: scaleY(1);
}

.chart-bar span {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
}

.chart-labels span {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 2px solid var(--gray-200);
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(36, 54, 191, 0.02) 0%, var(--white) 100%);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
}

.plan-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 8px;
}

.plan-price .amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.plan-price .period {
    font-size: 16px;
    color: var(--gray-500);
    align-self: flex-end;
    margin-bottom: 8px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

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

.feature svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--success);
}

.feature span {
    font-size: 15px;
    color: var(--gray-700);
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
}

.pricing-note p {
    font-size: 15px;
    color: var(--gray-500);
}

/* Brokers Section */
.brokers {
    padding: 100px 0;
    background: var(--off-white);
}

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

.broker-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.broker-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.broker-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.broker-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-700);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--gray-900);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(36, 54, 191, 0.3) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .disclaimer {
    margin-top: 8px;
    font-size: 12px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 100px 24px 40px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links,
    .nav-right,
    .nav-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brokers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .trust-content {
        flex-direction: column;
        text-align: center;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .brokers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .lang-switcher {
        display: none;
    }
    
    body[dir="rtl"] .lang-switcher {
        display: none;
    }
    
    .mobile-lang-switcher {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--gray-200);
    }
    
    .mobile-lang-switcher .lang-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .brokers-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        height: 150px;
    }
}

/* RTL Support */
body[dir="rtl"] {
    text-align: right;
}

body[dir="rtl"] .feature {
    flex-direction: row-reverse;
}

body[dir="rtl"] .trust-content {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    body[dir="rtl"] .trust-content {
        flex-direction: column;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}
