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

:root {
    /* Новая цветовая палитра - серый/белый/черный с акцентами */
    --primary: #2563EB;        /* Синий акцент */
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    
    --secondary: #10B981;      /* Зеленый акцент */
    --secondary-dark: #059669;
    
    --accent: #8B5CF6;         /* Фиолетовый акцент */
    --accent-dark: #7C3AED;
    
    /* Основная палитра */
    --dark: #0F172A;           /* Темно-синий/черный */
    --darker: #020617;         /* Почти черный */
    --dark-gray: #1E293B;      /* Темно-серый */
    --gray: #334155;           /* Серый */
    --light-gray: #64748B;     /* Светло-серый */
    --lighter-gray: #CBD5E1;   /* Очень светло-серый */
    --white: #F8FAFC;          /* Белый с оттенком серого */
    --pure-white: #FFFFFF;     /* Чистый белый */
    
    /* Статусные цвета */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #8B5CF6 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Тени */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Стеклянный эффект */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Анимации */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Скругления */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

.light-theme {
    --dark: #F8FAFC;
    --darker: #F1F5F9;
    --dark-gray: #E2E8F0;
    --gray: #CBD5E1;
    --light-gray: #94A3B8;
    --lighter-gray: #64748B;
    --white: #0F172A;
    --pure-white: #1E293B;
    
    --glass-bg: rgba(15, 23, 42, 0.05);
    --glass-border: rgba(15, 23, 42, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--dark);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    transition: var(--transition-slow);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== BACKGROUND ANIMATIONS ===== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--glass-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(25px, 25px); }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(60px);
    opacity: 0.15;
    animation-duration: 20s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation-name: float-1;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    right: -100px;
    animation-name: float-2;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 50%;
    left: 80%;
    animation-name: float-3;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--primary-light);
    bottom: 30%;
    left: 20%;
    animation-name: float-4;
}

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

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-40px, 40px) rotate(90deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(270deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0); opacity: 0.15; }
    50% { transform: translate(50px, -50px); opacity: 0.25; }
}

@keyframes float-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 30px) scale(1.2); }
    66% { transform: translate(30px, -30px) scale(0.8); }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* ===== HEADER & NAVIGATION ===== */
.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 20px;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--white);
}

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

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: var(--radius-full);
    background: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    width: 72px;
    height: 32px;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.toggle-track {
    position: absolute;
    left: 4px;
    width: 64px;
    height: 24px;
    background: var(--gray);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: var(--transition);
}

.light-theme .toggle-track {
    background: var(--lighter-gray);
}

.toggle-thumb {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--pure-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 1;
}

.light-theme .toggle-thumb {
    left: calc(100% - 22px);
    background: var(--dark);
}

.theme-toggle i {
    font-size: 12px;
    color: var(--light-gray);
    z-index: 2;
    position: relative;
    transition: var(--transition);
}

.theme-toggle .fa-sun {
    color: var(--warning);
}

.theme-toggle .fa-moon {
    color: var(--white);
}

.light-theme .theme-toggle .fa-sun {
    color: var(--white);
}

