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

:root {
    color-scheme: dark;
    --nm-bg: #020817;
    --nm-bg-soft: #061126;
    --nm-surface: rgba(7, 19, 42, 0.86);
    --nm-surface-strong: #07152f;
    --nm-border: rgba(76, 116, 184, 0.24);
    --nm-border-bright: rgba(45, 107, 230, 0.48);
    --nm-text: #f7f9ff;
    --nm-muted: #9aa7c0;
    --nm-dim: #64748f;
    --nm-blue: #1769ff;
    --nm-blue-bright: #2e7bff;
    --nm-violet: #7628ed;
    --nm-cyan: #05c6dc;
    --nm-gradient: linear-gradient(112deg, #1769ff 0%, #4d45f3 48%, #7628ed 100%);
    --nm-max-width: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--nm-bg);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--nm-bg);
    color: var(--nm-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

.landing-page svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

.landing-page {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 27%, rgba(25, 78, 221, 0.2), transparent 27%),
        radial-gradient(circle at 77% 29%, rgba(18, 65, 169, 0.12), transparent 25%),
        linear-gradient(180deg, #020713 0%, #031025 54%, #020817 100%);
}

.landing-page::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(80, 115, 180, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(80, 115, 180, 0.018) 1px, transparent 1px);
    background-size: 42px 42px;
    content: '';
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
    pointer-events: none;
}

.asset-filters {
    position: absolute;
    overflow: hidden;
    pointer-events: none;
}

.landing-shell {
    width: min(83.5vw, var(--nm-max-width));
    margin: 0 auto;
}

/* Navigation */
.nm-nav {
    position: relative;
    z-index: 100;
    height: 48px;
    border-bottom: 1px solid rgba(74, 106, 172, 0.16);
    background: rgba(2, 7, 19, 0.76);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(83.5vw, var(--nm-max-width));
    height: 100%;
    margin: 0 auto;
}

.nav-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    display: block;
    width: auto;
    height: 28px;
}

.nav-links,
.nav-actions,
.lang-switcher,
.mobile-nav-actions {
    display: flex;
    align-items: center;
}

.nav-links {
    gap: clamp(24px, 3.1vw, 42px);
    margin-left: auto;
    margin-right: clamp(28px, 3.8vw, 54px);
}

.nav-link,
.mobile-link {
    position: relative;
    color: #aab3c6;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: color 180ms ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--nm-gradient);
    content: '';
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-actions {
    gap: 16px;
}

.lang-switcher {
    gap: 5px;
}

.lang-btn {
    display: grid;
    min-width: 28px;
    height: 23px;
    padding: 0 7px;
    place-items: center;
    border: 1px solid rgba(118, 139, 180, 0.16);
    border-radius: 5px;
    background: rgba(8, 18, 38, 0.7);
    color: #7e8ca6;
    cursor: pointer;
    font-size: 9px;
    font-weight: 650;
    transition: 160ms ease;
}

.lang-btn:hover {
    border-color: rgba(63, 117, 229, 0.45);
    color: #cbd6eb;
}

.lang-btn.is-active {
    border-color: #2d73f3;
    background: #185ce3;
    box-shadow: 0 4px 15px rgba(23, 105, 255, 0.28);
    color: white;
}

.nav-cta,
.primary-cta,
.bottom-cta-button,
.panel-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--nm-gradient);
    box-shadow: 0 8px 28px rgba(35, 83, 223, 0.24);
    color: #fff;
    cursor: pointer;
    font-weight: 650;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.nav-cta {
    min-width: 105px;
    height: 30px;
    padding: 0 18px;
    font-size: 11px;
}

.nav-cta:hover,
.primary-cta:hover,
.bottom-cta-button:hover,
.panel-primary:hover {
    box-shadow: 0 12px 34px rgba(48, 79, 232, 0.38);
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    width: 38px;
    height: 36px;
    align-content: center;
    justify-items: center;
    gap: 4px;
    border: 1px solid var(--nm-border);
    border-radius: 9px;
    background: rgba(10, 22, 45, 0.85);
    color: #dce6fa;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-panel {
    position: absolute;
    z-index: 90;
    top: 48px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid rgba(86, 119, 181, 0.26);
    border-radius: 13px;
    background: rgba(4, 13, 30, 0.97);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 170ms ease, transform 170ms ease;
}

.mobile-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-link {
    padding: 11px 10px;
    border-radius: 8px;
}

.mobile-link:hover {
    background: rgba(29, 75, 165, 0.16);
    color: #fff;
}

.mobile-nav-actions {
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
    padding-top: 11px;
    border-top: 1px solid rgba(102, 133, 192, 0.14);
}

/* Hero */
.hero-stage {
    position: relative;
    z-index: 2;
    width: 100vw;
    min-height: 650px;
    margin-left: calc(50% - 50vw);
    padding-top: 8px;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(2, 8, 23, 0) 0%, rgba(2, 8, 23, 0.04) 35%, rgba(2, 8, 23, 0.28) 52%, rgba(2, 8, 23, 0.08) 100%),
        url('/back.png');
    background-position: center center, left center;
    background-size: 100% 100%, auto 650px;
    background-repeat: no-repeat;
}

.hero-glow {
    position: absolute;
    z-index: -1;
    top: -120px;
    left: -160px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 96, 255, 0.18), transparent 67%);
    filter: blur(8px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(450px, 1.1fr) minmax(460px, 1.05fr) 280px;
    gap: clamp(28px, 2.2vw, 44px);
    width: min(88vw, 1400px);
    margin: 0 auto;
    align-items: center;
    min-height: 642px;
}

.hero-person {
    position: absolute;
    z-index: 2;
    top: -35px;
    left: -42px;
    width: calc(32% + 42px);
    height: clamp(340px, 27vw, 390px);
    min-width: 0;
}

