:root {
    --bg: #090505;
    --bg-elevated: rgba(20, 10, 10, 0.92);
    --panel: rgba(26, 13, 13, 0.82);
    --panel-strong: rgba(34, 16, 16, 0.96);
    --line: rgba(209, 74, 74, 0.14);
    --text: #f3f7f2;
    --muted: #b4a3a3;
    --accent: #d14a4a;
    --accent-deep: #7f2424;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --radius: 24px;
    --site-bg: url("images/backgound.png");
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Space Grotesk", sans-serif;
    color: var(--text);
    background: var(--site-bg) center top / cover fixed no-repeat;
}

body.login-page {
    background: #1a1a1a;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
}

body.modal-open {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(4, 7, 12, 0.88), rgba(3, 5, 7, 0.95)),
        url("images/backgound.png") center center / cover no-repeat;
    text-align: center;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.page-loader p {
    color: #ecdcdc;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.page-loader-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    border: 2px solid rgba(209, 74, 74, 0.18);
    border-top-color: var(--accent);
    background: rgba(209, 74, 74, 0.08);
    box-shadow: 0 0 28px rgba(209, 74, 74, 0.16);
    animation: loader-spin 0.9s linear infinite;
}

body:not(.page-loading) .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes loader-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.site-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 40px;
}

main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 10px);
    background:
        linear-gradient(135deg, rgba(20, 14, 14, 0.95), rgba(12, 8, 8, 0.88)),
        var(--bg-elevated);
    box-shadow: var(--shadow);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -30% auto;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(209, 74, 74, 0.18), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.topbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-event-banner {
    position: relative;
    z-index: 1;
    margin: 10px 4px 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.92rem;
    display: grid;
    gap: 6px;
}

.site-event-title {
    font-size: 0.86rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: "JetBrains Mono", monospace;
}

.site-event-message {
    margin: 0;
    color: inherit;
}

.site-event-link {
    justify-self: start;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.site-event-banner.is-info {
    background: rgba(94, 162, 255, 0.16);
    border-color: rgba(94, 162, 255, 0.35);
    color: #dce9ff;
}

.site-event-banner.is-warning {
    background: rgba(255, 192, 84, 0.16);
    border-color: rgba(255, 192, 84, 0.35);
    color: #ffe7b6;
}

.site-event-banner.is-down {
    background: rgba(255, 92, 92, 0.18);
    border-color: rgba(255, 92, 92, 0.36);
    color: #ffd0d0;
}

.event-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(5, 5, 8, 0.74);
    backdrop-filter: blur(4px);
}

.event-popup-panel {
    width: min(560px, 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(28, 24, 35, 0.98), rgba(15, 12, 18, 0.98));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
    padding: 18px;
    display: grid;
    gap: 10px;
}

.event-popup-title {
    margin: 0;
    font-size: 1.08rem;
}

.event-popup-message {
    margin: 0;
    color: var(--muted);
}

.event-popup-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.event-popup-panel.is-info {
    border-color: rgba(94, 162, 255, 0.45);
}

.event-popup-panel.is-warning {
    border-color: rgba(255, 192, 84, 0.45);
}

.event-popup-panel.is-down {
    border-color: rgba(255, 92, 92, 0.5);
}

.topbar-brand {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--text);
}

