:root {
    --bg-black: #000000;
    --bg-near-black: #080808;
    --panel-bg: #0d0d0d;
    --panel-border: #1e1e1e;
    --chrome-silver: linear-gradient(145deg, #c0c0c0, #e8e8e8);
    --accent-white: #ffffff;
    --text-body: #888888;
    --text-highlight: #aaaaaa;
    --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    overflow-x: hidden;
}

body {
    background-color: #0b0c0e;
    background-image:
        radial-gradient(ellipse at 18% 0%, rgba(160, 166, 176, 0.09), transparent 50%),
        radial-gradient(ellipse at 88% 65%, rgba(130, 136, 146, 0.045), transparent 52%),
        linear-gradient(155deg, rgba(16,17,20,0.45) 0%, rgba(11,12,14,0.5) 55%, rgba(8,9,11,0.6) 100%),
        url('/img/backgrond.webp?v=3');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-body);
    font-family: var(--font-main);
}

body > nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding: 1.2rem 3rem;
    z-index: 100;
    background: rgba(38, 42, 49, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid #474e59;
    border-radius: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--accent-white);
}

.logo img {
    height: 30px;
    width: auto;
}

body > nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

body > nav ul li a {
    text-decoration: none;
    color: #bdc6d3;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: color 0.3s ease;
}

body > nav ul li a:hover,
body > nav ul li a.nav-active {
    color: var(--accent-white);
}

.login-nav-btn {
    background: var(--accent-white);
    color: var(--bg-black) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-weight: 700;
    transition: all 0.3s ease !important;
}

.login-nav-btn:hover {
    background: #e8e8e8;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    background: transparent;
}

.hero-content {
    max-width: 900px;
}

.chrome-text {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    background: var(--chrome-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
    text-align: center;
}

.tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-highlight);
    letter-spacing: 0.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.static-text {
    color: var(--text-highlight);
}

.dynamic-text {
    color: var(--accent-white);
    font-weight: 700;
    display: inline-block;
    transition: all 0.5s ease;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--accent-white);
    border-bottom: 2px solid var(--accent-white);
    transform: rotate(45deg);
    opacity: 0;
    animation: chevron-flow 2s infinite;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

.chevron:nth-child(2) {
    animation-delay: 0.2s;
}

.chevron:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes chevron-flow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

.section {
    padding: 6rem 4rem;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.section-head-c {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 3.25rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.03);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-highlight);
}
.section-eyebrow svg { width: 12px; height: 12px; }

.section-title {
    font-family: var(--font-display);
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--accent-white);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5rem;
    background: var(--chrome-silver);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-lede {
    max-width: 46ch;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0;
}

.divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
    color: var(--panel-border);
}

.divider::before, .divider::after {
    content: '';
    height: 1px;
    width: 100px;
    background: var(--panel-border);
    margin: 0 1rem;
}

.divider span {
    color: #c0c0c0;
}

.feat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: grayscale(1);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

footer {
    padding: 2rem 0;
    border-top: 1px solid var(--panel-border);
    text-align: center;
    z-index: 10;
    position: relative;
    background: none;
}

footer p {
    font-size: 0.7rem;
    color: var(--text-body);
    letter-spacing: 0.1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal .step-card,
.reveal .feat-card-new {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 0.55s ease, translate 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i, 0) * 45ms);
}
.reveal.revealed .step-card,
.reveal.revealed .feat-card-new {
    opacity: 1;
    translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal .step-card,
    .reveal .feat-card-new {
        opacity: 1;
        transform: none;
        translate: none;
        transition: none;
    }
    .step-card:hover,
    .feat-card-new:hover { translate: none; }
}

@media (max-width: 768px) {
    .hero { height: auto; min-height: 100vh; padding: 7rem 0 3rem; }
    .chrome-text { font-size: 3rem; }
    .tagline { font-size: 1rem; }
}

