:root {
    --rocket-bg: #0b0c10;
    --rocket-panel: rgba(255, 255, 255, 0.05);
    --rocket-panel-border: rgba(255, 255, 255, 0.1);
    --rocket-text: #ffffff;
    --rocket-muted: #94a3b8;
    --rocket-primary: #8b5cf6;
    --rocket-primary-glow: rgba(139, 92, 246, 0.5);
    --rocket-cyan: #06b6d4;
    --rocket-green: #10b981;
}

body.rocket-theme {
    margin: 0;
    background: var(--rocket-bg);
    color: var(--rocket-text);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Glassmorphism Header */
.rocket-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 48px;
    background: rgba(11, 12, 16, 0.6);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rocket-panel-border);
    z-index: 100;
}

.rocket-nav .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.rocket-nav .links {
    display: flex;
    gap: 32px;
}

.rocket-nav .links a {
    color: var(--rocket-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.rocket-nav .links a:hover {
    color: #fff;
}

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

.rocket-btn-ghost {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.rocket-btn-primary {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: #fff;
    padding: 10px 24px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 20px var(--rocket-primary-glow);
    transition: all 0.2s ease;
}

.rocket-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.7);
}

/* Cosmic Hero */
.rocket-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.rocket-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
}


.rocket-hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 10;
}

.rocket-hero-kicker {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.rocket-hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rocket-hero p {
    font-size: 20px;
    color: var(--rocket-muted);
    margin: 0 0 40px 0;
}

.rocket-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.rocket-hero-actions .rocket-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}

.rocket-hero-actions .rocket-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Sections */
.rocket-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.rocket-section-head {
    text-align: center;
    margin-bottom: 60px;
}

.rocket-section-head h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.rocket-section-head p {
    font-size: 18px;
    color: var(--rocket-muted);
    margin: 0;
}

/* ── Hero refinements ── */
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #a78bfa, #6d28d9);
    box-shadow: 0 6px 18px rgba(139, 92, 246, .45);
    color: #fff;
}

.brand-mark svg {
    width: 18px;
    height: 18px;
}

.rocket-menu {
    display: none;
    position: relative;
}

.rocket-menu summary {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--rocket-panel-border);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    list-style: none;
}

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

.rocket-menu summary span,
.rocket-menu summary span::before,
.rocket-menu summary span::after {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .2s, opacity .2s;
}

.rocket-menu summary span {
    position: relative;
}

.rocket-menu summary span::before,
.rocket-menu summary span::after {
    content: '';
    position: absolute;
    left: 0;
}

.rocket-menu summary span::before { top: -5px; }
.rocket-menu summary span::after { top: 5px; }

.rocket-menu[open] summary span { background: transparent; }
.rocket-menu[open] summary span::before { transform: translateY(5px) rotate(45deg); }
.rocket-menu[open] summary span::after { transform: translateY(-5px) rotate(-45deg); }

.rocket-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 200px;
    padding: 8px;
    display: grid;
    border-radius: 16px;
    background: rgba(15, 18, 28, .96);
    border: 1px solid var(--rocket-panel-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    backdrop-filter: blur(16px);
}

.rocket-nav .rocket-menu__panel a {
    padding: 11px 14px;
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 15px;
    text-decoration: none;
    background: none;
    box-shadow: none;
}

.rocket-menu__panel a:hover {
    background: rgba(255, 255, 255, .08);
}

.rocket-menu__panel a:last-child {
    margin-top: 6px;
    border-top: 1px solid var(--rocket-panel-border);
    border-radius: 0 0 10px 10px;
    padding-top: 14px;
}

.rocket-hero-content {
    position: relative;
    z-index: 10;
}

.rocket-hero h1 {
    font-size: clamp(34px, 5.2vw, 64px);
    letter-spacing: .01em;
    word-break: keep-all;
    text-wrap: balance;
}

.rocket-hero p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty;
}

.rocket-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.rocket-hero-kicker.is-announce {
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px 14px 5px 5px;
    color: #e2e8f0;
}

.rocket-hero-kicker.is-announce b {
    padding: 3px 10px;
    border-radius: 99px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    font-size: 12.5px;
    color: #fff;
}

.rocket-hero-kicker.is-announce i {
    font-style: normal;
    color: #c4b5fd;
    transition: transform .2s;
}

.rocket-hero-kicker.is-announce:hover i {
    transform: translateX(3px);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rocket-green);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
    animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.rocket-hero-actions .rocket-btn-primary,
.rocket-hero-actions .rocket-btn-ghost {
    padding: 13px 30px;
    font-size: 16px;
}

