:root {
    --bg-dark: #050505;
    --bg-card: #111111;
    --bitcoin-orange: #f7931a;
    --text-light: #f5f5f5;
    --text-muted: #b5b5b5;
    --border: rgba(247, 147, 26, 0.22);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(247, 147, 26, 0.16), transparent 30rem),
        linear-gradient(135deg, rgba(247, 147, 26, 0.05) 25%, transparent 25%) 0 0 / 48px 48px,
        var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(247, 147, 26, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 147, 26, 0.07) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
}

a {
    color: inherit;
}

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bitcoin-orange);
    color: #090909;
    font-weight: 900;
    box-shadow: 0 0 34px rgba(247, 147, 26, 0.45);
}

.site-nav,
.site-footer nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-nav a,
.site-footer nav a,
.text-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer nav a:hover,
.text-link:hover {
    color: var(--bitcoin-orange);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-light);
    padding: 10px 16px;
    font-weight: 800;
}

.section {
    padding: 76px 0;
}

.hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--bitcoin-orange);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.02;
    letter-spacing: -0.045em;
}

h1 {
    max-width: 880px;
    font-size: clamp(3rem, 8vw, 6.8rem);
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 22px;
    text-transform: uppercase;
}

h3 {
    font-size: 1.35rem;
    font-weight: 750;
}

.subtitle,
.lead {
    color: var(--text-muted);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    max-width: 780px;
}

.button-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 32px 0 14px;
}

.centered {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 13px 22px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.btn-primary {
    background: var(--bitcoin-orange);
    color: #080808;
    box-shadow: 0 14px 46px rgba(247, 147, 26, 0.24);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text-light);
}

.btn:hover {
    transform: translateY(-1px);
}

.microcopy,
.form-note,
.disclaimer {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.notice-banner {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 50;
    width: min(720px, calc(100% - 24px));
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.98);
    color: var(--text-light);
    box-shadow: var(--shadow);
    padding: 16px 18px;
    transform: translate(-50%, -120%);
    transition: transform 180ms ease;
}

.success-banner {
    border: 1px solid rgba(247, 147, 26, 0.4);
}

.error-banner {
    border: 1px solid rgba(255, 77, 77, 0.5);
}

.notice-banner.is-visible {
    transform: translate(-50%, 0);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 42px;
    align-items: start;
}

.grid {
    display: grid;
    gap: 20px;
}

.cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(17, 17, 17, 0.88);
    box-shadow: var(--shadow);
}

.image-card img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-visual {
    transform: rotate(1deg);
}

.inline-image {
    margin-top: 24px;
}

.page-hero-media {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
    gap: 40px;
    align-items: center;
}

.book-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
    gap: 30px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(17, 17, 17, 0.74);
    padding: 24px;
}

.book-image {
    max-width: 280px;
}

.card,
.form-card,
.accent-panel,
.cta,
.legal-page {
    border: 1px solid var(--border);
    border-radius: 26px;
    background: rgba(17, 17, 17, 0.88);
    box-shadow: var(--shadow);
}

.card {
    padding: 24px;
}

.card p,
.legal-page p,
.split p,
.product-card p {
    color: var(--text-muted);
}

.package-card,
.product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.package-badge {
    border: 1px solid rgba(247, 147, 26, 0.4);
    border-radius: 999px;
    background: rgba(247, 147, 26, 0.12);
    color: var(--bitcoin-orange);
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.package-duration {
    border-left: 3px solid var(--bitcoin-orange);
    padding-left: 12px;
    font-weight: 800;
}

.feature-list {
    display: grid;
    gap: 8px;
    margin: 4px 0 8px;
    padding-left: 20px;
    color: var(--text-muted);
}

.feature-list li::marker {
    color: var(--bitcoin-orange);
}

.package-card strong,
.product-card strong {
    color: var(--bitcoin-orange);
    margin-top: auto;
}

.book-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 170px;
    border: 1px solid rgba(247, 147, 26, 0.26);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(247, 147, 26, 0.18), transparent),
        #0a0a0a;
    color: var(--bitcoin-orange);
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 10px;
}

.accent-panel {
    padding: 40px;
    background:
        linear-gradient(135deg, rgba(247, 147, 26, 0.2), rgba(17, 17, 17, 0.9)),
        var(--bg-card);
}