body > nav {
    width: min(calc(100% - 32px), 460px);
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    padding: 14px 14px 14px 1.6rem;
    border-radius: 35px;
    transition: border-radius 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
body > nav[data-menu-open] { border-radius: 24px; }
html body:not(:has(.profile-wrap)) > nav[data-menu-open] {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 40%),
        rgba(16, 18, 23, 0.94) !important;
}

.nav-menu-btn {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: var(--accent-white);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.nav-menu-btn:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07)); }
.nav-menu-btn:active { transform: scale(0.94); }
.nav-menu-btn:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 2px; }
.nav-menu-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.24); }

.nav-menu-icon { position: relative; width: 16px; height: 10px; }
.nav-menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.75px;
    border-radius: 2px;
    background: currentColor;
    transition: top 0.3s cubic-bezier(0.22, 1, 0.36, 1), rotate 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-menu-icon span:first-child { top: 0; }
.nav-menu-icon span:last-child { top: calc(100% - 1.75px); }
.nav-menu-btn[aria-expanded="true"] .nav-menu-icon span { top: calc(50% - 0.875px); }
.nav-menu-btn[aria-expanded="true"] .nav-menu-icon span:first-child { rotate: 45deg; }
.nav-menu-btn[aria-expanded="true"] .nav-menu-icon span:last-child { rotate: -45deg; }

.nav-menu-btn.has-account {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    min-width: 0;
    max-width: 230px;
    padding: 0 14px 0 5px;
    border-radius: 999px;
}
.nav-account-avatar {
    position: relative;
    flex: none;
    width: 30px;
    height: 30px;
}
.nav-account-avatar img,
.nav-account-initial {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #2a2e36;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.22), 0 2px 8px rgba(0, 0, 0, 0.35);
}
.nav-account-initial {
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-white);
    background: linear-gradient(145deg, #4a505c, #2a2e36);
}
.nav-account-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #e6e9ee;
}
.nav-menu-btn.has-account .nav-menu-icon {
    flex: none;
    margin-inline-start: 9px;
    opacity: 0.85;
}
.nav-menu-btn.has-account .nav-menu-icon::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 1px;
    height: 16px;
    translate: 0 -50%;
    background: rgba(255, 255, 255, 0.16);
}

body > nav ul {
    flex-basis: 100%;
    flex-direction: column;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    margin-inline-end: -1px;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, padding 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.35s;
}
body > nav[data-menu-open] ul {
    max-height: 26rem;
    padding: 12px 0 2px;
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}
body > nav ul::before {
    content: '';
    display: block;
    height: 1px;
    margin: 0 4px 8px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}
body > nav ul li {
    opacity: 0;
    translate: 0 -6px;
    transition: opacity 0.25s ease, translate 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
body > nav[data-menu-open] ul li { opacity: 1; translate: 0 0; }
body > nav[data-menu-open] ul li:nth-child(2) { transition-delay: 30ms; }
body > nav[data-menu-open] ul li:nth-child(3) { transition-delay: 60ms; }
body > nav[data-menu-open] ul li:nth-child(4) { transition-delay: 90ms; }
body > nav[data-menu-open] ul li:nth-child(n+5) { transition-delay: 120ms; }

body > nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 48px;
    padding: 0 0.9rem;
    border-radius: 14px;
    font-size: 0.85rem;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, background 0.2s ease;
}
body > nav ul li a::after {
    content: '';
    flex: none;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    rotate: 45deg;
    opacity: 0.45;
}
body:has([dir="rtl"]) > nav ul li a { flex-direction: row-reverse; }
body:has([dir="rtl"]) > nav ul li a::after { rotate: -135deg; }
body > nav ul li a:hover,
body > nav ul li a:focus-visible { background: rgba(255, 255, 255, 0.07); outline: none; }
body > nav ul li a.nav-active { background: rgba(255, 255, 255, 0.1); }

@media (max-width: 768px) {
    body > nav {
        width: min(calc(100% - 32px), 560px);
        padding: 11px 11px 11px 1.25rem;
    }
}
@media (max-width: 480px) {
    body > nav:has(.nav-menu-btn.has-account) .logo span { display: none; }
    .nav-menu-btn.has-account { max-width: calc(100% - 52px); }
}

