:root {
    --bg: #070b12;
    --bg-soft: #0d1320;
    --panel: rgba(14, 20, 32, 0.9);
    --panel-strong: rgba(19, 27, 42, 0.96);
    --ink: #f4f7fb;
    --muted: #98a4b8;
    --line: rgba(145, 168, 201, 0.18);
    --accent: #2dd4bf;
    --accent-strong: #1fbfa7;
    --accent-soft: rgba(45, 212, 191, 0.14);
    --warning: #ff8a3d;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Archivo", sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background:
        radial-gradient(circle at 28% 42%, rgba(255, 45, 85, 0.2), transparent 18%),
        radial-gradient(circle at 33% 42%, rgba(0, 119, 255, 0.22), transparent 16%),
        radial-gradient(circle at 76% 82%, rgba(255, 255, 255, 0.12), transparent 12%),
        linear-gradient(180deg, rgba(4, 7, 13, 0.88), rgba(4, 7, 13, 0.92)),
        linear-gradient(135deg, #060910 0%, #0a1019 42%, #060910 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 52%, transparent 100%);
    opacity: 0.45;
}

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

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.page-shell {
    position: relative;
    overflow: clip;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(7, 11, 18, 0.38);
    border-bottom: 1px solid rgba(145, 168, 201, 0.05);
}

.nav-row,
.hero-actions,
.product-top,
.product-bottom,
.section-heading.row,
.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-row {
    padding: 0.85rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand strong,
.footer-brand {
    display: block;
}

.brand small,
.stat-card span,
.info-card p,
.product-card p,
.review-card p,
.pricing-meta,
.faq-list p,
.site-footer p,
.site-footer a,
.lead,
.form-note,
.summary-note,
.spotlight-card span {
    color: var(--muted);
}

.brand-mark {
    width: 2.9rem;
    height: 2.9rem;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #031217;
    background: linear-gradient(135deg, #74f6e8 0%, var(--accent) 52%, #1aa38f 100%);
    box-shadow: 0 14px 36px rgba(45, 212, 191, 0.35);
    font-weight: 700;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 38, 0.76);
}

.site-nav a,
.button,
.badge,
.category,
.feature-cloud span,
.signal-row span {
    border-radius: 999px;
}

.site-nav a {
    padding: 0.6rem 0.9rem;
    color: var(--muted);
    transition: 180ms ease;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.05);
}

.button,
.text-link,
.product-card,
.info-card,
.review-card,
.spotlight-card,
.sidebar-card,
.stat-card,
.metric-card {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button {
    display: inline-flex;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    background: linear-gradient(135deg, #74f6e8 0%, var(--accent) 50%, var(--accent-strong) 100%);
    color: #041117;
    box-shadow: 0 18px 34px rgba(45, 212, 191, 0.22);
    font-weight: 700;
}

.button.secondary,
.button.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}

.button:hover,
.text-link:hover,
.product-card:hover,
.info-card:hover,
.review-card:hover,
.spotlight-card:hover,
.sidebar-card:hover {
    transform: translateY(-2px);
}

.hero,
.page-hero {
    padding: 3rem 0 1.5rem;
}

.hero-grid,
.split-section,
.two-column,
.catalog-layout,
.checkout-layout,
.faq-grid,
.footer-grid,
.card-grid,
.stat-grid,
.metric-row,
.integration-grid,
.review-stack,
.faq-list,
.panel-body,
.catalog-grid,
.spotlight-grid {
    display: grid;
    gap: 1rem;
}

.hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    min-height: auto;
    padding: 0.5rem 0 1rem;
}

.hero-grid-centered {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    text-align: left;
    max-width: 1100px;
}

.hero-copy.centered {
    display: block;
}

.eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #7ae6d8;
}

h1,
h2 {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    letter-spacing: -0.05em;
}

h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    max-width: 12ch;
    line-height: 1.02;
}

h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    max-width: 18ch;
    line-height: 1.08;
}

h3 {
    font-family: "Syne", sans-serif;
    font-size: 1.25rem;
    margin: 1rem 0 0.75rem;
}

.lead {
    max-width: 60ch;
    font-size: 1rem;
    line-height: 1.7;
    margin: 1rem 0 0;
}

.lead.compact {
    max-width: 52ch;
}

.hero-actions {
    justify-content: flex-start;
    margin: 1.4rem 0 1rem;
}

.signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    justify-content: center;
}

.signal-row span {
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(122, 230, 216, 0.18);
    background: rgba(14, 22, 34, 0.82);
    color: #dffcf7;
    font-size: 0.82rem;
}

