:root {
    --ink: #181b22;
    --muted: #7a7d86;
    --line: #e7e8e9;
    --accent: #7161ef;
    --paper: #fafaf8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Tahoma,Arial,sans-serif;
    -webkit-font-smoothing: antialiased;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 80% 10%,#eeeafb99,transparent 42%),radial-gradient(ellipse at 0% 85%,#eef2f499,transparent 40%);
    pointer-events: none;
}

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

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}

button {
    border: 0;
}

h1:focus {
    outline: none;
}

.app-shell {
    max-width: 1060px;
    margin: auto;
    padding: 0 36px;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.nav {
    height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    background: none;
    font: bold 24px Arial;
    letter-spacing: -1px;
    padding: 10px 0;
}

.brand span {
    color: var(--accent);
}

.nav-label {
    font: 10px Arial;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #747780;
}

.nav-label i {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

main {
    width: 100%;
    max-width: 580px;
    margin: 42px auto 60px;
    flex: 1;
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 44px;
    color: #a0a1a7;
    font-size: 11px;
}

.stepper span {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.stepper b {
    font: 11px monospace;
    border: 1px solid var(--line);
    border-radius: 50%;
    height: 25px;
    width: 25px;
    display: grid;
    place-items: center;
}

.stepper i {
    height: 1px;
    width: 24px;
    background: var(--line);
}

.stepper .current {
    color: var(--ink);
}

.stepper .current b {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.stepper .complete {
    color: var(--accent);
}

.stepper .complete b {
    background: #efecfe;
    border-color: #efecfe;
}

.screen {
    text-align: center;
    animation: enter .5s both;
}

.screen[hidden] {
    display: none;
}

.eyebrow {
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--accent);
    margin-bottom: 19px;
    font-weight: 700;
}

.eyebrow>span:first-child:empty {
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
}

h1 {
    font-size: 46px;
    line-height: 1.4;
    letter-spacing: -1.8px;
    margin: 0;
    font-weight: 700;
}

h1>span:not(.animated-dots) {
    color: #8b8d96;
}

.subtitle {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
    margin: 17px 0 34px;
}

.server-list {
    display: grid;
    gap: 12px;
}

.server-card {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-height: 102px;
    padding: 23px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 21px;
    text-align: right;
    box-shadow: 0 3px 6px #11111102;
    transition: transform .2s,border-color .2s,box-shadow .2s;
}

.server-card:hover {
    transform: translateY(-3px);
    border-color: #bbb3f0;
    box-shadow: 0 12px 30px #7161ef0e;
}

.server-card:active {
    transform: scale(.985);
}

.region-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: #f4f2fc;
    color: var(--accent);
    font: 34px Arial;
}

.server-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.server-copy strong {
    font: 700 15px Arial;
    letter-spacing: .5px;
}

.server-copy small {
    color: var(--muted);
    font-size: 11px;
}

.card-arrow {
    font: 24px Arial;
    color: #a0a1aa;
}

.footnote {
    font-size: 11px;
    color: #94969d;
    margin: 24px 0 0;
}

.code-panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    padding: 25px;
    box-shadow: 0 15px 50px #1f214006;
}

.panel-top,
.panel-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
}

.panel-top {
    font: 10px Arial;
    letter-spacing: 1.7px;
    color: #92949c;
}

.code-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font: 600 clamp(23px,5vw,38px) monospace;
    letter-spacing: 2px;
    margin: 38px 0;
    min-height: 48px;
    white-space: nowrap;
}

.code-char {
    display: inline-grid;
    place-items: center;
    min-width: 1ch;
    color: #cbcbd5;
    transition: color .2s,transform .2s;
}

.code-char.locked {
    color: var(--ink);
    animation: stamp .25s both;
}

.code-char.cursor {
    color: var(--accent);
    background: #f0edff;
    border-radius: 4px;
}

.panel-bottom {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0;
}

.panel-bottom #stageText {
    direction: rtl;
}

.progress {
    margin-top: 18px;
    height: 3px;
    background: #eeedf4;
    direction: ltr;
    border-radius: 4px;
    overflow: hidden;
}

.progress i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width .1s linear;
}

.tiny-orbit {
    width: 12px;
    height: 12px;
    border: 2px solid #ece9ff;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.scan-line {
    position: absolute;
    top: 60px;
    bottom: 65px;
    width: 1px;
    background: linear-gradient(transparent,#a89af5,transparent);
    animation: scan 2.4s linear infinite;
    opacity: .4;
}

.generation-stages {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 26px;
    font: 10px monospace;
    color: #b4b4bd;
}

.generation-stages b {
    font: 11px Tahoma;
    margin-right: 5px;
}

.generation-stages .done {
    color: var(--accent);
}

.text-button {
    font-size: 12px;
    background: transparent;
    padding: 16px 20px;
    color: var(--muted);
    margin-top: 22px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.success-mark {
    height: 62px;
    width: 62px;
    border-radius: 50%;
    background: #efecff;
    color: var(--accent);
    font: 28px Arial;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 9px #f4f2fd;
}

.code-badge {
    direction: rtl;
    background: #f1eefc;
    color: var(--accent);
    border-radius: 6px;
    padding: 6px 9px;
    font: 10px Tahoma;
    letter-spacing: 0;
}

.ready .code-display {
    font-size: clamp(22px,5vw,38px);
}

.copy-button {
    background: #f4f4f7;
    border-radius: 8px;
    padding: 9px 12px;
    direction: rtl;
    font-size: 11px;
}

.activate-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--ink);
    color: white;
    width: 100%;
    border-radius: 17px;
    min-height: 67px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 18px;
    cursor: pointer;
    transition: transform .2s,background .2s;
}

.activate-button:hover {
    background: #39334d;
    transform: translateY(-2px);
}

.activate-button span:last-child {
    font: 25px Arial;
}

.activation-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 15px;
}

footer {
    padding: 25px 0;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    color: #999ba3;
    font-size: 10px;
}

footer span:first-child {
    font: 9px Arial;
    letter-spacing: 1.3px;
}

#toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translate(-50%,20px);
    padding: 14px 22px;
    background: var(--ink);
    color: white;
    border-radius: 13px;
    opacity: 0;
    transition: .2s;
    pointer-events: none;
    font-size: 12px;
    width: max-content;
    max-width: 90%;
    text-align: center;
}

#toast.visible {
    opacity: 1;
    transform: translate(-50%,0);
}