@media (prefers-reduced-motion: reduce) {
    body > nav,
    body > nav ul,
    body > nav ul li,
    .nav-menu-icon span { transition: none; }
}

.login-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.login-container {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 7.5rem 1.5rem 4rem;
    isolation: isolate;
}
.login-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: min(760px, 100%);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.02) 38%, transparent 68%);
    pointer-events: none;
    z-index: -1;
}

.login-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 2.5rem 2.25rem 2.25rem;
    border-radius: 22px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035) 0%, transparent 42%),
        rgba(9, 9, 11, 0.92);
    border: 1px solid rgba(255,255,255,0.09);
    backdrop-filter: blur(22px) saturate(120%);
    -webkit-backdrop-filter: blur(22px) saturate(120%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 32px 80px rgba(0,0,0,0.7),
        0 2px 10px rgba(0,0,0,0.5);
    animation: login-rise 0.5s cubic-bezier(.16,1,.3,1) both;
}
.login-box::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    pointer-events: none;
}
@keyframes login-rise {
    from { opacity: 0; translate: 0 14px; scale: 0.985; }
    to   { opacity: 1; translate: 0 0; scale: 1; }
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.login-logo {
    height: 52px;
    width: 52px;
    object-fit: contain;
    opacity: 1;
}

.login-header h1 {
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    background: var(--chrome-silver);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.26rem;
    filter: drop-shadow(0 1px 10px rgba(255,255,255,0.10));
    margin: 0;
    text-indent: 0.13rem;
}

.login-header .hero-badge { margin-bottom: 0; }

.login-header p {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-highlight);
    letter-spacing: 0.04rem;
    margin: 0;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0 0 1.1rem;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
}
.login-divider span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.btn-discord {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.95rem 1.5rem;
    border-radius: 13px;
    border: 1px solid rgba(255,255,255,0.14);
    background: linear-gradient(180deg, #5f6bf5 0%, #5865F2 55%, #4d59e0 100%);
    color: #fff !important;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.22) inset,
        0 8px 22px rgba(88,101,242,0.28);
    transition: translate 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-discord svg { width: 21px; height: 21px; flex-shrink: 0; }
.btn-discord:hover {
    translate: 0 -2px;
    filter: brightness(1.06);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.28) inset,
        0 14px 32px rgba(88,101,242,0.42);
}
.btn-discord:active { translate: 0 0; filter: brightness(0.97); box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset; }
.btn-discord:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.btn-discord.is-pending { pointer-events: none; filter: saturate(0.7) brightness(0.9); }
.btn-discord.is-pending .btn-discord-label { opacity: 0.75; }
.btn-discord .btn-discord-spinner { display: none; width: 17px; height: 17px; }
.btn-discord.is-pending .btn-discord-spinner {
    display: block;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: login-spin 0.7s linear infinite;
}
.btn-discord.is-pending svg { display: none; }
@keyframes login-spin { to { rotate: 360deg; } }

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    margin-top: 0.7rem;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.16);
    background: #ffffff;
    color: #1f1f1f;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: filter 0.16s ease, transform 0.16s ease;
}
.btn-google:hover { filter: brightness(0.94); transform: translateY(-1px); }
.btn-google:focus-visible { outline: 2px solid rgba(255,255,255,0.9); outline-offset: 3px; }
.btn-google svg { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
    .btn-google { transition: none; }
}

.login-note {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    line-height: 1.65;
    color: var(--text-body);
    margin: 1.25rem 0 0;
}
.login-box .login-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.45rem;
}
.login-note svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 0.25rem; opacity: 0.75; }

.error-msg {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-align: left;
    margin: 1.25rem 0 0;
    padding: 0.7rem 0.85rem;
    border-radius: 11px;
    border: 1px solid rgba(240,100,90,0.32);
    background: rgba(240,100,90,0.10);
    color: #ff9f97;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    line-height: 1.5;
}
.error-msg svg { width: 15px; height: 15px; flex-shrink: 0; }
.login-box .error-msg { margin: 0 0 1.1rem; }