.brand,
.eyebrow,
.section-tag,
.hero-points,
.plan-badge,
.steps span {
    font-family: "JetBrains Mono", monospace;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-stack {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.brand {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.brand-subline {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.logo-slot {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 8px;
    border-radius: 999px;
    border: 1px solid rgba(209, 74, 74, 0.18);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.profile-link:hover {
    transform: translateY(-2px);
    border-color: rgba(209, 74, 74, 0.3);
    background: rgba(209, 74, 74, 0.07);
}

.profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e36a6a, #8f2e2e);
    color: #100606;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(163, 52, 52, 0.22);
}

.profile-text {
    color: #e7d7d7;
    font-size: 0.92rem;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    align-items: center;
    column-gap: 56px;
    padding: 56px 20px 48px;
}

.hero-copy {
    min-width: 0;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-logo {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}

.hero-logo-placeholder {
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px dashed rgba(209, 74, 74, 0.35);
    background:
        linear-gradient(135deg, rgba(209, 74, 74, 0.12), rgba(209, 74, 74, 0.04));
    color: #f5d7d7;
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.eyebrow,
.section-tag {
    display: inline-flex;
    margin: 0 0 16px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 8vw, 5.9rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.subtitle {
    max-width: 620px;
    margin-top: 18px;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #e7d7d7;
}

.supporting-copy,
.section-heading p,
.trust-grid p,
.steps p,
.contact-panel p,
.price-card ul,
.plan-description {
    color: var(--muted);
}

.supporting-copy {
    margin-top: 12px;
    font-size: 1rem;
}

.hero-actions,
.contact-panel {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions {
    margin-top: 28px;
}

.primary-button,
.secondary-link,
.secondary-button,
.modal-close {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    border-radius: 16px;
    background: linear-gradient(180deg, #d85a5a, #a33434);
    color: #100707;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(163, 52, 52, 0.2);
}

.secondary-link {
    padding: 14px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e7d7d7;
}

.secondary-button,
.modal-close {
    padding: 14px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #e7d7d7;
}

.primary-button:hover,
.secondary-link:hover,
.secondary-button:hover,
.modal-close:hover,
.compact-link:hover {
    transform: translateY(-2px);
}

.compact-link {
    padding: 10px 16px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    padding: 10px 14px;
    border: 1px solid rgba(209, 74, 74, 0.12);
    border-radius: 999px;
    background: rgba(209, 74, 74, 0.05);
    color: #cdebd1;
    font-size: 0.85rem;
}

.section {
    margin-top: 0;
    padding: 28px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(180deg, rgba(13, 16, 14, 0.9), rgba(8, 10, 8, 0.92));
    box-shadow: var(--shadow);
}

.trust {
    order: 1;
}

.pricing {
    order: 2;
}

.plan-helper {
    order: 3;
}

.services {
    order: 4;
}

.process {
    order: 5;
}

.panel-preview {
    order: 6;
}

.payments {
    order: 7;
}

.info-hub {
    order: 8;
}

.video-guide {
    order: 9;
}

.about-project {
    order: 10;
}

.contact {
    order: 11;
}

.section-heading {
    max-width: 680px;
    padding: 0 12px;
    display: grid;
    gap: 14px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin-top: 0;
    font-size: 1rem;
}

.pricing-grid,
.trust-grid,
.service-grid,
.steps {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.panel-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 12px 0;
}

.tab-button {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #e7d7d7;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tab-button.is-active {
    border-color: rgba(209, 74, 74, 0.32);
    background: rgba(209, 74, 74, 0.12);
    color: #f2c8c8;
}

.tab-panels {
    margin-top: 18px;
}

.tab-panel {
    padding: 0 12px;
}

.pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── New unified pricing showcase ───────────────────── */
.pricing-showcase {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 32px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(209, 74, 74, 0.16);
    background: rgba(15, 10, 10, 0.82);
    box-shadow: 0 32px 96px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(209, 74, 74, 0.12);
}

.plan-tile {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 38px 36px 36px;
}

.plan-tile-pro {
    background: linear-gradient(160deg, rgba(40, 25, 25, 0.98) 0%, rgba(18, 10, 10, 0.98) 100%);
    border-left: 1px solid rgba(209, 74, 74, 0.18);
}

.plan-popular-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(209, 74, 74, 0.15);
    border: 1px solid rgba(209, 74, 74, 0.35);
    color: var(--accent);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.plan-tile-top {
    flex: 1;
}

.plan-tile-name-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 12px;
    row-gap: 8px;
    margin-bottom: 10px;
}

.plan-tile-name {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f5eaea;
    line-height: 1.08;
}

.plan-tile-ram {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(209, 74, 74, 0.1);
    color: var(--accent);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
    justify-self: end;
    margin-top: 3px;
}

.plan-tile-tagline {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.plan-tile-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
    line-height: 1;
}

.plan-tile-currency {
    font-size: 1rem;
    color: var(--muted);
    margin-right: 2px;
}

.plan-tile-amount {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #f5eaea;
}

.plan-tile-period {
    font-size: 0.95rem;
    color: var(--muted);
}

.plan-tile-features {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-tile-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.97rem;
    color: #e8d4d4;
}

.plan-tile-features li::before {
    content: "✓";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(209, 74, 74, 0.12);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-tile-players {
    margin-bottom: 28px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--muted);
    text-transform: uppercase;
}

.plan-tile-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #f5eaea;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 160ms ease, border-color 160ms ease;
}

.plan-tile-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.plan-tile-btn-pro {
    background: rgba(209, 74, 74, 0.14);
    border-color: rgba(209, 74, 74, 0.36);
    color: #f5c8c8;
}

.plan-tile-btn-pro:hover {
    background: rgba(209, 74, 74, 0.22);
    border-color: rgba(209, 74, 74, 0.5);
}

.plan-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 1px;
    background: rgba(209, 74, 74, 0.12);
    position: relative;
    overflow: visible;
    flex-shrink: 0;
    z-index: 2;
}

.plan-divider span {
    position: absolute;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(15, 10, 10, 0.95);
    border: 1px solid rgba(209, 74, 74, 0.18);
    color: var(--muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
/* ─────────────────────────────────────────────────────── */

.price-card,
.trust-grid article,
.service-grid article,
.faq-grid article,
.steps article,
.contact-panel {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 22px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.price-card::before,
.trust-grid article::before,
.service-grid article::before,
.faq-grid article::before,
.steps article::before,
.contact-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(209, 74, 74, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.price-card:hover::before,
.trust-grid article:hover::before,
.service-grid article:hover::before,
.faq-grid article:hover::before,
.steps article:hover::before,
.contact-panel:hover::before {
    opacity: 1;
}

.featured {
    border-color: rgba(209, 74, 74, 0.26);
    background: linear-gradient(180deg, rgba(20, 30, 21, 0.98), rgba(10, 16, 11, 0.96));
}

.plan-badge {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(209, 74, 74, 0.12);
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plan-name {
    font-size: 1.55rem;
    font-weight: 700;
}

.ram {
    margin-top: 8px;
    font-size: 1rem;
    color: #f3d5d5;
}

.plan-description {
    margin-top: 14px;
}

.price {
    margin-top: 26px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.price span {
    margin-left: 6px;
    font-size: 1rem;
    letter-spacing: 0;
    color: var(--muted);
}

.price-card ul {
    margin: 24px 0 0;
    padding-left: 18px;
    line-height: 1.8;
}

.trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── Trust strip ─────────────────────────────────────── */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.trust-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 24px;
    border-radius: 20px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 180ms ease;
}

.trust-strip-item:hover {
    border-color: rgba(209, 74, 74, 0.2);
}

.trust-strip-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-strip-item h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.trust-strip-item p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.6;
}
/* ─────────────────────────────────────────────────────── */

/* ── Included split ──────────────────────────────────── */
.included-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.included-col {
    padding: 28px 26px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.included-yes {
    background: rgba(209, 74, 74, 0.04);
    border-color: rgba(209, 74, 74, 0.14);
}

.included-no {
    background: rgba(255, 255, 255, 0.02);
}

.included-col-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.included-col-label-yes {
    color: var(--accent);
}

.included-col-label-no {
    color: #ff8f8f;
}

.included-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.included-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #e8d4d4;
    line-height: 1.45;
}

.included-yes ul li::before {
    content: "✓";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(209, 74, 74, 0.14);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 1px;
}

.included-no ul li {
    color: var(--muted);
}

.included-no ul li::before {
    content: "✕";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 100, 100, 0.1);
    color: #ff8f8f;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 1px;
}
/* ─────────────────────────────────────────────────────── */

.service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid article,
.service-grid article,
.faq-grid article,
.steps article {
    min-height: 190px;
}

.trust-grid h3,
.service-grid h3,
.faq-grid h3,
.steps h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-grid p {
    color: var(--muted);
}

.faq-grid p {
    color: var(--muted);
}

.panel-shot {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(11, 16, 12, 0.88);
}

.panel-shot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    color: #cfe9d3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.panel-shot-tag {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(209, 74, 74, 0.22);
    color: var(--accent);
    font-size: 0.68rem;
}

.panel-shot-body {
    min-height: 180px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 8, 6, 0.95);
    color: #c4d3c5;
    overflow: hidden;
}

.panel-shot-image {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    display: block;
}

.video-shell {
    margin-top: 22px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(11, 16, 12, 0.88);
}

.video-frame-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    border: 1px dashed rgba(209, 74, 74, 0.26);
    background: rgba(209, 74, 74, 0.04);
    overflow: hidden;
    padding: 0;
}

.video-link-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.03);
}

.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.62);
    color: #f3f7f2;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 160ms ease, background 160ms ease;
}

.video-link-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.04);
    background: rgba(0, 0, 0, 0.74);
}

