@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --accent: #22d3ee;
    --accent-hover: #06b6d4;
    --accent-dark: #0891b2;
    --accent-rgb: 34, 211, 238;
    --accent-soft: #a5f3fc;
    --violet: #a78bfa;
    --mint: #5eead4;
    --bg-deep: #021218;
    --bg-mid: #031f28;
    --container-top: rgba(7, 11, 20, 0.08);
    --container-bottom: rgba(7, 11, 20, 0.18);
    --header-top: rgba(10, 16, 30, 0.88);
    --header-bottom: rgba(6, 10, 22, 0.92);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(14, 22, 40, 0.58);
    --shadow-glow: 0 0 48px rgba(var(--accent-rgb), 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}

.site-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(ellipse 90% 80% at 50% 45%, #04303a 0%, var(--bg-deep) 72%);
}

/* --- Variant: teal (бирюзовый plexus) --- */
.site-backdrop--teal {
    background: radial-gradient(ellipse 90% 80% at 50% 45%, #04303a 0%, var(--bg-deep) 72%);
}

.site-backdrop--teal .backdrop-nebula,
.site-backdrop--teal .backdrop-hub-glow {
    display: none;
}

.site-backdrop--teal .backdrop-shimmer {
    background: linear-gradient(
        125deg,
        rgba(34, 211, 238, 0.08) 0%,
        transparent 35%,
        rgba(94, 234, 212, 0.1) 55%,
        transparent 75%,
        rgba(56, 189, 248, 0.07) 100%
    );
}

.site-backdrop--teal .backdrop-vignette {
    background:
        radial-gradient(ellipse 100% 100% at 50% 50%, transparent 55%, rgba(2, 10, 16, 0.25) 85%, rgba(1, 6, 10, 0.55) 100%),
        linear-gradient(180deg, rgba(2, 12, 18, 0.15) 0%, transparent 18%, transparent 82%, rgba(2, 12, 18, 0.25) 100%);
}

/* --- Variant: cosmos (космический nebula + белая сеть) --- */
.site-backdrop--cosmos {
    background:
        radial-gradient(ellipse 80% 60% at 50% 42%, #1a1048 0%, #08061a 55%, #030208 100%);
}

.backdrop-nebula {
    position: absolute;
    width: 130%;
    height: 130%;
    left: -15%;
    top: -15%;
    filter: blur(55px);
    opacity: 0.75;
    animation: nebula-drift 28s ease-in-out infinite alternate;
}

.backdrop-nebula--a {
    background:
        radial-gradient(ellipse 42% 38% at 32% 38%, rgba(59, 130, 246, 0.55) 0%, transparent 72%),
        radial-gradient(ellipse 38% 32% at 68% 55%, rgba(139, 92, 246, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 30% 28% at 50% 72%, rgba(37, 99, 235, 0.35) 0%, transparent 68%);
}

.backdrop-nebula--b {
    animation-duration: 34s;
    animation-direction: alternate-reverse;
    opacity: 0.6;
    background:
        radial-gradient(ellipse 35% 30% at 55% 30%, rgba(168, 85, 247, 0.4) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 22% 62%, rgba(30, 64, 175, 0.45) 0%, transparent 72%),
        radial-gradient(ellipse 28% 25% at 78% 28%, rgba(99, 102, 241, 0.35) 0%, transparent 65%);
}

.backdrop-hub-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 120vw;
    height: 120vh;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(160, 190, 255, 0.14) 0%, rgba(99, 102, 241, 0.08) 45%, transparent 75%);
    animation: hub-pulse 7s ease-in-out infinite;
}

.site-backdrop--cosmos .backdrop-shimmer {
    background: linear-gradient(
        135deg,
        rgba(96, 165, 250, 0.1) 0%,
        transparent 30%,
        rgba(167, 139, 250, 0.12) 50%,
        transparent 70%,
        rgba(59, 130, 246, 0.08) 100%
    );
}

.site-backdrop--cosmos .backdrop-vignette {
    background:
        radial-gradient(ellipse 100% 100% at 50% 50%, transparent 55%, rgba(3, 5, 18, 0.25) 85%, rgba(1, 2, 8, 0.55) 100%),
        linear-gradient(180deg, rgba(4, 6, 20, 0.15) 0%, transparent 18%, transparent 82%, rgba(4, 6, 20, 0.25) 100%);
}

@keyframes nebula-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(3%, -2%) scale(1.05); }
}