.signal-row.compact {
    margin-bottom: 1.5rem;
}

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

.stat-card,
.info-card,
.product-card,
.review-card,
.sidebar-card,
.metric-card,
.spotlight-card,
.checkout-form,
.checkout-summary,
.single-card {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(17, 24, 38, 0.96), rgba(11, 16, 27, 0.94));
    box-shadow: var(--shadow);
}

.stat-card strong,
.metric-card strong,
.product-bottom strong,
.spotlight-card strong {
    display: block;
    font-size: 1.8rem;
}

.hero-panel {
    position: relative;
}

.panel-window {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(145, 168, 201, 0.16);
    background: linear-gradient(180deg, rgba(13, 19, 31, 0.78), rgba(8, 13, 22, 0.82));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.hero-panel-condensed {
    max-width: 440px;
    margin-left: auto;
}

.metric-card.accent {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.22) 0%, rgba(16, 112, 149, 0.3) 100%);
    border-color: rgba(122, 230, 216, 0.25);
}

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

.homepage-band article span,
.homepage-band article span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric-card.wide ul,
.check-list,
.plain-list {
    margin: 0.75rem 0 0;
    padding-left: 1rem;
    color: var(--muted);
    line-height: 1.9;
}

.section {
    padding: 2rem 0 3rem;
}

.section.muted {
    background: rgba(255, 255, 255, 0.015);
}

.section-heading {
    margin-bottom: 2rem;
}

.featured-callout,
.cta-panel {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(8, 12, 21, 0.98));
    box-shadow: var(--shadow);
}

.homepage-band article strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.15rem;
    line-height: 1.6;
}

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

.split-section,
.two-column,
.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.badge,
.category {
    padding: 0.48rem 0.78rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge {
    background: rgba(45, 212, 191, 0.12);
    color: #9cf5e8;
}

.category {
    background: rgba(255, 138, 61, 0.12);
    color: #ffbf93;
}

.product-card.large {
    min-height: 280px;
}

.storefront-grid {
    align-items: stretch;
}

.product-media {
    height: 180px;
    margin-bottom: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(17, 24, 38, 0.88), rgba(10, 14, 22, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-media-vip {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(18, 56, 85, 0.95), rgba(6, 15, 25, 0.95));
}

.product-media-subscriptions {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(60, 37, 93, 0.95), rgba(8, 15, 25, 0.95));
}

.product-media-vehicles {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(65, 30, 24, 0.96), rgba(10, 13, 20, 0.96));
}

.product-media-bundles {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(17, 73, 60, 0.95), rgba(8, 16, 20, 0.95));
}

.product-media-gift-cards {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(86, 56, 15, 0.95), rgba(12, 15, 20, 0.95));
}

.product-card a,
.text-link,
.button-link {
    color: #dffcf7;
    font-weight: 600;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    background: rgba(45, 212, 191, 0.14);
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.step-card {
    position: relative;
    padding-top: 4.2rem;
}

.step-number {
    position: absolute;
    top: 1.3rem;
    left: 1.45rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.14);
    color: #9cf5e8;
    font-weight: 700;
}

.product-card:hover,
.info-card:hover,
.review-card:hover,
.spotlight-card:hover,
.sidebar-card:hover {
    border-color: rgba(122, 230, 216, 0.3);
}

.stars {
    color: #9cf5e8;
}