.rocket-stats {
    display: grid;
    grid-template-columns: repeat(var(--stat-cols, 4), 1fr);
    margin: 56px auto 0;
    max-width: 760px;
    border-radius: 20px;
    background: rgba(11, 15, 30, .55);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.rocket-stats > div {
    padding: 18px 12px;
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.rocket-stats > div:first-child {
    border-left: 0;
}

.rocket-stats dt {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(180deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rocket-stats dd {
    margin: 4px 0 0;
    color: var(--rocket-muted);
    font-size: 13.5px;
}



/* ── Hero: split layout with the animated globe ── */
.rocket-hero {
    min-height: min(100vh, 820px);
    padding: 104px 24px 56px;
    box-sizing: border-box;
    text-align: left;
    background:
        radial-gradient(900px 600px at 78% 45%, rgba(79, 70, 229, .22), transparent 70%),
        radial-gradient(700px 500px at 10% 20%, rgba(139, 92, 246, .12), transparent 70%);
}

.rocket-hero::before {
    display: none;
}

.rocket-hero-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.rocket-hero-content {
    max-width: 620px;
    padding: 0;
}

.rocket-hero h1 {
    font-size: clamp(34px, 4.4vw, 60px);
}

.rocket-hero p {
    margin-left: 0;
    margin-right: 0;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.75;
}

.rocket-hero-actions {
    justify-content: flex-start;
}

.rocket-stats {
    margin: 48px 0 0;
    max-width: 100%;
    text-align: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1;
    justify-self: center;
    margin-bottom: 44px; /* room for the region ticker */
}

.hv-canvas {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
}

.hero-visual.is-live .hv-canvas {
    display: block;
}

.hero-visual.is-live .hv-globe {
    visibility: hidden;
}

.hero-visual.is-dragging .hv-canvas {
    cursor: grabbing;
}

.hv-globe {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 30px 80px rgba(49, 46, 129, .55));
}

.hv-grid {
    fill: none;
    stroke: rgba(165, 180, 252, .28);
    stroke-width: 1;
}

.hv-meridians-static {
    display: none;
}

.hv-rim {
    fill: none;
    stroke: rgba(165, 180, 252, .45);
    stroke-width: 1.2;
}

.hv-orbit {
    fill: none;
    stroke: rgba(196, 181, 253, .45);
    stroke-width: 1.2;
    stroke-dasharray: 3 7;
}

.hv-arcs path {
    fill: none;
    stroke: rgba(196, 181, 253, .32);
    stroke-width: 1.4;
}

.hv-packets path {
    fill: none;
    stroke: #e9d5ff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-dasharray: 9 91;
    stroke-dashoffset: 100;
    filter: drop-shadow(0 0 4px #a78bfa);
    animation: hv-flow 3.2s linear infinite;
}

@keyframes hv-flow {
    to { stroke-dashoffset: 0; }
}

.hv-node {
    fill: #fff;
    filter: drop-shadow(0 0 6px #a5b4fc);
}

.hv-pulse {
    fill: none;
    stroke: #a5b4fc;
    stroke-width: 1.5;
    transform-box: fill-box;
    transform-origin: center;
    animation: hv-pulse 2.6s ease-out infinite;
}

@keyframes hv-pulse {
    0% { transform: scale(1); opacity: .9; }
    100% { transform: scale(4.2); opacity: 0; }
}

.hv-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(15, 18, 40, .72);
    border: 1px solid rgba(165, 180, 252, .22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
    animation: hv-float 6s ease-in-out infinite;
}

.hv-card strong {
    display: block;
    font-size: 14px;
    line-height: 1.3;
}

.hv-card small {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--rocket-muted);
    font-size: 12px;
}

.hv-card .node-flag {
    width: 30px;
    height: 22px;
}

.hv-card-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: #fff;
}

.hv-card-icon svg {
    width: 17px;
    height: 17px;
}

.hv-card-icon.tone-green { background: linear-gradient(135deg, #10b981, #047857); }
.hv-card-icon.tone-violet { background: linear-gradient(135deg, #a78bfa, #6d28d9); }

.hv-online {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rocket-green);
    box-shadow: 0 0 8px var(--rocket-green);
}


/* Country cards: they take turns being "active" while the globe turns to them */
.hv-country {
    cursor: pointer;
    transition: border-color .35s ease, box-shadow .35s ease, background .35s ease, opacity .24s ease, scale .35s ease;
}

.hv-country > div {
    min-width: 64px;
    transition: opacity .24s ease, transform .24s ease;
}

.hv-country .hv-flag {
    display: inline-flex;
    transition: opacity .24s ease, transform .24s ease;
}

.hv-country.is-active {
    scale: 1.06;
    z-index: 2;
    background: rgba(30, 20, 60, .82);
    border-color: rgba(240, 171, 252, .65);
    box-shadow: 0 0 0 1px rgba(240, 171, 252, .25), 0 18px 46px rgba(192, 38, 211, .35);
}

.hv-country.is-swapping > div,
.hv-country.is-swapping .hv-flag {
    opacity: 0;
    transform: translateY(6px);
}

.hv-country .node-flag,
.hv-ticker__item .node-flag {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .12);
}

.hv-country .node-flag {
    width: 30px;
    height: 30px;
}

.hv-card--a { top: 6%; left: -4%; }
.hv-slot-1 { top: 2%; right: 2%; animation-delay: -1s; }
.hv-slot-2 { top: 25%; right: -9%; animation-delay: -2s; }
.hv-slot-3 { top: 50%; right: -7%; animation-delay: -3s; }
.hv-slot-4 { bottom: 6%; right: 12%; animation-delay: -4s; }
.hv-slot-5 { bottom: 16%; left: -6%; animation-delay: -5s; }
.hv-slot-6 { top: 32%; left: -10%; animation-delay: -2.5s; }

/* Summary card: a stack of round flags + total region count */
.hv-stack {
    display: inline-flex;
    align-items: center;
}

.hv-stack .node-flag,
.hv-stack em {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #12142b;
}

.hv-stack > * + * {
    margin-left: -8px;
}

.hv-stack em {
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, #a78bfa, #6d28d9);
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.hv-summary strong {
    background: linear-gradient(90deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hv-signal {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    margin-left: 2px;
}

/* Always full green bars; a light sweeps across them like live traffic */
.hv-signal i {
    width: 3px;
    border-radius: 2px;
    background: var(--rocket-green);
    box-shadow: 0 0 6px rgba(16, 185, 129, .55);
    transform-origin: bottom;
    animation: hv-signal 1.4s ease-in-out infinite;
}

.hv-signal i:nth-child(1) { height: 25%; }
.hv-signal i:nth-child(2) { height: 50%; animation-delay: .15s; }
.hv-signal i:nth-child(3) { height: 75%; animation-delay: .3s; }
.hv-signal i:nth-child(4) { height: 100%; animation-delay: .45s; }

.hv-country.is-active .hv-signal i {
    animation-duration: .9s;
    box-shadow: 0 0 9px rgba(52, 211, 153, .85);
}

@keyframes hv-signal {
    0%, 100% { transform: scaleY(1); filter: brightness(1); }
    40% { transform: scaleY(.62); filter: brightness(.8); }
    70% { transform: scaleY(1.08); filter: brightness(1.45); }
}

/* Scrolling strip of every node region under the globe */
.hv-ticker {
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: -40px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.hv-ticker__track {
    display: flex;
    gap: 8px;
    width: max-content;
    animation: hv-ticker 32s linear infinite;
}

.hv-ticker:hover .hv-ticker__track {
    animation-play-state: paused;
}

.hv-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 18, 40, .6);
    border: 1px solid rgba(165, 180, 252, .16);
    color: var(--rocket-muted);
    font-size: 12px;
    white-space: nowrap;
}

.hv-ticker__item .node-flag {
    width: 18px;
    height: 13px;
}

.hv-ticker__item .hv-online {
    width: 5px;
    height: 5px;
}

@keyframes hv-ticker {
    to { transform: translateX(calc(-50% - 4px)); }
}

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

/* Bento Grid (clients) */
.rocket-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 24px;
}

.bento-card {
    border-radius: 28px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #fff;
    background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border: 1px solid var(--rocket-panel-border);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

.bento-card > * {
    position: relative;
    z-index: 1;
}

.bento-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: auto;
    padding-bottom: 20px;
}

.bento-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 600;
}

.bento-icon svg {
    width: 28px;
    height: 28px;
}

.bento-tag {
    padding: 4px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .25);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(6px);
}

.bento-card h3 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
}

.bento-card p {
    font-size: 14.5px;
    opacity: .82;
    margin: 0;
}

.bento-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.bento-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 99px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    transition: background .2s;
}

.bento-links a:first-child {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
}

.bento-links a:hover {
    background: rgba(255, 255, 255, .26);
}

.bento-links a:first-child:hover {
    background: #e2e8f0;
}

.bento-mac {
    order: 1;
    grid-column: span 2;
    grid-row: span 2;
    background:
        radial-gradient(420px 260px at 85% 15%, rgba(56, 189, 248, .22), transparent 70%),
        radial-gradient(360px 240px at 10% 100%, rgba(139, 92, 246, .22), transparent 70%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 28px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 28px),
        linear-gradient(150deg, #1e293b, #0b1222);
}

.bento-mac::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 90px;
    width: 280px;
    height: 180px;
    background:
        linear-gradient(#0f172a, #0f172a) padding-box,
        linear-gradient(135deg, rgba(148, 163, 184, .5), rgba(56, 189, 248, .4)) border-box;
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 24px 0 rgba(255, 255, 255, .04);
    opacity: .85;
    pointer-events: none;
}

.bento-ios {
    order: 2;
    grid-column: span 2;
    background: linear-gradient(135deg, #a855f7, #7e22ce);
    border-color: transparent;
}

.bento-win {
    order: 3;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: transparent;
}

.bento-android {
    order: 4;
    background: linear-gradient(135deg, #10b981, #047857);
    border-color: transparent;
}

.bento-linux,
.bento-other {
    order: 5;
    grid-column: span 2;
}

/* ── Client card device mockups ── */
.bento-top {
    justify-content: flex-start;
}

.bento-mac::after {
    display: none;
}

.mock {
    position: absolute;
    z-index: 0 !important;
    pointer-events: none;
}

.mock-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    color: #fff;
    font-size: 12px;
}

.mock-app strong {
    font-size: 13px;
    letter-spacing: .04em;
    color: #6ee7b7;
}

.mock-ring {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, .35), rgba(16, 185, 129, .08) 70%);
    box-shadow: 0 0 0 1px rgba(110, 231, 183, .35), 0 0 30px rgba(16, 185, 129, .35);
}

.mock-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px solid rgba(110, 231, 183, .5);
    animation: mock-ripple 2.4s ease-out infinite;
}

.mock-ring span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #059669);
}