@keyframes hub-pulse {
    0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.06); }
}

.backdrop-plexus {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.backdrop-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 65% at 50% 48%, transparent 25%, rgba(2, 10, 16, 0.55) 72%, rgba(1, 6, 10, 0.92) 100%),
        linear-gradient(180deg, rgba(2, 12, 18, 0.35) 0%, transparent 30%, transparent 70%, rgba(2, 12, 18, 0.5) 100%);
}

.backdrop-shimmer {
    position: absolute;
    inset: 0;
    opacity: 0.65;
    background: linear-gradient(
        125deg,
        rgba(34, 211, 238, 0.08) 0%,
        transparent 35%,
        rgba(94, 234, 212, 0.1) 55%,
        transparent 75%,
        rgba(56, 189, 248, 0.07) 100%
    );
    background-size: 220% 220%;
    animation: shimmer-flow 14s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}

@keyframes shimmer-flow {
    0% { background-position: 0% 40%; opacity: 0.45; }
    50% { background-position: 60% 60%; opacity: 0.75; }
    100% { background-position: 100% 30%; opacity: 0.5; }
}

.page-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--container-top) 0%, var(--container-bottom) 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, var(--header-top) 0%, var(--header-bottom) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.gradient-bg { background: transparent; }

.gradient-text {
    background: linear-gradient(90deg, var(--mint) 0%, var(--accent) 45%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-button {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gradient-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.45);
    filter: brightness(1.05);
}

.gradient-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.glass-card:hover {
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: var(--shadow-glow), 0 12px 36px rgba(0, 0, 0, 0.22);
}

.feature-card {
    transition: all 0.35s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: var(--shadow-glow);
}

.pricing-card {
    transition: all 0.35s ease;
    background: linear-gradient(145deg, rgba(30, 50, 75, 0.75) 0%, rgba(15, 28, 45, 0.85) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--accent-rgb), 0.35);
}

.pricing-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.section-panel {
    background: rgba(15, 28, 45, 0.35);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-section {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.5), transparent);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.15);
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    color: var(--accent-soft);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.hero-badge i { color: var(--accent); }

.hero-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.1), rgba(167, 139, 250, 0.12));
    border: 1px solid rgba(34, 211, 238, 0.25);
    box-shadow: var(--shadow-glow), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-visual.hero-phones-stage {
    overflow: visible;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.hero-phones-stage img {
    width: auto;
    height: auto;
    object-fit: cover;
    padding: 0;
}

.hero-visual-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, transparent 65%);
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Floating phones — premium CryptoGrama mockups */
.hero-phones-stage {
    width: 100%;
    max-width: 540px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    padding: 22px 16px 26px;
    box-sizing: border-box;
    background:
        radial-gradient(ellipse 80% 60% at 30% 80%, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(ellipse 70% 55% at 80% 20%, rgba(167, 139, 250, 0.2), transparent 50%),
        linear-gradient(165deg, rgba(15, 23, 42, 0.75) 0%, rgba(8, 12, 24, 0.55) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-glow), 0 28px 60px rgba(0, 0, 0, 0.4);
    align-self: stretch;
}

.hero-phones-glow {
    position: absolute;
    inset: 10% 8% 5%;
    background: radial-gradient(circle at 50% 70%, rgba(34, 211, 238, 0.22), transparent 65%);
    filter: blur(28px);
    pointer-events: none;
}

.hero-phones {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 6px 0;
}

.hero-phone {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    will-change: transform;
    filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.45));
}

.hero-phone--front {
    order: 1;
    z-index: 2;
    width: 232px;
    animation: floatX 5.5s ease-in-out infinite;
}

.hero-phone--back {
    order: 2;
    z-index: 1;
    width: 198px;
    margin-bottom: 14px;
    animation: floatY 4.5s ease-in-out infinite;
}

