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

:root {
    --orange: #FF6B00;
    --orange-light: #FF8C3A;
    --orange-dark: #E04500;
    --orange-glow: rgba(255, 107, 0, 0.35);
    --orange-subtle: rgba(255, 107, 0, 0.08);
    --bg-dark: #080810;
    --bg-card: rgba(255,255,255,0.05);
    --bg-card2: rgba(255,255,255,0.07);
    --bg-card-solid: #0f0f18;
    --glass: rgba(255,255,255,0.06);
    --glass-strong: rgba(255,255,255,0.09);
    --glass-border: rgba(255,255,255,0.12);
    --glass-hover: rgba(255,255,255,0.09);
    --border: rgba(255,255,255,0.09);
    --border-orange: rgba(255,107,0,0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B8;
    --text-muted: #60607A;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-orange: 0 0 60px rgba(255,107,0,0.2);
    --shadow-glass: 0 8px 32px rgba(0,0,0,0.5);
    --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #080810;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated gradient background - Venom effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #080810;
}

/* Animated background - Black & Orange */
.orbs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: #080810;
}

.orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0.05) 40%, transparent 70%);
    top: -20%;
    left: -15%;
    animation: orbMove1 12s ease-in-out infinite;
}

.orb-2 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.12) 0%, rgba(255, 69, 0, 0.04) 40%, transparent 70%);
    bottom: -25%;
    right: -20%;
    animation: orbMove2 15s ease-in-out infinite;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.03) 40%, transparent 70%);
    top: 30%;
    left: 25%;
    animation: orbMove3 18s ease-in-out infinite;
}

.orb-4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 180, 50, 0.08) 0%, rgba(255, 180, 50, 0.02) 40%, transparent 70%);
    top: 5%;
    right: 5%;
    animation: orbMove4 14s ease-in-out infinite;
}

.orb-5 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0.02) 40%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation: orbMove5 20s ease-in-out infinite;
}

@keyframes orbMove1 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
    25% { transform: translate3d(100px, 60px, 0) scale(1.1); opacity: 1; }
    50% { transform: translate3d(50px, 120px, 0) scale(0.95); opacity: 0.7; }
    75% { transform: translate3d(-30px, 80px, 0) scale(1.05); opacity: 0.9; }
}

@keyframes orbMove2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
    25% { transform: translate3d(-80px, -100px, 0) scale(1.15); opacity: 0.9; }
    50% { transform: translate3d(-150px, -50px, 0) scale(0.9); opacity: 0.6; }
    75% { transform: translate3d(-50px, -80px, 0) scale(1.1); opacity: 0.85; }
}

@keyframes orbMove3 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate3d(-100px, 80px, 0) scale(1.2); opacity: 0.9; }
    66% { transform: translate3d(80px, -60px, 0) scale(0.85); opacity: 0.7; }
}

@keyframes orbMove4 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate3d(120px, 100px, 0) scale(1.3); opacity: 0.8; }
}

@keyframes orbMove5 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate3d(-80px, -120px, 0) scale(1.1); opacity: 0.7; }
    66% { transform: translate3d(60px, -60px, 0) scale(0.9); opacity: 0.6; }
}

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* iOS-style noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; border: none; outline: none; }
input, select, textarea { outline: none; font-family: inherit; }

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
.text-orange { color: var(--orange); }
.hero-title .text-orange {
    background: linear-gradient(135deg, #FFB042 0%, #FF6B00 50%, #FF4500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(255,107,0,0.35));
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(145deg, #FF7A1A, #E04500);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255,107,0,0.45),
                inset 0 1px 0 rgba(255,255,255,0.25),
                inset 0 -1px 0 rgba(0,0,0,0.15);
}
.btn-primary:hover {
    background: linear-gradient(145deg, #FF8C30, #FF5500);
    box-shadow: 0 8px 32px rgba(255,107,0,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
    background: rgba(255,107,0,0.08);
    backdrop-filter: blur(12px);
    color: var(--orange);
    border: 1px solid rgba(255,107,0,0.35);
}
.btn-outline:hover {
    background: rgba(255,107,0,0.14);
    border-color: rgba(255,107,0,0.55);
}

.btn-large { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-sm); }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8,8,16,0.65);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-bottom: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
    box-shadow: 0 4px 15px var(--orange-glow);
}
.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
}
.logo-dot { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
    padding: 8px 13px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--orange); }

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 4px;
    margin-left: auto;
}
.burger span {
    display: block; width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(8,8,16,0.75);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
    z-index: 99;
    padding: 8px 0;
    flex-direction: column;
}
.mobile-nav.active { display: flex; }
.mobile-nav-link {
    padding: 14px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--orange); background: rgba(255,107,0,0.06); }

