/* ========================================
   NONAME EX — Landing Page Styles
   ======================================== */

:root {
    --bg: #111111;
    --bg-card: #1C1C1C;
    --bg-card-alt: #181818;
    --bg-elevated: #1A1A1A;
    --border: #2A2A2A;
    --accent: #D4AF37;
    --white: #FFFFFF;
    --gray: #A0A0A0;
    --muted: #666666;
    --green: #4CAF50;
    --red: #F44336;

    --font-body: 'Geist Sans', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
    --font-logo: 'Space Grotesk', var(--font-body);

    /* Apple-standard easing curves */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* Animation durations */
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.7s;
    --duration-reveal: 0.9s;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
img { display: block; max-width: 100%; }

/* Inline text links */
.inline-link {
    color: var(--accent);
    text-decoration: none;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.inline-link:hover {
    background-size: 100% 1px;
}

/* ========================================
   Reveal Animations (Apple-style)
   GPU-promoted, opacity + translate3d only
   ======================================== */
/* Reveal — uses @keyframes animation so it never conflicts with hover transitions */
.reveal {
    opacity: 0;
}
.reveal.visible {
    animation: revealFadeIn 1s var(--ease-out-quint) forwards;
}

@keyframes revealFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Stagger — 120ms apart for clear visual rhythm */
.reveal[data-delay="1"].visible { animation-delay: 0.12s; }
.reveal[data-delay="2"].visible { animation-delay: 0.24s; }
.reveal[data-delay="3"].visible { animation-delay: 0.36s; }
.reveal[data-delay="4"].visible { animation-delay: 0.48s; }
.reveal[data-delay="5"].visible { animation-delay: 0.60s; }

/* Reduced motion — instant */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; }
    .reveal.visible { animation: none; opacity: 1; }
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: box-shadow var(--duration-normal) var(--ease-smooth);
}
.header.scrolled {
    box-shadow: 0 1px 0 var(--border);
}
.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    position: relative;
}
.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 28px;
    height: auto;
    object-fit: contain;
}
.logo-text {
    font-family: var(--font-logo);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}
.nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--gray);
    transition: color var(--duration-normal) var(--ease-smooth);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--duration-normal) var(--ease-out-quint);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
.btn-cta-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg);
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1;
    transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-smooth);
}
.btn-cta-header:hover {
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}
.btn-cta-header:active {
    transform: translate3d(0, 0, 0) scale(0.97);
    transition-duration: 0.1s;
}
.btn-cta-header .arrow {
    font-size: 14px;
    display: inline-flex;
    line-height: 1;
    transition: transform var(--duration-normal) var(--ease-out-quint);
}
.btn-cta-header:hover .arrow {
    transform: translate3d(2px, -2px, 0);
}

/* Hamburger */
/* ── Language Picker ── */
.lang-picker {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-picker button,
.lang-picker a {
    background: none;
    border: none;
    color: #666666;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 4px 2px;
    transition: color var(--duration-normal) var(--ease-smooth);
    line-height: 1;
    text-decoration: none;
}
.lang-picker button:hover,
.lang-picker a:hover {
    color: var(--white);
}
.lang-picker button.active,
.lang-picker a.active {
    color: var(--accent);
    cursor: default;
}
.lang-sep {
    color: #666666;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    user-select: none;
    line-height: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 110;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform var(--duration-normal) var(--ease-out-quint), opacity var(--duration-normal) var(--ease-smooth);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: rgba(17, 17, 17, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-smooth), visibility 0s linear 0.5s;
}
.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.5s var(--ease-smooth), visibility 0s linear 0s;
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.mobile-nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gray);
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: color var(--duration-normal) var(--ease-smooth),
                opacity 0.5s var(--ease-out-quint),
                transform 0.5s var(--ease-out-quint);
}
.mobile-nav.active .mobile-nav-link {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.mobile-nav.active .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.active .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav-link:hover { color: var(--white); }
.btn-cta-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg);
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1;
    margin-top: 16px;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.5s var(--ease-out-quint) 0.3s,
                transform 0.5s var(--ease-out-quint) 0.3s;
}
.mobile-nav.active .btn-cta-mobile {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.header-divider {
    display: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    --parallax-y: 0px;
    --parallax-opacity: 1;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    padding-top: 80px; /* account for fixed header */
    display: flex;
    align-items: center;
    gap: 80px;
}
.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transform: translate3d(0, var(--parallax-y), 0);
    opacity: var(--parallax-opacity);
    will-change: transform, opacity;
}

/* ─── Gradient Bars Background ─── */
.gradient-bars {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.gradient-bars .bar {
    flex: 1;
    height: 100%;
    transform-origin: bottom center;
    background: linear-gradient(to top, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06) 50%, transparent 85%);
    outline: 1px solid transparent; /* prevent subpixel gaps */
}

/* Pulse keyframes — uses CSS custom property for per-bar initial scale */
@keyframes barPulse {
    0%   { transform: scaleY(var(--bar-scale)); }
    100% { transform: scaleY(calc(var(--bar-scale) * 0.65)); }
}