.mock-ring svg {
    width: 20px;
    height: 20px;
}

@keyframes mock-ripple {
    0% { transform: scale(.9); opacity: .9; }
    100% { transform: scale(1.35); opacity: 0; }
}

.mock-node {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 11px;
    white-space: nowrap;
}

.mock-node .node-flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

.mock-node i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
}

.mock-spark {
    width: 80%;
    height: 26px;
    overflow: visible;
}

.mock-spark path {
    fill: none;
    stroke: #a78bfa;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: mock-draw 4s ease-in-out infinite;
}

@keyframes mock-draw {
    0% { stroke-dashoffset: 200; }
    55%, 80% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

/* Laptop */
.mock-laptop {
    top: 84px;
    left: 50%;
    width: min(78%, 420px);
    transform: translateX(-50%);
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5));
}

.mock-laptop__screen {
    aspect-ratio: 16 / 10;
    padding: 8px;
    border-radius: 14px 14px 4px 4px;
    background: linear-gradient(160deg, #3b4252, #1f2430);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    display: flex;
    flex-direction: column;
}

.mock-laptop__bar {
    display: flex;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 8px 8px 0 0;
    background: #10131c;
}

.mock-laptop__bar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f87171;
}

.mock-laptop__bar i:nth-child(2) { background: #fbbf24; }
.mock-laptop__bar i:nth-child(3) { background: #34d399; }

.mock-laptop__body {
    flex: 1;
    display: flex;
    border-radius: 0 0 6px 6px;
    background:
        radial-gradient(260px 160px at 70% 30%, rgba(99, 102, 241, .25), transparent 70%),
        #0b0e18;
    overflow: hidden;
}

.mock-side {
    width: 26%;
    padding: 12px 10px;
    display: grid;
    align-content: start;
    gap: 9px;
    background: rgba(255, 255, 255, .03);
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.mock-side b {
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .12);
}

.mock-side b:first-child {
    background: rgba(167, 139, 250, .6);
    width: 70%;
}

.mock-laptop__base {
    position: relative;
    height: 12px;
    margin: 0 -7%;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, #4b5263, #262a35);
}

.mock-laptop__base::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 18%;
    height: 5px;
    transform: translateX(-50%);
    border-radius: 0 0 6px 6px;
    background: #1b1f29;
}

/* Phone */
.mock-phone {
    top: 26px;
    right: 34px;
    width: 150px;
    height: 300px;
    padding: 7px;
    border-radius: 34px;
    background: linear-gradient(160deg, #e9d5ff, #6d28d9);
    box-shadow: 0 30px 60px rgba(46, 16, 101, .55), inset 0 0 0 1px rgba(255, 255, 255, .35);
    transform: rotate(8deg);
}

.mock-phone__screen {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 34px 10px 16px;
    box-sizing: border-box;
    border-radius: 28px;
    background:
        radial-gradient(160px 140px at 50% 25%, rgba(167, 139, 250, .35), transparent 70%),
        #0b0e18;
}

.mock-phone__island {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 46px;
    height: 13px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #000;
}

.mock-phone .mock-app {
    justify-content: flex-start;
    gap: 10px;
    padding-top: 14px;
}

.bento-ios .bento-top,
.bento-ios h3,
.bento-ios p,
.bento-ios .bento-links {
    max-width: calc(100% - 200px);
}

/* Watermark glyph on compact cards */
.mock-watermark {
    position: absolute;
    right: -26px;
    bottom: -30px;
    z-index: 0 !important;
    width: 170px;
    height: 170px;
    color: #fff;
    opacity: .13;
    transform: rotate(-12deg);
    pointer-events: none;
}

.mock-watermark svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.3;
}

@media (max-width: 960px) {
    .rocket-bento .bento-mac {
        min-height: 420px;
    }

    .mock-laptop {
        top: 76px;
        width: min(70%, 360px);
    }
}

@media (max-width: 600px) {
    .rocket-bento .bento-mac {
        min-height: 440px;
    }

    .mock-laptop {
        top: 72px;
        width: 84%;
    }

    .bento-ios {
        min-height: 300px !important;
    }

    .mock-phone {
        right: -18px;
        top: 70px;
        width: 128px;
        height: 256px;
    }

    .bento-ios .bento-top,
    .bento-ios h3,
    .bento-ios p,
    .bento-ios .bento-links {
        max-width: calc(100% - 110px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mock-ring::before,
    .mock-spark path {
        animation: none;
    }

    .mock-spark path {
        stroke-dashoffset: 0;
    }
}

/* ── Security flow diagram ── */
.rocket-flow {
    display: grid;
    grid-template-columns: 176px minmax(48px, 1fr) minmax(0, 4.4fr) minmax(48px, 1fr) 176px;
    align-items: center;
}

.flow-stage,
.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.flow-stage {
    width: 176px;
    height: 176px;
    box-sizing: border-box;
    justify-self: center;
    padding: 12px;
    border-radius: 50%;
    justify-content: center;
    border: 1px dashed rgba(165, 180, 252, .35);
    background: radial-gradient(circle, rgba(99, 102, 241, .12), transparent 70%);
}

.flow-stage strong,
.flow-step strong {
    font-size: 16px;
}

.flow-stage small,
.flow-step small {
    color: var(--rocket-muted);
    font-size: 12.5px;
}

.flow-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, rgba(167, 139, 250, .9), rgba(109, 40, 217, .9));
    box-shadow: 0 10px 30px rgba(139, 92, 246, .35);
}

.flow-services .flow-icon {
    background: linear-gradient(135deg, #f472b6, #db2777);
    box-shadow: 0 10px 30px rgba(219, 39, 119, .35);
}

.flow-tunnel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 28px 20px;
    border-radius: 24px;
    background:
        radial-gradient(400px 160px at 50% 0%, rgba(16, 185, 129, .16), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(110, 231, 183, .3);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, .05), 0 30px 60px rgba(0, 0, 0, .3);
}

.flow-tunnel::before {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    top: 54px;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(110, 231, 183, .5) 0 6px, transparent 6px 12px);
}