.neon-ring {
    position: absolute;
    z-index: 5;
    top: 30px;
    left: 44%;
    width: 306px;
    height: 306px;
    border: 2px solid transparent;
    border-radius: 50%;
    background:
        linear-gradient(var(--nm-bg), var(--nm-bg)) padding-box,
        conic-gradient(from 185deg, #7738ff, #1971ff, #50a8ff, #355fff, #7738ff) border-box;
    box-shadow:
        0 0 10px rgba(43, 108, 255, 0.82),
        0 0 28px rgba(67, 64, 245, 0.54),
        inset 0 0 24px rgba(31, 91, 241, 0.2);
    opacity: 0.95;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(to right, #000 0 48%, transparent 74%);
    mask-image: linear-gradient(to right, #000 0 48%, transparent 74%);
}

.person-frame {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    border-radius: 44% 44% 16px 16px;
    -webkit-mask-image: radial-gradient(ellipse 86% 180% at 53% 50%, #000 58%, rgba(0, 0, 0, 0.84) 74%, transparent 100%);
    mask-image: radial-gradient(ellipse 86% 180% at 53% 50%, #000 58%, rgba(0, 0, 0, 0.84) 74%, transparent 100%);
}

.person-frame::before,
.person-frame::after {
    position: absolute;
    z-index: 3;
    content: '';
    pointer-events: none;
}

.person-frame::before {
    inset: -2px;
    box-shadow: inset 0 0 30px 7px rgba(2, 8, 23, 0.25);
}

.person-frame::after {
    right: 0;
    bottom: -1px;
    left: 0;
    height: 90px;
    background: linear-gradient(to bottom, transparent, #031026 83%);
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    filter: url('#dai-cutout') brightness(1.25) contrast(1.03) saturate(0.96);
    transform: scale(1.58);
    transform-origin: 50% 8%;
}

.floating-card {
    position: absolute;
    z-index: 6;
    top: 57%;
    left: 25%;
    width: 104px;
    height: 63px;
    overflow: hidden;
    border: 1px solid rgba(205, 218, 242, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 10% 0, rgba(255, 255, 255, 0.11), transparent 38%),
        linear-gradient(150deg, #171b24, #06080d 74%);
    box-shadow: 0 11px 24px rgba(0, 0, 0, 0.56);
    color: #fff;
    transform: rotate(-7deg);
    display: none;
}

.card-top,
.card-bottom {
    position: absolute;
    right: 9px;
    left: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-top {
    top: 8px;
}

.card-bottom {
    bottom: 7px;
}

.card-brand {
    font-size: 6px;
    font-weight: 700;
}

.card-chip {
    width: 16px;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(135deg, #d7b978, #866f3d);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.card-contactless {
    position: absolute;
    top: 27px;
    left: 12px;
    color: #d7deea;
    font-size: 11px;
    transform: rotate(90deg);
}

.card-number {
    position: absolute;
    right: 10px;
    top: 29px;
    color: #b6bfce;
    font-size: 5px;
    letter-spacing: 1.2px;
}

.card-holder {
    color: #aeb7c6;
    font-size: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-visa {
    font-size: 11px;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-copy {
    position: relative;
    z-index: 4;
    align-self: center;
    grid-column: 2;
    top: 0;
    padding: 12px 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    margin-bottom: 18px;
    padding: 6px 12px;
    gap: 8px;
    border: 1px solid rgba(74, 125, 221, 0.28);
    border-radius: 999px;
    background: rgba(4, 16, 40, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #a9b8d2;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.045em;
    line-height: 1.25;
}

.hero-kicker svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: #3b82f6;
}

.hero-title {
    max-width: 600px;
    font-size: clamp(38px, 2.45vw, 42px);
    font-weight: 800;
    letter-spacing: -0.048em;
    line-height: 1.03;
    text-wrap: balance;
}

.hero-title > span {
    display: block;
}

.hero-title > span:first-child {
    width: 100%;
    white-space: pre-line;
}

.gradient-line,
.hero-title-gradient {
    display: block;
    margin-top: 12px;
    background: linear-gradient(105deg, #8b3dff 0%, #643cf2 42%, #2478ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    white-space: pre-line;
}

.hero-description {
    max-width: 470px;
    margin-top: 28px;
    color: #b3bfd2;
    font-size: 16px;
    line-height: 1.62;
}

.primary-cta {
    min-width: 252px;
    height: 52px;
    margin-top: 21px;
    padding: 0 20px;
    gap: 12px;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(52, 72, 235, 0.3);
    font-size: 15px;
}

.primary-cta svg,
.bottom-cta-button svg {
    width: 15px;
    height: 15px;
    transition: transform 180ms ease;
}

.primary-cta:hover svg,
.bottom-cta-button:hover svg {
    transform: translateX(3px);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-top: 14px;
    padding: 6px 11px;
    gap: 8px;
    border: 1px solid rgba(77, 112, 173, 0.2);
    border-radius: 8px;
    background: rgba(3, 11, 27, 0.55);
    color: #8f9db5;
    font-size: 9px;
    white-space: nowrap;
}

.trust-icon {
    display: grid;
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    place-items: center;
    color: #2880ff;
}

.trust-icon svg {
    width: 16px;
    height: 16px;
}

/* Interactive phone */
.phone-column {
    position: relative;
    z-index: 8;
    display: flex;
    grid-column: 3;
    justify-content: center;
    perspective: 900px;
}

.demo-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.phone {
    position: relative;
    width: clamp(150px, 13.2vw, 190px);
    aspect-ratio: 0.49;
    padding: 6px;
    border: 1px solid rgba(231, 210, 153, 0.58);
    border-radius: 28px;
    background: linear-gradient(145deg, #737578, #252a31 32%, #080a0e 72%, #65615a);
    box-shadow:
        0 28px 55px rgba(0, 0, 0, 0.52),
        0 0 36px rgba(23, 83, 212, 0.14),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: transform 320ms cubic-bezier(.2, .75, .2, 1), box-shadow 320ms ease;
    transform: rotateY(-1.5deg) rotateX(0.5deg);
}

.phone:hover,
.phone:focus-within {
    box-shadow:
        0 34px 65px rgba(0, 0, 0, 0.58),
        0 0 44px rgba(28, 89, 229, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    transform: translateY(-5px) rotateY(1.2deg) rotateX(-0.5deg);
}

.phone-side-button {
    position: absolute;
    right: -3px;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: #30343a;
}

.phone-side-button-top {
    top: 77px;
    height: 34px;
}

.phone-side-button-bottom {
    top: 119px;
    height: 50px;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 22px;
    background:
        radial-gradient(circle at 60% 0, rgba(27, 67, 147, 0.13), transparent 31%),
        linear-gradient(180deg, #030a19, #061127 61%, #040b1a);
    color: #f7f9ff;
}

.phone-notch {
    position: absolute;
    z-index: 30;
    top: 0;
    left: 50%;
    width: 72px;
    height: 14px;
    border-radius: 0 0 10px 10px;
    background: #010205;
    transform: translateX(-50%);
}

.phone-status {
    position: absolute;
    z-index: 25;
    top: 4px;
    right: 11px;
    left: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(226, 233, 245, 0.72);
    font-size: 5px;
    font-weight: 700;
    pointer-events: none;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 2px;
}

.status-icons svg {
    width: 6px;
    height: 6px;
}

.phone-content {
    position: absolute;
    inset: 15px 0 39px;
    overflow: hidden;
}

.phone-home,
.phone-panel {
    height: 100%;
    overflow: hidden;
    animation: phoneScreenIn 210ms ease both;
}

.phone-home {
    padding: 8px 9px 5px;
}

@keyframes phoneScreenIn {
    from { opacity: 0; transform: translateX(6px); }
    to { opacity: 1; transform: translateX(0); }
}

.phone-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 24px;
}

.phone-greeting {
    color: #6e7f9e;
    font-size: 5px;
    line-height: 1.25;
}

.phone-greeting-name {
    display: block;
    color: #f4f7fe;
    font-size: 7px;
    font-weight: 700;
}

.phone-icon-button,
.back-button,
.text-button,
.phone-tab,
.account-row,
.quick-action,
.choice-button,
.currency-option,
.setting-row,
.panel-list-item {
    cursor: pointer;
}

.phone-icon-button {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: transparent;
    color: #c9d4e8;
}

.phone-icon-button:hover {
    background: rgba(50, 102, 206, 0.18);
}

.phone-topbar-actions,
.total-card-heading,
.section-header-actions {
    display: flex;
    align-items: center;
}

.phone-topbar-actions {
    gap: 2px;
}

.total-card-heading,
.section-header-actions {
    justify-content: space-between;
}

.total-card {
    position: relative;
    overflow: hidden;
}

.total-card > *:not(.total-card-orb) {
    position: relative;
    z-index: 2;
}

.total-card-orb {
    position: absolute;
    top: -27px;
    right: -21px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 112, 255, 0.17), transparent 68%);
    pointer-events: none;
}

.balance-toggle {
    width: 15px;
    height: 15px;
}

.balance-toggle svg {
    width: 7px;
    height: 7px;
}

.phone-icon-button svg {
    width: 9px;
    height: 9px;
}

.phone-avatar {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 1px solid rgba(76, 126, 229, 0.28);
    border-radius: 50%;
    background: linear-gradient(135deg, #1c6df4, #742fe8);
    font-size: 6px;
    font-weight: 800;
}

.total-card {
    margin-top: 4px;
    padding: 9px 10px;
    border: 1px solid rgba(62, 95, 159, 0.13);
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(14, 35, 74, 0.92), rgba(9, 25, 56, 0.72));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.balance-label,
.balance-equivalent {
    color: #7787a4;
    font-size: 5px;
}

.balance-value {
    margin-top: 3px;
    font-size: 14px;
    font-weight: 730;
    letter-spacing: -0.045em;
}

.balance-equivalent {
    margin-top: 2px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 1px 3px;
}

.section-header strong {
    font-size: 6px;
    font-weight: 700;
}

.text-button {
    background: transparent;
    color: #3c83ff;
    font-size: 5px;
}

.account-list {
    display: grid;
    gap: 1px;
}

.account-row {
    display: grid;
    grid-template-columns: 21px 1fr auto;
    gap: 5px;
    align-items: center;
    width: 100%;
    min-height: 28px;
    padding: 3px 4px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    text-align: left;
    transition: background 130ms ease, border-color 130ms ease;
}

.account-row:hover,
.account-row.is-selected {
    border-color: rgba(54, 111, 229, 0.2);
    background: rgba(24, 67, 150, 0.13);
}

.account-row.is-selected {
    box-shadow: inset 2px 0 #2678ff;
}

.account-flag {
    display: grid;
    width: 18px;
    height: 18px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: #fff;
    font-size: 11px;
    line-height: 1;
}

.account-info {
    min-width: 0;
}

.account-name {
    display: block;
    color: #edf2fb;
    font-size: 6px;
    font-weight: 650;
}

.account-code {
    display: block;
    margin-top: 1px;
    overflow: hidden;
    color: #61718e;
    font-size: 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-amount {
    color: #eaf0fb;
    font-size: 5px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin-top: 4px;
}

.quick-action {
    display: grid;
    min-width: 0;
    gap: 2px;
    justify-items: center;
    padding: 5px 1px 4px;
    border: 1px solid rgba(56, 99, 177, 0.13);
    border-radius: 6px;
    background: rgba(9, 27, 60, 0.82);
    color: #9cabc5;
    transition: transform 130ms ease, border-color 130ms ease, background 130ms ease;
}

.quick-action:hover {
    border-color: rgba(42, 112, 245, 0.42);
    background: rgba(17, 50, 111, 0.9);
    color: #fff;
    transform: translateY(-1px);
}

.action-icon {
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border-radius: 4px;
    background: rgba(24, 92, 230, 0.18);
    color: #3385ff;
}

.action-icon svg {
    width: 9px;
    height: 9px;
}

.action-label {
    overflow: hidden;
    font-size: 4.2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.phone-bottom-nav {
    position: absolute;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 39px;
    padding: 3px 6px 5px;
    border-top: 1px solid rgba(73, 103, 160, 0.13);
    background: rgba(3, 10, 25, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.phone-notice {
    position: absolute;
    z-index: 40;
    top: 6px;
    right: 8px;
    left: 8px;
    display: grid;
    grid-template-columns: 15px 1fr;
    gap: 6px;
    align-items: center;
    min-height: 31px;
    padding: 5px 7px;
    border: 1px solid rgba(53, 111, 226, 0.35);
    border-radius: 8px;
    background: rgba(8, 27, 62, 0.97);
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.38);
    color: #dce7f9;
    font-size: 5px;
    text-align: left;
    animation: noticeIn 180ms ease both;
}

.phone-notice svg {
    width: 12px;
    height: 12px;
    color: #3883ff;
}

@keyframes noticeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.phone-tab {
    display: grid;
    gap: 1px;
    align-content: center;
    justify-items: center;
    background: transparent;
    color: #50617e;
    transition: color 130ms ease, transform 130ms ease;
}

.phone-tab:hover,
.phone-tab.is-active {
    color: #347eff;
}

.phone-tab:active {
    transform: scale(0.92);
}

.tab-icon {
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border-radius: 5px;
}

.phone-tab.is-active .tab-icon {
    background: rgba(31, 107, 255, 0.13);
}

.tab-icon svg {
    width: 9px;
    height: 9px;
}

.tab-label {
    font-size: 4px;
    font-weight: 550;
}

/* Internal phone panels */
.phone-panel {
    padding: 5px 9px 6px;
}

.panel-header {
    display: grid;
    grid-template-columns: 22px 1fr 22px;
    align-items: center;
    min-height: 27px;
    border-bottom: 1px solid rgba(80, 112, 175, 0.11);
}

.tab-panel > .panel-header {
    display: flex;
    justify-content: space-between;
}

.panel-header > div small,
.profile-header small {
    display: block;
    color: #627390;
    font-size: 4px;
}

.panel-header > div h3 {
    margin-top: 1px;
    text-align: left;
}

.panel-header-spacer {
    width: 20px;
}

.back-button {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 6px;
    background: rgba(25, 57, 117, 0.18);
    color: #aebbd2;
}

.back-button:hover {
    background: rgba(29, 82, 185, 0.3);
    color: white;
}

.back-button svg {
    width: 9px;
    height: 9px;
}

.panel-header h3,
.panel-header strong {
    text-align: center;
    font-size: 7px;
    font-weight: 700;
}

.panel-body {
    height: calc(100% - 27px);
    overflow-y: auto;
    padding: 7px 1px 3px;
    scrollbar-width: none;
}

.panel-body::-webkit-scrollbar {
    display: none;
}

.panel-list,
.settings-list {
    display: grid;
    gap: 5px;
}

.panel-list-item,
.setting-row {
    display: grid;
    grid-template-columns: 23px 1fr auto;
    gap: 6px;
    align-items: center;
    width: 100%;
    min-height: 37px;
    padding: 6px;
    border: 1px solid rgba(65, 103, 176, 0.14);
    border-radius: 7px;
    background: rgba(8, 25, 55, 0.74);
    text-align: left;
}

.panel-list-item:hover,
.setting-row:hover {
    border-color: rgba(46, 113, 242, 0.36);
    background: rgba(14, 39, 84, 0.86);
}

.panel-item-icon {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 6px;
    background: rgba(32, 99, 226, 0.14);
    color: #3d86ff;
}

.panel-item-icon svg {
    width: 11px;
    height: 11px;
}

.panel-item-copy,
.setting-copy {
    min-width: 0;
}

.panel-item-title,
.setting-title {
    display: block;
    overflow: hidden;
    font-size: 6px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-item-meta,
.setting-meta {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: #667895;
    font-size: 4.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-item-amount {
    font-size: 5px;
    font-weight: 650;
}

.panel-primary {
    width: 100%;
    height: 28px;
    margin-top: 8px;
    border-radius: 7px;
    font-size: 6px;
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.choice-button,
.currency-option {
    display: grid;
    gap: 3px;
    justify-items: center;
    min-height: 43px;
    padding: 6px;
    border: 1px solid rgba(70, 106, 176, 0.16);
    border-radius: 7px;
    background: rgba(8, 25, 56, 0.78);
    color: #9cabc4;
    font-size: 5px;
}

.choice-button:hover,
.choice-button.is-selected,
.currency-option:hover,
.currency-option.is-selected {
    border-color: #2b73ef;
    background: rgba(24, 67, 150, 0.24);
    color: white;
}

.field-label {
    display: block;
    margin: 7px 0 3px;
    color: #8392ad;
    font-size: 5px;
    font-weight: 600;
}

.phone-input,
.currency-picker {
    width: 100%;
    min-height: 28px;
    padding: 0 8px;
    border: 1px solid rgba(76, 112, 180, 0.2);
    border-radius: 7px;
    outline: none;
    background: rgba(7, 22, 50, 0.9);
    color: #eef3fc;
    font-size: 6px;
}

.phone-input::placeholder {
    color: #4d5d79;
}

.phone-input:focus,
.currency-picker:focus {
    border-color: #2d73ee;
    box-shadow: 0 0 0 2px rgba(41, 112, 239, 0.12);
}

.panel-summary,
.rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
    padding: 7px;
    border: 1px solid rgba(64, 105, 182, 0.14);
    border-radius: 7px;
    background: rgba(8, 25, 57, 0.72);
    color: #8fa0bc;
    font-size: 5px;
}

.panel-summary > div {
    display: grid;
    gap: 2px;
}

.panel-summary > div:last-child {
    text-align: right;
}

.transfer-summary {
    display: grid;
    justify-content: stretch;
    text-align: left;
}

.transfer-summary strong {
    margin-top: 3px;
    font-size: 13px;
}

.transfer-summary small {
    margin-top: 2px;
    color: #61718e;
    font-size: 4.5px;
}

.panel-item-icon.is-incoming,
.panel-item-amount.is-incoming {
    color: #35d49a;
}

.panel-item-icon.is-incoming {
    background: rgba(35, 196, 139, 0.12);
}

.panel-summary strong,
.rate-row strong {
    color: #eef3fc;
    font-size: 6px;
}

.success-state {
    display: grid;
    height: 100%;
    align-content: center;
    justify-items: center;
    padding: 12px;
    text-align: center;
}

.success-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 9px;
    place-items: center;
    border: 1px solid rgba(39, 206, 152, 0.34);
    border-radius: 50%;
    background: rgba(21, 182, 126, 0.14);
    color: #3be2a4;
    box-shadow: 0 0 25px rgba(32, 211, 148, 0.12);
}

.success-icon svg {
    width: 20px;
    height: 20px;
}

.success-state strong {
    font-size: 8px;
}

.success-state p {
    margin-top: 4px;
    color: #73839f;
    font-size: 5px;
    line-height: 1.5;
}

.virtual-card {
    position: relative;
    height: 94px;
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(125, 129, 255, 0.32);
    border-radius: 10px;
    background:
        radial-gradient(circle at 90% 10%, rgba(128, 44, 238, 0.44), transparent 44%),
        radial-gradient(circle at 0 100%, rgba(22, 104, 255, 0.38), transparent 48%),
        linear-gradient(135deg, #11172a, #070a12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.32);
}

.virtual-card-glow {
    position: absolute;
    top: -45px;
    right: -35px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 44, 237, 0.3), transparent 68%);
}

.virtual-card-contactless {
    width: 14px;
    height: 14px;
}

.virtual-card::after {
    position: absolute;
    top: -38px;
    right: -28px;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: '';
}

.virtual-card-top,
.virtual-card-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}

.virtual-card.is-frozen {
    filter: saturate(0.35);
}

.card-frozen-overlay {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(2, 7, 17, 0.72);
    color: #d9e2f1;
    font-size: 7px;
    font-weight: 700;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.card-status {
    padding: 3px 6px;
    border: 1px solid rgba(48, 207, 151, 0.24);
    border-radius: 999px;
    background: rgba(34, 189, 135, 0.1);
    color: #43dba5;
    font-size: 4.5px;
}

.phone-pin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding: 7px 9px;
    border: 1px solid rgba(48, 111, 229, 0.24);
    border-radius: 7px;
    background: rgba(13, 40, 88, 0.74);
    color: #8393ad;
    font-size: 5px;
}

.phone-pin strong {
    color: white;
    font-size: 8px;
    letter-spacing: 3px;
}

.card-controls {
    margin-top: 7px;
}

.setting-row-button {
    color: inherit;
}

.setting-chevron {
    width: 10px;
    height: 10px;
    color: #596b88;
}

.profile-header {
    grid-template-columns: 29px 1fr;
    justify-content: start;
    gap: 7px;
    text-align: left;
}

.profile-avatar {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--nm-gradient);
    font-size: 7px;
    font-weight: 800;
}

.profile-header h3 {
    text-align: left;
}

.profile-tier {
    display: grid;
    gap: 3px;
    padding: 9px;
    border: 1px solid rgba(72, 112, 188, 0.17);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(27, 75, 169, 0.2), rgba(80, 40, 143, 0.12));
}

.profile-tier span {
    color: #3cdaa1;
    font-size: 4.5px;
}

.profile-tier strong {
    font-size: 7px;
}

.recipient-grid {
    grid-template-columns: repeat(3, 1fr);
}

.recipient-choice {
    min-width: 0;
    padding-right: 3px;
    padding-left: 3px;
}

.amount-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin: 5px 0 7px;
    padding: 9px;
    border-bottom: 1px solid rgba(71, 107, 176, 0.18);
}

.amount-display span {
    color: #71819d;
    font-size: 6px;
}

.amount-display strong {
    font-size: 18px;
    letter-spacing: -0.05em;
}

.amount-grid {
    grid-template-columns: repeat(3, 1fr);
}

.amount-grid .choice-button {
    min-height: 30px;
}

.currency-picker {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 6px;
    align-items: center;
    height: auto;
    min-height: 35px;
    text-align: left;
}

.currency-picker .account-info strong,
.currency-picker-value {
    font-size: 6px;
}

.currency-picker .account-info small {
    display: block;
    margin-top: 1px;
    color: #657591;
    font-size: 4px;
}

.currency-swap {
    display: grid;
    width: 24px;
    height: 24px;
    margin: 4px auto -3px;
    place-items: center;
    border: 1px solid rgba(55, 117, 236, 0.28);
    border-radius: 50%;
    background: #0b2450;
    color: #3884ff;
    cursor: pointer;
}

.currency-swap svg {
    width: 11px;
    height: 11px;
    transform: rotate(90deg);
}

.currency-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 6px;
}

.currency-options .currency-option {
    min-height: 34px;
    padding: 4px 2px;
}

.topup-illustration {
    position: relative;
    display: grid;
    width: 45px;
    height: 45px;
    margin: 2px auto 6px;
    place-items: center;
    color: #4b91ff;
}

.topup-illustration svg {
    position: relative;
    z-index: 3;
    width: 23px;
    height: 23px;
}

.topup-orb {
    position: absolute;
    border-radius: 50%;
}

.topup-orb-one {
    inset: 0;
    background: rgba(32, 101, 232, 0.16);
}

.topup-orb-two {
    inset: 8px;
    background: rgba(118, 40, 237, 0.18);
}

.topup-amount {
    margin-top: 0;
}

.funding-source {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 6px;
    align-items: center;
    margin-top: 7px;
    padding: 6px;
    border: 1px solid rgba(67, 105, 177, 0.15);
    border-radius: 7px;
    background: rgba(8, 25, 55, 0.72);
}

.funding-source .setting-copy small,
.funding-source .setting-copy strong {
    display: block;
}

.funding-source .setting-copy small {
    color: #657591;
    font-size: 4px;
}

.funding-source .setting-copy strong {
    margin-top: 2px;
    font-size: 6px;
}

.rates-hero {
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(64, 107, 190, 0.17);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(26, 78, 177, 0.2), rgba(76, 39, 143, 0.1));
}

.rates-hero small,
.rates-hero span {
    color: #697a97;
    font-size: 4.5px;
}

.rates-hero strong {
    font-size: 13px;
}

.rate-currency-options {
    margin-top: 7px;
}

.rate-list {
    display: grid;
    gap: 3px;
    margin-top: 7px;
}

.rate-list .rate-row {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 6px;
    width: 100%;
    margin-top: 0;
    text-align: left;
}

.rate-list .rate-row.is-selected {
    border-color: rgba(46, 117, 245, 0.42);
    background: rgba(24, 68, 151, 0.19);
}

.rate-list .account-info strong {
    color: #eef3fb;
    font-size: 6px;
}

.rate-list .account-info small {
    display: block;
    color: #657591;
    font-size: 4px;
}

.rates-disclaimer {
    margin-top: 7px;
    color: #52617b;
    font-size: 4px;
    line-height: 1.45;
}

.virtual-card-chip {
    width: 19px;
    height: 14px;
    border-radius: 3px;
    background: linear-gradient(135deg, #efd493, #87703a);
}

.virtual-card-number {
    position: relative;
    z-index: 2;
    margin-top: 19px;
    font-size: 8px;
    letter-spacing: 1.6px;
}

.virtual-card-bottom {
    align-items: end;
    margin-top: 11px;
    color: #c4ccda;
    font-size: 5px;
}

.phone-toggle {
    position: relative;
    width: 22px;
    height: 12px;
    border-radius: 999px;
    background: #26334b;
    transition: background 160ms ease;
}

.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8c9ab1;
    transition: transform 160ms ease, background 160ms ease;
}

.phone-toggle.is-on {
    background: #1f65e9;
}

.phone-toggle.is-on .toggle-knob {
    background: white;
    transform: translateX(10px);
}

/* Feature grid */
.landing-features {
    position: relative;
    z-index: 12;
    margin-top: 6px;
    scroll-margin-top: 70px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 12px;
}

.feature-grid,
.bottom-cta {
    position: relative;
    left: -12px;
    width: min(74.4vw, 1070px);
    margin-right: auto;
    margin-left: auto;
}

.feature-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 13px;
    align-items: center;
    height: 70px;
    min-height: 0;
    padding: 8px 14px;
    border: 1px solid var(--nm-border);
    border-radius: 13px;
    background:
        linear-gradient(125deg, rgba(12, 31, 65, 0.92), rgba(5, 17, 39, 0.88)),
        var(--nm-surface);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.015);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
    border-color: var(--nm-border-bright);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.025);
    transform: translateY(-3px);
}

.feature-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: rgba(25, 85, 217, 0.14);
    color: #247bff;
    box-shadow: inset 0 0 18px rgba(26, 92, 236, 0.05);
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
    background: rgba(118, 40, 237, 0.14);
    color: #873ef5;
}

.feature-card:nth-child(5) .feature-icon {
    background: rgba(5, 198, 220, 0.13);
    color: var(--nm-cyan);
}

.feature-icon svg {
    width: 23px;
    height: 23px;
}

.feature-copy {
    min-width: 0;
}

.feature-title {
    color: #f2f5fb;
    font-size: 12px;
    font-weight: 680;
    letter-spacing: -0.018em;
}

.feature-description {
    margin-top: 4px;
    color: #8b98af;
    font-size: 8px;
    line-height: 1.36;
}

/* Bottom CTA */
.bottom-cta {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 15px;
    align-items: center;
    min-height: 84px;
    margin-top: 11px;
    margin-bottom: 20px;
    padding: 13px 66px;
    overflow: hidden;
    border: 1px solid rgba(65, 108, 185, 0.28);
    border-radius: 15px;
    background:
        radial-gradient(circle at 75% 20%, rgba(26, 79, 193, 0.14), transparent 30%),
        linear-gradient(120deg, rgba(7, 24, 54, 0.95), rgba(4, 16, 38, 0.92));
}

.bottom-cta::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(61, 107, 203, 0.05), transparent);
    content: '';
    transform: translateX(-100%);
    transition: transform 650ms ease;
}

.bottom-cta:hover::before {
    transform: translateX(100%);
}

.bottom-cta-icon {
    position: relative;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid rgba(68, 117, 224, 0.48);
    border-radius: 17px;
    background: rgba(7, 23, 54, 0.85);
    color: #367fff;
    left: -4px;
}

.bottom-cta-icon::before {
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(126, 47, 240, 0.52);
    border-radius: 11px;
    content: '';
    transform: rotate(45deg);
}

.bottom-cta-icon svg {
    position: relative;
    z-index: 2;
    width: 29px;
    height: 29px;
}

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

.bottom-cta-title {
    font-size: clamp(21px, 1.95vw, 27px);
    font-weight: 740;
    letter-spacing: -0.045em;
}

.bottom-cta-subtitle {
    margin-top: 3px;
    color: #8d9ab1;
    font-size: 15px;
}

.bottom-cta-button {
    position: relative;
    z-index: 2;
    min-width: 161px;
    height: 43px;
    padding: 0 26px;
    gap: 9px;
    font-size: 15px;
    margin-right: 4px;
}

@media (min-width: 921px) and (max-width: 1200px) {
    .phone-home {
        padding: 6px 8px 4px;
    }

    .phone-topbar {
        min-height: 19px;
    }

    .total-card {
        margin-top: 2px;
        padding: 6px 8px;
    }

    .balance-value {
        margin-top: 2px;
        font-size: 12px;
    }

    .section-header {
        margin-top: 5px;
        margin-bottom: 2px;
    }

    .account-row {
        grid-template-columns: 19px 1fr auto;
        min-height: 22px;
        padding: 2px 3px;
    }

    .account-flag {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .quick-actions {
        margin-top: 2px;
    }

    .quick-action {
        padding: 3px 1px;
    }

    .action-icon {
        width: 13px;
        height: 13px;
    }
}

/* Entry motion */
.hero-copy,
.phone-column,
.hero-person,
.feature-card,
.bottom-cta {
    animation: landingReveal 560ms cubic-bezier(.22, .75, .22, 1) both;
}

.hero-copy { animation-delay: 80ms; }
.phone-column { animation-delay: 180ms; }
.feature-card:nth-child(2), .feature-card:nth-child(5) { animation-delay: 80ms; }
.feature-card:nth-child(3), .feature-card:nth-child(6) { animation-delay: 140ms; }
.bottom-cta { animation-delay: 180ms; }

@keyframes landingReveal {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1420px) {
    .landing-shell,
    .nav-inner {
        width: min(90vw, var(--nm-max-width));
    }

    .hero-stage {
        background-image:
            linear-gradient(90deg, rgba(2, 8, 23, 0) 0%, rgba(2, 8, 23, 0.06) 24%, rgba(2, 8, 23, 0.68) 38%, rgba(2, 8, 23, 0.9) 63%, rgba(2, 8, 23, 0.12) 100%),
            url('/back.png');
        background-position: left center;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 36px;
        width: min(90vw, var(--nm-max-width));
    }

    .hero-copy {
        grid-column: 1;
        justify-self: end;
        width: min(420px, 100%);
        margin-left: auto;
        padding-left: 0;
    }

    .hero-title {
        font-size: clamp(32px, 3.15vw, 40px);
    }

    .hero-description {
        font-size: 15px;
    }

    .bottom-cta {
        padding-right: 38px;
        padding-left: 38px;
    }
}

@media (min-width: 761px) {
    .mobile-panel {
        display: none;
    }
}

@media (max-width: 920px) {
    .nav-links {
        gap: 21px;
        margin-right: 22px;
    }

    .hero-stage {
        background-image:
            linear-gradient(90deg, rgba(2, 8, 23, 0.6) 0%, rgba(2, 8, 23, 0.84) 52%, rgba(2, 8, 23, 0.18) 100%),
            url('/back.png');
        background-position: left center;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 25px;
        min-height: 602px;
    }

    .hero-person {
        position: absolute;
        z-index: 0;
        top: auto;
        right: 42%;
        bottom: 0;
        left: -65px;
        width: auto;
        height: 360px;
        opacity: 0.29;
        pointer-events: none;
    }

    .neon-ring {
        left: 40%;
    }

    .floating-card {
        display: none;
    }

    .hero-copy {
        z-index: 3;
        grid-column: 1;
        padding-left: clamp(8px, 3vw, 36px);
    }

    .phone-column {
        grid-column: 2;
    }

    .phone {
        width: 206px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bottom-cta {
        grid-template-columns: 62px 1fr auto;
        padding: 16px 26px;
    }

    .bottom-cta-button {
        min-width: 175px;
    }
}

@media (max-width: 760px) {
    .nm-nav {
        height: 60px;
    }

    .nav-inner {
        width: calc(100% - 28px);
    }

    .nav-logo img {
        height: 30px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        display: flex;
        margin-left: auto;
    }

    .nav-actions > .lang-switcher,
    .nav-actions > .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: grid;
    }

    .mobile-panel {
        top: 60px;
    }

    .landing-shell {
        width: min(calc(100% - 28px), 600px);
    }

    .hero-stage {
        min-height: 0;
        padding-top: 0;
        background-image:
            linear-gradient(180deg, rgba(2, 8, 23, 0) 0%, rgba(2, 8, 23, 0.08) 58%, var(--nm-bg) 100%),
            url('/back.png');
        background-position: top left, top left;
        background-size: 100% 400px, auto 390px;
        background-repeat: no-repeat;
    }

    .hero-grid {
        display: flex;
        width: min(calc(100% - 28px), 600px);
        min-height: 0;
        padding-top: 385px;
        flex-direction: column;
        gap: 32px;
    }

    .hero-copy {
        order: 1;
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .hero-kicker {
        justify-content: center;
        max-width: 100%;
        margin-bottom: 16px;
        font-size: 10px;
        white-space: normal;
    }

    .hero-title {
        max-width: 540px;
        margin: 0 auto;
        font-size: clamp(30px, 8vw, 40px);
    }

    .hero-title > span:first-child {
        width: 100%;
        white-space: normal;
        transform: none;
    }

    .gradient-line,
    .hero-title-gradient {
        white-space: normal;
    }

    .hero-description {
        max-width: 345px;
        margin-right: auto;
        margin-left: auto;
        font-size: 15px;
    }

    .primary-cta {
        min-width: min(280px, 100%);
        height: 48px;
    }

    .trust-badge {
        max-width: 100%;
        white-space: normal;
    }

    .phone-column {
        order: 2;
        width: 100%;
    }

    .phone {
        width: min(282px, 82vw);
        border-radius: 39px;
        transform: none;
    }

    .phone-screen {
        border-radius: 32px;
    }

    .phone-notch {
        width: 100px;
        height: 20px;
    }

    .phone-status {
        top: 6px;
        right: 17px;
        left: 17px;
        font-size: 7px;
    }

    .status-icons svg {
        width: 9px;
        height: 9px;
    }

    .phone-content {
        inset: 23px 0 56px;
    }

    .phone-home {
        padding: 10px 13px 7px;
    }

    .phone-greeting {
        font-size: 8px;
    }

    .phone-greeting-name {
        font-size: 11px;
    }

    .phone-topbar {
        min-height: 35px;
    }

    .phone-icon-button,
    .phone-avatar {
        width: 27px;
        height: 27px;
    }

    .phone-icon-button svg {
        width: 13px;
        height: 13px;
    }

    .phone-avatar {
        font-size: 9px;
    }

    .total-card {
        margin-top: 5px;
        padding: 13px 14px;
        border-radius: 12px;
    }

    .balance-label,
    .balance-equivalent,
    .text-button {
        font-size: 7px;
    }

    .balance-value {
        font-size: 21px;
    }

    .section-header {
        margin-top: 11px;
    }

    .section-header strong {
        font-size: 9px;
    }

    .account-row {
        grid-template-columns: 29px 1fr auto;
        gap: 8px;
        min-height: 39px;
        padding: 5px 6px;
    }

    .account-flag {
        width: 26px;
        height: 26px;
        font-size: 16px;
    }

    .account-name {
        font-size: 9px;
    }

    .account-code {
        font-size: 6px;
    }

    .account-amount {
        font-size: 8px;
    }

    .quick-actions {
        gap: 5px;
        margin-top: 7px;
    }

    .quick-action {
        gap: 3px;
        padding: 8px 2px 6px;
        border-radius: 8px;
    }

    .action-icon {
        width: 23px;
        height: 23px;
    }

    .action-icon svg {
        width: 13px;
        height: 13px;
    }

    .action-label {
        font-size: 6px;
    }

    .phone-bottom-nav {
        height: 56px;
        padding: 5px 9px 7px;
    }

    .tab-icon {
        width: 23px;
        height: 23px;
    }

    .tab-icon svg {
        width: 14px;
        height: 14px;
    }

    .tab-label {
        font-size: 6px;
    }

    .phone-panel {
        padding: 7px 13px 8px;
    }

    .panel-header {
        grid-template-columns: 32px 1fr 32px;
        min-height: 40px;
    }

    .back-button {
        width: 29px;
        height: 29px;
    }

    .back-button svg {
        width: 14px;
        height: 14px;
    }

    .panel-header h3,
    .panel-header strong {
        font-size: 11px;
    }

    .panel-body {
        height: calc(100% - 40px);
        padding-top: 10px;
    }

    .panel-list-item,
    .setting-row {
        grid-template-columns: 34px 1fr auto;
        gap: 8px;
        min-height: 52px;
        padding: 8px;
        border-radius: 10px;
    }

    .panel-item-icon {
        width: 32px;
        height: 32px;
    }

    .panel-item-icon svg {
        width: 16px;
        height: 16px;
    }

    .panel-item-title,
    .setting-title {
        font-size: 9px;
    }

    .panel-item-meta,
    .setting-meta {
        font-size: 6px;
    }

    .panel-item-amount {
        font-size: 8px;
    }

    .field-label {
        margin-top: 10px;
        font-size: 8px;
    }

    .phone-input,
    .currency-picker {
        min-height: 40px;
        padding: 0 11px;
        border-radius: 9px;
        font-size: 10px;
    }

    .panel-primary {
        height: 40px;
        margin-top: 11px;
        font-size: 9px;
    }

    .choice-button,
    .currency-option {
        min-height: 60px;
        font-size: 8px;
    }

    .panel-summary,
    .rate-row {
        margin-top: 10px;
        padding: 10px;
        font-size: 8px;
    }

    .panel-summary strong,
    .rate-row strong {
        font-size: 9px;
    }

    .virtual-card {
        height: 134px;
        padding: 17px;
        border-radius: 14px;
    }

    .virtual-card-number {
        margin-top: 27px;
        font-size: 12px;
    }

    .virtual-card-bottom {
        margin-top: 16px;
        font-size: 7px;
    }

    .hero-person {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        order: 3;
        width: min(370px, 94vw);
        height: 390px;
        margin: -5px auto -10px;
        opacity: 1;
    }

    .neon-ring {
        top: 39px;
        left: 50%;
        width: 330px;
        height: 330px;
    }

    .floating-card {
        display: none;
    }

    .landing-features {
        margin-top: 4px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        left: 0;
        width: 100%;
        gap: 10px;
    }

    .feature-card {
        min-height: 88px;
        padding: 15px 17px;
    }

    .feature-title {
        font-size: 14px;
    }

    .feature-description {
        font-size: 11px;
    }

    .bottom-cta {
        grid-template-columns: 58px 1fr;
        left: 0;
        width: 100%;
        gap: 14px;
        margin-top: 12px;
        padding: 22px 19px;
    }

    .bottom-cta-button {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .hero-stage {
        background-size: 100% 365px, auto 350px;
    }

    .hero-grid {
        padding-top: 345px;
    }

    .hero-title {
        font-size: clamp(30px, 8.5vw, 36px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-person {
        height: 355px;
    }

    .neon-ring {
        width: 292px;
        height: 292px;
    }

    .bottom-cta-title {
        font-size: 22px;
    }

    .bottom-cta-subtitle {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .phone,
    .phone:hover,
    .phone:focus-within {
        transform: none;
    }
}

/* Restored legacy pricing, CTA and regulatory footer */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out both;
}

.fade-in-delay-1 {
    animation-delay: 0.15s;
}

.fade-in-delay-2 {
    animation-delay: 0.3s;
}

.legacy-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.legacy-pricing {
    padding: 80px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(15, 23, 42, 0.5);
}

.legacy-section-title {
    margin-bottom: 48px;
    font-size: 36px;
    font-weight: 800;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed, #06b6d4);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.6);
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: #2563eb;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.1), rgba(30, 41, 59, 0.8));
}

.pricing-card h3 {
    margin-bottom: 4px;
    font-size: 22px;
    font-weight: 700;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    padding: 6px 20px;
    transform: translateX(-50%);
    border-radius: 20px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card.featured h3 {
    margin-top: 8px;
}

.pricing-price {
    margin: 12px 0;
    font-size: 36px;
    font-weight: 800;
}

.pricing-period {
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
}

.pricing-description {
    min-height: 40px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.pricing-card ul {
    flex: 1;
    margin-bottom: 24px;
    list-style: none;
    text-align: left;
}

.pricing-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    color: #94a3b8;
    font-size: 13px;
}

.pricing-check {
    color: #22c55e;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.4);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

.pricing-button {
    width: 100%;
}

.fees-card {
    max-width: 620px;
    margin: 56px auto 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), rgba(30, 41, 59, 0.55));
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.fees-card[open] {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 16px 48px rgba(2, 6, 23, 0.5);
}

.fees-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease;
}

.fees-summary:hover {
    background: rgba(255, 255, 255, 0.02);
}

.fees-summary::-webkit-details-marker {
    display: none;
}

.fees-summary::marker {
    content: '';
}

.fees-summary-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.fees-summary-title strong {
    color: #f8fafc;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.fees-summary-title span {
    color: #64748b;
    font-size: 13px;
}

.fees-chevron {
    display: grid;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, color 0.3s ease;
}

.fees-chevron svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.fees-card[open] .fees-chevron {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
}

.fees-body {
    padding: 0 12px 12px;
    animation: feesReveal 0.4s ease-out;
}

@keyframes feesReveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 14px;
    border-radius: 12px;
    font-size: 14.5px;
    transition: background 0.15s ease;
}

.fee-row + .fee-row {
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.fee-row:hover {
    background: rgba(37, 99, 235, 0.06);
}

.fee-name {
    color: #cbd5e1;
}

.fee-val {
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
    font-weight: 650;
    text-align: right;
}

.legacy-final-cta {
    padding: 80px 24px;
    background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.2), transparent 70%);
    text-align: center;
}

.legacy-final-cta h2 {
    margin-bottom: 16px;
    font-size: 42px;
    font-weight: 800;
}

.legacy-final-cta p {
    margin-bottom: 36px;
    color: #94a3b8;
    font-size: 18px;
}

.legacy-final-cta .cta-btn {
    padding: 18px 40px;
    font-size: 18px;
}

.legacy-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #080e1a;
}

.legacy-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 40px;
}

.legacy-footer-brand > img {
    width: auto;
    height: 34px;
    margin-bottom: 16px;
}

.legacy-footer-brand > p {
    max-width: 240px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.legacy-socials {
    display: flex;
    gap: 12px;
}

.legacy-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.legacy-socials a:hover {
    background: rgba(37, 99, 235, 0.2);
}

.legacy-socials svg {
    width: 16px;
    height: 16px;
    fill: #64748b;
    stroke: none;
}

.legacy-footer-column h4,
.legacy-corridors h4 {
    margin-bottom: 16px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.legacy-footer-column > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legacy-footer-column a,
.legacy-footer-column span {
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s;
}

.legacy-footer-column a:hover {
    color: #94a3b8;
}

.legacy-corridors {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 32px;
}

.legacy-corridors > div {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.legacy-corridors h4 {
    margin-bottom: 8px;
    color: #475569;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.legacy-corridors h4 + div {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.legacy-corridors span {
    color: #334155;
    font-size: 11px;
}

.legacy-regulatory {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.2);
}

.legacy-regulatory > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.legacy-issued-by {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.legacy-issued-by span {
    color: #475569;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.legacy-issued-by img {
    width: auto;
    height: 22px;
    opacity: 0.9;
}

.legacy-regulatory-copy {
    margin-bottom: 16px;
    color: #334155;
    font-size: 11px;
    line-height: 1.8;
}

.legacy-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.legacy-footer-bottom > p {
    color: #334155;
    font-size: 11px;
}

.legacy-footer-languages {
    display: flex;
    gap: 8px;
}

.legacy-footer-languages button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    background: transparent;
    color: #475569;
    cursor: pointer;
    font-size: 11px;
}

.legacy-footer-languages button.is-active {
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.15);
    color: #93c5fd;
}

.legacy-footer-languages span {
    font-size: 13px;
}

@media (max-width: 900px) {
    .legacy-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .legacy-pricing,
    .legacy-final-cta {
        padding: 56px 16px;
    }

    .legacy-section-title {
        margin-bottom: 36px;
        font-size: 31px;
    }

    .legacy-final-cta h2 {
        font-size: 34px;
    }
}

@media (max-width: 520px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 30px 24px;
    }

    .legacy-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 20px 28px;
    }

    .legacy-final-cta h2 {
        font-size: 30px;
    }

    .legacy-final-cta p {
        font-size: 16px;
    }
}

/* Original Claudia AI phone, restored in the new hero */
@keyframes aiPhoneFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes aiMicPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

@keyframes aiWaveform {
    0%,
    100% {
        height: 8px;
    }
    50% {
        height: 28px;
    }
}

@keyframes aiSpin {
    to {
        transform: rotate(360deg);
    }
}

.legacy-ai-phone {
    position: relative;
    z-index: 8;
    display: flex;
    grid-column: 3;
    justify-content: center;
    width: 100%;
    height: 560px;
    perspective: 900px;
    animation: landingReveal 560ms 180ms cubic-bezier(.22, .75, .22, 1) both;
}

.ai-phone-scale {
    flex: 0 0 auto;
    width: 280px;
    height: 560px;
    transform: scale(1);
    transform-origin: top center;
}

.legacy-ai-phone .phone-frame {
    position: relative;
    width: 280px;
    height: 560px;
    overflow: hidden;
    border: 3px solid #334155;
    border-radius: 40px;
    background: #1e293b;
    box-shadow: 0 25px 80px rgba(37, 99, 235, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: aiPhoneFloat 4s ease-in-out infinite;
}

.legacy-ai-phone .phone-notch {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 50%;
    width: 120px;
    height: 28px;
    border-radius: 0 0 16px 16px;
    background: #0f172a;
    transform: translateX(-50%);
}

.legacy-ai-phone .phone-screen {
    position: absolute;
    inset: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 40px 20px 20px;
    overflow: hidden;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.ai-phone-brand {
    margin-bottom: 4px;
}

.ai-phone-brand img {
    display: block;
    width: auto;
    height: 40px;
}

.ai-phone-label {
    margin-bottom: 12px;
    color: #64748b;
    font-size: 11px;
}

.ai-register {
    width: 100%;
    padding: 0 4px;
}

.ai-register-title {
    margin-bottom: 4px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.ai-register-subtitle {
    margin-bottom: 12px;
    color: #64748b;
    font-size: 10px;
    text-align: center;
}

.ai-register input {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #1e293b;
    color: #fff;
    font-size: 12px;
}

.ai-register input:last-of-type {
    margin-bottom: 10px;
}

.ai-register input::placeholder {
    color: #64748b;
}

.ai-register input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.ai-register-button {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.ai-register-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.ai-phone-error {
    width: 100%;
    margin-bottom: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
}

.ai-remaining {
    margin-bottom: 12px;
    color: #64748b;
    font-size: 10px;
}

.legacy-ai-phone .waveform {
    display: flex;
    align-items: center;
    height: 40px;
    margin-bottom: 16px;
    gap: 3px;
}

.legacy-ai-phone .waveform-bar {
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(to top, #2563eb, #7c3aed);
    animation: aiWaveform 0.8s ease-in-out infinite;
}

.legacy-ai-phone .waveform.speaking .waveform-bar {
    background: linear-gradient(to top, #7c3aed, #06b6d4);
}

.ai-thinking {
    width: 24px;
    height: 24px;
    margin-bottom: 16px;
    border: 3px solid rgba(37, 99, 235, 0.3);
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: aiSpin 0.8s linear infinite;
}

.ai-chat-scroll {
    width: 100%;
    max-height: 140px;
    margin-bottom: 10px;
    overflow-y: auto;
    scrollbar-width: none;
}

.ai-chat-row {
    display: flex;
    margin-bottom: 6px;
}

.ai-chat-row p {
    max-width: 200px;
    padding: 8px 12px;
    font-size: 10px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ai-chat-row.user {
    justify-content: flex-end;
}

.ai-chat-row.user p {
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px 12px 2px 12px;
    background: rgba(124, 58, 237, 0.2);
    color: #c4b5fd;
}

.ai-chat-row.assistant {
    justify-content: flex-start;
}

.ai-chat-row.assistant p {
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 12px 12px 12px 2px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.08));
    color: #e2e8f0;
    font-size: 11px;
}

.ai-limit {
    padding: 8px;
    text-align: center;
}

.ai-limit p {
    margin-bottom: 8px;
    color: #fca5a5;
    font-size: 11px;
}

.ai-limit a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

.legacy-ai-phone .mic-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.legacy-ai-phone .mic-btn:hover:not(:disabled) {
    transform: scale(1.08);
    box-shadow: 0 6px 32px rgba(37, 99, 235, 0.6);
}

.legacy-ai-phone .mic-btn:disabled {
    cursor: wait;
}

.legacy-ai-phone .mic-btn.recording::before {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    content: '';
    animation: aiMicPulse 1.5s ease-out infinite;
}

.legacy-ai-phone .mic-btn svg {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    fill: #fff;
    stroke: #fff;
    stroke-width: 2;
}

.legacy-ai-phone .mic-btn .mic-stroke-only {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
}

.ai-status {
    margin-top: 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 1420px) {
    .legacy-ai-phone {
        grid-column: 2;
        height: 560px;
    }

    .ai-phone-scale {
        transform: scale(1);
    }
}

@media (max-width: 760px) {
    .legacy-ai-phone {
        order: 2;
        width: 100%;
        height: 490px;
    }

    .ai-phone-scale {
        transform: scale(0.857);
    }
}

@media (max-width: 420px) {
    .legacy-ai-phone {
        height: 490px;
    }

    .ai-phone-scale {
        transform: scale(0.857);
    }
}