.pulse {
    animation: pulse 1.2s infinite;
}

.animated-dots {
    color: var(--accent);
}

@keyframes enter{
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stamp{
    from {
        transform: translateY(-6px);
        opacity: .4;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes scan{
    from {
        left: 8%;
    }

    to {
        left: 92%;
    }
}

@keyframes pulse{
    50% {
        opacity: .3;
    }
}

@media (max-width:600px){
    .app-shell {
        padding: 0 20px;
    }

    .nav {
        height: 79px;
    }

    .brand {
        font-size: 21px;
    }

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

    main {
        margin-top: 28px;
        margin-bottom: 36px;
    }

    .stepper {
        margin-bottom: 33px;
        gap: 8px;
        font-size: 10px;
    }

    .stepper i {
        width: 15px;
    }

    h1 {
        font-size: 37px;
        letter-spacing: -1px;
    }

    .subtitle {
        font-size: 12px;
        margin-bottom: 27px;
    }

    .server-card {
        min-height: 105px;
        padding: 20px;
        gap: 15px;
    }

    .server-copy strong {
        font-size: 13px;
    }

    .server-copy small {
        font-size: 10px;
    }

    .region-icon {
        width: 48px;
        height: 48px;
    }

    .code-panel {
        padding: 21px 17px;
    }

    .code-display {
        letter-spacing: 1px;
        gap: 2px;
        margin: 38px 0;
    }

    footer {
        font-size: 9px;
    }

    .footnote {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after {
        animation: none!important;
        transition: none!important;
    }

    .scan-line {
        display: none;
    }
}

@media (max-width:350px){
    .app-shell {
        padding: 0 14px;
    }

    .server-card {
        padding: 16px;
        gap: 10px;
    }

    .server-copy strong {
        font-size: 11px;
    }

    .stepper {
        gap: 5px;
    }

    .code-display {
        font-size: 22px;
    }
}

/* Original homepage, scoped to preserve the generator UI. */
#landing {
    color-scheme: dark;
    --bg: #060102;
    --bg-2: #0d0305;
    --bg-3: #150407;
    --panel: rgba(18, 5, 8, 0.82);
    --panel-solid: #100407;
    --panel-soft: #14060a;
    --line: rgba(255, 115, 122, 0.14);
    --line-2: rgba(255, 80, 96, 0.32);
    --text: #fff8f8;
    --muted: #c9b0b4;
    --muted-2: #896b72;
    --accent: #ff243e;
    --accent-2: #ff4e5f;
    --accent-3: #ff8b92;
    --accent-glow: rgba(255, 36, 62, 0.25);
    --success: #6ef06c;
    --font-en: Inter, sans-serif;
    --font-ar: Cairo, sans-serif;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

#landing * {
    box-sizing: border-box;
}

#landing {
    background: var(--bg);
    scroll-behavior: smooth;
}

#landing {
    margin: 0;
    min-width: 320px;
    min-height: 100svh;
    font-family: var(--font-en);
    background: radial-gradient(circle at top center, rgba(190, 14, 31, 0.25), transparent 32%),
    linear-gradient(180deg, #040001 0%, #090102 38%, #060102 100%);
    color: var(--text);
    overflow-x: hidden;
}

#landing button,
#landing input {
    font: inherit;
}

#landing button {
    cursor: pointer;
}

#landing button:disabled {
    cursor: not-allowed;
}

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

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

#landing .iconify {
    display: inline-block;
}

#landing h1,
#landing h2,
#landing h3,
#landing p {
    margin: 0;
}

#landing [hidden] {
    display: none !important;
}

#landing .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

#landing .ambient {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

#landing .ambient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 66, 76, 0.12), transparent 28%),
    linear-gradient(rgba(255,255,255,.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.008) 1px, transparent 1px);
    background-size: auto, 38px 38px, 38px 38px;
    mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}

#landing .ambient i {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .22;
    animation: ambientMove 18s ease-in-out infinite alternate;
}

#landing .ambient i:nth-child(1) {
    width: 340px;
    height: 340px;
    background: #7e0514;
    top: -100px;
    left: -120px;
}

#landing .ambient i:nth-child(2) {
    width: 290px;
    height: 290px;
    background: #c21227;
    top: 28%;
    right: -100px;
    animation-delay: -6s;
}

#landing .ambient i:nth-child(3) {
    width: 300px;
    height: 300px;
    background: #3f050c;
    bottom: -150px;
    left: 24%;
    animation-delay: -10s;
}

#landing .app-shell {
    width: 100%;
}

#landing .step {
    display: none;
    min-height: 100svh;
}

#landing .step.active {
    display: block;
    animation: stepIn .4s cubic-bezier(.2,.8,.2,1) both;
}

#landing .step.is-leaving {
    animation: stepOut .2s ease both;
}

#landing .hero-shell {
    width: min(100%, 500px);
    margin: 0 auto;
    position: relative;
    padding-bottom: max(30px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(15, 4, 8, 0.14), rgba(8, 2, 3, 0.06));
    box-shadow: 0 0 80px rgba(170, 0, 28, 0.08);
}

#landing .hero-nav {
    height: 88px;
    padding: max(18px, env(safe-area-inset-top)) 20px 8px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    direction: ltr;
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 20;
}

#landing .brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#landing .brand-logo img {
    width: clamp(148px, 40vw, 220px);
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(255, 18, 54, 0.18));
}

#landing .brand-logo.compact img {
    width: 132px;
}

#landing .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

#landing .nav-actions button {
    border: 0;
    background: transparent;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

#landing .nav-language {
    gap: 5px;
    font-weight: 700;
    font-size: 13px;
}

#landing .nav-language .iconify {
    font-size: 22px;
}

#landing .nav-language .tiny {
    font-size: 15px;
    color: #c7a3a7;
}

#landing .nav-menu .iconify {
    font-size: 31px;
}

#landing .hero-art-zone {
    height: 650px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(circle at 50% 25%, rgba(255, 41, 59, 0.14), transparent 34%),
    linear-gradient(180deg, #140407 0%, #0c0204 55%, #070102 100%);
}