/* Mobile auth buttons — always defined (shown only when menu open) */
.mobile-nav-auth {
    display: flex;
    gap: 10px;
    padding: 16px 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 4px;
    background: rgba(255,255,255,0.02);
}
.mobile-nav-auth a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 14px 10px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: 0.2px;
}
.mobile-nav-auth a i { font-size: 14px; }
.mobile-nav-auth a:active { opacity: 0.8; transform: scale(0.97); }
.mobile-nav-auth .mob-login {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.9);
    border: 1.5px solid rgba(255,255,255,0.18);
}
.mobile-nav-auth .mob-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.32);
    color: #fff;
}
.mobile-nav-auth .mob-register {
    background: linear-gradient(135deg, #FF6B00, #D95500);
    color: #fff;
    border: 1px solid rgba(255,107,0,0.35);
    box-shadow: 0 3px 16px rgba(255,107,0,0.4);
}
.mobile-nav-auth .mob-register:hover {
    box-shadow: 0 5px 20px rgba(255,107,0,0.6);
    background: linear-gradient(135deg, #FF8030, #FF6B00);
}
.mobile-nav-auth .mob-dashboard {
    background: linear-gradient(135deg, #FF6B00, #D95500);
    color: #fff;
    border: 1px solid rgba(255,107,0,0.35);
    box-shadow: 0 3px 16px rgba(255,107,0,0.4);
}
.mobile-nav-auth .mob-dashboard:hover {
    box-shadow: 0 5px 20px rgba(255,107,0,0.6);
    background: linear-gradient(135deg, #FF8030, #FF6B00);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: blobFloat 12s ease-in-out infinite;
}
.hero-glow-1 {
    width: 650px; height: 650px;
    background: rgba(255,107,0,0.42);
    top: -250px; right: -200px;
    animation-duration: 10s;
}
.hero-glow-2 {
    width: 450px; height: 450px;
    background: rgba(255, 69, 0, 0.25);
    bottom: -150px; left: -120px;
    animation-duration: 14s;
    animation-delay: -5s;
}
.hero-glow-3 {
    width: 380px; height: 380px;
    background: rgba(255,180,50,0.18);
    top: 40%; left: 45%;
    transform: translate(-50%,-50%);
    animation-duration: 18s;
    animation-delay: -9s;
}
@keyframes blobFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    33%     { transform: translate(30px,-30px) scale(1.06); }
    66%     { transform: translate(-20px,20px) scale(0.96); }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,0,0.10);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,140,60,0.28);
    color: var(--orange-light);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(255,107,0,0.12), inset 0 1px 0 rgba(255,255,255,0.12);
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Glass panel for hero text - Black & Orange */
.hero-text-box {
    position: relative;
    background: rgba(8, 8, 16, 0.7);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 24px;
    padding: 32px 40px;
    margin-bottom: 32px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.hero-text-box::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(ellipse at 30% 30%, rgba(255, 107, 0, 0.1) 0%, transparent 50%);
    animation: glassGlow 10s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes glassGlow {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate(15%, 10%);
        opacity: 1;
    }
}

/* Text appearance animations */
.animate-text, .animate-desc {
    overflow: hidden;
}

.title-line, .desc-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: textReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #cdcdcd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-line.text-orange {
    background: linear-gradient(135deg, #FFB042 0%, #FF6B00 50%, #FF4500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(255,107,0,0.35));
}

.desc-line {
    color: var(--text-secondary);
    animation: fadeSlideUp 0.6s ease-out forwards;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) skewY(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewY(0);
    }
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2.2px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #cdcdcd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-title .accent-orange {
    background: linear-gradient(135deg, #FFB042 0%, #FF6B00 50%, #FF4500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(255,107,0,0.35));
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 20px 28px;
    width: fit-content;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1.5px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.08);
}
.stat-item { text-align: center; padding: 0 24px; }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== EXCHANGE CARD ===== */
.exchange-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(50px) saturate(200%) brightness(1.05);
    -webkit-backdrop-filter: blur(50px) saturate(200%) brightness(1.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 0 0 0.5px rgba(255,255,255,0.08),
        0 0 60px rgba(255,107,0,0.18),
        0 40px 80px rgba(0,0,0,0.5),
        inset 0 1.5px 0 rgba(255,255,255,0.18),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    position: relative;
}

.exchange-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
}

