/*
  ModuNetwork default website stylesheet.
  Project path: assests/css/modu-default.css
  This is the default theme file. Future theme-switch buttons can swap the theme stylesheet link.
*/

/* PATCHFORGE_REGION_START: foundation */
:root {
    --bg: #071017;
    --bg-2: #0c1923;
    --panel: #0f1d27;
    --panel-2: #122636;
    --ink: #f4f7fb;
    --soft-ink: #c7d5e2;
    --muted: #8fa2b4;
    --line: rgba(185, 211, 235, 0.16);
    --line-strong: rgba(185, 211, 235, 0.28);
    --blue: #8bc8ff;
    --blue-2: #2d77a8;
    --gold: #f0bd5b;
    --green: #66d2a2;
    --danger: #ff9b8b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 0%, rgba(58, 121, 160, 0.22), transparent 34rem),
        radial-gradient(circle at 80% 10%, rgba(102, 210, 162, 0.10), transparent 28rem),
        linear-gradient(180deg, #071017 0%, #0b1720 48%, #081119 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

img, svg {
    max-width: 100%;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    top: -999px;
    left: 1rem;
    z-index: 50;
    background: var(--gold);
    color: #0b1118;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 1rem;
}

.shell {
    width: min(var(--shell), calc(100% - 40px));
    margin: 0 auto;
}

.section-panel {
    position: relative;
    padding: 74px 0;
}

.section-panel + .section-panel {
    border-top: 1px solid var(--line);
}

.muted-panel {
    background: rgba(255, 255, 255, 0.025);
}

.kicker {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

h1 {
    max-width: 780px;
    font-size: clamp(2.6rem, 6.5vw, 5.65rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--soft-ink);
}

.lead {
    max-width: 680px;
    margin: 22px 0 0;
    color: #ecf5ff;
    font-size: clamp(1.04rem, 1.8vw, 1.26rem);
}

.sublead {
    max-width: 700px;
    color: var(--muted);
}

.fine-print {
    color: var(--muted);
    font-size: 0.9rem;
}

.center-line {
    text-align: center;
}
/* PATCHFORGE_REGION_END: foundation */

/* PATCHFORGE_REGION_START: navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 0;
    background: rgba(7, 16, 23, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, #d9efff, #75bfff);
    color: #071017;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(139, 200, 255, 0.25);
    overflow: hidden;
}

.logo-mark {
    background:
        radial-gradient(circle at 50% 40%, rgba(217, 239, 255, 0.96), rgba(117, 191, 255, 0.84) 52%, rgba(45, 119, 168, 0.72) 100%);
}

.brand-logo-img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    transform: scale(1.78);
    transform-origin: center;
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy strong {
    font-size: 1.02rem;
    letter-spacing: 0.06em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--soft-ink);
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 0.92rem;
    text-decoration: none;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.main-nav .nav-action {
    color: #071017;
    background: var(--gold);
    font-weight: 850;
}
/* PATCHFORGE_REGION_END: navigation */

/* PATCHFORGE_REGION_START: hero */
.hero {
    overflow: hidden;
    padding-top: 88px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 9% 0 auto auto;
    width: 44vw;
    height: 44vw;
    max-width: 640px;
    max-height: 640px;
    background: radial-gradient(circle, rgba(139, 200, 255, 0.12), transparent 65%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.78fr);
    align-items: center;
    gap: 44px;
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 900;
    text-decoration: none;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: #071017;
    background: linear-gradient(135deg, var(--gold), #ffd986);
    box-shadow: 0 18px 38px rgba(240, 189, 91, 0.22);
}

.button.secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line-strong);
}

.button.slim {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.button.full {
    width: 100%;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.trust-row span {
    padding: 8px 10px;
    color: var(--soft-ink);
    background: rgba(255, 255, 255, 0.052);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.83rem;
}

.hero-art {
    transform: translateY(4px);
}

.image-slot {
    position: relative;
    min-height: 360px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed rgba(207, 227, 244, 0.3);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(139, 200, 255, 0.12), rgba(102, 210, 162, 0.045)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.035) 12px, transparent 12px, transparent 26px),
        rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
}

.image-slot strong {
    font-size: 1.36rem;
    letter-spacing: -0.02em;
}

.image-slot p {
    max-width: 540px;
    margin-bottom: 0;
}

.slot-size {
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 12px;
    color: #071017;
    background: var(--gold);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
/* PATCHFORGE_REGION_END: hero */

/* PATCHFORGE_REGION_START: layout-blocks */
.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: 36px;
}

.section-head {
    max-width: 850px;
    margin-bottom: 30px;
}

.section-head.compact {
    max-width: 760px;
}

.notice-card,
.simple-card,
.price-card,
.estimate-card,
.order-form fieldset,
.success-box,
.error-box,
.summary-box {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.16);
}

.notice-card {
    padding: 28px;
}

.notice-card h3 {
    margin-bottom: 12px;
}

.notice-card p:last-child {
    margin-bottom: 0;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.mini-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.045);
}

.mini-card strong,
.mini-card span {
    display: block;
}

.mini-card strong {
    color: #fff;
    font-size: 1.12rem;
}

.mini-card span {
    color: var(--muted);
    margin-top: 4px;
    font-size: 0.86rem;
}
/* PATCHFORGE_REGION_END: layout-blocks */