@media (prefers-reduced-motion: reduce) {
    .gradient-bars .bar {
        animation: none !important;
    }
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 1;
    transition: opacity 0.6s var(--ease-smooth);
}
.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}
.scroll-text {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--muted);
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}
.scroll-dot {
    width: 1px;
    height: 16px;
    background: var(--accent);
    position: absolute;
    top: -16px;
    left: 0;
    animation: scrollPulse 2s var(--ease-out-quint) infinite;
}
@keyframes scrollPulse {
    0%   { top: -16px; opacity: 0; }
    30%  { opacity: 1; }
    100% { top: 48px; opacity: 0; }
}
.micro-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--accent);
}
.hero-headline {
    font-family: var(--font-mono);
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 200;
    letter-spacing: -1px;
    line-height: 0.95;
    color: var(--white);
}
.hero-subtitle {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg);
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1;
    transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-smooth);
}
.btn-primary:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
}
.btn-primary:active {
    transform: translate3d(0, 0, 0) scale(0.97);
    transition-duration: 0.1s;
}
.btn-primary .arrow {
    font-size: 16px;
    display: inline-flex;
    line-height: 1;
    transition: transform var(--duration-normal) var(--ease-out-quint);
}
.btn-primary:hover .arrow {
    transform: translate3d(2px, -2px, 0);
}
.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1;
    color: var(--accent);
    border: 1px solid var(--accent);
    transition: background var(--duration-normal) var(--ease-smooth), transform var(--duration-normal) var(--ease-spring);
}
.btn-secondary-outline:hover {
    background: rgba(212, 175, 55, 0.06);
    transform: translate3d(0, -2px, 0);
}
.btn-secondary-outline:active {
    transform: translate3d(0, 0, 0) scale(0.97);
    transition-duration: 0.1s;
}

/* Rate Widget */
.rate-widget {
    width: 380px;
    min-width: 340px;
    background: var(--bg-elevated);
    border: none;
    display: flex;
    flex-direction: column;
    transform: translate3d(0, calc(var(--parallax-y) * 0.4), 0);
    opacity: var(--parallax-opacity);
    will-change: transform, opacity;
    transition: box-shadow var(--duration-slow) var(--ease-smooth);
}
.rate-widget:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.rate-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}
.rate-widget-title {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--gray);
}
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.live-dot.red { background: var(--red); }
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}
.rate-widget-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 24px;
}
.rate-widget-body.buy {
    border-left: 3px solid var(--green);
}
.rate-widget-body.sell {
    border-left: 3px solid var(--red);
}
.rate-widget-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rate-widget-divider {
    height: 1px;
    background: var(--border);
    margin: 0 24px;
}
.rate-unit {
    font-size: 11px;
    color: var(--muted);
}
.rate-widget-footer {
    padding: 12px 24px;
    text-align: center;
    font-size: 10px;
    color: var(--muted);
}
.green-text { color: var(--green); }
.red-text { color: var(--red); }

/* ========================================
   Section Common
   ======================================== */
.section-divider {
    height: 1px;
    background: var(--border);
    max-width: 1440px;
    margin: 0 auto;
}
.cta-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    max-width: 1440px;
    margin: 0 auto;
}
.section {
    position: relative;
}
.section-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px;
}
.section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}
.section-header.center {
    align-items: center;
    text-align: center;
}
.section-title {
    font-family: var(--font-mono);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 200;
    letter-spacing: -1px;
    color: var(--white);
}

/* ========================================
   Benefits Grid
   ======================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}
.benefit-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 28px;
    height: 210px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    transition: border-color var(--duration-slow) var(--ease-smooth),
                box-shadow var(--duration-slow) var(--ease-smooth);
}
.benefit-card.alt { background: var(--bg-card-alt); }
.benefit-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.benefit-icon { flex-shrink: 0; }
.benefit-title {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 200;
    line-height: 1.2;
}
.benefit-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   How It Works
   ======================================== */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}
.step-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color var(--duration-slow) var(--ease-smooth),
                box-shadow var(--duration-slow) var(--ease-smooth);
}
.step-card.alt { background: var(--bg-card-alt); }
.step-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.step-number {
    font-family: var(--font-mono);
    font-size: 64px;
    font-weight: 200;
    color: rgba(212, 175, 55, 0.19);
    line-height: 1;
    margin-bottom: 12px;
}
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.step-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.step-title {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 200;
    line-height: 1.2;
}
.step-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   Exchange Rate Cards
   ======================================== */
.rates {
    background: var(--bg);
    overflow: hidden;
}
.rates-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 90%;
    background: radial-gradient(ellipse at center 45%, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}
.rates .section-inner {
    padding-top: 64px;
    padding-bottom: 64px;
}
.rate-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 12px;
}
.rate-card-big {
    position: relative;
    background: var(--bg-elevated);
    padding: 32px 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: box-shadow var(--duration-slow) var(--ease-smooth);
}
.rate-card-big.buy {
    border-left: 3px solid var(--green);
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.04);
}
.rate-card-big.sell {
    border-left: 3px solid var(--red);
    box-shadow: 0 0 40px rgba(244, 67, 54, 0.04);
}
.rate-card-big:hover { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }

.rate-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rate-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}
.rate-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent);
}
.rate-live-badge .live-dot { background: var(--accent); }
.sell .rate-live-badge { color: var(--accent); }