.exchange-card-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,107,0,0.04);
}
.exchange-card-header h2 { font-size: 18px; font-weight: 700; }
.exchange-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--orange);
    background: var(--orange-subtle);
    border: 1px solid var(--border-orange);
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.exchange-body { padding: 24px 28px; }

.form-group { margin-bottom: 18px; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.label-hint { color: var(--text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

.form-input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    -webkit-appearance: none;
}
.form-input:focus {
    border-color: rgba(255,107,0,0.6);
    background: rgba(255,107,0,0.07);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.14), inset 0 1px 0 rgba(255,255,255,0.08);
}
.form-input::placeholder { color: rgba(255,255,255,0.25); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.direction-select {
    display: flex;
    align-items: center;
    gap: 10px;
}
.direction-from, .direction-to { flex: 1; }

.select-currency {
    width: 100%;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FF6B00' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 36px;
}
.select-currency:focus { border-color: rgba(255,107,0,0.6); box-shadow: 0 0 0 3px rgba(255,107,0,0.14); }
.select-currency option { background: #0f0f18; }

.swap-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--orange-subtle);
    border: 1.5px solid var(--border-orange);
    color: var(--orange);
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.swap-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,107,0,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.swap-btn:hover::before {
    transform: translateX(100%);
}
.swap-btn:hover {
    background: var(--orange);
    color: #fff;
    transform: rotate(180deg);
}
.swap-btn:active {
    transform: rotate(180deg) scale(0.9);
}

/* Exchange animation effect */
.exchange-card {
    position: relative;
    overflow: hidden;
}

.exchange-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,0.05), transparent);
    animation: exchangeShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes exchangeShimmer {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 150%;
    }
}

/* Pulse animation for exchange form */
.exchange-card.pulse-exchange {
    animation: exchangePulse 0.6s ease-out;
}

@keyframes exchangePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 107, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.input-with-currency {
    position: relative;
}
.input-with-currency .form-input { padding-right: 64px; }
.input-currency {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    font-size: 13px; font-weight: 700;
    color: var(--orange);
    pointer-events: none;
}

.rate-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--orange-subtle);
    border: 1px solid var(--border-orange);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--text-secondary);
}
.rate-info i { color: var(--orange); }
.commission-badge {
    display: none;
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    background: rgba(255,107,0,0.15);
    padding: 2px 8px;
    border-radius: 50px;
}

.form-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    background: rgba(255,107,0,0.10);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255,140,60,0.28);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 16px rgba(255,107,0,0.10), inset 0 1px 0 rgba(255,255,255,0.10);
}
.section-title {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1.2px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #bfbfbf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-desc { color: var(--text-secondary); font-size: 16px; }

/* ===== DIRECTIONS ===== */
.directions-section { padding: 100px 0; }

.directions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.direction-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1.5px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.08);
}
.direction-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,0,0.06), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}
.direction-card:hover {
    border-color: rgba(255,107,0,0.45);
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 30px rgba(255,107,0,0.15), inset 0 1.5px 0 rgba(255,255,255,0.14);
}
.direction-card:hover::before { opacity: 1; }

