:root {
    --bg: #050816;
    --bg-2: #0a1024;
    --panel: rgba(10, 18, 42, 0.78);
    --panel-strong: rgba(9, 15, 34, 0.92);
    --line: rgba(110, 150, 255, 0.18);
    --line-strong: rgba(110, 150, 255, 0.36);
    --text: #ebf1ff;
    --muted: #9cb2d8;
    --accent: #26d4ff;
    --accent-2: #8f5bff;
    --accent-3: #20f5a9;
    --danger: #ff6884;
    --warning: #ffc957;
    --success: #22e6a6;
    --shadow: 0 28px 80px rgba(2, 5, 18, 0.55);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: min(1180px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(38, 212, 255, 0.12), transparent 24%),
        radial-gradient(circle at 85% 0%, rgba(143, 91, 255, 0.16), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(32, 245, 169, 0.08), transparent 26%),
        linear-gradient(180deg, #040714 0%, #060915 38%, #091128 100%);
    min-height: 100vh;
    line-height: 1.55;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        rgba(255, 255, 255, 0.015),
        rgba(255, 255, 255, 0.015) 1px,
        rgba(0, 0, 0, 0.04) 1px,
        rgba(0, 0, 0, 0.04) 4px
    );
    background-size: 100% 4px;
    opacity: 0.2;
    mix-blend-mode: soft-light;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.site-grid,
.site-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.site-grid {
    background-image:
        linear-gradient(rgba(38, 212, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38, 212, 255, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 90%);
    opacity: 0.24;
    transform-origin: center top;
    animation: gridShift 20s linear infinite;
}

.site-noise {
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06), transparent 2%),
        radial-gradient(circle at 75% 60%, rgba(255, 255, 255, 0.04), transparent 2%),
        radial-gradient(circle at 55% 15%, rgba(255, 255, 255, 0.04), transparent 2%);
    opacity: 0.1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(119, 149, 245, 0.12);
    background: rgba(4, 7, 18, 0.6);
}

.site-header-admin {
    background: rgba(11, 8, 28, 0.72);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

.brand-mark {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand-mark strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.brand-kicker {
    display: inline-block;
    color: var(--accent);
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.primary-nav a,
.nav-user {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav-user {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.nav-cta {
    color: #04111b !important;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 14px 30px rgba(38, 212, 255, 0.16);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #53ddff, #46f0ba);
}

.nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.site-main {
    position: relative;
    z-index: 1;
    display: block;
}

.flash-stack {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
}

.flash {
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.flash-info {
    background: rgba(38, 212, 255, 0.08);
    border-color: rgba(38, 212, 255, 0.28);
}

.flash-success {
    background: rgba(34, 230, 166, 0.08);
    border-color: rgba(34, 230, 166, 0.3);
}

.flash-error {
    background: rgba(255, 104, 132, 0.08);
    border-color: rgba(255, 104, 132, 0.3);
}

.flash-warning {
    background: rgba(255, 201, 87, 0.08);
    border-color: rgba(255, 201, 87, 0.28);
}

.hero {
    padding: 72px 0 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.section-card,
.glass-card,
.panel,
.summary-card,
.price-card,
.detail-card,
.info-card,
.table-wrap,
.request-item,
.metric-card,
.timeline-item,
.cta-strip,
.form-card,
.auth-card,
.install-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 24, 53, 0.84), rgba(10, 16, 36, 0.82));
    border: 1px solid rgba(120, 146, 240, 0.16);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
    padding: 34px;
}

.hero-copy::before,
.hero-panel::before,
.section-card::before,
.glass-card::before,
.panel::before,
.summary-card::before,
.price-card::before,
.detail-card::before,
.info-card::before,
.table-wrap::before,
.request-item::before,
.metric-card::before,
.timeline-item::before,
.cta-strip::before,
.form-card::before,
.auth-card::before,
.install-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(38, 212, 255, 0.35), rgba(143, 91, 255, 0.08), rgba(255, 255, 255, 0));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.hero-copy::after,
.hero-panel::after {
    content: "";
    position: absolute;
    width: 220px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 212, 255, 0.16), transparent 70%);
    filter: blur(10px);
    right: -60px;
    top: -60px;
    pointer-events: none;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--accent);
    text-transform: uppercase;
}

.hero-kicker::before,
.eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.3rem, 6vw, 4.9rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(135deg, var(--accent), #72f1ff, var(--accent-3));
    -webkit-background-clip: text;
            background-clip: text;
}