.light-theme .theme-toggle .fa-moon {
    color: var(--dark-gray);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.menu-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

/* ===== MAIN CONTAINER ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: calc(100vh - 72px);
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--light-gray);
    animation: badge-pulse 3s infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-badge .dot {
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: var(--radius-full);
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.title-line {
    display: block;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0.3;
    z-index: -1;
    animation: highlight-wave 3s ease-in-out infinite;
}

@keyframes highlight-wave {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.95); }
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--primary);
    white-space: nowrap;
    animation: typing 3.5s steps(15, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary) }
}

.count-up {
    display: inline-block;
    min-width: 40px;
    text-align: center;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--light-gray);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 500px;
}

.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline-expand 3s ease-in-out infinite;
}

@keyframes underline-expand {
    0%, 100% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
}

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

.stat-card {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 18px;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

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

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

.cta-button {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pure-white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button::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: 0.5s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(4px);
}

.secondary-button {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.secondary-button:hover {
    background: var(--gray);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.visual-card {
    width: 320px;
    height: 200px;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    25% { transform: translateY(-10px) rotateY(5deg); }
    50% { transform: translateY(0) rotateY(0deg); }
    75% { transform: translateY(10px) rotateY(-5deg); }
}

.card-chip {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    animation: chip-glow 3s infinite;
}

@keyframes chip-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: card-shine 3s infinite;
}

@keyframes card-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--pure-white);
    letter-spacing: 1px;
}

.card-type {
    font-size: 12px;
    font-weight: 600;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-number {
    display: flex;
    gap: 16px;
    font-family: 'Space Grotesk', monospace;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--pure-white);
}

.card-number span:last-child {
    color: var(--primary);
    animation: number-pulse 2s infinite;
}

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

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-holder, .card-expiry {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-holder span, .card-expiry span {
    font-size: 10px;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-holder strong, .card-expiry strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--pure-white);
}

.floating-coins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.coin {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    box-shadow: var(--shadow-lg);
}

.coin-btc {
    background: linear-gradient(135deg, #F7931A, #FFB155);
    color: #000;
    top: 10%;
    left: 10%;
    animation-name: coin-float-1;
}

.coin-eth {
    background: linear-gradient(135deg, #627EEA, #8EA3E8);
    color: #fff;
    top: 60%;
    left: 80%;
    animation-name: coin-float-2;
}

.coin-usdt {
    background: linear-gradient(135deg, #26A17B, #50AF95);
    color: #fff;
    top: 80%;
    left: 20%;
    animation-name: coin-float-3;
}

@keyframes coin-float-1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, -50px) rotate(90deg); }
    50% { transform: translate(50px, 100px) rotate(180deg); }
    75% { transform: translate(-50px, 50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes coin-float-2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-80px, 60px) rotate(-90deg); }
    50% { transform: translate(60px, -80px) rotate(-180deg); }
    75% { transform: translate(-60px, -40px) rotate(-270deg); }
    100% { transform: translate(0, 0) rotate(-360deg); }
}

@keyframes coin-float-3 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(120px, -30px) scale(1.2); }
    66% { transform: translate(-80px, 70px) scale(0.8); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ===== EXCHANGE SECTION ===== */
.exchange-section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 18px;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

.calculator-container {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--glass-border);
    background: var(--gradient-dark);
}

.calculator-tabs {
    display: flex;
    gap: 4px;
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 4px;
}

.tab {
    padding: 8px 20px;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.tab:hover {
    color: var(--white);
    background: var(--gray);
}

.tab.active {
    background: var(--gradient-primary);
    color: var(--pure-white);
}

.calculator-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--pure-white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    animation: badge-blink 2s infinite;
}

@keyframes badge-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.exchange-wrapper {
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}

.exchange-card {
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: var(--transition);
}

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

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

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.balance, .fee {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.balance span, .fee span {
    font-size: 12px;
    color: var(--light-gray);
}

.balance-amount, .fee-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.amount-input-wrapper {
    margin-bottom: 24px;
}

.input-group {
    position: relative;
    margin-bottom: 16px;
}

.amount-input {
    width: 100%;
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    font-family: 'Space Grotesk', monospace;
    font-size: 32px;
    font-weight: 500;
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.amount-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-label {
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 12px;
    color: var(--light-gray);
    pointer-events: none;
    transition: var(--transition);
}

.amount-input:focus + .input-label {
    color: var(--primary);
}

.currency-selector {
    position: relative;
}

.selected-currency {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.selected-currency:hover {
    border-color: var(--primary);
    background: var(--gray);
}

.selected-currency img {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
}

.selected-currency span {
    font-weight: 500;
    color: var(--white);
}

.selected-currency i {
    margin-left: auto;
    color: var(--light-gray);
    transition: var(--transition);
}

.currency-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 12px;
}

.currency-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

.currency-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-search {
    padding: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.dropdown-search i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-gray);
}

.dropdown-search input {
    width: 100%;
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px 16px 8px 40px;
    color: var(--white);
    outline: none;
    font-size: 14px;
}

.dropdown-search input:focus {
    border-color: var(--primary);
}

.currency-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.currency-option:hover {
    background: var(--dark-gray);
}

.currency-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.currency-name {
    font-weight: 500;
    color: var(--white);
}

.currency-full {
    font-size: 12px;
    color: var(--light-gray);
}

.amount-slider {
    margin: 32px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--light-gray);
}

.slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--gray);
    border-radius: var(--radius-full);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.3);
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.quick-amount {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.quick-amount:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Exchange Center */
.exchange-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.swap-button {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.swap-button:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
}

.swap-icon {
    color: var(--pure-white);
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.swap-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    animation: ripple 2s infinite;
    opacity: 0;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.exchange-info {
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 16px;
    width: 100%;
}

.rate-display, .fee-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rate-display:last-child, .fee-display:last-child {
    margin-bottom: 0;
}

.rate-label, .fee-label {
    font-size: 14px;
    color: var(--light-gray);
}

.rate-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rate-value span {
    font-weight: 500;
    color: var(--white);
}

.rate-change {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--success);
    color: var(--pure-white);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.rate-change i {
    font-size: 10px;
}

.fee-value {
    font-weight: 600;
    color: var(--white);
}

.exchange-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--light-gray);
}

.exchange-timer i {
    color: var(--warning);
    animation: timer-pulse 1s infinite;
}

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

.exchange-details {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--dark-gray);
    border-radius: var(--radius-lg);
}

.detail-item i {
    color: var(--primary);
    font-size: 18px;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-content span {
    font-size: 12px;
    color: var(--light-gray);
}

.detail-content strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.exchange-action-btn {
    width: 100%;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exchange-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
}

.btn-content span {
    font-size: 18px;
    font-weight: 600;
    color: var(--pure-white);
}

.btn-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--pure-white);
}

.btn-arrow {
    padding: 24px 32px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow i {
    color: var(--pure-white);
    font-size: 20px;
    transition: var(--transition);
}

.exchange-action-btn:hover .btn-arrow i {
    transform: translateX(4px);
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 120px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-2xl);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    margin-bottom: 24px;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 24px;
    transition: var(--transition);
}

.benefit-card:hover .icon-wrapper {
    transform: rotateY(180deg);
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.benefit-card p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* ===== KYC MODAL ===== */
.kyc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.kyc-modal.active {
    display: flex;
    opacity: 1;
    animation: modal-fade-in 0.3s;
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.kyc-modal-content {
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    animation: modal-slide-up 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-slide-up {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.kyc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    border-bottom: 1px solid var(--glass-border);
    background: var(--gradient-dark);
}

.kyc-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kyc-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 20px;
}

.kyc-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.close-kyc {
    width: 40px;
    height: 40px;
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.close-kyc:hover {
    background: var(--error);
    border-color: var(--error);
    color: var(--pure-white);
    transform: rotate(90deg);
}

.kyc-progress {
    padding: 32px;
    border-bottom: 1px solid var(--glass-border);
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--dark-gray);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--light-gray);
    margin-bottom: 12px;
    transition: var(--transition);
    position: relative;
}

.step.active .step-circle {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--pure-white);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1);
}

.step.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: var(--pure-white);
}

.step-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition);
}

.step.completed .step-check {
    transform: translate(-50%, -50%) scale(1);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--glass-border);
    margin: 0 8px;
    transition: var(--transition);
}

.step.active ~ .step-line {
    background: var(--glass-border);
}

.step.completed ~ .step-line {
    background: var(--success);
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--light-gray);
    transition: var(--transition);
}

.step.active .step-label {
    color: var(--white);
}

.step.completed .step-label {
    color: var(--success);
}

.kyc-step {
    padding: 32px;
    display: none;
}

.kyc-step.active {
    display: block;
    animation: step-fade-in 0.5s;
}

@keyframes step-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.kyc-step h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.exchange-summary {
    margin-bottom: 32px;
}