.direction-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.currency-icons { display: flex; align-items: center; gap: -4px; }
.currency-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    border: 2px solid var(--bg-card);
    flex-shrink: 0;
}
.currency-icon:nth-child(2) { margin-left: -10px; }
.ci-usdt { background: linear-gradient(135deg, #26A17B, #1a7a5c); color: #fff; }
.ci-btc  { background: linear-gradient(135deg, #F7931A, #e07a0a); color: #fff; }
.ci-eth  { background: linear-gradient(135deg, #627EEA, #4a64d8); color: #fff; }
.ci-ltc  { background: linear-gradient(135deg, #345D9D, #2a4a7f); color: #fff; }
.ci-rub  { background: linear-gradient(135deg, #FF6B00, #e05a00); color: #fff; }
.ci-uah  { background: linear-gradient(135deg, #005BBB, #003d82); color: #FFD700; }
.ci-kzt  { background: linear-gradient(135deg, #00AFCA, #0090a8); color: #fff; }
.ci-idr  { background: linear-gradient(135deg, #CE1126, #a00d1e); color: #fff; }
.ci-eur  { background: linear-gradient(135deg, #003399, #002277); color: #FFD700; }
.ci-usd  { background: linear-gradient(135deg, #2ECC71, #27ae60); color: #fff; }
.ci-default { background: linear-gradient(135deg, #555, #333); color: #fff; }
.ci-default { background: linear-gradient(135deg, #666, #444); color: #fff; }

.direction-name { font-size: 16px; font-weight: 700; }
.direction-pair { font-size: 12px; color: var(--text-muted); }

.direction-rate {
    font-size: 22px;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 4px;
}
.direction-rate-sub { font-size: 12px; color: var(--text-muted); }
.direction-limits {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}


/* ===== HOW IT WORKS ===== */
.how-section { padding: 100px 0; background: rgba(255,107,0,0.03); }

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

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
    opacity: 0.3;
}

.step-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1.5px 0 rgba(255,255,255,0.1);
}
.step-card:hover {
    border-color: rgba(255,107,0,0.45);
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 25px rgba(255,107,0,0.12);
}

.step-number {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 800;
    color: var(--orange);
    background: rgba(8,8,16,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,107,0,0.4);
    padding: 2px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
}

.step-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    margin: 16px auto 20px;
    box-shadow: 0 8px 24px var(--orange-glow);
}

.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== FEATURES ===== */
.features-section { padding: 100px 0; }

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

.feature-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1.5px 0 rgba(255,255,255,0.1);
}
.feature-card:hover {
    border-color: rgba(255,107,0,0.45);
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 25px rgba(255,107,0,0.12);
}

.feature-icon {
    width: 52px; height: 52px;
    background: var(--orange-subtle);
    border: 1.5px solid var(--border-orange);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: var(--orange);
    margin-bottom: 20px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-section { padding: 100px 0; background: rgba(255,107,0,0.02); }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2), inset 0 1.5px 0 rgba(255,255,255,0.1);
}
.faq-item.open { border-color: rgba(255,107,0,0.45); background: rgba(255,107,0,0.05); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    gap: 16px;
    transition: var(--transition);
}
.faq-question:hover { color: var(--orange); }
.faq-question i { color: var(--orange); flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding: 0 24px 20px;
}
.faq-answer.open { display: block; }
.faq-answer p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ===== FOOTER ===== */
.footer {
    background: rgba(8,8,16,0.8);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 60px 0 30px;
    box-shadow: 0 -1px 0 rgba(255,255,255,0.04);
}

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

.footer-brand p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin: 16px 0 24px; }

.social-links { display: flex; gap: 10px; }
.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition);
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.footer-links h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-links a { display: block; color: var(--text-secondary); font-size: 14px; padding: 5px 0; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(60px) saturate(220%) brightness(1.1);
    -webkit-backdrop-filter: blur(60px) saturate(220%) brightness(1.1);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 28px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 0 0 0.5px rgba(255,255,255,0.08),
        0 40px 80px rgba(0,0,0,0.5),
        0 0 60px rgba(255,107,0,0.12),
        inset 0 1.5px 0 rgba(255,255,255,0.18);
    animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}
.modal-icon.success {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    box-shadow: 0 12px 30px var(--orange-glow);
}

.modal h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.modal p { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; }

.order-id-box {
    background: var(--bg-card2);
    border: 1.5px solid var(--border-orange);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.order-id-box span { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.order-id-box strong { flex: 1; font-size: 18px; font-weight: 800; color: var(--orange); font-family: monospace; }

.copy-btn {
    background: var(--orange-subtle);
    border: 1px solid var(--border-orange);
    color: var(--orange);
    width: 32px; height: 32px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.copy-btn:hover { background: var(--orange); color: #fff; }

.modal-steps { text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.modal-step { display: flex; align-items: flex-start; gap: 12px; }
.modal-step-num {
    width: 24px; height: 24px; flex-shrink: 0;
    background: var(--orange);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; color: #fff;
}
.modal-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.modal-step strong { color: var(--text-primary); }

.modal-actions { display: flex; gap: 12px; justify-content: center; }

/* ===== PARTICLES ===== */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}
@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1.5); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .exchange-card { max-width: 600px; margin: 0 auto; }
    .hero-title { font-size: 42px; }
    .hero-text-box { padding: 24px 28px; }
    .directions-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    /* Header */
    .nav, .header-actions { display: none; }
    .burger { display: flex; }
    .header-inner { gap: 12px; }

    /* Mobile nav — полноэкранное меню */
    .mobile-nav {
        top: 70px;
        padding: 8px 0 20px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .mobile-nav-link {
        padding: 15px 20px;
        font-size: 16px;
    }
    /* Auth-кнопки в мобильном меню */
    /* Hero */
    .hero { padding: 36px 0; min-height: auto; }
    .hero-title { font-size: 28px; line-height: 1.2; }
    .hero-text-box { padding: 20px 18px; border-radius: 16px; }
    .hero-desc { font-size: 14px; }
    .hero-subtitle { font-size: 15px; }
    .hero-stats { flex-wrap: wrap; width: 100%; justify-content: center; gap: 12px; }
    .hero-stat { min-width: 100px; }

    /* Exchange card */
    .exchange-card { padding: 20px 16px; }
    .currency-selector { padding: 12px 14px; }
    .currency-select-btn { font-size: 16px; }

    /* Grids */
    .directions-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    /* Misc */
    .section-title { font-size: 26px; }
    .form-row { grid-template-columns: 1fr; }
    .modal { padding: 24px 16px; margin: 0 12px; border-radius: 20px; }
    .modal-title { font-size: 20px; }

    /* Logo text — trim on small screens */
    .logo-text { font-size: 15px; letter-spacing: 0; }
}</parameter>

@media (max-width: 420px) {
    .hero-title { font-size: 24px; }
    .section-title { font-size: 22px; }
    .exchange-card { padding: 16px 12px; }
    .logo-text { font-size: 13px; }
}
/* ===== REFERRAL BANNER ===== */
.ref-banner {
    display: none;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255,107,0,0.15), rgba(255,107,0,0.05));
    border: 1px solid rgba(255,107,0,0.3);
    border-radius: 12px;
    padding: 12px 20px;
    margin: 0 0 20px 0;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
}
.ref-banner i { color: var(--orange); font-size: 18px; }
.ref-banner strong { color: var(--orange); }
.ref-banner-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    line-height: 1;
}
.ref-banner-close:hover { color: var(--text-primary); }

/* ===== REFERRAL PAGE ===== */
.ref-hero {
    text-align: center;
    padding: 80px 20px 60px;
}
.ref-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 16px; }
.ref-hero p  { font-size: 18px; color: var(--text-secondary); max-width: 540px; margin: 0 auto 40px; }
.ref-link-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    max-width: 560px;
    margin: 0 auto 40px;
    text-align: left;
}
.ref-link-box label { font-size: 13px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.ref-link-input-row {
    display: flex;
    gap: 8px;
}
.ref-link-input-row input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 14px;
    outline: none;
}
.ref-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
}
.ref-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.ref-stat-value { font-size: 28px; font-weight: 800; color: var(--orange); }
.ref-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== CURRENCY SELECT STYLING ===== */
.exchange-select select {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.exchange-select select:focus {
    border-color: var(--orange);
}
.exchange-select select option {
    background: #1a1a2e;
    color: #fff;
}

/* ===== MODERN ENHANCEMENTS ===== */

/* Floating animation for cards */
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Glow pulse effect */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 0, 0.2); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 0, 0.4); }
}

/* Gradient shift animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Modern feature cards with hover lift */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    left: 100%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.4);
}

.feature-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Modern step cards with number animation */
.step-card {
    position: relative;
    overflow: hidden;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.step-card:hover::after {
    left: 100%;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 0, 0.5);
}

.step-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-number {
    transition: transform 0.3s ease, background 0.3s ease;
}

.step-card:hover .step-number {
    transform: translateX(-50%) scale(1.1);
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

/* Modern direction cards */
.direction-card {
    position: relative;
    overflow: hidden;
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--orange), var(--orange-dark));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.direction-card:hover::before {
    transform: scaleY(1);
}

/* Modern hero badge with shimmer */
.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmerBadge 3s ease-in-out infinite;
}

@keyframes shimmerBadge {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Modern exchange card with enhanced glow */
.exchange-card {
    animation: exchangeGlow 4s ease-in-out infinite;
}

@keyframes exchangeGlow {
    0%, 100% { 
        box-shadow:
            0 0 0 0.5px rgba(255,255,255,0.08),
            0 0 60px rgba(255,107,0,0.18),
            0 40px 80px rgba(0,0,0,0.5),
            inset 0 1.5px 0 rgba(255,255,255,0.18);
    }
    50% { 
        box-shadow:
            0 0 0 0.5px rgba(255,255,255,0.12),
            0 0 80px rgba(255,107,0,0.25),
            0 50px 100px rgba(0,0,0,0.6),
            inset 0 1.5px 0 rgba(255,255,255,0.22);
    }
}

/* Modern buttons with ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

/* Modern section fade-in animation */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Staggered animations for grids */
.steps-grid .step-card:nth-child(1) { animation-delay: 0.1s; }
.steps-grid .step-card:nth-child(2) { animation-delay: 0.2s; }
.steps-grid .step-card:nth-child(3) { animation-delay: 0.3s; }
.steps-grid .step-card:nth-child(4) { animation-delay: 0.4s; }

.features-grid .feature-card:nth-child(1) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.15s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 0.25s; }

.directions-grid .direction-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.directions-grid .direction-card:nth-child(1) { animation-delay: 0.1s; }
.directions-grid .direction-card:nth-child(2) { animation-delay: 0.15s; }
.directions-grid .direction-card:nth-child(3) { animation-delay: 0.2s; }
.directions-grid .direction-card:nth-child(4) { animation-delay: 0.25s; }
.directions-grid .direction-card:nth-child(5) { animation-delay: 0.3s; }
.directions-grid .direction-card:nth-child(6) { animation-delay: 0.35s; }

/* Modern FAQ accordion effect */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
}

/* Modern footer with gradient line */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0.5;
}

/* Modern scroll indicator */
@keyframes scrollIndicator {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.5; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Enhanced stat items */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-item:hover .stat-value {
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.6);
}

.stat-value {
    transition: text-shadow 0.3s ease;
}

/* Modern logo hover effect */
.logo-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5);
}

/* Modern nav link underline effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Smooth page load animation */
.hero-inner > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-inner > *:nth-child(1) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.4s; }

/* Modern input focus glow */
.form-input:focus,
.select-currency:focus {
    box-shadow: 
        0 0 0 3px rgba(255, 107, 0, 0.15),
        0 0 20px rgba(255, 107, 0, 0.1);
}

/* Modern modal backdrop blur */
.modal-overlay {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* Card reveal animation on scroll */
.card-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Modern glass button */
.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Decorative corner accents */
.hero-text-box::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-top: 2px solid rgba(255, 107, 0, 0.3);
    border-right: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: 0 12px 0 0;
    pointer-events: none;
}

/* ===== BURGER ACTIVE STATE ===== */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== PREMIUM HERO TEXT DESIGN ===== */
.hero-text-box {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(15, 15, 25, 0.85) 0%, 
        rgba(8, 8, 20, 0.9) 50%,
        rgba(20, 15, 10, 0.85) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 28px;
    padding: 40px 48px;
    margin-bottom: 32px;
    box-shadow: 

/* ===== PREMIUM FUTURISTIC DESIGN ===== */

/* Cyber Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(255,107,0,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,107,0,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -2;
    animation: gridMove 25s linear infinite;
}

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

/* Premium Hero Text Box */
.hero-text-box {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(10, 10, 20, 0.92) 0%,
        rgba(15, 12, 8, 0.95) 50%,
        rgba(8, 8, 18, 0.92) 100%);
    backdrop-filter: blur(50px) saturate(180%);
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    border: none;
    border-radius: 28px;
    padding: 44px 52px;
    margin-bottom: 36px;
    box-shadow: 
        0 0 0 1px rgba(255, 107, 0, 0.12),
        0 35px 80px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(255, 107, 0, 0.04);
    overflow: hidden;
}

/* Animated border glow */
.hero-text-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(255, 107, 0, 0.2) 60deg,
        rgba(255, 180, 50, 0.08) 120deg,
        transparent 180deg,
        rgba(255, 69, 0, 0.15) 240deg,
        transparent 300deg
    );
    animation: rotateBorder 10s linear infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes rotateBorder {
    100% { transform: rotate(360deg); }
}

/* Inner glow line */
.hero-text-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 0, 0.4), 
        rgba(255, 200, 100, 0.7),
        rgba(255, 107, 0, 0.4),
        transparent);
}