/* PATCHFORGE_REGION_START: cards-pricing */
.package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.price-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
}

.price-card.featured {
    border-color: rgba(240, 189, 91, 0.8);
    background:
        linear-gradient(180deg, rgba(240, 189, 91, 0.09), rgba(255,255,255,0.055));
}

.price-card.quiet {
    background: rgba(255, 255, 255, 0.04);
}

.badge {
    width: fit-content;
    margin-bottom: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #071017;
    background: var(--green);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge.blue {
    background: var(--blue);
}

.badge.gold {
    background: var(--gold);
}

.best-for {
    min-height: 68px;
    color: var(--muted);
    font-size: 0.94rem;
}

.price-line {
    margin: 10px 0 3px;
}

.price-line strong {
    display: block;
    color: #fff;
    font-size: 2.05rem;
    line-height: 1;
}

.price-line span,
.rate-line {
    color: var(--muted);
    font-size: 0.9rem;
}

.price-card ul {
    flex: 1;
    margin: 18px 0 22px;
    padding-left: 19px;
    color: var(--soft-ink);
}

.price-card li {
    margin-bottom: 8px;
}

.terms-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

.terms-strip p {
    margin: 0;
    padding: 16px;
    color: var(--soft-ink);
    background: rgba(240, 189, 91, 0.075);
    border: 1px solid rgba(240, 189, 91, 0.18);
    border-radius: var(--radius-md);
    font-size: 0.92rem;
}

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

.simple-card {
    padding: 24px;
}

.simple-price {
    margin: 14px 0;
    color: var(--gold);
    font-size: 2rem;
    font-weight: 950;
}

.add-on-list {
    display: grid;
    gap: 10px;
}

.add-on-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
}

.add-on-list span {
    color: var(--gold);
    font-weight: 900;
    white-space: nowrap;
}

.final-panel {
    background: linear-gradient(135deg, rgba(139,200,255,0.07), rgba(240,189,91,0.05));
}

.final-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: 34px;
}
/* PATCHFORGE_REGION_END: cards-pricing */

/* PATCHFORGE_REGION_START: order-page */
.order-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.9rem);
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

.order-form {
    display: grid;
    gap: 18px;
}

.order-form fieldset {
    margin: 0;
    padding: 20px;
    min-width: 0;
}

.order-form legend {
    padding: 0 8px;
    color: var(--gold);
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

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

.option-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.option-card:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.065);
}

.option-card input {
    margin-top: 5px;
    accent-color: var(--gold);
}

.option-card strong,
.option-card span span {
    display: block;
}

.option-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.option-card strong {
    color: #fff;
    margin-bottom: 2px;
    font-size: 0.96rem;
}

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

.addon-checks label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: var(--soft-ink);
    background: rgba(255, 255, 255, 0.04);
}

.addon-checks input {
    accent-color: var(--gold);
}

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

.field-grid label {
    display: grid;
    gap: 7px;
    color: var(--soft-ink);
    font-weight: 800;
}

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

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 12px 13px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(240, 189, 91, 0.42);
    border-color: rgba(240, 189, 91, 0.7);
}

.estimate-card {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.estimate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.estimate-row strong {
    color: var(--gold);
    font-size: 1.24rem;
}

.hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.success-box,
.error-box,
.summary-box {
    margin-bottom: 20px;
    padding: 22px;
}

.success-box {
    border-color: rgba(102, 210, 162, 0.44);
    background: rgba(102, 210, 162, 0.08);
}

.error-box {
    border-color: rgba(255, 155, 139, 0.5);
    background: rgba(255, 155, 139, 0.08);
}

.summary-box pre {
    white-space: pre-wrap;
    overflow: auto;
    color: var(--soft-ink);
}
/* PATCHFORGE_REGION_END: order-page */

/* PATCHFORGE_REGION_START: footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0;
    background: rgba(0, 0, 0, 0.25);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 24px;
    align-items: center;
}

.site-footer p,
.site-footer small {
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--soft-ink);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}
/* PATCHFORGE_REGION_END: footer */

/* PATCHFORGE_REGION_START: responsive */
@media (max-width: 1120px) {
    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .two-col,
    .final-grid,
    .order-layout {
        grid-template-columns: 1fr;
    }

    .estimate-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(100% - 28px, var(--shell));
    }

    .section-panel {
        padding: 48px 0;
    }

    .site-header {
        position: static;
        padding: 10px 0;
    }

    .nav-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand {
        min-width: 0;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
    }

    .main-nav a {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    h1 {
        font-size: clamp(2.45rem, 13vw, 3.8rem);
    }

    h2 {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
    }

    .hero {
        padding-top: 42px;
    }

    .image-slot {
        min-height: 260px;
        padding: 22px;
    }

    .mini-grid,
    .package-grid,
    .build-grid,
    .terms-strip,
    .option-stack,
    .compact-options,
    .addon-checks,
    .field-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .best-for {
        min-height: auto;
    }

    .add-on-list div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .reverse-mobile > :first-child {
        order: 2;
    }
}

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

    .button {
        transition: none;
    }

    .button:hover {
        transform: none;
    }
}
/* PATCHFORGE_REGION_END: responsive */