.flow-tunnel .flow-icon {
    position: relative;
    background: linear-gradient(135deg, #34d399, #047857);
    box-shadow: 0 10px 30px rgba(16, 185, 129, .3);
}

.flow-link {
    position: relative;
    height: 2px;
    margin: 0 6px;
    background: linear-gradient(90deg, rgba(167, 139, 250, .15), rgba(167, 139, 250, .6), rgba(167, 139, 250, .15));
}

.flow-link i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: #e9d5ff;
    box-shadow: 0 0 10px #a78bfa;
    animation: flow-move 2.4s linear infinite;
}

.flow-link i:nth-child(2) { animation-delay: -.8s; }
.flow-link i:nth-child(3) { animation-delay: -1.6s; }

@keyframes flow-move {
    0% { left: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: calc(100% - 8px); opacity: 0; }
}

.flow-lock {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: #6ee7b7;
    background: #0f1a1a;
    border: 1px solid rgba(110, 231, 183, .45);
}

.flow-lock svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 960px) {
    .rocket-flow {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0;
    }

    .flow-stage {
        width: 168px;
        height: 168px;
    }

    .flow-link {
        width: 2px;
        height: 56px;
        margin: 6px 0;
        background: linear-gradient(180deg, rgba(167, 139, 250, .15), rgba(167, 139, 250, .6), rgba(167, 139, 250, .15));
    }

    .flow-link i {
        left: 50%;
        top: 0;
        margin: 0 0 0 -4px;
        animation-name: flow-move-y;
    }

    .flow-tunnel {
        width: 100%;
        max-width: 560px;
        box-sizing: border-box;
    }
}