.video-credit {
    margin: 12px 6px 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.video-credit a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.code-view,
.file-view {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    line-height: 1.6;
}

.code-view p + p,
.file-view p + p {
    margin-top: 6px;
}

.button-view {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.power-btn {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #f6eaea;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: default;
}

.power-btn.start {
    border-color: rgba(209, 74, 74, 0.28);
    background: rgba(209, 74, 74, 0.12);
    color: #ff9d9d;
}

.power-btn.restart {
    border-color: rgba(255, 208, 120, 0.3);
    background: rgba(255, 208, 120, 0.14);
    color: #ffd58f;
}

.power-btn.stop {
    border-color: rgba(255, 122, 122, 0.3);
    background: rgba(255, 122, 122, 0.14);
    color: #ff9f9f;
}

.payment-grid article,
.tos-panel {
    min-height: 0;
}

.tos-panel {
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--panel);
}

.tos-panel p,
.tos-list {
    color: var(--muted);
}

.tos-list {
    margin: 16px 0 0;
    padding-left: 20px;
    line-height: 1.8;
}

.tos-warning {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 98, 98, 0.34);
    background: rgba(255, 68, 68, 0.14);
    color: #ff7b7b;
    font-weight: 700;
}

.abuse-list {
    margin: 20px 0 0;
    padding-left: 22px;
    line-height: 1.9;
    color: #f0d3d3;
}