#landing .hero-art-zone::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, transparent 49.8%, rgba(255, 160, 170, 0.04) 50%, transparent 50.2%),
    linear-gradient(rgba(255, 155, 165, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 100% 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

#landing .hero-art-zone::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(50,0,7,0.06) 35%, rgba(70,0,12,0.18) 62%, rgba(8,2,3,0.1) 100%);
    mix-blend-mode: screen;
    pointer-events: none;
}

#landing .hero-glow {
    position: absolute;
    left: 50%;
    top: 28%;
    width: 390px;
    height: 390px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 48, 70, 0.26), rgba(160, 6, 28, 0.14) 46%, transparent 72%);
    filter: blur(12px);
    z-index: 1;
    animation: glowBreath 6s ease-in-out infinite;
}

#landing .hero-character {
    position: absolute;
    z-index: 2;
    inset: auto 50% 0 auto;
    transform: translateX(50%);
    width: 112%;
    height: 95%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 24px 35px rgba(0,0,0,.5));
    animation: heroFloat 7s ease-in-out infinite;
}

#landing .hero-fade {
    position: absolute;
    z-index: 4;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(to bottom, transparent 0%, rgba(10,2,4,.24) 25%, rgba(8,2,3,.84) 72%, #060102 100%);
}

#landing .tech-rail {
    position: absolute;
    z-index: 5;
    font-size: 7px;
    letter-spacing: 1.6px;
    color: #b48e94;
    display: flex;
    gap: 8px;
}

#landing .rail-right {
    right: 13px;
    top: 170px;
    flex-direction: column;
    border-left: 1px solid rgba(255, 131, 143, 0.18);
    padding-left: 10px;
}

#landing .rail-left {
    left: 11px;
    top: 265px;
    writing-mode: vertical-rl;
    align-items: center;
}

#landing .rail-left b {
    height: 38px;
    width: 1px;
    background: rgba(255, 131, 143, 0.5);
}

#landing .hero-content {
    position: relative;
    z-index: 6;
    margin-top: -120px;
    padding: 0 20px;
    direction: rtl;
}

#landing .hero-title-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

#landing .hero-title-logo img {
    width: min(92%, 760px);
    filter: drop-shadow(0 16px 24px rgba(0,0,0,.38));
}

#landing .hero-content h1 {
    text-align: center;
    font: 900 26px/1.3 var(--font-ar);
    letter-spacing: -0.6px;
}

#landing .hero-content h1 em {
    color: var(--accent-3);
    font-style: normal;
}

#landing .hero-content > p {
    text-align: center;
    font: 600 14px/1.8 var(--font-ar);
    color: var(--muted);
    margin-top: 4px;
}

#landing .stats-panel {
    margin-top: 22px;
    background: linear-gradient(180deg, rgba(19, 5, 8, 0.9), rgba(10, 2, 4, 0.96));
    border: 1px solid var(--line-2);
    border-radius: 20px;
    padding: 12px 4px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 40px rgba(0,0,0,.2);
}

#landing .stat-item {
    min-width: 0;
    padding: 4px 0px 4px 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 1px solid rgba(255, 112, 125, 0.08);
}

#landing .stat-item:last-child {
    border-left: 0;
}

#landing .stat-icon,
#landing .status-orb {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
}

#landing .stat-icon {
    color: var(--accent-2);
    font-size: 20px;
}

#landing .status-orb {
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #9bff90, var(--success));
    box-shadow: 0 0 12px rgba(110, 240, 108, 0.55);
    animation: statusPulse 1.7s ease-in-out infinite;
}

#landing .stat-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#landing .stat-copy strong {
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.15px;
    font-variant-numeric: tabular-nums;
}

#landing .stat-copy span {
    font-size: 8px;
    letter-spacing: .9px;
    color: #ccaab0;
    line-height: 1.5;
}

#landing .stat-copy span b {
    display: block;
    font-weight: 600;
    color: #a8858b;
}

#landing .stat-value-line {
    display: flex;
    align-items: center;
    gap: 7px;
}

#landing #onlineDelta {
    color: var(--success);
    font-size: 7px;
    font-weight: 800;
    transition: .2s;
}

#landing #onlineDelta.down {
    color: #ff9ba7;
}

#landing .status-stat .stat-copy strong {
    color: #9eff92;
    font-size: 7.8px;
}

#landing .primary-cta {
    width: min(100%, 530px);
    margin: 22px auto 0;
    min-height: 66px;
    border: 1px solid rgba(255, 110, 120, 0.46);
    border-radius: 999px;
    background: linear-gradient(90deg, #b0071b 0%, #ff1837 52%, #ff5b63 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font: 900 20px/1 var(--font-ar);
    box-shadow: 0 16px 40px rgba(173, 5, 28, 0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}

#landing .primary-cta::before {
    content: "";
    position: absolute;
    inset: -10% auto -10% -30%;
    width: 38%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
    transform: skewX(-22deg);
    animation: ctaSweep 7s ease-in-out infinite;
}

#landing .cta-round {
    position: absolute;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(27, 5, 7, .22), rgba(27, 5, 7, .4));
    border: 1px solid rgba(255,255,255,.18);
    display: grid;
    place-items: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

#landing .cta-round .iconify {
    font-size: 28px;
}

#landing .hero-secondary-grid {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

#landing .server-card {
    background: linear-gradient(180deg, rgba(18, 5, 8, 0.82), rgba(9, 2, 4, 0.95));
    border: 1px solid rgba(255, 100, 114, 0.16);
    border-radius: 22px;
    padding: 18px 18px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

#landing .server-dots span {
    display: block;
    direction: ltr;
    text-align: left;
    font-size: 8px;
    letter-spacing: 1.5px;
    color: #c9afb3;
}

#landing .server-dots div {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

#landing .server-dots i,
#landing .server-list span i {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8fff8c, var(--success));
    box-shadow: 0 0 12px rgba(110,240,108,.5);
}

#landing .server-list {
    display: grid;
    gap: 6px;
}

#landing .server-list p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    direction: ltr;
    font-size: 8px;
    letter-spacing: 1.1px;
    color: #f4d8db;
}

#landing .server-list p b {
    font-size: 9px;
    color: #d2bcc0;
}

#landing .server-list span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7cf975;
    font-size: 8px;
    font-weight: 800;
}

#landing .server-list span i {
    width: 12px;
    height: 12px;
}

#landing .server-arrow {
    color: #dfbbc1;
    font-size: 22px;
}

#landing .feature-row {
    background: linear-gradient(180deg, rgba(16, 4, 7, 0.75), rgba(8, 2, 3, 0.82));
    border: 1px solid rgba(255, 95, 109, 0.12);
    border-radius: 22px;
    padding: 18px 12px 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

#landing .feature {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 4px 8px;
}