@keyframes flow-move-y {
    0% { top: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: calc(100% - 8px); opacity: 0; }
}

@media (max-width: 600px) {
    .flow-tunnel {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 18px;
    }

    .flow-tunnel::before {
        display: none;
    }

    .flow-step {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 14px;
        text-align: left;
        align-items: center;
    }

    .flow-step .flow-icon {
        grid-row: span 2;
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .flow-link i {
        animation: none;
        left: calc(50% - 4px);
    }
}

/* Round flags on the node wall */
.rocket-nodes .node-flag {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .1);
}

.mock-spark {
    display: block;
    flex: none;
}

/* Eyebrow + section head */
.rocket-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #c4b5fd;
    text-transform: uppercase;
}

.rocket-section-head h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    text-wrap: balance;
}

.rocket-section-head p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.accent {
    color: #a78bfa;
}

/* Features */
.rocket-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    padding: 30px 28px;
    border-radius: 22px;
    background: var(--rocket-panel);
    border: 1px solid var(--rocket-panel-border);
    overflow: hidden;
    transition: border-color .25s, transform .25s, background .25s;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(320px 160px at 0% 0%, rgba(139, 92, 246, .16), transparent 70%);
    opacity: 0;
    transition: opacity .25s;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, .45);
    background: rgba(255, 255, 255, .07);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card > * {
    position: relative;
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 20px;
    color: #fff;
}