.abuse-list li::marker {
    color: #ff7b7b;
}

.pricing-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(209, 74, 74, 0.14);
    background: rgba(209, 74, 74, 0.06);
    color: #cde8d1;
}

.pricing-disclaimer {
    margin-top: 12px;
    padding: 0 4px;
    color: var(--muted);
    font-size: 0.92rem;
}

.pricing-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Payment strip ───────────────────────────────────── */
.payment-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.payment-fact {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 22px;
    border-radius: 20px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 180ms ease;
}

.payment-fact:hover {
    border-color: rgba(209, 74, 74, 0.18);
}

.payment-fact-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.payment-fact-label {
    font-weight: 600;
    font-size: 0.97rem;
    color: #f5eaea;
    margin-bottom: 5px;
}

.payment-fact p:last-child {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.payments .tos-actions {
    margin-top: 22px;
}

.payments .tos-panel {
    margin-top: 22px;
    background: linear-gradient(180deg, rgba(40, 17, 17, 0.72), rgba(23, 10, 10, 0.9));
    border-color: rgba(209, 74, 74, 0.2);
}

.plan-buy-button {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
    font-weight: 700;
    border-color: rgba(209, 74, 74, 0.3);
    background: rgba(209, 74, 74, 0.12);
}

.plan-buy-button:hover {
    border-color: rgba(209, 74, 74, 0.5);
    background: rgba(209, 74, 74, 0.2);
}

.plan-buy-button.is-unavailable,
.plan-buy-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

a[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}
/* ─────────────────────────────────────────────────────── */

/* ── Policy list ─────────────────────────────────────── */
.policy-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-list li {
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.policy-list li strong {
    color: #f5eaea;
    font-weight: 600;
}
/* ─────────────────────────────────────────────────────── */

.plan-helper-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.helper-metric {
    margin-top: 14px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #c9f0cf;
}

.uptime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uptime-item {
    min-height: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-up {
    color: #a5ffb5;
    border-color: rgba(209, 74, 74, 0.28);
    background: rgba(209, 74, 74, 0.12);
}

.uptime-metric,
.uptime-note {
    color: var(--muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

.graph-card {
    display: grid;
    gap: 14px;
}

.uptime-graph {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 8, 6, 0.92);
}

.response-bars {
    height: 220px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 8, 6, 0.92);
}

.response-bar-wrap {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.response-bar-wrap span {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    color: var(--muted);
}

.response-bar {
    width: 100%;
    height: var(--bar-height);
    border-radius: 8px 8px 4px 4px;
    border: 1px solid rgba(209, 74, 74, 0.2);
    background: linear-gradient(180deg, rgba(214, 106, 106, 0.92), rgba(163, 52, 52, 0.78));
}

.tos-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.contact-panel {
    justify-content: space-between;
    gap: 20px;
    background: var(--panel-strong);
}

.about-project-body {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--muted);
    line-height: 1.75;
}

/* ── About project cards ─────────────────────────────── */
.about-project-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.about-card {
    padding: 30px 28px;
    border-radius: 20px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid rgba(209, 74, 74, 0.3);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-card-alt {
    border-left-color: rgba(209, 74, 74, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.about-card-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2px;
}

.about-card p:not(.about-card-label) {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.97rem;
}
/* ─────────────────────────────────────────────────────── */

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 26px 8px 0;
    color: #879588;
    font-size: 0.95rem;
}

.legal-topbar {
    padding: 12px 14px;
}

.legal-topbar-left {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.legal-topbar-note {
    color: var(--muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.legal-topbar-back {
    border-color: rgba(209, 74, 74, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.login-page .site-shell {
    padding-top: 0px;
}

.login-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.login-heading {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.login-heading h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}

.login-layout {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 60px 20px;
    width: 100%;
}

.login-card {
    width: 100%;
    max-width: 560px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    padding: 0;
}

.login-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    background: #ffffff;
}

.login-mascot {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.login-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 32px;
    background: #ffffff;
}

.login-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 6px;
}

.form-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3a3f44;
}

.login-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 4px;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    color: #2c3038;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    outline: none;
}

.login-form input::placeholder {
    color: #b0b0b0;
}

.login-form input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.pterodactyl-button {
    padding: 12px 16px;
    margin-top: 4px;
    border-radius: 4px;
    border: 0;
    background: #0066cc;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 200ms ease;
}

.pterodactyl-button:hover {
    background: #0052a3;
}

.login-footer {
    display: grid;
    place-items: center;
    margin-top: 12px;
}

.forgot-link {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a8a96;
    transition: color 200ms ease;
}

.forgot-link:hover {
    color: #0066cc;
}

.login-note {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #7a8a96;
    text-align: center;
    max-width: 520px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(1, 3, 1, 0.72);
    backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-card {
    width: min(560px, 100%);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(209, 74, 74, 0.16);
    background: linear-gradient(180deg, rgba(27, 20, 20, 0.98), rgba(14, 10, 10, 0.98));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.modal-card h2 {
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.modal-copy {
    margin-top: 14px;
    color: var(--muted);
}

.message-template {
    margin-top: 22px;
}

.message-template-label {
    margin-bottom: 10px;
    color: var(--accent);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.message-template-box {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(209, 74, 74, 0.14);
    background: rgba(209, 74, 74, 0.05);
}

.message-template-box p + p {
    margin-top: 8px;
}

.modal-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.order-form {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.order-form-field {
    display: grid;
    gap: 8px;
}

.order-form-field span {
    color: #f2e2e2;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: "JetBrains Mono", monospace;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    padding: 12px 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    border-color: rgba(209, 74, 74, 0.5);
    box-shadow: 0 0 0 3px rgba(209, 74, 74, 0.16);
    background: rgba(209, 74, 74, 0.06);
}

.order-form textarea {
    resize: vertical;
    min-height: 110px;
}

.custom-template-panel {
    margin-top: 8px;
    display: grid;
    gap: 10px;
}

.custom-email-template {
    min-height: 170px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.84rem;
    line-height: 1.5;
    white-space: pre;
}

.custom-template-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.domain-input-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.domain-input-suffix {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(209, 74, 74, 0.2);
    background: rgba(209, 74, 74, 0.08);
    color: #f3dddd;
    font-size: 0.86rem;
    font-family: "JetBrains Mono", monospace;
}

.modal-close {
    margin: 0;
}

.admin-fab {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 90;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.64rem;
    opacity: 0.14;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f7efef;
    transition: opacity 160ms ease, transform 160ms ease;
}

.admin-fab:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .pricing-showcase {
        flex-direction: column;
    }

    .plan-tile-pro {
        border-left: none;
        border-top: 1px solid rgba(209, 74, 74, 0.18);
    }

    .plan-divider {
        width: 100%;
        height: 1px;
        flex-direction: row;
    }

    .plan-divider span {
        position: relative;
        top: auto;
    }

    .pricing-grid,
    .trust-grid,
    .trust-strip,
    .included-split,
    .payment-strip,
    .about-project-cards,
    .service-grid,
    .plan-helper-grid,
    .panel-preview-grid,
    .faq-grid,
    .steps,
    .uptime-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        grid-template-columns: 1fr;
        row-gap: 22px;
        padding: 42px 12px 38px;
    }

    .hero-visual {
        justify-content: center;
        order: -1;
    }

    .hero-copy {
        text-align: left;
    }

    .hero-logo {
        width: min(62vw, 300px);
    }

    .login-card {
        grid-template-columns: 1fr;
    }

    .login-mascot {
        width: 100px;
        height: 100px;
    }

    .login-card-left {
        padding: 30px 20px;
    }

    .login-card-right {
        padding: 30px 24px;
    }

    .login-heading h2 {
        font-size: 1.8rem;
    }

    .legal-layout {
        padding: 40px 12px 18px;
    }

    .tabs {
        margin-left: 0;
        margin-right: 0;
    }

    .tab-panel {
        padding: 0;
    }

    .contact-panel {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: min(100% - 20px, 1120px);
        padding-top: 10px;
    }

    .hero,
    .section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .topbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .topbar-brand {
        font-size: 0.75rem;
    }

    .topbar-actions {
        gap: 8px;
    }

    .legal-topbar-left {
        align-items: center;
        gap: 8px;
    }

    .legal-topbar-note {
        font-size: 0.66rem;
    }

    .profile-link,
    .secondary-link,
    .primary-button,
    .secondary-button,
    .modal-close {
        width: auto;
    }

    .profile-link {
        justify-content: center;
    }

    .hero-logo {
        width: min(72vw, 240px);
    }

    .hero-points {
        flex-direction: column;
    }

    .modal-actions {
        flex-direction: column;
    }
}