#landing .feature + .feature {
    border-right: 1px solid rgba(255, 128, 140, 0.12);
}

#landing .feature .iconify {
    font-size: 42px;
    color: var(--accent-2);
}

#landing .feature strong {
    font-size: 8px;
    letter-spacing: 1.3px;
    direction: ltr;
}

#landing .feature small {
    font: 700 10px/1.5 var(--font-ar);
    color: var(--muted);
}

#landing .steps-card {
    margin-top: 22px;
    background: linear-gradient(180deg, rgba(16, 4, 7, 0.92), rgba(9, 2, 4, 0.96));
    border: 1px solid rgba(255, 90, 108, 0.16);
    border-radius: 24px;
    padding: 22px 16px 16px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

#landing .steps-card h2 {
    font: 900 22px/1.25 var(--font-ar);
}

#landing .steps-card > p {
    font: 700 12px/1.8 var(--font-ar);
    color: var(--muted);
    margin-top: 4px;
}

#landing .steps-track {
    position: relative;
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

#landing .track-line {
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 116, 130, 0.18);
    z-index: 0;
}

#landing .track-line span {
    display: block;
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #f74253, #ff7a84);
    box-shadow: 0 0 12px rgba(247, 66, 83, 0.45);
}

#landing .step-node {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #b99ba0;
}

#landing .step-node i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 127, 140, 0.28);
    background: #0d0305;
    display: grid;
    place-items: center;
}

#landing .step-node i .iconify {
    font-size: 22px;
}

#landing .step-node b {
    font-size: 11px;
    font-weight: 800;
}

#landing .step-node small {
    font: 700 9px/1.45 var(--font-ar);
    color: #d5c2c5;
}

#landing .step-node.active i {
    border-color: rgba(255, 98, 110, 0.74);
    color: #fff;
    background: radial-gradient(circle at 35% 35%, #ff6a77, #c50a21 70%);
    box-shadow: 0 0 18px rgba(255, 40, 60, 0.38);
}

#landing .step-node.active b,
#landing .step-node.active small {
    color: #fff;
}

#landing .flow-shell {
    width: min(100% - 24px, 580px);
    margin: 0 auto;
    padding: max(18px, env(safe-area-inset-top)) 0 max(28px, env(safe-area-inset-bottom));
}

#landing .flow-header {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 12px;
    direction: ltr;
}

#landing .back-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 106, 120, 0.24);
    background: rgba(19, 5, 8, 0.82);
    color: var(--text);
    display: grid;
    place-items: center;
}

#landing .back-circle .iconify {
    font-size: 26px;
}

#landing .flow-count {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
}

#landing .flow-heading {
    text-align: center;
    margin-top: 24px;
}

#landing .flow-heading > span {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--accent-3);
}

#landing .flow-heading h2 {
    font: 900 28px/1.35 var(--font-ar);
    margin-top: 10px;
}

#landing .flow-heading p {
    font: 600 13px/1.9 var(--font-ar);
    color: var(--muted);
    margin-top: 6px;
}

#landing .progress-top {
    display: flex;
    gap: 7px;
    margin: 28px auto 8px;
    width: 190px;
}

#landing .setup-dot {
    height: 3px;
    flex: 1;
    border-radius: 4px;
    background: #281015;
}

#landing .setup-dot.active,
#landing .setup-dot.complete {
    background: linear-gradient(90deg, #e22339, #ff7b82);
    box-shadow: 0 0 9px rgba(255, 64, 87, 0.35);
}

#landing .setup-hint {
    text-align: center;
    font-size: 9px;
    letter-spacing: .6px;
    color: #d6aeb4;
}

#landing .setup-card,
#landing .processing-card,
#landing .verification-card {
    margin-top: 18px;
    background: linear-gradient(160deg, rgba(18, 5, 8, 0.96), rgba(9, 2, 4, 0.98));
    border: 1px solid rgba(255, 97, 111, 0.16);
    border-radius: 26px;
    padding: 18px;
    box-shadow: var(--shadow);
}

#landing .setup-stage {
    animation: stageIn .28s ease both;
}

#landing .stage-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    direction: rtl;
    margin-bottom: 19px;
}

#landing .stage-title > span {
    font-size: 8px;
    color: var(--accent-3);
    border: 1px solid rgba(255, 106, 120, 0.22);
    border-radius: 8px;
    padding: 5px 7px;
    margin-top: 2px;
}

#landing .stage-title h3 {
    font: 800 18px var(--font-ar);
}

#landing .stage-title p {
    font: 500 11px/1.8 var(--font-ar);
    color: var(--muted);
    margin-top: 4px;
}

#landing .id-input-wrap {
    height: 62px;
    border: 1px solid rgba(255, 108, 124, 0.24);
    background: #0a0204;
    border-radius: 15px;
    display: flex;
    align-items: center;
    direction: ltr;
    padding: 0 16px;
    transition: .2s;
}

#landing .id-input-wrap:focus-within {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px rgba(255, 43, 72, 0.08), 0 0 24px rgba(255, 43, 72, 0.08);
}

#landing .id-input-wrap > .iconify {
    color: var(--accent-2);
    font-size: 23px;
}

#landing .form-input {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    width: 100%;
    height: 100%;
    padding: 0 14px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
    direction: ltr;
}

#landing .form-input::placeholder {
    color: #73595e;
}

#landing .field-note {
    font: 500 10px var(--font-ar);
    color: #997f84;
    margin: 9px 3px 2px;
}

#landing .device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

#landing .choice-card {
    position: relative;
    min-height: 124px;
    border: 1px solid rgba(255, 104, 118, 0.19);
    background: #0b0205;
    color: #d3babf;
    border-radius: 17px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .2s;
}

#landing .choice-card > .iconify {
    font-size: 34px;
    color: #ffc0c5;
}

#landing .choice-card strong {
    font-size: 11px;
}

#landing .choice-card:hover {
    border-color: rgba(255, 120, 132, 0.46);
    transform: translateY(-2px);
}

#landing .choice-card.selected {
    border-color: var(--accent-2);
    background: linear-gradient(180deg, #21060b, #120305);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 100, 114, 0.12), 0 12px 26px rgba(112, 5, 16, 0.18);
}

#landing .choice-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1px solid #5a2b31;
    display: grid;
    place-items: center;
    color: transparent;
    font-style: normal;
}

#landing .choice-card.selected .choice-check {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #fff;
}