/* Premium Title */
.hero-title {
    font-size: 66px;
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -2.5px;
    margin-bottom: 22px;
    position: relative;
}

.hero-title .title-line {
    display: inline-block;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #ffffff 50%, 
        #b0b0b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-title .title-line.text-orange {
    background: linear-gradient(135deg, 
        #FFE259 0%, 
        #FFB347 25%,
        #FF6B00 50%, 
        #FF4500 75%,
        #FF6B00 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255, 107, 0, 0.4));
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Premium Description */
.hero-desc {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Advanced Text Animations */
.title-line {
    opacity: 0;
    transform: translateY(40px) rotateX(-10deg);
    animation: titleRevealPremium 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.15s; }
.title-line:nth-child(2) { animation-delay: 0.45s; }

@keyframes titleRevealPremium {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(-10deg) scale(0.95);
        filter: blur(12px);
    }
    60% {
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0);
    }
}

.desc-line {
    opacity: 0;
    transform: translateY(25px);
    animation: descRevealPremium 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.desc-line:nth-child(1) { animation-delay: 0.85s; }
.desc-line:nth-child(2) { animation-delay: 1.05s; }

@keyframes descRevealPremium {
    0% {
        opacity: 0;
        transform: translateY(25px);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Premium Exchange Card */
.exchange-card {
    position: relative;
    background: linear-gradient(165deg, 
        rgba(12, 12, 22, 0.96) 0%,
        rgba(18, 14, 10, 0.98) 100%);
    backdrop-filter: blur(60px) saturate(160%);
    -webkit-backdrop-filter: blur(60px) saturate(160%);
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 107, 0, 0.06),
        0 40px 80px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(255, 107, 0, 0.02);
}

.exchange-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 0, 0.3) 20%,
        rgba(255, 180, 80, 0.5) 50%,
        rgba(255, 107, 0, 0.3) 80%,
        transparent 100%);
}