.rate-card-main {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}
.rate-card-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.rate-card-chart {
    flex: 1;
    min-width: 0;
    max-width: 260px;
    height: 56px;
    margin-left: auto;
    position: relative;
}
.rate-card-chart .sparkline {
    position: relative;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.rate-card-big::before {
    content: '';
    position: absolute;
    top: 0;
    right: 32px;
    width: 260px;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M7 4v6M4 7h6' stroke='rgba(255,255,255,0.1)' stroke-width='0.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 14px 14px;
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 20%, transparent 65%),
        linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-image:
        linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 20%, transparent 65%),
        linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
    mask-composite: intersect;
    pointer-events: none;
    z-index: 0;
}
/* Chart interactive elements */
.chart-cursor-line {
    position: absolute;
    top: -32px;
    bottom: -16px;
    width: 1px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.2) 0px,
        rgba(255,255,255,0.2) 3px,
        transparent 3px,
        transparent 6px
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-quint), left 0.12s var(--ease-smooth);
    z-index: 5;
}
.chart-cursor-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid;
    background: var(--bg-elevated);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    transition: opacity 0.3s var(--ease-out-quint), transform 0.3s var(--ease-out-quint), left 0.12s var(--ease-smooth), top 0.12s var(--ease-smooth);
    z-index: 6;
}
.chart-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    background: #1a1a1a;
    padding: 5px 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-quint);
    white-space: nowrap;
    z-index: 10;
}
.chart-tooltip-price {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.5px;
}
.chart-tooltip-time {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--gray);
    letter-spacing: 1px;
    margin-top: 1px;
}
.rate-card-chart.active .chart-cursor-line {
    opacity: 1;
}
.rate-card-chart.active .chart-cursor-dot {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.rate-card-chart.active .chart-tooltip {
    opacity: 1;
}
/* Fade-out: active stays on, fading forces opacity back to 0 with transition */
.rate-card-chart.chart-fading .chart-cursor-line {
    opacity: 0;
}
.rate-card-chart.chart-fading .chart-cursor-dot {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
}
.rate-card-chart.chart-fading .chart-tooltip {
    opacity: 0;
}
.chart-hit-area {
    position: absolute;
    top: -32px;
    left: 0;
    right: 0;
    bottom: -16px;
    cursor: crosshair;
    z-index: 4;
}
.rate-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.rate-card-value {
    font-family: var(--font-mono);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 200;
    line-height: 1;
}
.rate-card-currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
}
.rate-card-change-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}
.change-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.sparkline {
    width: 100%;
    height: 100%;
    display: block;
}
.rate-card-divider {
    height: 1px;
    background: var(--border);
}
.rate-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rate-card-conv {
    font-size: 13px;
    color: var(--gray);
}
.rate-card-updated {
    font-size: 11px;
    color: var(--muted);
}

/* Multi-currency rates */
.multi-rates {
    margin-bottom: 16px;
    background: var(--bg-elevated);
    padding: 24px 28px;
}
.multi-rates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.multi-rates-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
}
.multi-rates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.multi-rate-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--duration-normal) var(--ease-smooth), border-color var(--duration-normal) var(--ease-smooth), transform 0.15s ease;
}
.multi-rate-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.15);
}
.multi-rate-card:active {
    transform: scale(0.98);
}
.multi-rate-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
}
.multi-rate-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}
.multi-rate-name {
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--muted);
}
.mr-cur {
    display: inline-block;
    width: 28px;
    text-align: center;
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mr-sep {
    display: inline-block;
    width: 10px;
    text-align: center;
    flex-shrink: 0;
}
.multi-rate-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.multi-rate-price {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    transition: opacity 0.2s ease;
}
.multi-rate-change {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}
.multi-rate-change.positive { color: var(--green); }
.multi-rate-change.negative { color: var(--red); }
.mr-swap {
    width: 18px;
    height: 18px;
    color: var(--muted);
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.15s ease;
}
@keyframes swapSpin {
    0% { transform: rotate(0deg); opacity: 0.4; }
    50% { transform: rotate(90deg); opacity: 1; color: var(--accent); }
    100% { transform: rotate(180deg); opacity: 0.4; }
}
.mr-swap.spinning {
    animation: swapSpin 0.35s ease forwards;
}
/* Price flip animation */
@keyframes mrFlipOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes mrFlipIn {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}
.multi-rate-card.flipping .multi-rate-price,
.multi-rate-card.flipping .multi-rate-change {
    animation: mrFlipOut 0.15s ease forwards;
}
.multi-rate-card.flip-in .multi-rate-price,
.multi-rate-card.flip-in .multi-rate-change {
    animation: mrFlipIn 0.15s ease forwards;
}
.multi-rates-updated {
    display: block;
    text-align: right;
    margin-top: 12px;
    font-size: 11px;
    color: var(--muted);
}

.btn-rate-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    background: var(--accent);
    color: var(--bg);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-smooth);
}
.btn-rate-cta:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
}
.btn-rate-cta:active {
    transform: translate3d(0, 0, 0) scale(0.98);
    transition-duration: 0.1s;
}
.btn-rate-cta .arrow {
    font-size: 18px;
    display: inline-flex;
    line-height: 1;
    transition: transform var(--duration-normal) var(--ease-out-quint);
}
.btn-rate-cta:hover .arrow { transform: translate3d(4px, 0, 0); }

/* ========================================
   Offices Section
   ======================================== */
.offices-content {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
}
.offices-map {
    flex: 1;
    min-height: 480px;
    align-self: stretch;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg-card);
    position: relative;
}
.map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 1px;
    z-index: 2;
}
.map-loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cities-list {
    width: 480px;
    display: flex;
    flex-direction: column;
}
.city-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color var(--duration-slow) var(--ease-smooth),
                box-shadow var(--duration-slow) var(--ease-smooth),
                background var(--duration-slow) var(--ease-smooth);
    -webkit-tap-highlight-color: transparent;
}
.city-card.alt { background: var(--bg-card-alt); }
.city-card.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}
.city-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}
.city-card.active {
    outline: 1px solid var(--accent);
    z-index: 1;
    background: rgba(212, 175, 55, 0.04);
}
.city-bar {
    width: 3px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
    transition: background var(--duration-normal) ease;
}
.city-card.active .city-bar {
    background: var(--accent);
}
.city-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.city-name {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 1px;
}
.city-addr {
    font-size: 12px;
    color: var(--gray);
}
.city-hours {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.5px;
}
.city-arrow {
    flex-shrink: 0;
    color: var(--muted);
    transition: color var(--duration-normal) ease, transform var(--duration-normal) ease;
}
.city-card.active .city-arrow {
    color: var(--accent);
}
.city-card:hover .city-arrow {
    transform: translateX(2px);
}
/* Yandex Maps marker — pin tip is at (26px, 50px) in a 52×62 SVG */
.noname-marker {
    cursor: pointer;
    transform: translate(-26px, -50px);
    transform-origin: 26px 50px;
    transition: transform 0.2s ease;
}
.noname-marker:hover {
    transform: translate(-26px, -50px) scale(1.1);
}