.feature-icon.tone-0 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.feature-icon.tone-1 { background: linear-gradient(135deg, #ec4899, #be185d); }
.feature-icon.tone-2 { background: linear-gradient(135deg, #10b981, #047857); }
.feature-icon.tone-3 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.feature-icon.tone-4 { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.feature-icon.tone-5 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--rocket-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Steps */
.rocket-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
    position: relative;
}

.rocket-steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .5), rgba(6, 182, 212, .5), transparent);
}

.rocket-steps li {
    position: relative;
    text-align: center;
    padding: 28px 24px 30px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    border: 1px solid var(--rocket-panel-border);
}

.step-no {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background: radial-gradient(circle at 30% 30%, #a78bfa, #6d28d9);
    box-shadow: 0 0 0 6px rgba(139, 92, 246, .14), 0 10px 30px rgba(139, 92, 246, .35);
}

.rocket-steps h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.rocket-steps p {
    margin: 0 0 16px;
    color: var(--rocket-muted);
    font-size: 15px;
    line-height: 1.7;
}

.rocket-steps a {
    color: #c4b5fd;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
}

.rocket-steps a:hover {
    color: #fff;
}

/* Pricing Grid */
.rocket-pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.rocket-pricing > * {
    flex: 0 1 340px;
}

.pricing-card {
    box-sizing: border-box;
    background: var(--rocket-panel);
    border: 1px solid var(--rocket-panel-border);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    transition: transform .25s;
}

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

.pricing-card.premium {
    background: linear-gradient(180deg, #1c2540, #0f172a);
    border-color: transparent;
}

.pricing-card.premium::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    z-index: -1;
}

.pricing-card.premium::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, #1c2540, #0f172a);
    z-index: -1;
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 99px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(236, 72, 153, .35);
}

.pricing-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 14px;
    color: #e2e8f0;
}

.pricing-card .price {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}

.pricing-card .price small {
    font-size: 15px;
    font-weight: 500;
    color: var(--rocket-muted);
    letter-spacing: 0;
}

.pricing-card p {
    color: var(--rocket-muted);
    font-size: 15px;
    margin: 0 0 26px;
}

.pricing-features {
    list-style: none;
    padding: 22px 0 0;
    margin: 0 0 32px;
    border-top: 1px solid var(--rocket-panel-border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #cbd5e1;
}

.pricing-features li::before {
    content: '✓';
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(139, 92, 246, .2);
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 800;
}

.pricing-card .rocket-btn-primary,
.pricing-card .rocket-btn-ghost {
    margin-top: auto;
    text-align: center;
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 12px 24px;
    border-radius: 99px;
}

.pricing-card .rocket-btn-ghost {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
}

.pricing-card .rocket-btn-ghost:hover {
    background: rgba(255, 255, 255, .14);
}

/* Nodes Grid */
.rocket-nodes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.node-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--rocket-panel);
    border: 1px solid var(--rocket-panel-border);
    border-radius: 16px;
    transition: background .2s, border-color .2s;
}

.node-pill:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(16, 185, 129, .35);
}

.node-flag {
    width: 28px;
    height: 20px;
    flex: none;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.node-pill b {
    font-size: 20px;
    font-weight: normal;
}

.node-pill strong {
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.node-pill span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 12px;
    color: var(--rocket-green);
    white-space: nowrap;
}

.node-pill span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rocket-green);
    box-shadow: 0 0 8px var(--rocket-green);
}

/* FAQ */
.rocket-faq {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.rocket-faq details {
    border-radius: 18px;
    background: var(--rocket-panel);
    border: 1px solid var(--rocket-panel-border);
    transition: border-color .2s, background .2s;
}

.rocket-faq details[open] {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(167, 139, 250, .4);
}

.rocket-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 16.5px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.rocket-faq summary::after {
    content: '+';
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #c4b5fd;
    font-size: 18px;
    font-weight: 500;
    transition: transform .2s;
}

.rocket-faq details[open] summary::after {
    transform: rotate(45deg);
}

.rocket-faq details p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--rocket-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Service CTA */
.rocket-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 56px;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(236, 72, 153, .35), transparent 70%),
        radial-gradient(500px 300px at 0% 100%, rgba(6, 182, 212, .3), transparent 70%),
        linear-gradient(135deg, #4c1d95, #1e1b4b);
    border: 1px solid rgba(167, 139, 250, .35);
    box-shadow: 0 40px 80px rgba(76, 29, 149, .3);
}