#landing .choice-check .iconify {
    font-size: 11px;
}

#landing .pack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

#landing .pack-card {
    min-height: 155px;
    position: relative;
    border: 1px solid rgba(255, 105, 121, 0.18);
    background: #0a0204;
    color: #fff;
    border-radius: 18px;
    padding: 11px 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    transition: .22s;
}

#landing .pack-card img {
    height: 78px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(255, 35, 66, 0.14));
    transition: .22s;
}

#landing .pack-card > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#landing .pack-card strong {
    font-size: 21px;
}

#landing .pack-card span {
    font-size: 7px;
    letter-spacing: 1.3px;
    color: #b39196;
    margin-top: 4px;
}

#landing .pack-card > i {
    position: absolute;
    right: 9px;
    top: 9px;
    width: 17px;
    height: 17px;
    border: 1px solid #5a2b31;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: transparent;
    font-style: normal;
}

#landing .pack-card > i .iconify {
    font-size: 11px;
}

#landing .pack-card.selected {
    border-color: var(--accent-2);
    background: linear-gradient(180deg, #20060a, #120305);
    box-shadow: 0 12px 25px rgba(112, 5, 16, 0.16);
}

#landing .pack-card.selected img {
    transform: translateY(-4px) scale(1.05);
}

#landing .pack-card.selected > i {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #fff;
}

#landing .random-pack {
    justify-content: center;
    gap: 13px;
}

#landing .random-icon {
    font-size: 48px !important;
    color: var(--accent-2) !important;
    margin: 0 !important;
}

#landing .flow-continue {
    margin-top: 18px;
    width: 100%;
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(255, 110, 120, 0.32);
    background: linear-gradient(90deg, #b0071b 0%, #ff1837 52%, #ff5962 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font: 800 16px var(--font-ar);
    box-shadow: 0 12px 28px rgba(152, 3, 24, 0.24);
}

#landing .flow-continue:disabled {
    background: #241014;
    border-color: #34181e;
    color: #6f555a;
    box-shadow: none;
}

#landing .flow-continue > i {
    position: absolute;
    left: 10px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(46, 6, 12, 0.45);
    display: grid;
    place-items: center;
    font-style: normal;
}

#landing .flow-continue > i .iconify {
    font-size: 21px;
}

#landing .processing-shell,
#landing .verify-shell {
    display: flex;
    flex-direction: column;
}

#landing .processing-card,
#landing .verification-card {
    margin-top: 28px;
    padding: 32px 20px 24px;
    text-align: center;
}

#landing .processing-label,
#landing .verify-kicker {
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--accent-3);
}

#landing .processing-amount {
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -2px;
    margin-top: 8px;
    background: linear-gradient(180deg, #fff, #ff7d89);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}

#landing .deploy-icon,
#landing .verify-icon {
    width: 78px;
    height: 78px;
    margin: 22px auto 19px;
    border-radius: 24px;
    background: linear-gradient(145deg, #24070d, #120305);
    border: 1px solid rgba(255, 104, 118, 0.3);
    display: grid;
    place-items: center;
    color: var(--accent-2);
    box-shadow: 0 0 35px rgba(184, 6, 29, 0.1);
}

#landing .deploy-icon .iconify,
#landing .verify-icon .iconify {
    font-size: 35px;
}

#landing .processing-card h2,
#landing .verification-card h2 {
    font: 800 23px/1.6 var(--font-ar);
}

#landing .processing-card > p,
#landing .verification-card > p {
    font: 500 12px/1.9 var(--font-ar);
    color: var(--muted);
    margin-top: 6px;
}

#landing .tech-progress {
    margin-top: 30px;
}

#landing .progress-bar {
    height: 7px;
    border-radius: 999px;
    background: #230b10;
    overflow: hidden;
    border: 1px solid rgba(255, 102, 118, 0.12);
}

#landing .progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #b3071b, #ff2440, #ff8188);
    box-shadow: 0 0 14px rgba(255, 63, 86, 0.48);
    transition: width .08s linear;
    position: relative;
}

#landing .progress-fill::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45));
    animation: progressShine 1.1s linear infinite;
}

#landing .progress-meta {
    display: flex;
    justify-content: space-between;
    direction: ltr;
    margin-top: 11px;
    font-size: 9px;
    color: #c39da3;
    letter-spacing: .6px;
}

#landing .progress-text {
    color: var(--accent-3);
    font-weight: 800;
}

#landing .loading-steps {
    margin-top: 25px;
    display: grid;
    gap: 9px;
    text-align: right;
}

#landing .loading-steps span {
    font: 600 11px var(--font-ar);
    color: #906e74;
    display: flex;
    align-items: center;
    gap: 9px;
}

#landing .loading-steps i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #412128;
}

#landing .loading-steps span.done {
    color: #f0d7da;
}

#landing .loading-steps span.done i {
    background: var(--success);
    box-shadow: 0 0 10px rgba(57, 215, 106, 0.55);
}

#landing .lock-transition {
    height: 0;
    opacity: 0;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: var(--accent-3);
    transition: .35s;
}

#landing .lock-transition.show {
    height: 90px;
    opacity: 1;
    margin-top: 12px;
}

#landing .lock-transition .iconify {
    font-size: 50px;
    animation: lockPop .72s ease both;
}

#landing .verify-kicker {
    display: block;
    margin-bottom: 13px;
}

#landing .verify-details {
    margin-top: 25px;
    border: 1px solid rgba(255, 102, 118, 0.14);
    background: #0a0204;
    border-radius: 18px;
    padding: 4px 15px;
}

#landing .verify-details > div {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    direction: ltr;
}

#landing .verify-details > div + div {
    border-top: 1px solid rgba(255, 102, 118, 0.08);
}

#landing .verify-details span {
    font-size: 8px;
    letter-spacing: 1.4px;
    color: #a17e84;
}

#landing .verify-details strong {
    font-size: 12px;
    color: #f6e5e7;
    overflow-wrap: anywhere;
}

#landing .flow-continue.final {
    margin-top: 18px;
}

#landing .notification {
    position: fixed;
    z-index: 99;
    bottom: max(22px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 13px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 115, 126, 0.34);
    background: #18060a;
    color: #fbeef0;
    font: 600 12px/1.7 var(--font-ar);
    box-shadow: 0 18px 45px rgba(0,0,0,.4);
    animation: toastIn .25s ease both;
}