.hero-phone--front .phone-device {
    transform: rotate(-3deg);
}

.hero-phone--front .phone-ui {
    padding: 18px 14px 10px;
}

.hero-phone--front .phone-bar {
    margin-bottom: 10px;
}

.hero-phone--front .wallet-head {
    margin-bottom: 10px;
}

.hero-phone--front .wallet-balance {
    font-size: 1.28rem;
}

.hero-phone--front .wallet-actions {
    gap: 6px;
    margin-bottom: 10px;
}

.hero-phone--front .wallet-actions span {
    padding: 7px 4px;
    gap: 4px;
}

.hero-phone--front .wallet-actions i {
    width: 24px;
    height: 24px;
    font-size: 0.62rem;
}

.hero-phone--front .wallet-panel {
    padding: 10px;
}

.hero-phone--front .wallet-panel-top {
    margin-bottom: 6px;
}

.hero-phone--front .wallet-bars {
    height: 34px;
    margin-bottom: 6px;
}

.hero-phone--front .wallet-tx {
    padding: 5px 0;
}

.hero-phone--front .wallet-tx:last-child {
    display: none;
}

.hero-phone--back .phone-device {
    transform: rotate(5deg);
}

.phone-device {
    position: relative;
    border-radius: 34px;
    padding: 8px;
    background: linear-gradient(160deg, #3b4558 0%, #0b1020 40%, #05070f 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 20px 50px rgba(0, 0, 0, 0.45);
}

.phone-shine {
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.18) 0%, transparent 28%, transparent 70%, rgba(255, 255, 255, 0.06) 100%);
    pointer-events: none;
    z-index: 3;
}

.phone-island {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 28%;
    height: 16px;
    border-radius: 999px;
    background: #020617;
    z-index: 4;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-ui {
    position: relative;
    z-index: 1;
    border-radius: 26px;
    min-height: 0;
    padding: 24px 12px 14px;
    overflow: hidden;
    color: #e2e8f0;
}

.phone-ui--wallet {
    background:
        radial-gradient(ellipse 90% 50% at 50% 0%, rgba(34, 211, 238, 0.22), transparent 55%),
        linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.phone-ui--receipt {
    min-height: 0;
    background:
        radial-gradient(ellipse 80% 40% at 50% 15%, rgba(52, 211, 153, 0.18), transparent 50%),
        linear-gradient(180deg, #111827 0%, #020617 100%);
}

.phone-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 16px;
}

.phone-bar-icons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.phone-signal {
    display: inline-flex;
    align-items: flex-end;
    gap: 1.5px;
    height: 9px;
}

.phone-signal i {
    display: block;
    width: 2.5px;
    border-radius: 0.5px;
    background: currentColor;
    opacity: 1;
}

.phone-signal i:nth-child(1) { height: 3px; }
.phone-signal i:nth-child(2) { height: 5px; }
.phone-signal i:nth-child(3) { height: 7px; }
.phone-signal i:nth-child(4) { height: 9px; }

.phone-wifi {
    width: 11px;
    height: 8px;
    margin-bottom: 1px;
    background:
        radial-gradient(circle at 50% 100%, currentColor 1.4px, transparent 1.5px),
        radial-gradient(farthest-side at 50% 100%, transparent 55%, currentColor 56% 68%, transparent 69%),
        radial-gradient(farthest-side at 50% 100%, transparent 30%, currentColor 31% 42%, transparent 43%);
    background-repeat: no-repeat;
    background-position: center bottom, center bottom, center bottom;
    background-size: 100% 100%, 100% 100%, 100% 100%;
}

.phone-battery {
    width: 16px;
    height: 8px;
    border: 1.2px solid currentColor;
    border-radius: 2px;
    position: relative;
    box-sizing: border-box;
}

.phone-battery::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 0.5px;
    background: currentColor;
}

.phone-battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 1.5px;
    width: 1.5px;
    height: 3.5px;
    border-radius: 0 1px 1px 0;
    background: currentColor;
}

.wallet-tabs {
    display: none;
    gap: 6px;
    margin-bottom: 10px;
}

.wallet-cta {
    display: none;
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 11px;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 12px;
    cursor: default;
}