@media (max-width: 480px) {
    .login-container { padding: 6.5rem 1rem 3rem; }
    .login-box { padding: 2rem 1.35rem 1.85rem; border-radius: 18px; }
    .login-header h1 { font-size: 1.8rem; letter-spacing: 0.2rem; text-indent: 0.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .login-box { animation: none; }
    .btn-discord, .btn-discord:hover, .btn-discord:active { translate: none; transition: none; }
    .btn-discord.is-pending .btn-discord-spinner { animation: none; }
}

.field-row {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: #555;
    border: 1px solid #1a1a1a;
    border-radius: 100px;
    padding: 0.35rem 1rem;
    margin-bottom: 2rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn-cta-primary {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    background: var(--accent-white);
    color: var(--bg-black);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 2rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-primary svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

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

.btn-cta-primary:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.1);
}

.preview-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5rem;
    perspective: 1000px;
}

.preview-card {
    width: 190px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    transition: transform 0.35s ease, border-color 0.2s;
}

.preview-card:nth-child(2) { transform: translateY(-14px); }
.preview-card:hover { border-color: #2a2a2a; transform: translateY(-6px) !important; }

.feat-card-new {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 44%),
        var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: border-color 0.24s ease, translate 0.24s ease, box-shadow 0.24s ease;
}
.feat-card-new::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.20), transparent);
    opacity: 0.6;
    transition: opacity 0.24s ease;
}
.feat-card-new:hover {
    border-color: #333;
    translate: 0 -4px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
.feat-card-new:hover::before { opacity: 1; }

.feat-icon-new {
    width: 42px; height: 42px;
    background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 0 rgba(255,255,255,0.09) inset;
    transition: border-color 0.24s ease, background 0.24s ease;
}
.feat-card-new:hover .feat-icon-new {
    border-color: rgba(255,255,255,0.20);
    background: linear-gradient(160deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
}

.feat-icon-new svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.feat-title-new {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-white);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.feat-count {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-highlight);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 100px;
    padding: 0.18rem 0.5rem;
    white-space: nowrap;
}

.feat-count.is-premium {
    color: #f3d18a;
    background: rgba(231,183,98,0.10);
    border-color: rgba(231,183,98,0.28);
}

.feat-desc-new {
    font-size: 0.79rem;
    color: var(--text-body);
    line-height: 1.68;
}

@media (min-width: 1200px) {
    @keyframes featFanIn {
        from { opacity: 0; translate: 0 26px; scale: 0.96; }
        to   { opacity: 1; translate: 0 0; scale: 1; }
    }
}
@keyframes cta-drift {
    from { translate: 0 -8px; }
    to   { translate: 0 8px; }
}

.cta-claim-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cta-claim-input {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    background: #050505;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 13px;
    padding: 0 1rem;
    height: 50px;
    min-width: 260px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.5) inset;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cta-claim-input:focus-within {
    border-color: rgba(255,255,255,0.34);
    box-shadow:
        0 1px 2px rgba(0,0,0,0.5) inset,
        0 0 0 3px rgba(255,255,255,0.10);
}

.cta-claim-prefix {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-body);
    white-space: nowrap;
    user-select: none;
}

.cta-claim-field {
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #fff;
    width: 100%;
    min-width: 0;
    cursor: text;
}