@media (min-width: 900px){
    #landing .hero-shell {
        width: min(100% - 44px, 1360px);
        margin: 26px auto;
        border-radius: 34px;
        overflow: hidden;
        border: 1px solid rgba(255, 106, 120, 0.12);
        display: grid;
        grid-template-columns: minmax(460px, 560px) minmax(520px, 1fr);
        grid-template-areas: "nav nav"
      "content art";
        align-items: stretch;
        padding-bottom: 0;
    }

    #landing .hero-nav {
        grid-area: nav;
        position: relative;
        height: auto;
        padding: 26px 28px 0;
    }

    #landing .hero-content {
        grid-area: content;
        margin: 0;
        padding: 36px 28px 32px 34px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        align-self: stretch;
    }

    #landing .hero-title-logo {
        justify-content: flex-start;
        margin-bottom: 12px;
    }

    #landing .hero-title-logo img {
        width: min(100%, 620px);
    }

    #landing .hero-content h1,
    #landing .hero-content > p {
        text-align: right;
    }

    #landing .hero-content h1 {
        font-size: 44px;
    }

    #landing .hero-content > p {
        font-size: 16px;
        max-width: 92%;
    }

    #landing .stats-panel {
        margin-top: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
    }

    #landing .stat-item {
        min-height: 72px;
        border-left: 0;
        border: 1px solid rgba(255, 103, 118, 0.08);
        border-radius: 18px;
        padding: 12px 14px;
        background: rgba(255,255,255,.015);
    }

    #landing .stat-copy strong {
        font-size: 17px;
    }

    #landing .stat-copy span {
        font-size: 10px;
    }

    #landing .status-stat .stat-copy strong {
        font-size: 14px;
    }

    #landing .primary-cta {
        width: min(100%, 420px);
        margin: 24px 0 0 auto;
    }

    #landing .hero-secondary-grid {
        grid-template-columns: 1.02fr .98fr;
        align-items: stretch;
        gap: 16px;
        margin-top: 24px;
    }

    #landing .server-card,
    #landing .feature-row {
        height: 100%;
    }

    #landing .feature-row {
        padding: 18px 16px;
    }

    #landing .feature strong {
        font-size: 11px;
    }

    #landing .feature small {
        font-size: 11px;
    }

    #landing .steps-card {
        margin-top: 20px;
        padding: 24px 20px 20px;
    }

    #landing .steps-card h2 {
        font-size: 30px;
    }

    #landing .steps-card > p {
        font-size: 15px;
    }

    #landing .steps-track {
        margin-top: 24px;
        gap: 12px;
    }

    #landing .track-line {
        top: 24px;
        left: 8%;
        right: 8%;
    }

    #landing .step-node i {
        width: 48px;
        height: 48px;
    }

    #landing .step-node i .iconify {
        font-size: 24px;
    }

    #landing .step-node b {
        font-size: 15px;
    }

    #landing .step-node small {
        font-size: 12px;
    }

    #landing .hero-art-zone {
        grid-area: art;
        height: auto;
        min-height: 880px;
        border-right: 1px solid rgba(255, 110, 120, 0.08);
    }

    #landing .hero-glow {
        top: 32%;
        width: 520px;
        height: 520px;
    }

    #landing .hero-character {
        width: 108%;
        height: 94%;
        right: 48%;
        object-position: center bottom;
    }

    #landing .hero-fade {
        height: 34%;
    }

    #landing .rail-left {
        left: 16px;
        top: 46%;
    }

    #landing .rail-right {
        right: 18px;
        top: 180px;
        font-size: 8px;
    }

    #landing .flow-shell {
        width: min(100% - 48px, 1140px);
        padding-top: 28px;
    }

    #landing .flow-header {
        grid-template-columns: 50px 1fr auto;
    }

    #landing .setup-card {
        padding: 26px;
    }

    #landing .device-grid {
        gap: 12px;
    }

    #landing .choice-card {
        min-height: 154px;
    }

    #landing .pack-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    #landing .pack-card {
        min-height: 190px;
    }

    #landing .processing-card,
    #landing .verification-card {
        width: min(100%, 720px);
        margin-left: auto;
        margin-right: auto;
        padding: 38px 28px 28px;
    }
}

@media (min-width: 1200px){
    #landing .hero-shell {
        grid-template-columns: minmax(500px, 600px) minmax(620px, 1fr);
    }

    #landing .hero-content {
        padding: 54px 34px 34px 40px;
    }

    #landing .hero-content h1 {
        font-size: 50px;
    }

    #landing .hero-content > p {
        font-size: 17px;
    }

    #landing .hero-art-zone {
        min-height: 940px;
    }

    #landing .hero-character {
        width: 104%;
        right: 49%;
    }
}

@media (max-width: 380px){
    #landing .hero-art-zone {
        height: 620px;
    }

    #landing .hero-content {
        padding: 0 13px;
        margin-top: -108px;
    }

    #landing .hero-content h1 {
        font-size: 22px;
    }

    #landing .hero-content > p {
        font-size: 12px;
    }

    #landing .stats-panel {
        padding: 11px 2px;
    }

    #landing .stat-item {
        padding: 2px 4px;
        gap: 4px;
    }

    #landing .stat-icon {
        font-size: 18px;
    }

    #landing .stat-copy strong {
        font-size: 11px;
    }

    #landing .status-orb {
        width: 15px;
        height: 15px;
    }

    #landing .status-stat .stat-copy strong {
        font-size: 6.8px;
    }

    #landing .primary-cta {
        width: 82%;
    }

    #landing .server-card {
        padding-left: 12px;
        grid-template-columns: .9fr 1.1fr auto;
    }

    #landing .feature {
        padding: 2px 5px;
    }

    #landing .feature strong {
        font-size: 8.5px;
    }

    #landing .feature small {
        font-size: 8.8px;
    }

    #landing .steps-card {
        padding-left: 6px;
        padding-right: 6px;
    }

    #landing .step-node i {
        width: 38px;
        height: 38px;
    }

    #landing .setup-card {
        padding: 14px;
    }

    #landing .device-grid {
        gap: 6px;
    }

    #landing .choice-card {
        min-height: 112px;
    }
}

@media (prefers-reduced-motion: reduce){
    #landing *,
    #landing *::before,
    #landing *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@keyframes heroFloat{
    0%,
    100% {
        transform: translateX(50%) translateY(0) scale(1);
    }

    50% {
        transform: translateX(50%) translateY(-7px) scale(1.008);
    }
}