.receipt-chip {
    display: none;
}

/* --- Phones variant: light (1payment-like) --- */
.hero-phones-stage--light {
    background: linear-gradient(165deg, #f3f4f6 0%, #e5e7eb 55%, #dbe3ea 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(15, 23, 42, 0.04) inset;
}

.hero-phones-stage--light .hero-phones-glow {
    background: radial-gradient(circle at 40% 75%, rgba(34, 211, 238, 0.12), transparent 60%);
}

.hero-phones-stage--light .hero-phone--front {
    left: auto;
    top: auto;
    bottom: auto;
    width: 232px;
    animation: floatXLight 5s ease-in-out infinite;
}

.hero-phones-stage--light .hero-phone--back {
    right: auto;
    top: auto;
    width: 198px;
    animation: floatYLight 4s ease-in-out infinite;
}

.hero-phones-stage--light .phone-device {
    background: linear-gradient(160deg, #d1d5db 0%, #111827 28%, #030712 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 24px 48px rgba(15, 23, 42, 0.28);
}

.hero-phones-stage--light .phone-ui--wallet {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #0f172a;
}

.hero-phones-stage--light .phone-bar { color: #334155; opacity: 0.85; }

.hero-phones-stage--light .wallet-tabs {
    display: flex;
}

.hero-phones-stage--light .wallet-tabs span {
    flex: 1;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 7px 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.22);
    color: #64748b;
}

.hero-phones-stage--light .wallet-tabs .is-active {
    background: #0f172a;
    color: #fff;
}

.hero-phones-stage--light .wallet-cta {
    display: block;
    color: #041016;
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.35);
}

.hero-phones-stage--light .wallet-head { margin-bottom: 10px; }
.hero-phones-stage--light .wallet-hello { color: #64748b; }
.hero-phones-stage--light .wallet-balance {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #0f172a;
}

.hero-phones-stage--light .wallet-actions { display: none; }

.hero-phones-stage--light .wallet-panel {
    background: #fff;
    border: none;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.hero-phones-stage--light .wallet-panel-top b { color: #1e293b; }
.hero-phones-stage--light .tx-meta b { color: #0f172a; }
.hero-phones-stage--light .tx-meta small { color: #94a3b8; }
.hero-phones-stage--light .wallet-tx { border-top-color: rgba(15, 23, 42, 0.06); }

.hero-phones-stage--light .wallet-bars span {
    background: linear-gradient(180deg, #38bdf8, #0ea5e9);
}
.hero-phones-stage--light .wallet-bars span:nth-child(even) {
    background: linear-gradient(180deg, #34d399, #059669);
}

.hero-phones-stage--light .phone-ui--receipt {
    background: linear-gradient(180deg, #0b1220 0%, #020617 100%);
}

.hero-phones-stage--light .receipt-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 8px auto;
    width: fit-content;
    margin-left: auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    font-size: 0.65rem;
    font-weight: 700;
}

.hero-phones-stage--light .receipt-ok { display: none; }

/* --- Phones variant: dark (previous) --- */
.hero-phones-stage--dark .wallet-tabs,
.hero-phones-stage--dark .wallet-cta,
.hero-phones-stage--dark .receipt-chip {
    display: none;
}

.hero-phones-stage--dark .wallet-actions { display: grid; }
.hero-phones-stage--dark .receipt-ok { display: flex; }

.wallet-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.wallet-hello {
    margin: 0;
    font-size: 0.72rem;
    color: #94a3b8;
}

.wallet-balance {
    margin: 4px 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #fff, #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.wallet-balance.is-updating {
    transform: scale(1.04);
    filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.55));
}

.wallet-tx.is-highlight {
    animation: wallet-tx-pop 0.75s ease;
}

@keyframes wallet-tx-pop {
    0% { transform: translateY(6px); opacity: 0.45; }
    55% { transform: translateY(-2px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

.wallet-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0 !important;
    object-fit: cover;
    border: 2px solid rgba(34, 211, 238, 0.45);
}

.wallet-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.wallet-actions span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.62rem;
    font-weight: 600;
    color: #cbd5e1;
}

.wallet-actions i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.35), rgba(167, 139, 250, 0.3));
    color: #a5f3fc;
    font-size: 0.7rem;
}

.wallet-panel {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 12px;
}

.wallet-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.75rem;
}

.wallet-panel-top b { color: #f1f5f9; }
.wallet-panel-top span {
    color: #34d399;
    font-weight: 700;
    font-size: 0.68rem;
}

.wallet-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 56px;
    margin-bottom: 12px;
}

.wallet-bars span {
    flex: 1;
    height: var(--h);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #67e8f9, #0891b2);
    display: block;
    animation: chartPulse 3s ease-in-out infinite;
}

.wallet-bars span:nth-child(even) {
    background: linear-gradient(180deg, #c4b5fd, #7c3aed);
    animation-delay: 0.4s;
}

.wallet-tx {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tx-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.tx-icon.in { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.tx-icon.out { background: rgba(248, 113, 113, 0.12); color: #f87171; }

.tx-meta { flex: 1; min-width: 0; }
.tx-meta b { display: block; font-size: 0.7rem; color: #f1f5f9; }
.tx-meta small { font-size: 0.58rem; color: #94a3b8; }

.tx-val { font-size: 0.72rem; font-weight: 700; color: #34d399; }
.tx-val.dim { color: #94a3b8; }

.receipt-body {
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.receipt-body.is-fading {
    opacity: 0.35;
    transform: translateY(4px);
}

.receipt-ok {
    width: 52px;
    height: 52px;
    margin: 8px auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.35), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(52, 211, 153, 0.45);
    color: #6ee7b7;
    font-size: 1.2rem;
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.25);
}

.receipt-label {
    text-align: center;
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

.receipt-sum {
    text-align: center;
    margin: 6px 0 2px;
    font-size: 1.55rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.receipt-sum small {
    font-size: 0.8rem;
    color: #22d3ee;
    font-weight: 700;
}

.receipt-fiat {
    text-align: center;
    margin: 0 0 16px;
    font-size: 0.72rem;
    color: #64748b;
}

.receipt-list {
    list-style: none;
    margin: 0;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: grid;
    gap: 10px;
}

.receipt-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
}

.receipt-list span { color: #94a3b8; }
.receipt-list b { color: #e2e8f0; font-weight: 600; }
.receipt-list .ok { color: #34d399; }

.receipt-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
}

.receipt-foot img {
    width: 20px;
    height: 20px;
    padding: 0 !important;
    border-radius: 50%;
}

@keyframes floatX {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -8px, 0); }
}

@keyframes floatY {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, 8px, 0); }
}

@keyframes floatXLight {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -8px, 0); }
}

@keyframes floatYLight {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, 8px, 0); }
}

@keyframes chartPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

.stat-card {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.telegram-like-message {
    background: rgba(20, 35, 55, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    border-top-left-radius: 4px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #fff;
    background: rgba(var(--accent-rgb), 0.14);
    border-color: rgba(var(--accent-rgb), 0.28);
}

.nav-link.is-active {
    color: #fff !important;
    background: rgba(var(--accent-rgb), 0.22);
    border-color: rgba(var(--accent-rgb), 0.45);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.12) inset;
}

.language-switcher { position: relative; display: inline-block; }

.language-switcher-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher-button:hover { background: rgba(var(--accent-rgb), 0.22); }

.language-switcher-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    min-width: 160px;
    background: rgba(20, 35, 55, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.language-option:hover { background: rgba(var(--accent-rgb), 0.15); }

.language-flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.current-language { display: flex; align-items: center; gap: 8px; }

[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .language-switcher-dropdown { right: auto; left: 0; }
[dir="rtl"] .comment-avatar,
[dir="rtl"] .testimonial-avatar { margin-right: 0; margin-left: 15px; }
[dir="rtl"] .comment-date { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .comment-text,
[dir="rtl"] .testimonial-text { padding-left: 0; padding-right: 65px; }

.view-all-comments-wrap {
    display: flex;
    justify-content: center;
    margin: 0 0 20px;
}

.comment-form {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    margin-top: 0;
}

.comment-input,
.form-input {
    width: 100%;
    background: rgba(10, 20, 35, 0.7);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-primary);
    margin-bottom: 15px;
    resize: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-input:focus,
.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}

.comment-submit,
.view-all-comments {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}

.comment-submit { margin-right: 10px; }
.comment-submit:hover,
.view-all-comments:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.4);
}

.comment-buttons { display: flex; justify-content: flex-start; align-items: center; margin-top: 15px; flex-wrap: wrap; gap: 10px; }

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 22, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(160deg, rgba(25, 42, 65, 0.95), rgba(15, 28, 45, 0.98));
    border: 1px solid var(--glass-border);
    margin: 5% auto;
    padding: 30px;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modal-in 0.3s ease;
}

@keyframes modal-in {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-modal {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover { color: var(--accent); }

.comment-item,
.testimonial-item {
    background: rgba(20, 35, 55, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.2s;
}

.testimonial-item { padding: 20px; }
.comment-item { margin-bottom: 15px; }
.comment-item:hover,
.testimonial-item:hover { border-color: rgba(var(--accent-rgb), 0.3); }

.comment-header { display: flex; align-items: center; margin-bottom: 10px; }

.comment-avatar,
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid rgba(var(--accent-rgb), 0.3);
}

.comment-author { font-weight: 600; }
.comment-date { font-size: 12px; color: var(--text-secondary); margin-left: 10px; }
.comment-text,
.testimonial-text { line-height: 1.6; padding-left: 65px; color: #cbd5e1; }

.rating { display: inline-block; margin-bottom: 15px; direction: rtl; }
.rating input { display: none; }
.rating label {
    float: right;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s, transform 0.15s;
}

.rating label:hover { transform: scale(1.1); }

.rating label:before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.5rem;
}

.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label { color: #ffd700; }

.form-group { margin-bottom: 15px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; }

.header-logo,
.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(var(--accent-rgb), 0.35);
    box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.25);
    flex-shrink: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    direction: ltr;
}

.header-brand {
    margin-bottom: 0;
}

.footer-desc {
    max-width: 280px;
}

.footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-top: 1.5rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social-link:hover {
    color: var(--accent);
    border-color: rgba(var(--accent-rgb), 0.45);
    background: rgba(var(--accent-rgb), 0.12);
}

.info-page {
    max-width: 860px;
    position: relative;
    z-index: 1;
}

.info-card {
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .info-card {
        padding: 2.5rem 2.25rem;
    }
}

.info-body {
    line-height: 1.7;
    font-size: 1rem;
}

.info-body h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.75rem 0 0.75rem;
}

.info-body p,
.info-body ul,
.info-body ol {
    margin: 0 0 1rem;
}

.info-body ul,
.info-body ol {
    padding-inline-start: 1.25rem;
}

.info-body li {
    margin-bottom: 0.4rem;
}

.info-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.info-body code {
    font-size: 0.9em;
    padding: 0.12em 0.4em;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a5f3fc;
}

.info-meta {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-bottom: 0.75rem !important;
}

.info-post {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-post:last-of-type {
    border-bottom: none;
}

.info-breadcrumb a {
    color: var(--text-secondary);
}

.info-breadcrumb a:hover {
    color: var(--accent);
}

.info-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.info-nav-btn:hover {
    color: #fff;
    background: rgba(var(--accent-rgb), 0.18);
    border-color: rgba(var(--accent-rgb), 0.45);
    transform: translateY(-1px);
}

.info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.info-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.info-action-btn i {
    font-size: 0.95rem;
}

.info-action-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 45%, #6366f1 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 28px rgba(14, 165, 233, 0.35);
}

.info-action-btn--primary:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(14, 165, 233, 0.45);
}

.info-action-btn--ghost {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.info-action-btn--ghost:hover {
    color: #fff;
    border-color: rgba(var(--accent-rgb), 0.5);
    background: rgba(var(--accent-rgb), 0.14);
    transform: translateY(-2px);
}

.info-action-btn--telegram {
    color: #fff;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 22px rgba(34, 158, 217, 0.35);
}

.info-action-btn--telegram:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-2px);
}

[dir="rtl"] .info-action-btn--primary i.fa-arrow-left {
    transform: scaleX(-1);
}

.info-body a[href*="contact"],
.info-body a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 2px 4px 2px 0;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none !important;
    color: #e0f2fe;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.35);
    font-weight: 600;
    font-size: 0.92em;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.info-body a[href*="contact"]:hover,
.info-body a[href^="mailto:"]:hover {
    background: rgba(34, 211, 238, 0.22);
    border-color: rgba(34, 211, 238, 0.55);
    transform: translateY(-1px);
}

[dir="rtl"] .footer-brand-col {
    text-align: right;
}

[dir="rtl"] .footer-desc {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .footer-social {
    justify-content: flex-start;
    flex-direction: row;
}

.image-upload-container { margin-bottom: 15px; }
.image-upload-label { display: block; margin-bottom: 5px; font-weight: 500; }
.image-upload-input { display: none; }

.image-upload-button {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px dashed rgba(var(--accent-rgb), 0.35);
    border-radius: 10px;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-upload-button:hover {
    background: rgba(var(--accent-rgb), 0.2);
    border-color: var(--accent);
}

.image-preview-container { margin-top: 10px; display: none; }

.avatar-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid rgba(var(--accent-rgb), 0.4);
}

.remove-image { color: #f87171; cursor: pointer; font-size: 12px; margin-left: 5px; }

.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 2.5rem;
    color: rgba(var(--accent-rgb), 0.4);
    margin-bottom: 1rem;
}

.toast-container {
    position: fixed;
    bottom: 96px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), 0.45);
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.95), rgba(8, 145, 178, 0.92));
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.5);
    transform: translateY(-2px);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 3px;
}