.hero p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 64ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn {
    color: #04111b;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    box-shadow: 0 20px 40px rgba(38, 212, 255, 0.2);
}

.btn-secondary {
    color: var(--text);
    background: linear-gradient(135deg, rgba(143, 91, 255, 0.24), rgba(38, 212, 255, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ghost {
    color: var(--text);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.btn:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
    transform: translateY(-2px);
}

.hero-ticker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.badge,
.inline-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.badge strong,
.inline-chip strong {
    color: var(--accent);
}

.hero-panel {
    display: grid;
    gap: 20px;
}

.hero-panel h2,
.panel h2,
.section-header h2,
.form-card h2,
.auth-card h1,
.install-card h1 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    padding: 18px;
    border-radius: 20px;
}

.metric-card span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.metric-card strong {
    display: block;
    margin-top: 6px;
    font-size: clamp(1.3rem, 3vw, 2rem);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-content: flex-start;
}

.countdown-item {
    padding: 18px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1;
}

.countdown-label {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section {
    padding: 32px 0;
}

.section-header {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.section-header p {
    margin: 0;
    max-width: 70ch;
    color: var(--muted);
}

.grid-two,
.grid-three,
.card-grid,
.summary-cards,
.info-grid,
.dashboard-grid,
.auth-grid,
.install-grid,
.status-grid,
.event-grid,
.details-grid {
    display: grid;
    gap: 20px;
}

.grid-two,
.details-grid,
.event-grid,
.auth-grid,
.install-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-three,
.card-grid,
.summary-cards,
.status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid,
.dashboard-grid {
    grid-template-columns: 1.2fr 0.8fr;
}

.section-card,
.glass-card,
.panel,
.summary-card,
.price-card,
.detail-card,
.info-card,
.request-item,
.form-card,
.auth-card,
.install-card {
    padding: 24px;
}

.section-card h3,
.glass-card h3,
.panel h3,
.summary-card h3,
.price-card h3,
.detail-card h3,
.info-card h3,
.form-card h3,
.auth-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.section-card p,
.glass-card p,
.panel p,
.summary-card p,
.price-card p,
.detail-card p,
.info-card p,
.request-item p,
.form-card p,
.auth-card p,
.install-card p {
    margin: 0;
    color: var(--muted);
}

.stat-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.list-clean,
.timeline,
.footer-links,
.meta-list,
.pricing-list,
.benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.benefits-list li,
.meta-list li,
.pricing-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text);
}

.benefits-list li::before,
.meta-list li::before,
.pricing-list li::before {
    content: "";
    width: 11px;
    height: 11px;
    margin-top: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 18px rgba(38, 212, 255, 0.32);
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    padding: 20px;
    border-radius: 24px;
}

.timeline-item .timeline-date {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.timeline-item p {
    margin-top: 8px;
}

.cta-strip {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 28px;
    margin-top: 24px;
}

.cta-strip h3 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 4vw, 2rem);
}

.price-card .price {
    display: block;
    margin: 4px 0 18px;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.small-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.form-layout,
.account-layout {
    display: grid;
    gap: 20px;
}

.form-card,
.auth-card,
.install-card {
    background: linear-gradient(180deg, rgba(15, 22, 50, 0.88), rgba(9, 13, 30, 0.92));
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field,
.field-full {
    display: grid;
    gap: 8px;
}

.field-full {
    grid-column: 1 / -1;
}

label,
.legend {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    color: var(--text);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
    min-height: 132px;
    padding: 14px 16px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: rgba(156, 178, 216, 0.72);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(38, 212, 255, 0.46);
    background: rgba(8, 14, 29, 0.88);
    box-shadow: 0 0 0 4px rgba(38, 212, 255, 0.08);
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.field-hint,
.form-note,
.password-meter-text,
.install-note,
.table-note,
.help-text {
    color: var(--muted);
    font-size: 0.9rem;
}

.radio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.radio-card {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.radio-card input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.radio-card strong {
    display: block;
}

.radio-card span {
    display: block;
    color: var(--muted);
    margin-top: 3px;
}

.checkbox-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.password-meter {
    position: relative;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.password-meter-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--danger), var(--warning), var(--success));
    transition: width 0.2s ease;
}

.table-wrap {
    padding: 12px;
    border-radius: 24px;
}

.table-scroll {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

th,
td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

tr:last-child td {
    border-bottom: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

.status-pending {
    color: #0d1220;
    background: linear-gradient(135deg, var(--accent), #8fe8ff);
}

.status-success {
    color: #032214;
    background: linear-gradient(135deg, var(--accent-3), #a9ffd8);
}

.status-warning {
    color: #2a2103;
    background: linear-gradient(135deg, var(--warning), #ffe68a);
}

.status-danger {
    color: #2b0812;
    background: linear-gradient(135deg, var(--danger), #ffb4c3);
}

.status-neutral {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.summary-cards {
    margin-bottom: 20px;
}

.summary-card strong {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    margin-bottom: 8px;
}



.dashboard-grid {
    align-items: start;
}

.panel-header,
.request-header,
.inline-split,
.auth-header,
.install-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.inline-split {
    flex-wrap: wrap;
}

.panel-header h3,
.request-header h3,
.auth-header h1,
.install-header h1 {
    margin: 0;
}

.info-list,
.meta-stack {
    display: grid;
    gap: 12px;
}

.info-line,
.meta-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-line:last-child,
.meta-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-line span,
.meta-line span {
    color: var(--muted);
}

.data-grid {
    display: grid;
    gap: 14px;
}

.data-chip {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.data-chip strong {
    display: block;
    margin-bottom: 6px;
}

.request-list {
    display: grid;
    gap: 14px;
}

.request-item {
    padding: 20px;
    border-radius: 22px;
}

.request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.request-content {
    display: grid;
    gap: 12px;
}

.reply-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.empty-state {
    padding: 22px;
    text-align: center;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: var(--muted);
}

.mono,
.code-pill {
    font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

.code-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.copy-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-radius: 999px;
    min-height: 40px;
    padding: 0 14px;
}

.copy-btn:hover,
.copy-btn:focus-visible {
    background: rgba(255, 255, 255, 0.08);
}

.admin-toolbar {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.toolbar-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.subtle-divider {
    height: 1px;
    margin: 18px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.paypal-zone {
    display: grid;
    gap: 12px;
}

.paypal-message {
    min-height: 24px;
    color: var(--muted);
}

.paypal-message.is-error {
    color: #ff99af;
}

.paypal-message.is-success {
    color: #87f7cb;
}

.auth-page,
.install-page {
    padding: 52px 0;
}

.auth-card,
.install-card {
    padding: 32px;
}

.auth-card h1,
.install-card h1 {
    margin-bottom: 10px;
}

.auth-card p,
.install-card p {
    margin-bottom: 20px;
}

.install-grid {
    align-items: start;
}

.site-footer {
    margin-top: 42px;
    padding: 34px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 8, 19, 0.56);
    backdrop-filter: blur(14px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 22px;
}

.footer-title {
    margin: 0 0 10px;
    font-weight: 800;
}

.footer-text {
    margin: 0;
    color: var(--muted);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    margin-top: 24px;
    padding-top: 18px;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gridShift {
    0% {
        transform: perspective(1100px) rotateX(76deg) translateY(-40px);
    }
    100% {
        transform: perspective(1100px) rotateX(76deg) translateY(40px);
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(38, 212, 255, 0.18);
    }
    50% {
        box-shadow: 0 0 34px rgba(38, 212, 255, 0.22);
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .info-grid,
    .dashboard-grid,
    .grid-two,
    .details-grid,
    .event-grid,
    .auth-grid,
    .install-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .grid-three,
    .card-grid,
    .summary-cards,
    .status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .toolbar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 16px;
        left: 16px;
        display: none;
        padding: 14px;
        background: rgba(7, 12, 28, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: grid;
    }

    .primary-nav a,
    .nav-user {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-copy,
    .hero-panel,
    .section-card,
    .glass-card,
    .panel,
    .summary-card,
    .price-card,
    .detail-card,
    .info-card,
    .request-item,
    .form-card,
    .auth-card,
    .install-card {
        padding: 22px;
    }

    .form-grid,
    .radio-grid,
    .countdown,
    .toolbar-grid {
        grid-template-columns: 1fr;
    }

    .cta-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100% - 20px, 100%);
    }

    .hero h1 {
        font-size: clamp(2rem, 12vw, 3.3rem);
    }

    .grid-three,
    .card-grid,
    .summary-cards,
    .status-grid,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .header-inner {
        min-height: 72px;
    }

    .btn,
    .btn-secondary,
    .btn-ghost,
    .copy-btn {
        width: 100%;
    }

    .hero-actions,
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .countdown-item {
        padding: 14px 10px;
    }

    table {
        min-width: 560px;
    }
}