/* ─────────────────────────────────────────
   Leaflet map (MD tenant — noname-ex.md)
   ───────────────────────────────────────── */
/* Container — dark border + inner shadow matching the rest of the site */
.offices-map.leaflet-offices-map {
    background: #0d0d0d;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 4px;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}
/* OSM tiles → dark theme via CSS invert + hue-rotate. Classic trick:
   invert() flips all luminance (white labels become dark, light beige
   buildings become dark grey), hue-rotate(180deg) then rotates the
   colour wheel so blues stay blue-ish (water) and greens stay green-ish
   (parks) instead of looking alien. brightness/contrast adjustments
   keep the result legible on our #0d0d0d background. */
.leaflet-offices-map .leaflet-tile-container img.leaflet-tile,
.leaflet-offices-map .leaflet-layer img.leaflet-tile {
    filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(1.05) saturate(0.75);
}
/* DivIcon wrapper: Leaflet already positions the icon, so kill the
   transform on .noname-marker inside it (Yandex needed the -26/-50
   offset because it anchors markers at top-left; Leaflet uses
   iconAnchor and positions the element's top-left at that point). */
.noname-leaflet-divicon .noname-marker {
    transform: none;
    transform-origin: center;
    will-change: transform;
}
.noname-leaflet-divicon .noname-marker:hover {
    transform: translateY(-4px) scale(1.06);
}
/* Zoom controls — match our gold accent + dark glass */
.leaflet-offices-map .leaflet-control-zoom {
    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.leaflet-offices-map .leaflet-control-zoom a {
    background: rgba(20, 20, 20, 0.92) !important;
    color: #D4AF37 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}
.leaflet-offices-map .leaflet-control-zoom a:last-child {
    border-bottom: none !important;
}
.leaflet-offices-map .leaflet-control-zoom a:hover {
    background: rgba(212, 175, 55, 0.18) !important;
    color: #F5D76E !important;
}
/* Attribution bar — tiny, tucked away, same palette */
.leaflet-offices-map .leaflet-control-attribution {
    background: rgba(13, 13, 13, 0.78) !important;
    color: #666 !important;
    font-size: 9px !important;
    padding: 2px 6px !important;
    border-top-left-radius: 4px;
    backdrop-filter: blur(4px);
}
.leaflet-offices-map .leaflet-control-attribution a {
    color: #999 !important;
}
.leaflet-offices-map .leaflet-control-attribution a:hover {
    color: #D4AF37 !important;
}
/* Popup — dark glass card with gold accent title */
.leaflet-offices-map .leaflet-popup-content-wrapper {
    background: rgba(18, 18, 18, 0.96) !important;
    color: #e5e5e5 !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
    padding: 0;
}
.leaflet-offices-map .leaflet-popup-content {
    margin: 14px 18px !important;
    line-height: 1.4;
}
.leaflet-offices-map .leaflet-popup-close-button {
    color: #888 !important;
    font-size: 18px !important;
    padding: 6px 8px 0 0 !important;
}
.leaflet-offices-map .leaflet-popup-close-button:hover {
    color: #D4AF37 !important;
    background: transparent !important;
}
.leaflet-offices-map .leaflet-popup-tip {
    background: rgba(18, 18, 18, 0.96) !important;
    box-shadow: none;
}
.noname-popup .np-title {
    color: #D4AF37;
    font-family: var(--font-display, inherit);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.noname-popup .np-addr {
    color: #d0d0d0;
    font-size: 12px;
    margin-bottom: 4px;
}
.noname-popup .np-hours {
    color: #888;
    font-size: 11px;
    letter-spacing: 0.3px;
}
/* Kill Leaflet's default focus outline on pan; use our own instead */
.leaflet-offices-map .leaflet-container:focus {
    outline: none;
}

/* ========================================
   Statistics Section
   ======================================== */
.stats-layout {
    display: flex;
    gap: 48px;
    align-items: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    flex: 0 0 620px;
    border: 1px solid var(--border);
}
.stats-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stats-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color var(--duration-slow) var(--ease-smooth),
                box-shadow var(--duration-slow) var(--ease-smooth);
}
.stat-card.alt { background: var(--bg-card-alt); }
.stat-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.stat-value {
    display: flex;
    align-items: baseline;
}
.stat-number, .stat-number-text {
    font-family: var(--font-mono);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 200;
    color: var(--accent);
    line-height: 1;
}
.stat-suffix {
    font-family: var(--font-mono);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 200;
    color: var(--accent);
    line-height: 1;
    display: inline;
}
.stat-card .stat-number {
    display: inline;
}
.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--gray);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}
.faq-item {
    position: relative;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color var(--duration-slow) var(--ease-smooth);
}
.faq-item + .faq-item {
    margin-top: -1px;
}
.faq-item.alt { background: var(--bg-card-alt); }
.faq-item:hover { z-index: 1; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    text-align: left;
    transition: color var(--duration-normal) var(--ease-smooth);
    -webkit-tap-highlight-color: transparent;
}
.faq-item.open {
    outline: 1px solid var(--accent);
    z-index: 2;
    background: rgba(212, 175, 55, 0.04);
}
.faq-item.open .faq-question { color: var(--accent); }
.faq-toggle {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 200;
    color: var(--accent);
    transition: transform var(--duration-normal) var(--ease-out-quint);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}
.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}
.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height var(--duration-slow) var(--ease-out-quint);
}
.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    opacity: 0;
    transform: translate3d(0, -8px, 0);
    transition: opacity var(--duration-normal) var(--ease-smooth) 0.1s,
                transform var(--duration-normal) var(--ease-out-quint) 0.1s;
}
.faq-item.open .faq-answer p {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ========================================
   Final CTA Section
   ======================================== */
.final-cta {
    position: relative;
    background: var(--bg-card);
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    pointer-events: none;
}
.final-cta::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: ctaGlow 6s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
    0%   { opacity: 0.6; transform: translateX(-50%) scale(1); }
    100% { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}
.cta-plus-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.09'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    animation: ctaPlusFloat 14s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    animation-delay: -3s;
}
.cta-plus-left,
.cta-plus-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 45%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.09'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: ctaPlusFloat 14s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
.cta-plus-left {
    left: 0;
    -webkit-mask-image:
        linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 60%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image:
        linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 60%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}