.summary-card {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.summary-item:not(:last-child) {
    border-bottom: 1px solid var(--glass-border);
}

.summary-item span {
    color: var(--light-gray);
    font-size: 14px;
}

.summary-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.summary-value strong {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.summary-value span {
    font-size: 14px;
    color: var(--light-gray);
}

.summary-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 16px 0;
}

.user-data-form {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--white);
}

.form-group label i {
    color: var(--primary);
}

.form-group input {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.kyc-next-btn {
    width: 100%;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    padding: 20px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pure-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.kyc-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.kyc-next-btn i {
    transition: var(--transition);
}

.kyc-next-btn:hover i {
    transform: translateX(4px);
}

.kyc-info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 16px;
    margin-bottom: 32px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.kyc-info i {
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.kyc-info p {
    color: var(--white);
    line-height: 1.6;
}

.passport-upload {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.upload-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upload-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.upload-required {
    font-size: 12px;
    color: var(--error);
    font-weight: 500;
}

.upload-area {
    background: var(--dark-gray);
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    min-height: 240px;
    overflow: hidden;
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.upload-area.dragover {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

.upload-icon {
    width: 64px;
    height: 64px;
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.upload-text p {
    font-weight: 500;
    color: var(--white);
    margin-bottom: 4px;
}

.upload-text span {
    font-size: 14px;
    color: var(--light-gray);
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    top: 0;
    left: 0;
    z-index: 2;
}

.preview-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: none;
    z-index: 3;
}

.preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-container.active {
    display: block;
    animation: preview-fade-in 0.3s;
}

@keyframes preview-fade-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--pure-white);
    z-index: 4;
}

.preview-container.active + .upload-overlay {
    display: flex;
    animation: overlay-fade-in 0.3s;
}

@keyframes overlay-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.upload-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--light-gray);
}

.upload-hint i {
    color: var(--warning);
    flex-shrink: 0;
    margin-top: 2px;
}

.captcha-container {
    margin-bottom: 32px;
}

.captcha-header {
    margin-bottom: 16px;
}

.captcha-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.captcha-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
}

.captcha-box {
    flex: 1;
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.captcha-code {
    font-family: 'Space Grotesk', monospace;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
}

.captcha-refresh {
    background: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--pure-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.captcha-refresh:hover {
    background: var(--primary-dark);
    transform: rotate(180deg);
}

.captcha-input-group {
    flex: 1;
    display: flex;
    gap: 8px;
}

#captchaInput {
    flex: 1;
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    color: var(--white);
    font-family: 'Space Grotesk', monospace;
    font-size: 18px;
    letter-spacing: 2px;
}

#captchaInput:focus {
    outline: none;
    border-color: var(--primary);
}

.captcha-verify {
    background: var(--success);
    border: none;
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    color: var(--pure-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.captcha-verify:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

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

.kyc-back-btn {
    flex: 1;
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px 32px;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
}

.kyc-back-btn:hover {
    background: var(--gray);
    border-color: var(--primary);
}

.kyc-back-btn i {
    transition: var(--transition);
}

.kyc-back-btn:hover i {
    transform: translateX(-4px);
}

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

.processing-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--warning);
    font-weight: 500;
}

.processing-animation {
    position: relative;
    text-align: center;
    margin: 40px 0;
    padding: 40px 0;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.processing-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    border: 8px solid transparent;
    border-top: 8px solid var(--primary);
    border-right: 8px solid var(--primary);
    animation: circle-rotate 2s linear infinite;
}

@keyframes circle-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--dark-gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 32px;
}

.processing-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
    animation: text-pulse 2s infinite;
}

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