.rocket-cta .rocket-eyebrow {
    color: #e9d5ff;
}

.rocket-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.25;
}

.rocket-cta p {
    margin: 0;
    max-width: 560px;
    color: #ddd6fe;
    font-size: 16.5px;
    line-height: 1.7;
}

.rocket-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex: none;
}

.rocket-cta .rocket-btn-primary {
    background: #fff;
    color: #4c1d95;
    padding: 13px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.rocket-cta .rocket-btn-ghost {
    padding: 12px 26px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .08);
}

.rocket-cta .rocket-btn-ghost:hover {
    background: rgba(255, 255, 255, .16);
}

/* Footer */
.rocket-footer {
    border-top: 1px solid var(--rocket-panel-border);
    padding: 64px 20px 32px;
    color: var(--rocket-muted);
    font-size: 14px;
}

.rocket-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.rocket-footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.rocket-footer-brand p {
    max-width: 380px;
    margin: 14px 0 0;
    line-height: 1.7;
}

.rocket-footer nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rocket-footer h4 {
    margin: 0 0 6px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
}

.rocket-footer a {
    color: var(--rocket-muted);
    text-decoration: none;
}

.rocket-footer nav a:hover {
    color: #fff;
}

.rocket-footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--rocket-panel-border);
    font-size: 13px;
}

/* Apps Wall Section */
.rocket-apps-wall {
    position: relative;
    padding: 180px 20px;
    background-color: #020617;
    text-align: center;
    overflow: hidden;
    margin: 40px 0;
    perspective: 1000px;
}

.rocket-apps-wall::before {
    content: '';
    position: absolute;
    top: -100%; left: -100%;
    width: 300%; height: 300%;
    background-image: url('/assets/apps-wall-clean.png');
    background-image: image-set(url('/assets/apps-wall-clean.webp') type('image/webp'), url('/assets/apps-wall-clean.png') type('image/png'));
    background-size: 3000px;
    background-repeat: repeat;
    transform: rotateX(50deg) rotateZ(-10deg) translateY(-200px);
    opacity: 0.6;
    animation: apps-pan 60s linear infinite;
    z-index: 0;
}

.rocket-apps-wall::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 20%, rgba(2, 6, 23, 0.8) 70%, #020617 100%);
    z-index: 1;
}

@keyframes apps-pan {
    from { background-position: 0 0; }
    to { background-position: 0 1600px; }
}

.rocket-apps-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 32px;
}

.rocket-apps-content::before {
    content: '';
    position: absolute;
    inset: -10% -18%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(2, 6, 23, .92), rgba(2, 6, 23, .75) 55%, transparent);
    filter: blur(6px);
}

.rocket-apps-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rocket-apps-content h2 {
    font-size: clamp(30px, 4.6vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 24px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rocket-apps-content p {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.8;
    margin: 0;
    text-shadow: 0 2px 18px rgba(2, 6, 23, .9);
}

.rocket-app-chips {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.rocket-app-chips li {
    padding: 7px 16px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(15, 23, 42, .75);
    border: 1px solid rgba(148, 163, 184, .28);
    backdrop-filter: blur(8px);
}

/* Motion */
html {
    scroll-behavior: smooth;
}

main [id] {
    scroll-margin-top: 72px;
}

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

    .rocket-apps-wall::before,
    .hv-packets path,
    .hv-pulse,
    .hv-card,
    .hv-signal i,
    .hv-ticker__track,
    .live-dot {
        animation: none !important;
    }

    .hv-meridians,
    .hv-satellite,
    .hv-packets {
        display: none;
    }

    .hv-meridians-static {
        display: inline;
    }
}

/* Responsive */
@media (max-width: 1080px) {
    .rocket-nav {
        padding-left: 24px;
        padding-right: 24px;
    }

    .rocket-nav .links {
        gap: 20px;
    }
}

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

    .rocket-bento {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .bento-mac {
        grid-row: span 1;
        min-height: 300px;
    }

    .bento-mac::after {
        top: 70px;
        width: 220px;
        height: 140px;
    }

    .rocket-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 44px 36px;
    }

    .rocket-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .rocket-stats > div:nth-child(2n + 1) {
        border-left: 0;
    }

    .rocket-stats > div:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, .1);
    }
}

@media (max-width: 860px) {
    .rocket-nav .links {
        display: none;
    }

    .rocket-menu {
        display: block;
    }
}

