:root {
    --ink: #07172f;
    --ink-2: #0b2448;
    --panel: #102d57;
    --blue: #248cff;
    --cyan: #35d3da;
    --mint: #7ce3c8;
    --coral: #ff7968;
    --paper: #f4f8fd;
    --white: #ffffff;
    --text: #172944;
    --muted: #60718b;
    --line: #dbe5f1;
    --shadow: 0 24px 70px rgba(5, 27, 57, .12);
    --radius: 24px;
    --font-display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
    --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[dir="rtl"] { direction: ltr; }
body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
[dir="rtl"] body { direction: ltr; }
[dir="rtl"] .brand,
[dir="rtl"] .site-nav,
[dir="rtl"] .header-actions,
[dir="rtl"] .hero-copy,
[dir="rtl"] .edge-node,
[dir="rtl"] .network-caption,
[dir="rtl"] .section-heading,
[dir="rtl"] .service-card,
[dir="rtl"] .control-copy,
[dir="rtl"] .console-card,
[dir="rtl"] .cta-panel,
[dir="rtl"] .page-hero-inner,
[dir="rtl"] .content-card,
[dir="rtl"] .notice,
[dir="rtl"] .footer-grid,
[dir="rtl"] .footer-bottom { direction: rtl; text-align: right; }
a { color: inherit; }
img, svg { display: block; }
button, input, textarea, select { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
    position: fixed;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 100;
    padding: 10px 16px;
    color: var(--ink);
    background: var(--white);
    border-radius: 8px;
    transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: rgba(255,255,255,.78);
    background: rgba(7,23,47,.9);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; flex: 0 0 auto; }
.brand img { padding: 4px; object-fit: contain; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; box-shadow: 0 8px 28px rgba(36,140,255,.24); }
.brand span { display: grid; line-height: 1.08; }
.brand b { font: 750 1.08rem/1.1 var(--font-display); letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: rgba(255,255,255,.5); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 4px; margin-inline: auto; }
.site-nav a, .language {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 10px;
    color: rgba(255,255,255,.68);
    font-size: .86rem;
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}
.site-nav a:hover, .site-nav a.active, .language:hover { color: var(--white); background: rgba(255,255,255,.075); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    color: #04162e;
    background: linear-gradient(135deg, var(--cyan), #8ae7dc);
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(53,211,218,.19);
    font-size: .92rem;
    font-weight: 760;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow .2s ease, background .2s ease, color .2s ease;
}
.button:hover { background: linear-gradient(135deg, #54e1e7, #a0eee4); box-shadow: 0 15px 36px rgba(53,211,218,.28); }
.button-small { min-height: 40px; padding-inline: 16px; font-size: .82rem; }
.button-ghost { color: var(--white); background: transparent; border-color: rgba(255,255,255,.18); box-shadow: none; }
.button-ghost:hover { color: var(--white); background: rgba(255,255,255,.08); box-shadow: none; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; cursor: pointer; }
.nav-toggle svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 77% 26%, rgba(36,140,255,.24), transparent 33%),
        radial-gradient(circle at 20% 85%, rgba(53,211,218,.1), transparent 28%),
        var(--ink);
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(53,211,218,.6), transparent);
}
.hero-grid { min-height: 690px; display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: 48px; padding-block: 78px 84px; }
.eyebrow, .kicker { color: var(--cyan); font-size: .77rem; font-weight: 780; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow i { width: 24px; height: 1px; background: currentColor; box-shadow: 8px 0 0 rgba(53,211,218,.35); }
.hero h1 {
    max-width: 670px;
    margin: 22px 0 20px;
    color: var(--white);
    font: 730 clamp(3rem, 5.8vw, 5.6rem)/.96 var(--font-display);
    letter-spacing: -.055em;
    overflow-wrap: break-word;
}
[dir="rtl"] .hero h1 { font-size: clamp(2.75rem, 5.2vw, 5rem); line-height: 1.08; }
.hero-lead { max-width: 650px; margin: 0; color: rgba(255,255,255,.67); font-size: clamp(1rem, 1.6vw, 1.17rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 31px; color: rgba(255,255,255,.62); font-size: .78rem; }
.proof-row span { display: inline-flex; align-items: center; gap: 6px; }
.proof-row svg { width: 17px; height: 17px; fill: none; stroke: var(--mint); stroke-width: 2; }

.network-stage { position: relative; min-height: 520px; isolation: isolate; }
.network-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .3;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
}
.network-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.network-lines path { fill: none; stroke: rgba(92,167,255,.28); stroke-width: 1.4; stroke-dasharray: 5 8; }
.network-lines .pulse-line { stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 2 18; animation: packet 8s linear infinite; }
.network-lines .pulse-two { animation-delay: -3s; }
@keyframes packet { to { stroke-dashoffset: -160; } }
.core-node, .edge-node { position: absolute; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 20px 45px rgba(0,0,0,.22); }
.core-node { inset: 50% auto auto 50%; width: 190px; padding: 16px; transform: translate(-50%,-50%); background: linear-gradient(135deg, rgba(36,140,255,.28), rgba(53,211,218,.13)), #0b2448; border-color: rgba(53,211,218,.36); border-radius: 20px; }
.core-node::before { content: ""; position: absolute; inset: -14px; z-index: -1; border: 1px solid rgba(53,211,218,.12); border-radius: 29px; }
.core-node img { width: 48px; height: 48px; padding: 4px; object-fit: contain; background: rgba(255,255,255,.07); border-radius: 13px; }
.core-node div, .core-node { line-height: 1.25; }
.core-node strong, .edge-node strong { display: block; color: var(--white); font-size: .84rem; }
.core-node small, .edge-node small { display: block; margin-top: 4px; color: rgba(255,255,255,.48); font-size: .66rem; }
.edge-node { min-width: 164px; padding: 11px 13px; background: rgba(10,36,72,.83); border-radius: 15px; backdrop-filter: blur(12px); }
.edge-node-1 { top: 11%; left: 2%; }
.edge-node-2 { top: 8%; right: 0; }
.edge-node-3 { right: -2%; bottom: 18%; }
.edge-node-4 { left: 0; bottom: 11%; }
.node-icon, .service-icon, .console-icon { display: grid; place-items: center; color: var(--cyan); }
.node-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(53,211,218,.09); }
.node-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.network-caption { position: absolute; inset: auto 50% 0 auto; transform: translateX(50%); display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.52); font-size: .7rem; letter-spacing: .05em; white-space: nowrap; }
.network-caption span, .live-dot::before { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 6px rgba(124,227,200,.1); }

.section { padding-block: 104px; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .control-copy h2, .cta-panel h2, .page-hero h1 {
    margin: 12px 0 15px;
    color: var(--ink);
    font: 720 clamp(2.25rem, 4vw, 4rem)/1.03 var(--font-display);
    letter-spacing: -.045em;
}
[dir="rtl"] .section-heading h2, [dir="rtl"] .control-copy h2, [dir="rtl"] .cta-panel h2, [dir="rtl"] .page-hero h1 { line-height: 1.2; }
.section-heading p, .control-copy > p, .page-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.02rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card, .content-card {
    position: relative;
    min-width: 0;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 46px rgba(7,23,47,.055);
}
.service-card { display: flex; flex-direction: column; padding: 25px; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--line); }
.service-card.service-live::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.service-top, .content-card-head { min-height: 50px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.service-icon { width: 44px; height: 44px; color: var(--blue); background: #eaf4ff; border: 1px solid #d4e8ff; border-radius: 13px; }
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; }
.state { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border-radius: 999px; font-size: .66rem; font-weight: 780; white-space: nowrap; }
.state-live { color: #08795e; background: #e1f8f1; border: 1px solid #bceadc; }
.state-building { color: #1766b3; background: #e7f2ff; border: 1px solid #c7e0fb; }
.state-planned { color: #6e7890; background: #f0f3f7; border: 1px solid #dde3eb; }
.service-card h3, .content-card h2 { margin: 20px 0 9px; color: var(--ink); font: 720 1.24rem/1.2 var(--font-display); letter-spacing: -.02em; }
.service-card p, .content-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.service-card ul, .content-card ul { display: grid; gap: 8px; margin: 20px 0 23px; padding: 0; list-style: none; }
.service-card li, .content-card li { position: relative; padding-inline-start: 18px; color: #465b77; font-size: .78rem; }
.service-card li::before, .content-card li::before { content: ""; position: absolute; inset-inline-start: 1px; top: .68em; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; }
.service-card > a, .text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: #1467b9; font-size: .79rem; font-weight: 760; text-decoration: none; }
.service-card > a:hover, .text-link:hover { color: #074e94; text-decoration: underline; text-underline-offset: 3px; }
[dir="rtl"] .service-card > a span, [dir="rtl"] .text-link span { transform: rotate(180deg); }

.control-section { color: var(--white); background: var(--ink); }
.control-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 90px; }
.control-copy h2 { color: var(--white); }
.control-copy > p { color: rgba(255,255,255,.59); }
.control-list { display: grid; gap: 18px; margin-top: 32px; }
.control-list > div { display: grid; grid-template-columns: 43px 1fr; gap: 14px; align-items: start; }
.control-list > div > span { display: grid; place-items: center; width: 43px; height: 43px; color: var(--cyan); background: rgba(53,211,218,.09); border: 1px solid rgba(53,211,218,.16); border-radius: 12px; }
.control-list svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.control-list p { margin: 0; color: rgba(255,255,255,.56); font-size: .84rem; }
.control-list strong { display: block; margin-bottom: 2px; color: var(--white); font-size: .94rem; }
.console-card { overflow: hidden; background: #0c2850; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; box-shadow: 0 35px 80px rgba(0,0,0,.28); }
.console-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 21px; color: rgba(255,255,255,.74); border-bottom: 1px solid rgba(255,255,255,.08); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.live-dot { display: inline-flex; align-items: center; gap: 9px; color: var(--mint); }
.live-dot::before { content: ""; width: 6px; height: 6px; box-shadow: none; }
.console-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 13px; padding: 17px 21px; border-bottom: 1px solid rgba(255,255,255,.065); }
.console-row:last-child { border-bottom: 0; }
.console-icon { width: 38px; height: 38px; background: rgba(255,255,255,.055); border-radius: 10px; }
.console-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.console-row strong { display: block; color: var(--white); font-size: .83rem; }
.console-row small { display: block; margin-top: 2px; color: rgba(255,255,255,.43); font-size: .67rem; }
.console-status { padding: 5px 8px; border-radius: 7px; font-size: .63rem; font-weight: 760; }
.status-online { color: var(--mint); background: rgba(124,227,200,.1); }
.status-next { color: #8fc9ff; background: rgba(36,140,255,.11); }
.status-planned { color: rgba(255,255,255,.48); background: rgba(255,255,255,.06); }

.final-cta { background: #eaf2fb; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 46px 50px; color: var(--white); background: linear-gradient(115deg, #0a2348, #0f3568); border: 1px solid rgba(255,255,255,.08); border-radius: 28px; box-shadow: var(--shadow); }
.cta-panel h2 { max-width: 680px; margin-bottom: 10px; color: var(--white); font-size: clamp(2rem, 3.7vw, 3.4rem); }
.cta-panel p { max-width: 660px; margin: 0; color: rgba(255,255,255,.6); }
.cta-panel .hero-actions { flex: 0 0 auto; margin: 0; }

.page-hero { color: var(--white); background: radial-gradient(circle at 80% 15%, rgba(36,140,255,.25), transparent 35%), var(--ink); }
.page-hero-inner { min-height: 390px; display: flex; flex-direction: column; justify-content: center; padding-block: 60px; }
.page-hero h1 { max-width: 860px; margin-block: 18px; color: var(--white); font-size: clamp(2.7rem, 5.5vw, 5.2rem); }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.62); font-size: 1.05rem; }
.inner-section { min-height: 460px; }
.content-grid { display: grid; gap: 17px; align-items: stretch; }
.content-grid-1 { grid-template-columns: 1fr; }
.content-grid-2 { grid-template-columns: repeat(2, 1fr); }
.content-grid-3 { grid-template-columns: repeat(3, 1fr); }
.content-card { padding: 28px; scroll-margin-top: 100px; }
.content-card p { font-size: .91rem; }
.content-card .text-link { margin-top: 23px; }
.notice { display: grid; grid-template-columns: 45px 1fr; gap: 16px; align-items: center; margin-top: 25px; padding: 22px 24px; color: #3f5874; background: #e8f3ff; border: 1px solid #cfe4f8; border-radius: 17px; }
.notice > span { display: grid; place-items: center; width: 45px; height: 45px; color: #1769b8; background: var(--white); border-radius: 12px; }
.notice svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.notice p { margin: 0; font-size: .87rem; }
.notice strong { display: block; color: var(--ink); }
.compact-cta { padding-top: 0; }
.compact-cta .cta-panel { padding-block: 38px; }
.compact-cta .button { flex: 0 0 auto; }

.site-footer { padding-top: 72px; color: rgba(255,255,255,.58); background: #06142a; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; padding-bottom: 54px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid p { max-width: 340px; margin: 0; font-size: .8rem; }
.footer-grid h2 { margin: 2px 0 16px; color: var(--white); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid > div > a:not(.brand) { display: block; width: fit-content; margin: 9px 0; color: rgba(255,255,255,.58); font-size: .8rem; text-decoration: none; }
.footer-grid > div > a:hover { color: var(--white); }
.footer-status > a { display: inline-flex !important; align-items: center; gap: 8px; color: var(--mint) !important; }
.footer-status > a span { width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.footer-status p { margin-top: 13px; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.075); font-size: .73rem; }
.footer-bottom a { color: rgba(255,255,255,.65); text-decoration: none; }

a:focus-visible, button:focus-visible { outline: 3px solid #8de9ee; outline-offset: 3px; }

@media (max-width: 1080px) {
    .site-nav { gap: 0; }
    .site-nav a { padding-inline: 8px; font-size: .8rem; }
    .header-actions .button-ghost { display: none; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .header-inner { min-height: 68px; justify-content: space-between; }
    .nav-toggle { display: block; margin-inline-start: auto; flex: 0 0 44px; }
    .site-nav { position: absolute; inset: 68px 20px auto; display: none; padding: 12px; background: #0b2448; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; box-shadow: 0 25px 60px rgba(0,0,0,.35); }
    .site-nav.is-open { display: grid; }
    .site-nav a { width: 100%; padding-inline: 14px; }
    .header-actions .language { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 64px 70px; }
    .hero-copy { position: relative; z-index: 2; min-width: 0; max-width: 100%; }
    .network-stage { min-height: 455px; }
    .control-grid { grid-template-columns: 1fr; gap: 50px; }
    .content-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .cta-panel { align-items: flex-start; flex-direction: column; padding: 38px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-status { grid-column: 1 / -1; }
}

@media (max-width: 590px) {
    .shell { width: min(100% - 28px, 1180px); }
    .header-actions .button { display: none; }
    .hero-grid { min-height: auto; padding-top: 55px; }
    .hero h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
    [dir="rtl"] .hero h1 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
    .hero-actions .button { width: 100%; }
    .proof-row { display: grid; gap: 9px; }
    .network-stage { width: 100%; min-height: 390px; transform: scale(.88); transform-origin: center; margin-inline: 0; }
    .edge-node { min-width: 143px; padding: 9px; }
    .edge-node-1 { left: 0; }
    .edge-node-2 { right: 0; }
    .edge-node-3 { right: -2px; }
    .edge-node-4 { left: -2px; }
    .section { padding-block: 76px; }
    .service-grid, .content-grid-2, .content-grid-3 { grid-template-columns: 1fr; }
    .page-hero-inner { min-height: 330px; }
    .page-hero h1 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
    .cta-panel { padding: 31px 24px; border-radius: 22px; }
    .compact-cta .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
    .footer-grid > div:first-child, .footer-status { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