.processing-steps {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.processing-step {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.processing-step.completed {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
}

.processing-step.processing {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.step-status {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.status-icon {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.status-loader {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    border-top: 2px solid var(--primary);
    animation: loader-rotate 1s linear infinite;
    opacity: 0;
}

.processing-step.processing .status-loader {
    opacity: 1;
}

@keyframes loader-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--white);
}

.step-content p {
    font-size: 14px;
    color: var(--light-gray);
}

.step-result {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.result-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
}

.processing-step.completed .result-icon {
    color: var(--success);
}

.processing-step.error .result-icon {
    color: var(--error);
}

.processing-note {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.processing-note i {
    color: var(--warning);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.processing-note p {
    color: var(--white);
    font-size: 14px;
    line-height: 1.5;
}

.success-animation {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}

.icon-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 32px;
    z-index: 2;
}

.icon-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-full);
    border: 2px solid var(--success);
    animation: ring-expand 2s ease-out infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.ring-2 {
    width: 130%;
    height: 130%;
    animation-delay: 0.2s;
}

.ring-3 {
    width: 160%;
    height: 160%;
    animation-delay: 0.4s;
}

@keyframes ring-expand {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

.success-animation h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.success-message {
    max-width: 400px;
    margin: 0 auto 32px;
}

.success-message p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 8px;
}

.success-message p:last-child {
    margin-bottom: 0;
}

.order-id {
    font-weight: 600;
    color: var(--primary);
}

.success-details {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.detail-card {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-content span {
    font-size: 14px;
    color: var(--light-gray);
}

.detail-content strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.contact-info {
    margin-bottom: 32px;
}

.contact-item {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 20px;
}

.contact-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--white);
}

.contact-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-content a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.final-actions {
    display: flex;
    gap: 16px;
}

.new-exchange-btn, .copy-order-btn {
    flex: 1;
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    border: none;
}

.new-exchange-btn {
    background: var(--gradient-primary);
    color: var(--pure-white);
}

.new-exchange-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.copy-order-btn {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    color: var(--white);
}

.copy-order-btn:hover {
    background: var(--gray);
    border-color: var(--primary);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 120px 0;
}

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

.faq-item {
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    flex: 1;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: var(--pure-white);
}

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

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo .logo-icon {
    width: 48px;
    height: 48px;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo .logo-text span:first-child {
    font-size: 28px;
}

.logo-tagline {
    font-size: 14px;
    color: var(--light-gray);
    font-weight: 400;
}

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

.link-group h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    color: var(--light-gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-copyright {
    color: var(--light-gray);
    font-size: 14px;
}

.footer-copyright p {
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.7;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--dark-gray);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}

/* ===== NOTIFICATIONS ===== */
.notification-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
}

.notification {
    background: var(--dark);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-2xl);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transform: translateX(100%);
    opacity: 0;
    animation: notification-slide-in 0.3s forwards, notification-fade-out 0.3s forwards 2.7s;
}

@keyframes notification-slide-in {
    to { transform: translateX(0); opacity: 1; }
}

@keyframes notification-fade-out {
    to { opacity: 0; transform: translateX(100%); }
}

.notification.success {
    border-left-color: var(--success);
}

.notification.error {
    border-left-color: var(--error);
}

.notification.warning {
    border-left-color: var(--warning);
}

.notification.info {
    border-left-color: var(--info);
}

.notification-icon {
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.notification.success .notification-icon {
    color: var(--success);
}

.notification.error .notification-icon {
    color: var(--error);
}

.notification.warning .notification-icon {
    color: var(--warning);
}

.notification.info .notification-icon {
    color: var(--info);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--white);
}

.notification-message {
    font-size: 14px;
    color: var(--light-gray);
    line-height: 1.5;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-visual {
        min-height: 400px;
    }
    
    .exchange-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .exchange-center {
        order: -1;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .passport-upload {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
        height: 64px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto 40px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .calculator-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .calculator-tabs {
        justify-content: center;
    }
    
    .calculator-badge {
        align-self: center;
    }
    
    .captcha-wrapper {
        flex-direction: column;
    }
    
    .captcha-input-group {
        width: 100%;
    }
    
    .kyc-buttons, .final-actions {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-badge {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .exchange-wrapper {
        padding: 16px;
    }
    
    .exchange-card {
        padding: 20px;
    }
    
    .amount-input {
        font-size: 24px;
        padding: 16px;
    }
    
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kyc-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .kyc-header, .kyc-step {
        padding: 24px;
    }
}