@media (max-width: 720px) {
    .rocket-section {
        padding: 72px 16px;
    }

    .rocket-section-head {
        margin-bottom: 40px;
    }

    .rocket-section-head p {
        font-size: 16px;
    }

    .rocket-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rocket-steps::before {
        display: none;
    }

    .rocket-steps li {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 16px;
        text-align: left;
        padding: 22px 20px;
    }

    .rocket-steps li > :not(.step-no) {
        grid-column: 2;
    }

    .rocket-steps .step-no {
        grid-row: span 3;
        margin: 0;
    }

    .rocket-steps h3 {
        margin-top: 4px;
    }

    .rocket-apps-wall {
        padding: 110px 16px;
    }

    .rocket-apps-content {
        padding: 28px 8px;
    }

    .rocket-apps-content p {
        font-size: 16px;
    }

    .rocket-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .rocket-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .rocket-features,
    .rocket-bento {
        grid-template-columns: 1fr;
    }

    .bento-card,
    .bento-mac,
    .bento-ios,
    .bento-linux,
    .bento-other {
        grid-column: auto;
        grid-row: auto;
        min-height: 0;
        padding: 24px;
        border-radius: 22px;
    }

    .bento-mac::after {
        display: none;
    }

    .bento-top {
        padding-bottom: 28px;
    }

    .feature-card {
        padding: 22px 20px;
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 16px;
        align-items: start;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        margin: 0;
        grid-row: span 2;
    }

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

    .feature-card h3 {
        margin-top: 2px;
        font-size: 17px;
    }

    .rocket-nodes {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .node-pill {
        padding: 12px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .node-pill span {
        margin-left: 0;
        width: 100%;
    }

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

    .rocket-cta {
        padding: 36px 24px;
        border-radius: 24px;
    }

    .rocket-cta-actions,
    .rocket-cta-actions a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .rocket-faq summary {
        padding: 18px 18px;
        font-size: 15.5px;
    }

    .rocket-faq details p {
        padding: 0 18px 18px;
    }
}

@media (max-width: 560px) {
    .rocket-nav {
        gap: 10px;
        padding: 12px 16px;
    }

    .rocket-nav .brand {
        font-size: 17px;
        gap: 8px;
    }

    .rocket-nav .actions {
        gap: 6px;
    }

    .rocket-nav .actions > a.rocket-btn-ghost {
        display: none;
    }

    .rocket-nav .actions a {
        padding: 7px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .rocket-hero {
        min-height: auto;
        padding: 120px 0 100px;
    }

    .rocket-hero p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .rocket-hero-actions {
        gap: 12px;
    }

    .rocket-hero-actions a {
        flex: 1;
        text-align: center;
    }

    .rocket-stats {
        margin-top: 36px;
    }

    .rocket-stats dt {
        font-size: 24px;
    }
}

/* Hero responsive (last so it wins over the generic rules above) */
@media (max-width: 1080px) {
    .rocket-hero-inner {
        gap: 32px;
    }

    .hv-card--a { left: 0; }
    .hv-slot-2 { right: -3%; }
    .hv-slot-3 { right: -2%; }
    .hv-slot-5 { left: -2%; }
    .hv-slot-6 { left: -4%; }
}

@media (max-width: 960px) {
    .rocket-hero {
        min-height: auto;
        padding: 112px 20px 64px;
        text-align: center;
    }

    .rocket-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rocket-hero-content {
        max-width: 680px;
        margin: 0 auto;
    }

    .rocket-hero p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-visual {
        order: -1;
        max-width: 420px;
    }
}

@media (max-width: 560px) {
    .rocket-hero {
        padding: 88px 16px 56px;
    }

    .hero-visual {
        max-width: 320px;
    }

    .hv-card {
        padding: 7px 10px;
        gap: 8px;
        border-radius: 12px;
    }

    .hv-card strong {
        font-size: 12.5px;
    }

    .hv-card small {
        font-size: 11px;
    }

    .hv-card-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px;
    }

    .hv-card .node-flag {
        width: 24px;
        height: 17px;
    }

    .hv-card--a { top: 4%; left: -4%; }
    .hv-slot-1 { top: auto; bottom: 8%; right: -4%; }
    .hv-slot-2 { top: 38%; right: -6%; }
    .hv-slot-3,
    .hv-slot-4,
    .hv-slot-5,
    .hv-slot-6 {
        display: none;
    }

    .hv-country .node-flag {
        width: 24px;
        height: 24px;
    }

    .hv-stack .node-flag,
    .hv-stack em {
        width: 20px;
        height: 20px;
        font-size: 9.5px;
    }

    .hv-signal {
        height: 11px;
    }

    .hv-signal i {
        width: 2.5px;
    }

    .hv-ticker {
        bottom: -34px;
    }

    .hv-ticker__item {
        font-size: 11px;
        padding: 4px 8px;
    }

    .rocket-hero p {
        font-size: 16px;
    }
}
