/* ============================================
   Tron Vault — Premium Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #FF060A;
    --color-primary-dark: #CC0508;
    --color-primary-glow: rgba(255, 6, 10, 0.4);
    --color-primary-subtle: rgba(255, 6, 10, 0.08);

    --color-bg: #050507;
    --color-bg-elevated: #0a0a0f;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-card-hover: rgba(255, 255, 255, 0.06);

    --color-surface: #111118;
    --color-surface-light: #1a1a24;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(255, 6, 10, 0.3);

    --color-text: #f0f0f5;
    --color-text-secondary: rgba(255, 255, 255, 0.55);
    --color-text-muted: rgba(255, 255, 255, 0.35);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.25);
    --shadow-lg: 0 6px 16px rgba(0,0,0,0.3);
    --shadow-glow: none;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --section-padding: 120px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 88px;
}

body.nav-open {
    overflow: hidden;
    touch-action: none;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 50% 40% at 15% 10%, rgba(255, 6, 10, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 85% 80%, rgba(20, 40, 120, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* layout containment only — avoid paint containment (can confuse some browser/Cursor pickers) */
section {
    contain: layout;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

::selection {
    background: var(--color-primary);
    color: white;
}

/* --- Cursor Glow (disabled) --- */
.cursor-glow,
.particles-bg {
    display: none;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- Section Utilities --- */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, #FF060A 0%, #FF4444 50%, #FF060A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 100px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.35s;
}

.btn-primary {
    background: linear-gradient(135deg, #FF060A 0%, #cc0508 50%, #FF060A 100%);
    background-size: 200% 100%;
    color: white;
    border: 1px solid rgba(255, 100, 100, 0.15);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 6, 10, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary::before {
    background: linear-gradient(135deg, #FF2020 0%, #FF060A 100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-position: 100% 0;
    box-shadow:
        0 4px 16px rgba(255, 6, 10, 0.3),
        0 0 40px rgba(255, 6, 10, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 100, 100, 0.25);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        0 1px 4px rgba(255, 6, 10, 0.2),
        inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary svg {
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-outline {
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: rgba(255,255,255,0.04);
}

.btn-outline:hover {
    border-color: var(--color-border-hover);
    background: rgba(255, 6, 10, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(255, 6, 10, 0.06);
}

.btn-ghost {
    color: var(--color-text-secondary);
    padding: 12px 20px;
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-xl);
}

.btn-xl {
    padding: 20px 48px;
    font-size: 18px;
    border-radius: var(--radius-xl);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn svg {
    position: relative;
    z-index: 1;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(3px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    padding-top: max(16px, env(safe-area-inset-top));
    background: rgba(5, 5, 7, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}

.navbar.scrolled {
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: 10px;
    background: rgba(5, 5, 7, 0.97);
    border-bottom-color: var(--color-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-link--manager {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 13px;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.nav-link--manager::after {
    display: none;
}

.nav-link--manager:hover {
    background: rgba(255, 6, 10, 0.08);
    border-color: rgba(255, 6, 10, 0.25);
    color: #fff;
}

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

/* --- Language switcher --- */
.lang-switch {
    position: relative;
}

.lang-switch__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
    line-height: 1;
}

.lang-switch__trigger:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.lang-switch__flag {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    flex-shrink: 0;
    overflow: hidden;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lang-switch__code {
    letter-spacing: 0.04em;
}

.lang-switch__chevron {
    opacity: 0.4;
    transition: transform var(--transition-fast);
}

.lang-switch.is-open .lang-switch__chevron {
    transform: rotate(180deg);
}

.lang-switch__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    padding: 6px;
    border-radius: var(--radius-md);
    background: rgba(14, 14, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px) scale(0.97);
    transform-origin: top right;
    transition: opacity var(--transition-fast), visibility 0s linear 0.2s, transform var(--transition-fast);
    z-index: 50;
}

.lang-switch.is-open .lang-switch__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity var(--transition-fast), visibility 0s linear 0s, transform var(--transition-fast);
}

.lang-switch__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-switch__option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
}

.lang-switch__option.is-active {
    color: var(--color-text);
    background: rgba(255, 6, 10, 0.08);
}

.lang-switch__option.is-active::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-primary);
    margin-left: auto;
    box-shadow: 0 0 8px rgba(255, 6, 10, 0.5);
}

.lang-switch__name {
    flex: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 48px 56px;
    border-radius: var(--radius-2xl);
    background:
        radial-gradient(ellipse 60% 50% at 10% 20%, rgba(255, 6, 10, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 80%, rgba(255, 6, 10, 0.04) 0%, transparent 60%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 0 0 1px rgba(255, 6, 10, 0.03),
        0 24px 64px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.hero-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, transparent 30%, transparent 70%, rgba(255, 6, 10, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-content {
    min-width: 0;
    max-width: 40rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-title__line {
    display: block;
    white-space: nowrap;
}

.hero-title-row {
    display: inline;
    position: relative;
}

.hero-inline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.34em;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-primary);
    padding: 6px 14px;
    border-radius: 100px;
    transform: rotate(-8deg) translateY(-6px);
    vertical-align: middle;
    margin-left: 10px;
    position: relative;
    top: -4px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 36px;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.hero-pay-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    grid-column: 2;
    margin-top: -8px;
    position: relative;
    z-index: 5;
}

.hero-pay-badge {
    height: 44px;
    width: auto;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: default;
    filter: brightness(1.15) saturate(1.2);
}

.hero-pay-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 6, 10, 0.08) 0%, rgba(255, 6, 10, 0.03) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* --- Phone Mockup (PNG + card overlay) --- */
.hero-phone-mockup {
    position: relative;
    z-index: 2;
    width: 380px;
    flex-shrink: 0;
}

.hero-phone-mockup__img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

.hero-phone-mockup__card {
    position: absolute;
    top: 17.4%;
    left: 9%;
    width: 82%;
    z-index: 5;
}

/* --- Hero Features Bar --- */
.hero-features {
    margin-top: auto;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-features__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.hero-features__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.hero-features__item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.hero-features__sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
}

/* legacy: kept for showcase section */
.card-scene {
    perspective: 1000px;
    z-index: 2;
    cursor: grab;
}

.card-scene:active {
    cursor: grabbing;
}

/* --- Crypto Card --- */
.crypto-card {
    width: 380px;
    height: 240px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-face {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    backface-visibility: hidden;
    overflow: hidden;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.card-front {
    isolation: isolate;
    background:
        radial-gradient(ellipse 130% 90% at 100% 105%, rgba(255, 6, 10, 0.16) 0%, transparent 52%),
        radial-gradient(ellipse 70% 55% at 8% 12%, rgba(255, 80, 80, 0.07) 0%, transparent 48%),
        linear-gradient(152deg, #141018 0%, #0b090d 38%, #160a0c 62%, #0a0812 100%);
    border: 1px solid rgba(255, 6, 10, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-front::before {
    content: '';
    position: absolute;
    width: min(118%, 320px);
    aspect-ratio: 1;
    right: -18%;
    bottom: -22%;
    background: url('/assets/images/tron-mark.svg') no-repeat 50% 50%;
    background-size: contain;
    opacity: 0.26;
    transform: rotate(-14deg);
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 32px rgba(255, 6, 10, 0.14));
}

.card-back {
    background: linear-gradient(135deg, #0d0d15 0%, #1a0a0a 100%);
    border: 1px solid rgba(255, 6, 10, 0.15);
    transform: rotateY(180deg);
    justify-content: center;
    gap: 20px;
}

.card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.04) 45%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 55%,
        transparent 70%
    );
    z-index: 5;
    pointer-events: none;
    transition: transform 0.5s;
}

.card-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(circle at 18% 78%, rgba(255, 6, 10, 0.05) 0%, transparent 46%),
        radial-gradient(circle at 92% 8%, rgba(255, 40, 40, 0.035) 0%, transparent 42%);
    pointer-events: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: auto;
    position: relative;
    z-index: 2;
}

.card-brand-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.card-nfc {
    opacity: 0.5;
}

.card-tier {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.45);
    background: none;
    padding: 0;
    border-radius: 0;
    border: none;
}

.card-chip {
    width: 44px;
    height: 32px;
    background: linear-gradient(135deg, #c4a44a 0%, #e8d48b 40%, #c4a44a 60%, #a08535 100%);
    border-radius: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    padding: 4px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.chip-line {
    background: rgba(0,0,0,0.15);
    border-radius: 1px;
}

.card-number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.card-number {
    display: flex;
    gap: 16px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}

.card-bottom {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.card-label {
    display: block;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 2px;
}

.card-value {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.card-network {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-tron-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    background: none;
    padding: 0;
    border-radius: 0;
    border: none;
    z-index: 3;
}

.card-balance-display {
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.balance-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.balance-amount {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.card-mag-strip {
    width: 100%;
    height: 42px;
    background: linear-gradient(180deg, #1a1a2e 0%, #0d0d15 100%);
    border-radius: 0;
}

.card-cvv-strip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin: 0 28px;
}

.card-cvv {
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 0.2em;
}

.card-back-brand {
    text-align: center;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.2);
}

/* --- In-Phone Card Variant (hero mockup) --- */
.hero-phone-mockup__card .crypto-card.crypto-card--in-phone {
    width: 100%;
    height: 0;
    padding-bottom: 66%;
    position: relative;
}

.hero-phone-mockup__card .crypto-card--in-phone .card-face {
    position: absolute;
    inset: 0;
    border-radius: 4.2% / 6.6%;
    padding: 6.5% 6%;
    overflow: hidden;
}

.hero-phone-mockup__card .crypto-card--in-phone .card-number {
    font-size: clamp(10px, 1.1vw, 14px);
    gap: 8px;
}

.hero-phone-mockup__card .crypto-card--in-phone .card-brand-name {
    font-size: clamp(10px, 1vw, 13px);
}

.hero-phone-mockup__card .crypto-card--in-phone .card-label {
    font-size: clamp(5px, 0.55vw, 7px);
}

.hero-phone-mockup__card .crypto-card--in-phone .card-value {
    font-size: clamp(7px, 0.8vw, 10px);
}

.hero-phone-mockup__card .crypto-card--in-phone .card-tron-badge {
    top: 6.5%;
    right: 6%;
    font-size: clamp(6px, 0.6vw, 8px);
}

.hero-phone-mockup__card .crypto-card--in-phone .card-visa-logo {
    width: clamp(30px, 3.5vw, 40px);
}

.hero-phone-mockup__card .crypto-card--in-phone .card-mc-logo {
    width: clamp(22px, 2.5vw, 28px);
}

.hero-phone-mockup__card .crypto-card--in-phone .card-number-row {
    margin-bottom: 8px;
}

.hero-phone-mockup__card .crypto-card--in-phone .card-bottom {
    gap: 14px;
}

/* --- Image-Based Card Variant --- */
.crypto-card--image {
    width: 460px;
    height: auto;
    aspect-ratio: auto;
}

.crypto-card--image .card-face {
    position: relative;
    inset: auto;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    overflow: visible;
}

.crypto-card--image .card-front {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.crypto-card--image .card-img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    border-radius: 0;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.crypto-card--image .card-shine {
    border-radius: 14px;
    z-index: 10;
    inset: 4%;
}

.crypto-card--image .card-back {
    background: linear-gradient(135deg, #2a0a0a 0%, #0d0d15 40%, #1a0505 100%);
    border: 1px solid rgba(255, 6, 10, 0.15);
    border-radius: 16px;
    padding: 0;
}

.crypto-card--image .card-back-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    height: 100%;
    padding: 28px;
}

/* --- Floating Badges --- */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    z-index: 5;
    box-shadow: none;
}

.fb-1 {
    top: 20%;
    right: -20px;
    animation: float-badge 6s ease-in-out infinite;
}

.fb-2 {
    bottom: 20%;
    left: -10px;
    animation: float-badge 6s ease-in-out infinite 3s;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust {
    padding: 40px 0 72px;
    position: relative;
}

.trust-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 36px;
}

.trust-logos {
    overflow: hidden;
    margin-bottom: 64px;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.trust-track {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.trust-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.4s;
}

.trust-logo:hover {
    color: var(--hover-color, rgba(255, 255, 255, 0.5));
}

.trust-stats {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 72px;
}

.stat-card {
    text-align: center;
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--section-padding) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 56px;
}

.feature-card {
    position: relative;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-glow {
    display: none;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    color: var(--color-primary);
    transition: all 0.4s;
    position: relative;
}

.feature-card:hover .feature-icon {
    color: #ff3333;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.feature-card:hover .feature-title {
    color: #fff;
}

.feature-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.75;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: var(--section-padding) 0;
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    position: relative;
    counter-reset: step;
}

.steps-line {
    display: none;
}

.step-card {
    text-align: left;
    padding: 0;
    position: relative;
    background: none;
    border: none;
}

.step-number-wrap {
    position: relative;
    display: inline-flex;
    margin-bottom: 28px;
}

.step-number {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 6, 10, 0.3) 0%, rgba(255, 6, 10, 0.05) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    border: none;
    border-radius: 0;
    position: relative;
    z-index: 2;
    box-shadow: none;
}

.step-pulse {
    display: none;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.75;
    max-width: 300px;
}

/* ============================================
   CARD SHOWCASE
   ============================================ */
.card-showcase {
    padding: var(--section-padding) 0;
}

.showcase-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.showcase-card-wrapper {
    position: relative;
    perspective: 1000px;
}

.showcase-card {
    width: 380px;
    height: 240px;
}

.showcase-glow {
    display: none;
}

.showcase-info .section-tag {
    display: inline-block;
    margin-bottom: 16px;
}

.showcase-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.showcase-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.showcase-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.5);
    padding: 12px 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0;
    transition: color 0.3s;
}

.showcase-features li:last-child {
    border-bottom: none;
}

.showcase-features li:hover {
    color: rgba(255, 255, 255, 0.8);
}

.showcase-features svg {
    flex-shrink: 0;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
    padding: var(--section-padding) 0;
    position: relative;
}

.vs {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 56px;
    max-width: 900px;
    margin: 0 auto;
}

.vs__col {
    padding: 0;
}

.vs__heading {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vs__heading--old {
    color: rgba(255, 255, 255, 0.3);
}

.vs__heading--new {
    color: var(--color-primary);
}

.vs__divider {
    background: rgba(255, 255, 255, 0.06);
}

.vs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vs__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.2s;
}

.vs__item:last-child {
    border-bottom: none;
}

.vs__item--bad {
    color: rgba(255, 255, 255, 0.3);
}

.vs__item--good {
    color: rgba(255, 255, 255, 0.8);
}

.vs__x {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    width: 15px;
    text-align: center;
}

.vs__check {
    flex-shrink: 0;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .vs {
        grid-template-columns: 1fr;
        gap: 36px 0;
    }

    .vs__divider {
        height: 1px;
        width: 100%;
    }
}

/* legacy compat — remove later */
.benefits-comparison {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 80px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Premium comparison (crypto / glass) --- */
.comparison-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 28px 26px 24px;
    overflow: hidden;
    isolation: isolate;
    min-width: 0;
}

.comparison-card--legacy {
    background: linear-gradient(165deg, rgba(22, 22, 30, 0.85) 0%, rgba(10, 10, 14, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 20px 48px rgba(0, 0, 0, 0.35);
}

.comparison-card--vault {
    background: linear-gradient(165deg, rgba(24, 12, 14, 0.95) 0%, rgba(8, 6, 8, 0.96) 100%);
    border: 1px solid rgba(255, 6, 10, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 80, 80, 0.08),
        0 0 0 1px rgba(255, 6, 10, 0.06),
        0 24px 56px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(255, 6, 10, 0.06);
}

.comparison-card__noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.comparison-card__glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(255, 6, 10, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.comparison-card__head {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-card--vault .comparison-card__head {
    border-bottom-color: rgba(255, 6, 10, 0.15);
}

.comparison-card__head-top {
    margin-bottom: 10px;
}

.comparison-card__kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    margin: 0 0 8px;
    line-height: 1.3;
}

.comparison-card__kicker--vault {
    color: rgba(255, 130, 130, 0.75);
    letter-spacing: 0.1em;
}

.comparison-card__head-top h3 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0;
}

.comparison-card--legacy .comparison-card__head-top h3 {
    color: rgba(255, 255, 255, 0.72);
}

.comparison-card--vault .comparison-card__head-top h3 {
    color: #fff;
}

.comparison-card__tagline {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.34);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.45;
}

.comparison-card__tagline--vault {
    color: rgba(255, 255, 255, 0.48);
}

.comparison-card__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comparison-card__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.45;
    padding: 11px 12px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.comparison-card--legacy .comparison-card__row--bad {
    color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-card--legacy .comparison-card__row--bad:hover {
    background: rgba(255, 60, 60, 0.06);
    border-color: rgba(255, 60, 60, 0.12);
}

.comparison-card--vault .comparison-card__row--good {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 6, 10, 0.05);
    border: 1px solid rgba(255, 6, 10, 0.1);
}

.comparison-card--vault .comparison-card__row--good:hover {
    background: rgba(255, 6, 10, 0.1);
    border-color: rgba(255, 6, 10, 0.2);
    transform: translateX(2px);
}

.comparison-card__icon {
    flex-shrink: 0;
    margin-top: 1px;
    opacity: 0.85;
}

.comparison-card__check {
    color: #ff3a3e;
}

.comparison-pivot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    align-self: stretch;
    gap: 0;
    padding: 8px 0;
}

.comparison-pivot__rule {
    flex: 1;
    width: 1px;
    min-height: 12px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.07) 22%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.07) 78%,
        transparent 100%
    );
}

.comparison-pivot__vs {
    flex-shrink: 0;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 500;
    font-variant: small-caps;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.22);
    padding: 10px 0;
    line-height: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 40px;
}

.benefit-card {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    transition: transform 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-2px);
}

.benefit-icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 16px;
    position: relative;
}

.benefit-icon-wrap::after {
    display: none;
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.benefit-card p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.75;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: var(--section-padding) 0;
}

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

.faq-item {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
    border-color: rgba(255, 6, 10, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    transition: color var(--transition-fast);
}

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

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--color-text-muted);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: var(--section-padding) 0;
}

.cta-card {
    position: relative;
    padding: 100px 60px;
    background: linear-gradient(165deg, rgba(255, 6, 10, 0.04) 0%, transparent 40%, rgba(255, 6, 10, 0.02) 100%);
    border: 1px solid rgba(255, 6, 10, 0.1);
    border-radius: var(--radius-2xl);
    text-align: center;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 6, 10, 0.25), transparent 40%, transparent 60%, rgba(255, 6, 10, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 6, 10, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.cta-glow {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-actions {
    margin-bottom: 20px;
}

.cta-note {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0 max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer .nav-logo {
    margin-bottom: 0;
    flex-shrink: 0;
}

.footer .nav-logo .logo-text {
    font-size: 1.1rem;
}

.footer-tagline {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.2);
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: auto;
}

.footer-link {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer > .container > .footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* hide old classes */
.footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    width: auto;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.32);
}

.footer-meta-sep {
    color: rgba(255, 255, 255, 0.2);
    user-select: none;
}

.footer-copy,
.footer-legal {
    display: inline;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    transition: all var(--transition-base);
}

.social-link:hover {
    color: var(--color-primary);
    border-color: var(--color-border-hover);
    background: var(--color-primary-subtle);
    transform: translateY(-2px);
}

/* ============================================
   ERROR PAGE
   ============================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-page h1 {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF060A, #FF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.error-page p {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

/* ============================================
   ANIMATIONS (initial states)
   ============================================ */
.anim-fade-up {
    opacity: 0;
    transform: translateY(24px);
    will-change: transform, opacity;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    html {
        scroll-padding-top: 76px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding: 40px 36px;
    }

    .hero-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 32rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        min-height: 320px;
    }

    .hero-phone-mockup {
        width: 320px;
    }

    .hero-features__row {
        gap: 32px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-card {
        text-align: center;
    }

    .step-desc {
        max-width: none;
        margin: 0 auto;
    }

    .steps-line {
        display: none;
    }

    .showcase-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .showcase-info .section-title {
        text-align: center;
    }

    .showcase-desc {
        margin-left: auto;
        margin-right: auto;
        max-width: 36rem;
    }

    .showcase-features {
        align-items: stretch;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .benefits-comparison {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 56px;
        align-items: stretch;
    }

    .comparison-card {
        padding: 22px 18px 18px;
    }

    .comparison-pivot {
        width: 36px;
        min-width: 36px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 24px;
    }

}

@media (max-width: 960px) {
    .benefits-comparison {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .comparison-pivot {
        flex-direction: row;
        width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 6px 0;
        align-self: center;
        gap: 16px;
    }

    .comparison-pivot__rule {
        flex: 1;
        width: auto;
        height: 1px;
        min-height: 0;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 20%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.08) 80%,
            transparent 100%
        );
    }

    .comparison-pivot__vs {
        padding: 0;
    }

    .comparison-card--vault .comparison-card__row--good:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px;
    }

    html {
        scroll-padding-top: 68px;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(1.65rem, 7vw, 2.25rem);
        margin-bottom: 14px;
    }

    .section-subtitle {
        font-size: 0.98rem;
        padding: 0 4px;
    }

    .navbar {
        padding: 12px 0;
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .nav-container {
        gap: 8px;
    }

    .nav-logo {
        position: relative;
        z-index: 2001;
    }

    .nav-logo .logo-text {
        font-size: 1.1rem;
    }

    .nav-actions {
        gap: 8px;
        position: relative;
        z-index: 2001;
    }

    .nav-actions .btn-primary {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: var(--radius-md);
    }

    .nav-links {
        display: none;
    }

    .lang-switch__code {
        display: none;
    }

    .lang-switch__trigger {
        padding: 8px;
        gap: 4px;
    }

    .nav-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2001;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        top: 0;
        padding: max(24px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom));
        background: rgba(5, 5, 7, 0.98);
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 2000;
    }

    .nav-links.active .nav-link {
        font-size: 1.2rem;
        padding: 8px 0;
    }

    .hero {
        min-height: auto;
        padding: calc(88px + env(safe-area-inset-top)) 0 0;
        align-items: flex-start;
    }

    .hero-container {
        padding: 28px 20px;
        border-radius: var(--radius-xl);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
        line-height: 1.12;
    }

    .hero-inline-badge {
        font-size: 0.38em;
        padding: 4px 10px;
        transform: rotate(-4deg) translateY(-4px);
        margin-left: 6px;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
        min-height: 48px;
    }

    .hero-visual {
        min-height: 280px;
    }

    .hero-phone-mockup {
        width: 260px;
    }

    .hero-features__row {
        flex-direction: column;
        gap: 16px;
    }

    .hero-features__sep {
        width: 40px;
        height: 1px;
    }

    .card-scene,
    .showcase-card-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .crypto-card,
    .showcase-card {
        width: min(100%, calc(100vw - 36px));
        max-width: 360px;
        height: auto;
        aspect-ratio: 1.586;
        max-height: none;
    }

    .crypto-card--image {
        width: min(100%, calc(100vw - 36px));
        max-width: 360px;
        height: auto;
    }

    .card-face {
        padding: clamp(16px, 4vw, 24px);
    }

    .card-number {
        font-size: clamp(12px, 3.2vw, 15px);
        gap: 8px 10px;
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .card-bottom {
        flex-wrap: wrap;
        gap: 12px 20px;
        align-items: flex-end;
    }

    .card-network {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        order: 4;
        margin-top: 4px;
    }

    .card-tron-badge {
        top: 16px;
        right: 16px;
    }

    .card-visa-logo {
        width: 44px;
        height: auto;
    }

    .card-mc-logo {
        width: 32px;
        height: auto;
    }

    .card-cvv-strip {
        margin-left: 16px;
        margin-right: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 24rem;
        margin: 0 auto;
    }

    .feature-card {
        text-align: center;
    }

    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .trust {
        padding: 32px 0 56px;
    }

    .trust-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 28px 40px;
        row-gap: 28px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 10px;
    }

    .trust-track {
        gap: 40px;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .showcase-features {
        max-width: 100%;
        text-align: left;
    }

    .showcase-features li {
        font-size: 14px;
        padding: 10px 0;
    }

    .showcase-info .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        min-height: 48px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 22rem;
        margin: 0 auto;
    }

    .benefit-card {
        text-align: center;
    }

    .benefit-icon-wrap {
        margin-left: auto;
        margin-right: auto;
    }

    .benefits-comparison {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 44px;
    }

    .comparison-pivot {
        flex-direction: row;
        width: 100%;
        min-width: 0;
        order: 2;
        padding: 4px 0 8px;
        gap: 12px;
    }

    .comparison-pivot__rule {
        flex: 1;
        width: auto;
        height: 1px;
        min-height: 0;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.07) 25%,
            rgba(255, 255, 255, 0.09) 50%,
            rgba(255, 255, 255, 0.07) 75%,
            transparent 100%
        );
    }

    .comparison-pivot__vs {
        font-size: 10px;
        padding: 0;
    }

    .comparison-card--legacy {
        order: 1;
    }

    .comparison-card--vault {
        order: 3;
    }

    .comparison-card {
        padding: 18px 16px 16px;
    }

    .comparison-card__head {
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .comparison-card__kicker {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .comparison-card__head-top h3 {
        font-size: 1.05rem;
    }

    .comparison-card__tagline {
        font-size: 12px;
    }

    .comparison-card__row {
        font-size: 12px;
        padding: 9px 10px;
        gap: 10px;
    }

    .comparison-card__icon svg {
        width: 14px;
        height: 14px;
    }

    .faq-list {
        padding: 0 2px;
    }

    .faq-question {
        padding: 18px 16px;
        font-size: 14px;
        gap: 12px;
        min-height: 52px;
    }

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

    .cta-card {
        padding: 48px 20px;
        border-radius: var(--radius-xl);
    }

    .cta-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .cta-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 16px;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        white-space: normal;
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links {
        gap: 16px;
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer > .container > .footer-copy {
        text-align: center;
    }

    .floating-badge {
        display: none;
    }

    .error-page h1 {
        font-size: clamp(3rem, 18vw, 4.5rem);
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title {
        font-size: clamp(1.65rem, 8.5vw, 2rem);
    }

    .hero-phone-mockup {
        width: 220px;
    }

    .hero-phone-mockup__card .crypto-card--in-phone .card-face {
        padding: 10px;
        border-radius: 10px;
    }

    .hero-phone-mockup__card .crypto-card--in-phone .card-number {
        font-size: 9px;
        gap: 4px;
    }

    .hero-phone-mockup__card .crypto-card--in-phone .card-brand-name {
        font-size: 9px;
    }

    .hero-phone-mockup__card .crypto-card--in-phone .card-bottom {
        gap: 6px;
    }

    .hero-phone-mockup__card .crypto-card--in-phone .card-tron-badge {
        top: 8px;
        right: 8px;
        font-size: 7px;
    }

    .crypto-card,
    .showcase-card {
        max-width: 100%;
        width: calc(100vw - 32px);
    }

    .crypto-card--image {
        width: calc(100vw - 32px);
        max-width: 100%;
    }

    .card-face {
        padding: 14px 16px;
    }

    .card-number {
        font-size: 12px;
        gap: 6px 8px;
        letter-spacing: 0.05em;
    }

    .card-chip {
        width: 36px;
        height: 26px;
        margin-bottom: 10px;
    }

    .balance-amount {
        font-size: clamp(18px, 5vw, 22px);
    }

    .card-brand-name {
        font-size: 14px;
    }

    .card-tier {
        font-size: 8px;
    }

    .card-label {
        font-size: 8px;
    }

    .card-value {
        font-size: 11px;
    }

    .btn-lg {
        padding: 14px 22px;
        font-size: 15px;
    }

    .btn-xl {
        padding: 16px 24px;
        font-size: 16px;
    }

    .trust-stats {
        gap: 24px 32px;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .step-number {
        font-size: 2.15rem;
    }

    .cta-card {
        padding: 40px 16px;
    }

    .nav-actions .btn-primary {
        padding: 9px 12px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.55rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-actions .btn-primary {
        padding: 9px 14px;
        font-size: 11px;
    }

    .footer-meta {
        flex-direction: column;
        gap: 6px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}

/* ============================================
   LEGAL PAGES (Terms / Privacy) — open layout, no cards
   ============================================ */
.legal-doc {
    padding: calc(88px + env(safe-area-inset-top)) 0 calc(var(--section-padding) * 0.75);
    min-height: 60vh;
}

.legal-doc__inner {
    max-width: 42rem;
}

.legal-doc__hero {
    margin-bottom: 48px;
    padding-bottom: 36px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 6, 10, 0.12) 50%, transparent 100%) 0 100% / 100% 1px no-repeat;
}

.legal-doc__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 6, 10, 0.55);
    margin-bottom: 12px;
}

.legal-doc__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.legal-doc__updated {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.legal-doc__lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin: 0;
}

.legal-doc__body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.legal-doc__section {
    padding: 28px 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 15%, rgba(255, 255, 255, 0.04) 85%, transparent 100%) 0 100% / 100% 1px no-repeat;
}

.legal-doc__section:last-of-type {
    background: none;
    padding-bottom: 8px;
}

.legal-doc__section h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 12px;
}

.legal-doc__section p {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.42);
    margin: 0 0 12px;
}

.legal-doc__section p:last-child {
    margin-bottom: 0;
}

.legal-doc__section p + p {
    margin-top: 4px;
}

.legal-doc__section strong {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.legal-doc__section a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 6, 10, 0.35);
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.legal-doc__section a:hover {
    color: #ff4444;
    border-bottom-color: rgba(255, 68, 68, 0.5);
}

.legal-doc__back {
    margin-top: 40px;
    margin-bottom: 0;
}

.legal-doc__back-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-doc__back-link:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .legal-doc {
        padding-top: calc(76px + env(safe-area-inset-top));
        padding-bottom: 48px;
    }

    .legal-doc__hero {
        margin-bottom: 36px;
        padding-bottom: 28px;
    }

    .legal-doc__section {
        padding: 22px 0;
    }

    .legal-doc__section h2 {
        font-size: 0.95rem;
    }

    .legal-doc__section p {
        font-size: 14px;
    }
}

/* --- Scroll navigation (right sidebar) --- */
.scroll-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.scroll-nav.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-nav__track {
    display: none;
}

.scroll-nav__dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.scroll-nav__dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0;
}

.scroll-nav__dot::before {
    content: '';
    position: absolute;
    inset: -8px;
}

.scroll-nav__dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.scroll-nav__dot.is-active {
    width: 5px;
    height: 18px;
    border-radius: 100px;
    background: var(--color-primary);
    box-shadow: 0 0 12px rgba(255, 6, 10, 0.35);
}

@media (max-width: 1024px) {
    .scroll-nav {
        display: none;
    }
}