.steps {
    margin: 24px 0 0;
    padding-left: 22px;
    color: var(--text-muted);
}

.steps li + li {
    margin-top: 8px;
}

.cta,
.legal-page {
    text-align: center;
    padding: 58px;
}

.conference-coming-soon {
    padding-top: 0;
}

.conference-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(247, 147, 26, 0.34);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(247, 147, 26, 0.26), transparent 24rem),
        linear-gradient(135deg, rgba(247, 147, 26, 0.16), rgba(17, 17, 17, 0.92)),
        var(--bg-card);
    box-shadow: var(--shadow);
    padding: 58px;
}

.conference-panel::after {
    content: "BTC";
    position: absolute;
    right: -20px;
    bottom: -52px;
    color: rgba(247, 147, 26, 0.08);
    font-size: clamp(7rem, 18vw, 15rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
}

.conference-panel > * {
    position: relative;
    z-index: 1;
}

.conference-panel .lead {
    max-width: 760px;
}

.page-hero {
    padding-top: 108px;
    padding-bottom: 36px;
}

.invoice-hero {
    padding-bottom: 20px;
}

.invoice-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 24px;
    align-items: start;
    padding-top: 20px;
}

.invoice-card,
.invoice-side,
.timer-card,
.address-card,
.payment-box {
    border: 1px solid var(--border);
    border-radius: 26px;
    background: rgba(17, 17, 17, 0.88);
    box-shadow: var(--shadow);
}

.invoice-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
    gap: 24px;
    padding: 28px;
}

.invoice-summary dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.invoice-summary dl div {
    border-bottom: 1px solid rgba(247, 147, 26, 0.16);
    padding-bottom: 14px;
}

.invoice-summary dt {
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.invoice-summary dd {
    margin: 4px 0 0;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 700;
}

.payment-box {
    display: grid;
    justify-items: center;
    padding: 22px;
    text-align: center;
}

.qr-code {
    width: min(260px, 100%);
    height: auto;
    border-radius: 18px;
    background: #fff;
    padding: 10px;
}

.invoice-side {
    display: grid;
    gap: 18px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.timer-card,
.address-card {
    padding: 24px;
}

.circle-timer {
    --timer-progress: 360deg;
    display: grid;
    place-items: center;
    width: 190px;
    height: 190px;
    margin: 18px auto;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #111 0 58%, transparent 59%),
        conic-gradient(var(--bitcoin-orange) var(--timer-progress), rgba(247, 147, 26, 0.16) 0);
}

.circle-timer span {
    color: var(--text-light);
    font-size: 2.1rem;
    font-weight: 800;
}

.btc-address {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
    border: 1px solid rgba(247, 147, 26, 0.22);
    border-radius: 16px;
    background: #080808;
    padding: 14px;
    margin: 12px 0 16px;
    color: var(--bitcoin-orange);
}

.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
}

.payment-modal[hidden] {
    display: none;
}

.payment-modal-card {
    width: min(560px, 100%);
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #111;
    box-shadow: var(--shadow);
    padding: 34px;
    text-align: center;
}

.form-card {
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--text-light);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(247, 147, 26, 0.25);
    border-radius: 14px;
    background: #080808;
    color: var(--text-light);
    padding: 14px 15px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--bitcoin-orange);
    outline-offset: 2px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    padding: 42px 0;
    border-top: 1px solid var(--border);
}

.site-footer p {
    color: var(--text-muted);
}

.footer-brand {
    margin-bottom: 12px;
}

code {
    color: var(--bitcoin-orange);
}

@media (max-width: 960px) {
    .hero,
    .split,
    .page-hero-media,
    .book-panel,
    .invoice-layout,
    .invoice-card,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .cards,
    .product-grid,
    .two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: rgba(5, 5, 5, 0.96);
    }

    .site-nav.is-open {
        display: grid;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: min(100% - 22px, 1180px);
    }

    .section {
        padding: 52px 0;
    }

    .cards,
    .product-grid,
    .two-col,
    .form-grid,
    .book-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 42px;
    }

    .accent-panel,
    .book-panel,
    .conference-panel,
    .cta,
    .legal-page,
    .form-card {
        padding: 26px;
    }

    .book-image {
        max-width: 100%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}