/* Premium Direction Cards */
.direction-card {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(15, 15, 25, 0.88) 0%,
        rgba(20, 16, 12, 0.92) 100%);
    border: 1px solid rgba(255, 107, 0, 0.08);
    border-radius: 18px;
    padding: 22px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: pointer;
}

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

.direction-card:hover::before {
    left: 100%;
}

.direction-card:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(255, 107, 0, 0.25);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(255, 107, 0, 0.08);
}

/* Premium Buttons */
.btn-primary, .btn-orange {
    position: relative;
    background: linear-gradient(135deg, #FF6B00 0%, #FF4500 100%);
    border: none;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.btn-primary:hover, .btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 0, 0.35);
}

/* Premium Stats */
.stat-value {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FF6B00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.25));
}

/* Premium Header */
.header {
    background: linear-gradient(180deg, 
        rgba(8, 8, 16, 0.97) 0%,
        rgba(8, 8, 16, 0.88) 100%);
    backdrop-filter: blur(25px) saturate(160%);
    border-bottom: 1px solid rgba(255, 107, 0, 0.06);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-text-box {
        padding: 28px 22px;
        border-radius: 22px;
        margin: 0 14px 28px;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: -1.5px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .stat-value {
        font-size: 28px;
    }
}

@media (max-width: 420px) {
    .hero-text-box {
        padding: 22px 18px;
        border-radius: 18px;
    }
    
    .hero-title {
        font-size: 28px;
        letter-spacing: -1px;
    }
}