@keyframes glowBreath{
    50% {
        opacity: .62;
        transform: translate(-50%, -50%) scale(.93);
    }
}

@keyframes statusPulse{
    50% {
        transform: scale(.85);
        opacity: .78;
    }
}

@keyframes ctaSweep{
    0%,
    65% {
        transform: translateX(-150%) skewX(-22deg);
    }

    100% {
        transform: translateX(420%) skewX(-22deg);
    }
}

@keyframes ambientMove{
    to {
        transform: translate(40px, 45px) scale(1.1);
    }
}

@keyframes stepIn{
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes stepOut{
    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@keyframes stageIn{
    from {
        opacity: 0;
        transform: translateX(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes progressShine{
    from {
        transform: translateX(-25px);
    }

    to {
        transform: translateX(40px);
    }
}

@keyframes lockPop{
    0% {
        opacity: 0;
        transform: scale(.65);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes toastIn{
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* White theme; the original hero geometry stays intact. */
[hidden] {
    display: none!important;
}

body,
button,
input,
.generation-stages b,
.code-badge {
    font-family: Cairo,Arial,sans-serif;
}

.server-copy strong,
.brand,
.nav-label,
footer span:first-child,
.panel-top {
    font-family: Cairo,Arial,sans-serif;
}

#landing {
    color-scheme: light;
    --bg: #fafaf8;
    --bg-2: #fff;
    --bg-3: #f4f2fc;
    --panel: #fff;
    --panel-solid: #fff;
    --panel-soft: #f4f2fc;
    --line: #e6e4ed;
    --line-2: #ded9f1;
    --text: #181b22;
    --muted: #777985;
    --muted-2: #9395a0;
    --accent: #7161ef;
    --accent-2: #7161ef;
    --accent-3: #7161ef;
    --accent-glow: #7161ef22;
    --success: #44a16b;
    --font-en: Cairo,Arial,sans-serif;
    --font-ar: Cairo,Arial,sans-serif;
    background: #fafaf8;
    color: var(--text);
    overflow: hidden;
}

#landing .hero-shell {
    background: transparent;
    box-shadow: none;
}

#landing .hero-art-zone {
    background: radial-gradient(circle at 50% 25%,#e8e3fc 0%,transparent 45%),linear-gradient(#fafaf8,#f5f3fa,#fafaf8);
}

#landing .hero-art-zone::before {
    background: linear-gradient(90deg,transparent 49.8%,#7161ef09 50%,transparent 50.2%),linear-gradient(#7161ef09 1px,transparent 1px);
    background-size: 100% 100%,100% 56px;
}

#landing .hero-art-zone::after {
    background: none;
}

#landing .hero-glow {
    background: radial-gradient(circle,#ddd5fa99,transparent 72%);
}

#landing .hero-fade {
    background: linear-gradient(to bottom,transparent,#fafaf855 25%,#fafaf8e0 72%,#fafaf8);
}

#landing .hero-character {
    filter: drop-shadow(0 24px 35px #26202f22);
}

#landing .hero-title-logo img,
#landing .brand-logo img {
    filter: drop-shadow(0 8px 18px #26202f15);
}

#landing .stats-panel,
#landing .server-card,
#landing .feature-row,
#landing .steps-card {
    background: #ffffffed;
    border-color: #e6e4ed;
    box-shadow: 0 10px 40px #181b2206;
}

#landing .stat-copy span,
#landing .stat-copy span b,
#landing .server-dots span,
#landing .server-list p,
#landing .server-list p b,
#landing .tech-rail,
#landing .server-arrow {
    color: #777985;
}

#landing .stat-item,
#landing .feature+.feature {
    border-color: #e6e4ed;
}

#landing .status-stat .stat-copy strong,
#landing .server-list span {
    color: #36875a;
}

#landing .status-orb,
#landing .server-dots i,
#landing .server-list span i {
    background: #55b77c;
    box-shadow: 0 0 12px #55b77c33;
}

#landing .primary-cta {
    background: linear-gradient(90deg,#6250d8,#8673f6);
    border-color: #8471e9;
    box-shadow: 0 16px 40px #7161ef26;
}

#landing .cta-round {
    background: #ffffff18;
}

#landing .step-node i {
    background: #f3f0fc;
    border-color: #e5e0f6;
    color: #7161ef;
}

#landing .step-node.active i {
    background: #7161ef;
    color: #fff;
    box-shadow: 0 0 20px #7161ef22;
}

#landing .step-node small,
#landing .steps-card p {
    color: #777985;
}

#landing .step-node b {
    color: #181b22;
}

#landing .track-line {
    background: #e7e3f3;
}

#landing .steps-track {
    grid-template-columns: repeat(3,1fr);
}

/* Reference typography, panel proportions and consistent Iconify Lucide icons. */
:root {
    --accent: #335fff;
    --paper: #f3f5f8;
    --ease: cubic-bezier(.22,1,.36,1);
}

body {
    background: #f3f5f8;
    font-family: Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] .server-copy strong,
html[lang="ar"] .code-badge,
html[lang="ar"] .generation-stages b {
    font-family: Cairo,Arial,sans-serif;
}

html[lang="en"] button,
html[lang="en"] input,
html[lang="en"] .server-copy strong,
html[lang="en"] .brand,
html[lang="en"] .nav-label,
html[lang="en"] .panel-top,
html[lang="en"] .code-badge,
html[lang="en"] .generation-stages b,
html[lang="en"] footer span {
    font-family: Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

.ui-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    flex-shrink: 0;
    fill: none;
}

#landing .ui-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
}

.region-icon .ui-icon {
    width: 27px;
    height: 27px;
}

.card-arrow .ui-icon {
    width: 19px;
    height: 19px;
}

.copy-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-button .ui-icon {
    width: 16px;
    height: 16px;
}

.success-mark .ui-icon {
    width: 30px;
    height: 30px;
}

.activate-button .ui-icon {
    width: 21px;
    height: 21px;
}

#generatorApp {
    max-width: 1060px;
}

#generatorApp main {
    max-width: 460px;
    margin-top: 30px;
}

.screen {
    background: #ffffffef;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 34px 30px 26px;
    box-shadow: 0 20px 60px #34456809,0 3px 8px #34456803;
    animation: panelArrival .62s var(--ease) both;
    text-align: start;
    min-height: 380px;
}

.screen .eyebrow {
    justify-content: flex-start;
    font-size: 9px;
    letter-spacing: 1.9px;
}