.cta-plus-right {
    right: 0;
    -webkit-mask-image:
        linear-gradient(to left, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 60%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image:
        linear-gradient(to left, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 60%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    animation-delay: -7s;
}
@keyframes ctaPlusFloat {
    0%   { background-position: 0 0; opacity: 0.7; }
    100% { background-position: 15px -15px; opacity: 1; }
}
.final-cta .section-inner {
    position: relative;
    z-index: 1;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.cta-logo {
    width: 150px;
    height: 97px;
    object-fit: contain;
}
.cta-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.cta-headline {
    font-family: var(--font-mono);
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 200;
    letter-spacing: -1px;
    text-align: center;
}
.cta-subtitle {
    font-size: 16px;
    color: var(--gray);
    text-align: center;
}
.btn-cta-final {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: var(--bg);
    padding: 20px 48px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-slow) var(--ease-smooth);
}
.btn-cta-final:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.25);
}
.btn-cta-final:active {
    transform: translate3d(0, 0, 0) scale(0.97);
    transition-duration: 0.1s;
}
.btn-cta-final .arrow {
    font-size: 18px;
    display: inline-flex;
    line-height: 1;
    transition: transform var(--duration-normal) var(--ease-out-quint);
}
.btn-cta-final:hover .arrow {
    transform: translate3d(3px, -3px, 0);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg);
}
.footer-main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 380px;
}
.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer-logo-icon {
    width: 42px;
    height: auto;
    object-fit: contain;
}
.footer-logo-text {
    font-family: var(--font-logo);
    font-size: 24px;
    font-weight: 700;
}
.footer-tagline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
}
.footer-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}
.footer-contact-cards {
    display: flex;
    gap: 12px;
}
.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
    transition: transform var(--duration-normal) var(--ease-out-quint),
                color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}
.footer-contact-card:hover {
    color: var(--white);
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.footer-nav {
    display: flex;
    gap: 64px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-col-bar {
    width: 3px;
    height: 14px;
    background: var(--accent);
}
.footer-col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
}
.footer-col-links {
    display: flex;
    flex-direction: column;
}
.footer-col-links a {
    font-size: 14px;
    color: var(--gray);
    line-height: 2.2;
    transition: color var(--duration-normal) var(--ease-smooth);
}
.footer-col-links a:hover { color: var(--white); }

.footer-bottom-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}
.footer-bottom-divider {
    height: 1px;
    background: var(--border);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.footer-copy {
    font-size: 12px;
    color: var(--muted);
}
.footer-bottom-tg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    transition: color var(--duration-normal) var(--ease-smooth);
}
.footer-bottom-tg:hover { color: var(--accent); }

/* ========================================
   Glowing Border Effect (mouse-following conic gradient)
   Adapted from Aceternity GlowingEffect for vanilla CSS/JS
   ======================================== */
.glow-card {
    --glow-start: 0;
    --glow-spread: 45;
    --glow-active: 0;
    --glow-border: 2px;
    position: relative;
}

/* The glowing border pseudo-element */
.glow-card::after {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--glow-border));
    border-radius: inherit;
    border: var(--glow-border) solid transparent;
    pointer-events: none;
    z-index: 1;

    /* Gold conic gradient that follows the mouse angle */
    background:
        radial-gradient(circle, rgba(212, 175, 55, 0.6) 8%, transparent 18%),
        radial-gradient(circle at 40% 40%, rgba(215, 159, 30, 0.5) 4%, transparent 14%),
        radial-gradient(circle at 60% 60%, rgba(180, 150, 50, 0.4) 8%, transparent 18%),
        repeating-conic-gradient(
            from 236.84deg at 50% 50%,
            rgba(212, 175, 55, 0.8) 0%,
            rgba(215, 159, 30, 0.7) 5%,
            rgba(180, 150, 50, 0.6) 10%,
            rgba(160, 140, 60, 0.5) 15%,
            rgba(212, 175, 55, 0.8) 20%
        );
    background-attachment: fixed;

    /* Mask: show only at the border, with a conic sweep following the mouse */
    -webkit-mask-image:
        linear-gradient(transparent, transparent),
        conic-gradient(
            from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
            transparent 0deg,
            #fff calc(var(--glow-spread) * 1deg),
            #fff calc(var(--glow-spread) * 1deg),
            transparent calc(var(--glow-spread) * 2deg)
        );
    mask-image:
        linear-gradient(transparent, transparent),
        conic-gradient(
            from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
            transparent 0deg,
            #fff calc(var(--glow-spread) * 1deg),
            #fff calc(var(--glow-spread) * 1deg),
            transparent calc(var(--glow-spread) * 2deg)
        );
    -webkit-mask-clip: padding-box, border-box;
    mask-clip: padding-box, border-box;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;

    opacity: var(--glow-active);
    transition: opacity 0.35s var(--ease-smooth);
}

/* Need position:relative on these for the pseudo to work */
.step-card,
.stat-card,
.city-card {
    position: relative;
}

/* ========================================
   Reduced Motion (global)
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   Disable hover effects on touch devices
   ======================================== */