.faq-list article {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.checkout-layout {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
}

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

.catalog-grid.simple {
    gap: 1rem;
}

.page-hero .container {
    text-align: center;
}

.simple-panel {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(10, 14, 22, 0.72);
    box-shadow: var(--shadow);
}

.centered-heading {
    text-align: center;
}

.centered-heading h2,
.page-hero h1 {
    max-width: none;
}

.simple-split {
    align-items: start;
}

.compact-stack {
    gap: 1rem;
}

.checkout-form,
.checkout-summary,
.single-card {
    display: grid;
    gap: 1rem;
}

.checkout-form label {
    font-weight: 700;
}

.checkout-form input,
.checkout-form select {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(4, 8, 14, 0.92);
    font: inherit;
    color: var(--ink);
}

.summary-line {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.summary-line.total {
    padding-top: 0.25rem;
}

.single-card {
    max-width: 760px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cta-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-shell {
    min-height: 100vh;
    padding: 2rem 0 4rem;
}

.admin-login-wrap,
.admin-page {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.admin-login-wrap {
    min-height: calc(100vh - 4rem);
    display: grid;
    place-items: center;
}

.admin-login-card,
.admin-card,
.admin-topbar {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(8, 12, 21, 0.98));
    box-shadow: var(--shadow);
}

.admin-login-card {
    width: min(720px, 100%);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.admin-editor {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.9rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(9, 13, 21, 0.82);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 1.25rem;
    z-index: 12;
}

.admin-tab {
    appearance: none;
    border: 1px solid rgba(145, 168, 201, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    padding: 0.85rem 1.15rem;
    border-radius: 18px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: 180ms ease;
}

.admin-tab:hover,
.admin-tab.active {
    color: var(--ink);
    border-color: rgba(122, 230, 216, 0.24);
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(19, 30, 48, 0.94));
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.admin-panel {
    display: none;
    gap: 1rem;
}

.admin-panel.active {
    display: grid;
}

.admin-panel-header {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(122, 230, 216, 0.14);
    background:
        linear-gradient(135deg, rgba(8, 12, 20, 0.95), rgba(11, 17, 29, 0.92)),
        radial-gradient(circle at left center, rgba(0, 119, 255, 0.12), transparent 28%);
    box-shadow: var(--shadow);
}

.admin-panel-header h2 {
    max-width: none;
    margin-bottom: 0.45rem;
}

.admin-panel-copy {
    margin: 0;
    max-width: 64ch;
    color: var(--muted);
}

.admin-card {
    display: grid;
    gap: 1rem;
}

.admin-card-wide {
    grid-column: 1 / -1;
}

.package-list {
    display: grid;
    gap: 1rem;
}

.package-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(145, 168, 201, 0.14);
    background: rgba(255, 255, 255, 0.025);
}

.package-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.package-card-header h3 {
    margin: 0;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.package-description {
    grid-column: 1 / -1;
}

.package-remove {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink) !important;
    font-size: 0.9rem !important;
}

.package-remove input {
    width: auto !important;
    margin: 0;
}

.package-card-new {
    border-style: dashed;
    border-color: rgba(122, 230, 216, 0.2);
}

.admin-card label {
    display: grid;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.admin-card input,
.admin-card textarea,
.admin-card select {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(4, 8, 14, 0.92);
    font: inherit;
    color: var(--ink);
}

.admin-card textarea {
    min-height: 110px;
    resize: vertical;
}

.code-input {
    min-height: 180px;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.9rem;
}

.admin-topbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.admin-alert,
.admin-note {
    margin: 1rem 0 0;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink);
}

.admin-alert.success {
    border-color: rgba(45, 212, 191, 0.3);
    background: rgba(45, 212, 191, 0.08);
}

.admin-alert.error {
    border-color: rgba(255, 138, 61, 0.3);
    background: rgba(255, 138, 61, 0.08);
}

.admin-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}

.login-card {
    text-align: left;
}

.account-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1rem;
    align-items: start;
}

.account-sidebar {
    display: grid;
    gap: 0.9rem;
}

.account-grid {
    display: grid;
    gap: 1rem;
}

.account-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px solid rgba(45, 212, 191, 0.3);
    object-fit: cover;
}

.account-list {
    display: grid;
    gap: 0.85rem;
}

.account-item {
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(145, 168, 201, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.account-item span {
    color: var(--muted);
}

.site-footer {
    padding: 1.5rem 0 2rem;
    border-top: 1px solid rgba(145, 168, 201, 0.08);
    background: rgba(7, 11, 18, 0.78);
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
}

.footer-heading {
    color: var(--ink);
    font-weight: 700;
}

.site-footer a {
    display: block;
    margin-bottom: 0.65rem;
}

@media (max-width: 960px) {
    .hero-grid,
    .hero-grid-centered,
    .split-section,
    .two-column,
    .faq-grid,
    .account-layout,
    .checkout-layout,
    .footer-grid,
    .card-grid.three,
    .catalog-grid,
    .stat-grid,
    .storefront-grid {
        grid-template-columns: 1fr;
    }

    .nav-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-copy.centered {
        text-align: center;
    }

    .hero-panel-condensed {
        margin: 0 auto;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

    .admin-tabs {
        top: 0.75rem;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.2rem, 100%);
    }

    h1 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .site-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 22px;
    }

    .hero-actions,
    .metric-row,
    .summary-line,
    .cta-panel,
    .cta-actions,
    .admin-topbar,
    .nav-actions,
    .admin-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button,
    .button.ghost,
    .nav-actions .button {
        width: 100%;
    }
}