.cta-claim-field::placeholder { color: #7a7a7a; }

.cta-claim-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 5px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.cta-claim-badge.checking { color: #8a8a8a; }
.cta-claim-badge.avail    { color: #4ade80; background: rgba(74,222,128,0.12); }
.cta-claim-badge.taken    { color: #f0645a; background: rgba(240,100,90,0.12); }

.cta-claim-input.avail {
    border-color: rgba(74,222,128,0.45);
    box-shadow: 0 1px 2px rgba(0,0,0,0.5) inset, 0 0 0 3px rgba(74,222,128,0.10);
}
.cta-claim-input.taken {
    border-color: rgba(240,100,90,0.45);
    box-shadow: 0 1px 2px rgba(0,0,0,0.5) inset, 0 0 0 3px rgba(240,100,90,0.10);
}

.cta-claim-hint {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.cta-claim-hint.ok  { color: #4ade80; }
.cta-claim-hint.err { color: #f0645a; }

.cta-claim-btn {
    position: relative;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #e6e6e6 100%);
    color: var(--bg-black);
    border: none;
    border-radius: 13px;
    padding: 0 1.75rem;
    height: 50px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.7) inset,
        0 6px 18px rgba(0,0,0,0.4);
    transition: translate 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta-claim-btn:hover {
    translate: 0 -2px;
    filter: brightness(1.03);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.8) inset,
        0 12px 26px rgba(0,0,0,0.5);
}
.cta-claim-btn:active { translate: 0 0; filter: brightness(0.95); }
.cta-claim-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.cta-claim-btn--ready {
    background: linear-gradient(180deg, #ffffff 0%, #eafff1 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.8) inset,
        0 0 0 2px rgba(74,222,128,0.55),
        0 10px 26px rgba(74,222,128,0.22);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    margin-top: 1rem;
}

.step-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.032) 0%, transparent 46%),
        var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    padding: 1.85rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: border-color 0.24s ease, translate 0.24s ease, box-shadow 0.24s ease;
}
.step-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    opacity: 0.65;
    transition: opacity 0.24s ease;
}
.step-card:hover {
    border-color: #333;
    translate: 0 -4px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
.step-card:hover::before { opacity: 1; }

.step-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.30);
    position: absolute;
    top: 1.25rem;
    right: 1.35rem;
    z-index: -1;
    transition: -webkit-text-stroke-color 0.24s ease;
}
.step-card:hover .step-num { -webkit-text-stroke-color: rgba(255,255,255,0.5); }

.step-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 0 rgba(255,255,255,0.09) inset;
    transition: border-color 0.24s ease, background 0.24s ease;
}
.step-card:hover .step-icon {
    border-color: rgba(255,255,255,0.20);
    background: linear-gradient(160deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
}

.step-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--accent-white);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin: 0;
}

.step-card p {
    font-size: 0.79rem;
    color: var(--text-body);
    line-height: 1.68;
    margin: 0;
}

@media (max-width: 1100px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 4.5rem 1.25rem; }
    .section-head-c { margin-bottom: 2.5rem; }
    .section-title { letter-spacing: 0.3rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-num { font-size: 2rem; }
    .cta-claim-row { flex-direction: column; align-items: stretch; }
    .cta-claim-input { min-width: 0; }
    .cta-claim-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .cta-claim-btn,
    .cta-claim-btn:hover,
    .cta-claim-btn:active {
        translate: none;
        transition: none;
    }
    .step-card:hover,
    .feat-card-new:hover { translate: none; }
    .login-box { animation: none; }
}

@view-transition { navigation: auto; }
body > nav { view-transition-name: site-nav; }
body:has(> nav) main { view-transition-name: site-page; }

::view-transition-group(site-nav) { animation: none; }
::view-transition-old(site-nav) { display: none; }
::view-transition-new(site-nav) { animation: none; }

::view-transition-old(root),
::view-transition-new(root) { animation-duration: 130ms; }

::view-transition-group(site-page) { animation: none; }
::view-transition-old(site-page) { animation: op-page-leave 130ms cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(site-page) { animation: op-page-arrive 240ms cubic-bezier(0.22, 1, 0.36, 1) 130ms both; }
html:active-view-transition-type(back)::view-transition-new(site-page) { animation-name: op-page-arrive-back; }

@keyframes op-page-leave { to { opacity: 0; } }
@keyframes op-page-arrive { from { opacity: 0; transform: translate3d(12px, 0, 0); } }
@keyframes op-page-arrive-back { from { opacity: 0; transform: translate3d(-12px, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) { animation: none !important; }
}