@media (hover: none) {
    .btn-cta-header:hover,
    .btn-primary:hover,
    .btn-secondary-outline:hover,
    .btn-rate-cta:hover,
    .btn-cta-final:hover,
    .footer-contact-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .btn-cta-header:hover .arrow,
    .btn-primary:hover .arrow,
    .btn-cta-final:hover .arrow,
    .btn-rate-cta:hover .arrow {
        transform: none !important;
    }
    .rate-widget:hover,
    .benefit-card:hover,
    .step-card:hover,
    .rate-card-big:hover,
    .stat-card:hover,
    .faq-item:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .city-card:hover {
        border-color: var(--border) !important;
        box-shadow: none !important;
    }
    .city-card:hover .city-arrow {
        transform: none !important;
        color: inherit !important;
    }
    .noname-marker:hover {
        transform: translate(-26px, -50px) !important;
    }
    .nav-link:hover { color: var(--gray) !important; }
    .nav-link:hover::after { width: 0 !important; }
    .mobile-nav-link:hover { color: var(--gray) !important; }
    .footer-col-links a:hover { color: var(--gray) !important; }
    .footer-bottom-tg:hover { color: var(--muted) !important; }
}

/* ========================================
   Exchange Form Section
   ======================================== */
.exchange .section-subtitle {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 8px;
}
.exchange-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 16px;
    align-items: start;
}
.exchange-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Segmented control */
.ef-seg {
    display: flex;
    border: 1px solid var(--border);
    overflow: hidden;
}
.ef-seg-btn {
    flex: 1;
    height: 48px;
    background: var(--bg);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: background var(--duration-fast), color var(--duration-fast);
}
.ef-seg-btn.active {
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
}
.ef-seg-btn:hover:not(.active) {
    color: var(--white);
}

/* Labels */
.ef-label {
    display: block;
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 0;
}
.ef-field-group .ef-label {
    margin-bottom: 10px;
}
/* Labels followed directly by rows (no .ef-field-group wrapper) */
#exchangeAuthed > .ef-label {
    margin-bottom: -14px;
}
.ef-field-group {
    display: flex;
    flex-direction: column;
}

/* Inputs */
.ef-input-row {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    height: 48px;
    padding: 0 16px;
    gap: 8px;
    transition: border-color var(--duration-fast);
}
.ef-input-row:focus-within {
    border-color: var(--accent);
}
.ef-input-row--receive {
    border-color: transparent;
    border-left: 3px solid var(--accent);
}
.ef-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    width: 100%;
    min-width: 0;
}
.ef-input::placeholder {
    color: var(--muted);
}
.ef-input--amount, .ef-input--receive {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 200;
    height: 56px;
}
.ef-input-row:has(.ef-input--amount),
.ef-input-row:has(.ef-input--receive) {
    height: 56px;
    padding: 0 20px;
}
.ef-input--receive {
    color: var(--accent);
}
.ef-currency {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
}
.ef-currency--muted {
    color: var(--muted);
}

.ef-input-icon {
    flex-shrink: 0;
    color: var(--muted);
}
.ef-input-icon--accent {
    color: var(--accent);
}

/* Rate row */
.ef-rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}
.ef-rate-label {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}
.ef-rate-value {
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 200;
}

/* Divider */
.ef-divider {
    height: 1px;
    background: var(--border);
}

/* Custom dropdown */
.ef-dropdown {
    position: relative;
}
.ef-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: border-color var(--duration-fast);
}
.ef-dropdown-trigger:hover,
.ef-dropdown.open .ef-dropdown-trigger {
    border-color: var(--accent);
}
.ef-dropdown-trigger svg {
    color: var(--muted);
    transition: transform var(--duration-fast);
    flex-shrink: 0;
}
.ef-dropdown.open .ef-dropdown-trigger svg {
    transform: rotate(180deg);
    color: var(--accent);
}
.ef-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    z-index: 50;
    max-height: 240px;
    overflow-y: auto;
}
.ef-dropdown.open .ef-dropdown-menu {
    display: block;
}
.ef-dropdown-item {
    padding: 14px 16px;
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: background var(--duration-fast), color var(--duration-fast);
    border-bottom: 1px solid var(--border);
}
.ef-dropdown-item:last-child {
    border-bottom: none;
}
.ef-dropdown-item:hover {
    background: var(--bg);
    color: var(--white);
}
.ef-dropdown-item.active {
    color: var(--accent);
    background: var(--bg);
}

/* Row layouts */
.ef-row-2, .ef-row-3 {
    display: flex;
    gap: 16px;
}
.ef-row-2 > *, .ef-row-3 > * {
    flex: 1;
    min-width: 0;
}
.ef-row-3 .ef-input {
    padding: 0 16px;
    height: 48px;
    background: var(--bg);
    border: 1px solid var(--border);
}
.ef-row-3 .ef-input:focus {
    border-color: var(--accent);
}

/* Auth block */
.ef-auth-block {
    background: #161616;
    border: 1px solid var(--border);
    padding: 32px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.ef-auth-lock {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
}
.ef-auth-title {
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 200;
    line-height: 1.4;
    margin: 0;
}
.ef-auth-desc {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}
.ef-tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 32px;
    background: #2AABEE;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: opacity var(--duration-fast);
}
.ef-tg-btn:hover {
    opacity: 0.9;
}

/* Authed state layout */
#exchangeAuthed {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* User bar */
.ef-user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 12px 16px;
}
.ef-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ef-user-avatar {
    width: 36px;
    height: 36px;
    background: #2AABEE;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}
.ef-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ef-user-name {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
}
.ef-user-handle {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 12px;
}
.ef-logout-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: none;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color var(--duration-fast), border-color var(--duration-fast);
}
.ef-logout-btn:hover {
    color: var(--white);
    border-color: var(--gray);
}