.toast {
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(20, 35, 55, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
    font-size: 0.9rem;
    animation: toast-in 0.35s ease;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.toast.is-success { border-color: rgba(34, 197, 94, 0.5); }
.toast.is-error { border-color: rgba(248, 113, 113, 0.5); }
.toast.is-info { border-color: rgba(var(--accent-rgb), 0.5); }

@keyframes toast-in {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.site-footer {
    background: linear-gradient(180deg, rgba(14, 26, 42, 0.9), rgba(8, 16, 28, 0.95));
    border-top: 1px solid var(--glass-border);
}

#mobile-menu {
    background: rgba(14, 26, 42, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .stats-row { grid-template-columns: 1fr; }

    .hero-phones-stage,
    .hero-visual.hero-phones-stage {
        width: 100%;
        min-width: 0;
        height: auto;
        max-width: 100%;
        margin: 1.25rem 0 0;
        border-radius: 22px;
        overflow: visible;
        padding: 16px 10px 18px;
        position: relative;
        isolation: isolate;
        align-self: stretch;
        box-sizing: border-box;
    }

    .hero-phones {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 6px;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: visible;
        padding: 4px 0;
    }

    .hero-phone--back,
    .hero-phone--front {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        max-width: none;
        margin: 0;
    }

    .hero-phone--front {
        order: 1;
        width: 162px;
        z-index: 2;
        filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.45));
        animation: floatYMobile 4.5s ease-in-out infinite;
    }

    .hero-phone--back {
        display: block;
        order: 2;
        width: 142px;
        opacity: 0.98;
        z-index: 1;
        margin-bottom: 10px;
        filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
        animation: floatYMobileBack 4.8s ease-in-out infinite;
    }

    .hero-phones-stage--light .hero-phone--front,
    .hero-phones-stage--light .hero-phone--back {
        animation-name: floatYMobile;
    }

    .hero-phones-stage--light .hero-phone--back {
        animation-name: floatYMobileBack;
    }

    .hero-phone--front .phone-device {
        transform: rotate(-3deg);
    }

    .hero-phone--front .phone-ui {
        padding: 12px 8px 7px;
    }

    .hero-phone--front .phone-bar {
        margin-bottom: 6px;
    }

    .hero-phone--front .wallet-head {
        margin-bottom: 6px;
    }

    .hero-phone--front .wallet-balance {
        font-size: 0.88rem;
    }

    .hero-phone--front .wallet-actions {
        gap: 4px;
        margin-bottom: 6px;
    }

    .hero-phone--front .wallet-actions span {
        padding: 4px 2px;
        font-size: 0.45rem;
    }

    .hero-phone--front .wallet-actions i {
        width: 16px;
        height: 16px;
        font-size: 0.45rem;
    }

    .hero-phone--front .wallet-panel {
        padding: 6px;
        border-radius: 10px;
    }

    .hero-phone--front .wallet-bars {
        height: 22px;
        margin-bottom: 4px;
        gap: 2px;
    }

    .hero-phone--front .wallet-tx:last-child {
        display: none;
    }

    .hero-phone--back .phone-device {
        transform: rotate(4deg);
    }

    .phone-device {
        border-radius: 20px;
        padding: 4px;
    }

    .phone-island {
        top: 8px;
        height: 9px;
        width: 28%;
    }

    .phone-ui {
        min-height: 0;
        border-radius: 16px;
        padding: 14px 7px 8px;
    }

    .phone-ui--wallet,
    .phone-ui--receipt {
        min-height: 0;
    }

    .phone-ui--receipt {
        padding-top: 14px;
    }

    .phone-bar { margin-bottom: 6px; font-size: 0.5rem; }

    .wallet-head { margin-bottom: 6px; }
    .wallet-hello { font-size: 0.58rem; }
    .wallet-balance { font-size: 0.92rem; }
    .wallet-avatar { width: 24px; height: 24px; }

    .wallet-actions {
        gap: 4px;
        margin-bottom: 6px;
    }

    .wallet-actions span {
        padding: 5px 2px;
        font-size: 0.48rem;
        border-radius: 9px;
        gap: 3px;
    }

    .wallet-actions i {
        width: 18px;
        height: 18px;
        font-size: 0.5rem;
    }

    .wallet-panel { padding: 7px; border-radius: 11px; }
    .wallet-panel-top { font-size: 0.6rem; margin-bottom: 5px; }

    .wallet-bars {
        height: 28px;
        margin-bottom: 5px;
        gap: 3px;
    }

    .wallet-tx { padding: 5px 0; gap: 5px; }
    .tx-icon { width: 20px; height: 20px; font-size: 0.5rem; }
    .tx-meta b { font-size: 0.55rem; }
    .tx-meta small { font-size: 0.45rem; }
    .tx-val { font-size: 0.58rem; }
    .wallet-tx:last-child { display: none; }

    .receipt-ok {
        width: 32px;
        height: 32px;
        margin: 2px auto 6px;
        font-size: 0.8rem;
    }

    .receipt-label { font-size: 0.58rem; }
    .receipt-sum { font-size: 1.05rem; margin: 2px 0 1px; }
    .receipt-fiat { font-size: 0.55rem; margin-bottom: 8px; }
    .receipt-list { padding: 7px; gap: 5px; }
    .receipt-list li { font-size: 0.55rem; }
    .receipt-foot { margin-top: 8px; font-size: 0.55rem; }
    .receipt-foot img { width: 14px; height: 14px; }
    .receipt-chip { font-size: 0.5rem; padding: 2px 6px; }

    .comment-buttons { flex-direction: column; }

    .comment-submit,
    .view-all-comments {
        width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .comment-text,
    .testimonial-text { padding-left: 0; margin-top: 10px; }

    .toast-container { left: 16px; right: 16px; max-width: none; bottom: 88px; }

    .back-to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 640px) {
    .hero-section { padding-top: 1rem; }

    .hero-phones-stage,
    .hero-visual.hero-phones-stage {
        height: auto;
        padding: 14px 8px 16px;
    }

    .hero-phone--front {
        width: 152px;
    }

    .hero-phone--back {
        width: 132px;
        margin-bottom: 8px;
    }
}

@keyframes floatYMobile {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -3px, 0); }
}

@keyframes floatYMobileBack {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, 3px, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .backdrop-shimmer,
    .backdrop-nebula,
    .backdrop-hub-glow,
    .hero-phone--front,
    .hero-phone--back,
    .wallet-bars span,
    .wallet-chart span { animation: none; }
    .site-backdrop--cosmos .backdrop-shimmer { opacity: 0.45; }
}