.screen h1 {
    font-size: 31px;
    line-height: 1.25;
    letter-spacing: -1.2px;
}

.screen h1>span {
    color: inherit;
}

.screen .subtitle {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 26px;
}

.server-card {
    min-height: 90px;
    border-radius: 18px;
    background: #f8f9fc;
    padding: 17px;
    gap: 13px;
    box-shadow: none;
    text-align: start;
}

.server-copy {
    align-items: flex-start;
}

.server-copy strong {
    font-size: 12px;
    letter-spacing: 0;
}

.server-copy small {
    font-size: 9px;
}

.region-icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #edf1fc;
    color: #335fff;
}

.server-card:hover {
    background: #eef2ff;
    border-color: #b9c8ff;
    box-shadow: 0 9px 17px #335fff0a;
}

.footnote {
    line-height: 1.8;
    text-align: center;
}

.code-panel {
    background: linear-gradient(155deg,#f7f9ff,#f0f4fd);
    border-color: #e4ebfd;
    border-radius: 22px;
    padding: 23px 17px;
    box-shadow: none;
}

.code-display {
    font-size: 28px;
    letter-spacing: 1px;
    gap: 2px;
}

.screen#generate,
.screen#activate {
    text-align: center;
}

.screen#generate .eyebrow,
.screen#activate .eyebrow {
    justify-content: center;
}

.activate-button {
    border-radius: 15px;
    min-height: 56px;
    font-size: 13px;
}

.success-mark {
    border-radius: 24px;
    background: #eaf7f0;
    color: #28a674;
    box-shadow: 0 0 0 9px #f5fbf8;
}

.code-badge {
    background: #edf2ff;
    color: #335fff;
}

.stepper {
    margin-bottom: 25px;
}

.stepper .complete {
    color: #335fff;
}

.stepper .complete b {
    background: #edf2ff;
}

.generation-stages {
    gap: 20px;
}

.copy-button {
    font-size: 10px;
}

.text-button {
    display: block;
    margin: 18px auto 0;
}

html[dir="ltr"] .server-copy {
    direction: ltr;
}

html[dir="rtl"] .server-copy {
    direction: rtl;
}

html[dir="rtl"] .screen h1 {
    letter-spacing: 0;
    line-height: 1.6;
}

html[dir="rtl"] .screen .eyebrow {
    letter-spacing: 0;
}

html[dir="ltr"] .panel-bottom #stageText {
    direction: ltr;
}

#landing {
    --accent: #335fff;
    --accent-2: #335fff;
    --accent-3: #335fff;
    --font-en: Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    --font-ar: Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

html[lang="ar"] #landing {
    --font-ar: Cairo,Arial,sans-serif;
    --font-en: Cairo,Arial,sans-serif;
}

#landing .hero-content {
    direction: inherit;
}

#landing .primary-cta {
    background: linear-gradient(90deg,#2449d6,#6383ff);
    border-color: #6483ff;
    box-shadow: 0 16px 40px #335fff26;
}

#landing .step-node.active i {
    background: #335fff;
}

#landing .step-node i {
    color: #335fff;
}

#landing .primary-cta .cta-round {
    left: auto;
    right: 12px;
}

html[dir="rtl"] #landing .primary-cta .cta-round {
    right: auto;
    left: 12px;
}

html[dir="ltr"] #landing .cta-round .ui-icon {
    transform: rotate(180deg);
}

.screen>:not(.server-list) {
    animation: contentArrival .65s var(--ease) both;
}

.screen h1 {
    animation-delay: 45ms;
}

.screen .subtitle {
    animation-delay: 80ms;
}

.screen .code-panel {
    animation-delay: 110ms;
}

.screen .activate-button {
    animation-delay: 190ms;
}

.screen .server-card {
    animation: contentArrival .65s var(--ease) both;
}

.screen .server-card:nth-child(1) {
    animation-delay: 90ms;
}

.screen .server-card:nth-child(2) {
    animation-delay: 150ms;
}

.screen .server-card:nth-child(3) {
    animation-delay: 210ms;
}

.server-card .ui-icon,
.activate-button .ui-icon {
    transition: transform .35s var(--ease);
}

.server-card:hover .card-arrow .ui-icon,
.activate-button:hover .ui-icon {
    transform: translate(2px,-2px);
}

.primary-cta:active,
.server-card:active,
.activate-button:active {
    transform: scale(.975);
}

.success-mark {
    animation: successArrival .75s var(--ease) both!important;
}

.code-char.locked {
    animation: characterArrival .3s var(--ease) both;
}

.ready {
    animation: contentArrival .7s var(--ease) both;
}

::view-transition-old(root) {
    animation: viewLeave .23s ease both;
}

::view-transition-new(root) {
    animation: viewArrive .48s var(--ease) both;
}

::view-transition-group(root) {
    animation-duration: .48s;
}

@keyframes panelArrival{
    from {
        opacity: 0;
        transform: translateY(20px) scale(.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes contentArrival{
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes successArrival{
    from {
        opacity: 0;
        transform: scale(.65) rotate(-12deg);
    }

    70% {
        transform: scale(1.06) rotate(2deg);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes characterArrival{
    from {
        opacity: .25;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes viewLeave{
    to {
        opacity: 0;
        transform: translateY(-10px) scale(.995);
    }
}

@keyframes viewArrive{
    from {
        opacity: 0;
        transform: translateY(18px) scale(.99);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width:600px){
    #generatorApp {
        padding: 0 16px;
    }

    #generatorApp main {
        margin-top: 24px;
    }

    .screen {
        padding: 29px 21px 22px;
    }

    .screen h1 {
        font-size: 28px;
    }

    .code-display {
        font-size: 25px;
    }

    .stepper {
        gap: 7px;
        font-size: 9px;
    }

    .stepper i {
        width: 12px;
    }
}

@media (max-width:350px){
    .screen {
        padding: 25px 15px;
    }

    .code-display {
        font-size: 22px;
    }

    .server-copy small {
        font-size: 8px;
    }
}

@media (prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after {
        animation: none!important;
        transition: none!important;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none!important;
    }
}

#landing,
#landing button,
#landing .hero-content h1,
#landing .primary-cta,
#landing .feature small {
    font-family: Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

#landing {
    --font-ar: Inter,sans-serif;
    --font-en: Inter,sans-serif;
}

.hero-content h1 {
    line-height: 1.3!important;
}