/* Terms */
.ef-terms {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.5;
}
.ef-terms input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--accent);
    background: none;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}
.ef-terms input[type="checkbox"]:checked {
    background: var(--accent);
}
.ef-terms input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg);
    font-size: 12px;
    font-weight: bold;
}

/* Submit button */
.ef-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: opacity var(--duration-fast);
}
.ef-submit:hover:not(:disabled) {
    opacity: 0.9;
}
.ef-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.ef-submit .arrow {
    font-size: 18px;
}

/* Success state */
.ef-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}
.ef-success-icon {
    width: 72px;
    height: 72px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
}
.ef-success-title {
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 200;
    margin: 0;
}
.ef-success-subtitle {
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 15px;
    margin: 0;
}
.ef-success-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.ef-success-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 13px;
}
.ef-success-row span:first-child {
    color: var(--muted);
}
.ef-success-row span:last-child {
    color: var(--white);
    font-weight: 600;
}
.ef-success-row span.ef-accent {
    color: var(--accent);
    font-weight: 700;
}
.ef-success-note {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 16px;
    width: 100%;
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.5;
}
.ef-success-note svg {
    flex-shrink: 0;
    color: var(--accent);
}
.ef-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: border-color var(--duration-fast);
}
.ef-back-btn:hover {
    border-color: var(--gray);
}

/* Error */
.ef-error {
    background: var(--red);
    color: #fff;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 13px;
}

/* Info cards */
.exchange-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0;
    display: flex;
    flex-direction: column;
}
.exchange-info-card--alt {
    background: var(--bg-card-alt);
}
.ei-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}
.ei-title {
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 16px 24px;
}
.ei-header .ei-title {
    padding: 0;
}
.ei-live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}
.ei-live-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.ei-divider {
    height: 1px;
    background: var(--border);
}
.ei-rate {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ei-rate-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
}
.ei-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.ei-dot--green { background: var(--green); color: var(--green); }
.ei-rate-label:has(.ei-dot--green) { color: var(--green); }
.ei-dot--red { background: var(--red); color: var(--red); }
.ei-rate-label:has(.ei-dot--red) { color: var(--red); }
.ei-rate-price {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 200;
    color: var(--white);
}
.ei-rate-unit {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 12px;
}
.ei-footer {
    padding: 12px 24px;
    background: #161616;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 10px;
}
.ei-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
}
.ei-item svg {
    flex-shrink: 0;
}
.ei-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
}
.ei-step-num {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 200;
    color: rgba(212, 175, 55, 0.19);
}

/* Exchange responsive */
@media (max-width: 1024px) {
    .exchange-content {
        grid-template-columns: 1fr 300px;
    }
    .exchange-card {
        padding: 32px 24px;
    }
}
@media (max-width: 768px) {
    .exchange-content {
        grid-template-columns: 1fr;
    }
    .exchange-info-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .exchange-info-card:first-child {
        grid-column: 1 / -1;
    }
    .ef-row-3 {
        flex-direction: column;
        gap: 12px;
    }
    .ef-input--amount, .ef-input--receive {
        font-size: 20px;
    }
}
@media (max-width: 480px) {
    .exchange-card {
        padding: 24px 16px;
    }
    .exchange-info-col {
        grid-template-columns: 1fr;
    }
    .ef-row-2 {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   Mobile Performance Optimization
   ======================================== */
@media (max-width: 1024px) {
    /* Replace expensive backdrop-filter with solid bg on mobile */
    .header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(17, 17, 17, 0.97);
    }

    /* Stop infinite gradient bar animations — static bars instead */
    .gradient-bars .bar {
        animation: none !important;
    }

    /* Remove CTA background animations on mobile */
    .cta-plus-top,
    .cta-plus-left,
    .cta-plus-right {
        animation: none !important;
    }

    /* Remove expensive blur filter on CTA glow */
    .final-cta::after {
        filter: none;
        animation: none !important;
    }

    /* Remove parallax will-change on mobile (parallax is already disabled in JS) */
    .hero-text,
    .rate-widget {
        will-change: auto;
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1200px) {
    .header-inner { padding: 20px 40px; }
    .hero-inner { padding: 0 40px; padding-top: 80px; }
    .section-inner { padding: 60px 40px; }
    .final-cta .section-inner { padding: 80px 40px; }
    .footer-main { padding: 60px 40px; }
    .footer-bottom-section { padding: 0 40px; }
    .cities-list { width: 360px; }
    .footer-nav { gap: 40px; }
}

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .btn-cta-header { display: none; }

    /* Fix mobile jank: dvh changes when browser chrome hides/shows */
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    .hero-text {
        transform: none;
        opacity: 1;
    }

    .hero-inner {
        flex-direction: column;
        gap: 48px;
    }
    .rate-widget {
        width: 100%;
        min-width: unset;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .rate-cards-row {
        grid-template-columns: 1fr;
    }
    .multi-rates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mr-swap { display: none; }
    .offices-content {
        flex-direction: column;
    }
    .offices-map { width: 100%; min-height: 360px; }
    .cities-list { width: 100%; }
    .stats-layout {
        flex-direction: column;
        gap: 32px;
    }
    .stats-grid {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    .stats-image {
        flex: none;
        max-height: 320px;
    }
    .footer-main {
        flex-direction: column;
        gap: 48px;
    }
    .footer-brand { max-width: 100%; }
}

@media (max-width: 768px) {
    .header-inner { padding: 16px 24px; }
    .hero-inner { padding: 0 24px; padding-top: 60px; gap: 40px; }
    .scroll-indicator { bottom: 24px; }
    .scroll-line { height: 32px; }
    .section-inner { padding: 48px 24px; }
    .final-cta .section-inner { padding: 64px 24px; }
    .footer-main { padding: 48px 24px; }
    .footer-bottom-section { padding: 0 24px; }

    .benefits-grid { grid-template-columns: 1fr; }
    .benefit-card { height: auto; min-height: 140px; padding: 24px 20px; }
    .steps-row { grid-template-columns: 1fr; }
    .step-card { padding: 28px 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-layout { gap: 24px; }
    .offices-map { height: 360px; }
    .rate-card-big { padding: 20px 24px 14px; }
    .footer-nav { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; height: auto; padding: 20px 0; }

    .hide-mobile { display: none; }

    .hero-subtitle { font-size: 15px; }
    .hero-ctas { flex-direction: column; }
    .btn-primary, .btn-secondary-outline {
        width: 100%;
        justify-content: center;
    }

    .rate-widget {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .rate-widget-header {
        grid-column: 1 / -1;
        display: none;
    }
    .rate-widget-body.buy {
        grid-column: 1;
        border-right: 1px solid var(--border);
    }
    .rate-widget-body.sell {
        grid-column: 2;
    }
    .rate-widget-divider { display: none; }
    .rate-widget-footer {
        grid-column: 1 / -1;
    }

    .chart-hit-area {
        top: -40px;
        bottom: -24px;
    }
    .chart-cursor-dot {
        width: 14px;
        height: 14px;
        border-width: 2.5px;
    }
    .chart-tooltip {
        font-size: 11px;
        padding: 6px 10px;
    }

    .cta-plus-left,
    .cta-plus-right { width: 220px; }
    .cta-plus-top { height: 180px; }
}

@media (max-width: 480px) {
    .header-inner { padding: 14px 16px; }
    .section-inner { padding: 40px 16px; }
    .final-cta .section-inner { padding: 48px 16px; }
    .footer-main { padding: 36px 16px; gap: 36px; }
    .footer-bottom-section { padding: 0 16px; }

    .scroll-indicator { display: none; }

    .hero-inner { padding: 0 16px; padding-top: 48px; gap: 32px; }
    .hero-headline { font-size: 32px; }
    .hero-subtitle { font-size: 14px; }
    .section-title { font-size: 24px; }
    .cta-headline { font-size: 22px; }

    .benefit-card { padding: 20px 16px; min-height: 120px; }
    .benefit-title { font-size: 15px; }

    .step-card { padding: 24px 16px; }
    .step-title { font-size: 15px; }
    .step-number { font-size: 48px; }

    .rate-card-big { padding: 14px 16px 12px; gap: 12px; }
    .rate-card-value { font-size: 32px; }
    .multi-rates { padding: 12px; }
    .multi-rates-grid { grid-template-columns: 1fr; gap: 8px; }
    .multi-rate-card { padding: 14px 12px; gap: 10px; min-height: 64px; }
    .multi-rate-icon { width: 36px; height: 36px; font-size: 16px; }
    .multi-rate-icon svg { width: 16px; height: 16px; }
    .multi-rate-name { font-size: 9px; letter-spacing: 1.2px; }
    .multi-rate-price { font-size: 15px; }
    .multi-rate-change { font-size: 10px; }
    .mr-swap { display: block; }
    .multi-rate-card { -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; outline: none; }
    .multi-rate-card:hover { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.06); }
    .multi-rate-card:active { transform: none; }
    .multi-rate-card:focus { outline: none; }
    .rate-card-main {
        flex-direction: column;
        align-items: stretch;
    }
    .rate-card-chart {
        max-width: 100%;
        height: 48px;
    }

    .rate-widget {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        background: transparent;
        border: none;
    }
    .rate-widget-header {
        grid-column: 1 / -1;
        padding: 0 0 12px;
    }
    .rate-widget-body.buy {
        grid-column: 1;
        padding: 16px;
        background: var(--bg-elevated);
        border-left: 2px solid var(--green);
        border-right: 1px solid var(--border);
    }
    .rate-widget-body.sell {
        grid-column: 2;
        padding: 16px;
        background: var(--bg-elevated);
        border-left: 2px solid var(--red);
    }
    .rate-widget-divider { display: none; }
    .rate-widget .rate-card-value { font-size: 26px; }
    .rate-widget .rate-card-currency { font-size: 13px; }
    .rate-widget .rate-unit { font-size: 10px; }
    .rate-widget-footer {
        grid-column: 1 / -1;
        padding: 10px 16px;
        background: var(--bg-elevated);
    }

    .stats-layout { gap: 16px; }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-card { padding: 24px 16px; }
    .stat-number, .stat-number-text { font-size: 28px; }

    .offices-map { height: 280px; }
    .city-card { padding: 16px 16px; }

    .faq-question { padding: 16px; font-size: 14px; }
    .faq-answer p { padding: 0 16px 16px; font-size: 13px; }

    .cta-plus-left,
    .cta-plus-right { width: 160px; }
    .cta-plus-top { height: 140px; }
    .cta-logo { width: 120px; height: auto; }

    .footer-nav { gap: 24px; }
}

@media (max-width: 375px) {
    .hero-headline { font-size: 28px; }
    .hero-subtitle { font-size: 13px; }
    .section-title { font-size: 22px; }

    .rate-card-value { font-size: 28px; }
    .stat-number, .stat-number-text { font-size: 24px; }
    .step-number { font-size: 40px; }

    .benefit-card { padding: 16px 14px; }
    .step-card { padding: 20px 14px; }
    .stat-card { padding: 20px 12px; }

    .rate-widget .rate-card-value { font-size: 22px; }
    .rate-widget .rate-card-currency { font-size: 12px; }

    .btn-primary, .btn-secondary-outline { padding: 14px 24px; font-size: 12px; }
    .btn-rate-cta { height: 48px; font-size: 12px; }
    .btn-cta-final { padding: 16px 32px; font-size: 13px; }
}
