:root {
    --bg: #050816;
    --bg-alt: #091126;
    --panel: rgba(10, 17, 36, 0.78);
    --panel-strong: rgba(10, 19, 42, 0.94);
    --panel-soft: rgba(8, 15, 30, 0.62);
    --line: rgba(106, 215, 255, 0.18);
    --line-strong: rgba(106, 215, 255, 0.38);
    --text-main: #ecf4ff;
    --text-muted: #8da4c8;
    --cyan: #64efff;
    --lime: #78ffbc;
    --amber: #ffb86a;
    --danger: #ff6f91;
    --gradient: linear-gradient(135deg, #64efff 0%, #78ffbc 48%, #ffb86a 100%);
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.46);
    --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.28);
    --max-width: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(100, 239, 255, 0.12) 0%, transparent 26%),
        radial-gradient(circle at 82% 12%, rgba(120, 255, 188, 0.10) 0%, transparent 22%),
        radial-gradient(circle at 50% 72%, rgba(255, 184, 106, 0.08) 0%, transparent 28%),
        linear-gradient(180deg, #040713 0%, #070c1d 45%, #03050d 100%);
    color: var(--text-main);
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    opacity: 0.55;
    mix-blend-mode: screen;
}

h1,
h2,
h3,
.logo,
.price {
    font-family: "Oxanium", sans-serif;
}

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

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(106, 215, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(106, 215, 255, 0.07) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 88%);
}

.bg-glow {
    position: fixed;
    width: 30rem;
    height: 30rem;
    border-radius: 999px;
    filter: blur(100px);
    z-index: -2;
    opacity: 0.26;
    pointer-events: none;
}

.glow-cyan {
    top: -6rem;
    right: -8rem;
    background: var(--cyan);
}

.glow-lime {
    left: -8rem;
    bottom: -6rem;
    background: var(--lime);
}

.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--max-width), calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(5, 9, 21, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-md);
    z-index: 30;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.logo-mark {
    width: 2.3rem;
    height: 2.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(100, 239, 255, 0.22), rgba(100, 239, 255, 0.08));
    border: 1px solid rgba(100, 239, 255, 0.35);
    color: var(--cyan);
    box-shadow: inset 0 0 18px rgba(100, 239, 255, 0.14);
}

.logo-mark i {
    width: 1.1rem;
    height: 1.1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 1.25rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient);
    color: #03101b;
    box-shadow: 0 12px 32px rgba(100, 239, 255, 0.18);
}

.btn-primary:hover {
    box-shadow: 0 14px 38px rgba(100, 239, 255, 0.26);
}

.btn-secondary {
    background: rgba(9, 16, 34, 0.72);
    border-color: var(--line);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--line-strong);
}

.btn-glow {
    box-shadow: 0 0 0 4px rgba(100, 239, 255, 0.06), 0 12px 32px rgba(100, 239, 255, 0.20);
}

.w-100 {
    width: 100%;
}

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

.hero {
    min-height: calc(100vh - 118px);
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 2rem;
    padding: 3.4rem 0 2.4rem;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(120, 255, 188, 0.26);
    border-radius: 999px;
    background: rgba(120, 255, 188, 0.08);
    color: #caf7e4;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}

.eyebrow-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--lime);
    box-shadow: 0 0 12px rgba(120, 255, 188, 0.8);
}

.hero h1 {
    font-size: clamp(2.9rem, 7vw, 5.7rem);
    line-height: 0.97;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.07rem;
    max-width: 640px;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.35rem;
}

.hero-strip {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.strip-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 0.92rem;
    background: rgba(7, 14, 29, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.strip-chip i {
    width: 1rem;
    height: 1rem;
    color: var(--cyan);
    flex-shrink: 0;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: 1.6rem;
    border-radius: 28px;
    border: 1px solid rgba(100, 239, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(11, 19, 40, 0.98) 0%, rgba(7, 12, 24, 0.92) 100%);
    box-shadow: var(--shadow-lg);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(100, 239, 255, 0.09) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: sweep 8s linear infinite;
    pointer-events: none;
}

.panel-top,
.panel-footer {
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.panel-kicker,
.panel-status,
.section-tag,
.access-code,
.ebook-index,
.stack-note {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.panel-kicker {
    color: var(--cyan);
}

.panel-status {
    padding: 0.4rem 0.65rem;
    border: 1px solid rgba(120, 255, 188, 0.24);
    border-radius: 999px;
    background: rgba(120, 255, 188, 0.08);
    color: #d3ffe9;
}

.panel-heading {
    margin: 1rem 0 1.4rem;
}

.panel-heading h2 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.45rem;
}

.panel-heading p {
    color: var(--text-muted);
}

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

.panel-item,
.panel-metric,
.ebook-card,
.stack-card,
.pricing-card {
    position: relative;
    overflow: hidden;
}

.panel-item {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(100, 239, 255, 0.12);
    border-radius: 18px;
    background: rgba(12, 20, 40, 0.78);
}

.panel-item span,
.panel-metric span {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.panel-item strong,
.panel-metric strong {
    font-size: 1rem;
    color: var(--text-main);
}

.panel-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-metric {
    flex: 1 1 180px;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: rgba(8, 15, 30, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.content-section {
    padding: 4.8rem 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 2.1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 720px;
}

.section-tag {
    display: inline-flex;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(100, 239, 255, 0.10);
    border: 1px solid rgba(100, 239, 255, 0.18);
    color: var(--cyan);
    margin-bottom: 0.95rem;
}

.ebook-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

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

.ebook-card,
.stack-card,
.pricing-card {
    padding: 1.4rem;
    border-radius: 24px;
    border: 1px solid rgba(100, 239, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(11, 19, 38, 0.92) 0%, rgba(7, 12, 24, 0.88) 100%);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ebook-card::after,
.stack-card::after,
.pricing-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(100, 239, 255, 0.16), rgba(255, 184, 106, 0.04)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.ebook-card:hover,
.stack-card:hover,
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 239, 255, 0.24);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.38);
}

.ebook-index {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--lime);
}

.ebook-card h3,
.stack-card h3,
.pricing-card h3 {
    font-size: 1.42rem;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 0.7rem;
}

.ebook-card p,
.stack-card p,
.access-copy {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.pricing-card .feature-list {
    margin-bottom: 1.25rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-main);
    font-size: 0.96rem;
}

.feature-list i {
    width: 1rem;
    height: 1rem;
    color: var(--lime);
    flex-shrink: 0;
}

.stack-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, rgba(100, 239, 255, 0.18), rgba(100, 239, 255, 0.06));
    border: 1px solid rgba(100, 239, 255, 0.18);
    color: var(--cyan);
}

.stack-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

.stack-note {
    display: inline-flex;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 184, 106, 0.08);
    border: 1px solid rgba(255, 184, 106, 0.16);
    color: #ffd7ad;
}

.access-section .section-header {
    margin-bottom: 2.4rem;
}

.pricing-card {
    padding-top: 1.6rem;
}

.access-code {
    color: var(--cyan);
    margin-bottom: 0.7rem;
}

.popular {
    border-color: rgba(255, 184, 106, 0.24);
    box-shadow: 0 28px 52px rgba(255, 184, 106, 0.10), var(--shadow-md);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 184, 106, 0.14);
    border: 1px solid rgba(255, 184, 106, 0.24);
    color: #ffe0ba;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price {
    font-size: clamp(2.4rem, 5vw, 3.3rem);
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.price span {
    margin-left: 0.4rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0.04em;
}

.section-collections,
.section-vault,
.section-access {
    position: relative;
}

.section-collections::before,
.section-vault::before,
.section-access::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    pointer-events: none;
}

.section-collections {
    padding: 3.2rem 1.5rem;
    border: 1px solid rgba(100, 239, 255, 0.08);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(6, 12, 27, 0.36) 0%, rgba(6, 11, 22, 0) 100%);
}

.section-collections::before {
    border: 1px solid rgba(120, 255, 188, 0.05);
}

.section-vault {
    padding: 3.2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(100, 239, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(8, 14, 30, 0.76) 0%, rgba(6, 11, 22, 0.48) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.section-vault::before {
    border: 1px solid rgba(100, 239, 255, 0.06);
}

.section-access {
    padding: 3.2rem 1.5rem;
    border: 1px solid rgba(255, 184, 106, 0.08);
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(255, 184, 106, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(11, 18, 35, 0.74) 0%, rgba(6, 10, 20, 0.9) 100%);
}

.section-access::before {
    border: 1px solid rgba(255, 184, 106, 0.06);
}

.section-collections .ebook-card:nth-child(2) {
    transform: translateY(-10px);
}

.section-vault .stack-card {
    background:
        linear-gradient(180deg, rgba(13, 23, 45, 0.95) 0%, rgba(7, 12, 24, 0.88) 100%);
}

.section-access .pricing-card {
    background:
        linear-gradient(180deg, rgba(16, 24, 46, 0.95) 0%, rgba(8, 13, 24, 0.9) 100%);
}

.section-access .section-tag {
    background: rgba(255, 184, 106, 0.12);
    border-color: rgba(255, 184, 106, 0.18);
    color: #ffd9b0;
}

.site-footer {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto 2rem;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.4rem;
    flex-wrap: wrap;
    padding-bottom: 1.2rem;
}

.footer-grid h3 {
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.footer-grid p {
    color: var(--text-muted);
    max-width: 620px;
}

.footer-contact {
    display: grid;
    gap: 0.8rem;
    min-width: 280px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(8, 15, 30, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.footer-contact i {
    width: 1rem;
    height: 1rem;
    color: var(--cyan);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.92rem;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.24s;
}

.delay-3 {
    transition-delay: 0.36s;
}

@keyframes sweep {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

@media (max-width: 1040px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 2.8rem;
    }

    .hero-copy,
    .section-header {
        max-width: none;
    }

    .ebook-grid,
    .pricing-grid,
    .stack-grid {
        grid-template-columns: 1fr;
    }

    .section-collections .ebook-card:nth-child(2) {
        transform: none;
    }
}

@media (max-width: 760px) {
    .navbar {
        padding: 0.85rem 1rem;
        width: calc(100% - 20px);
        top: 10px;
    }

    .nav-links {
        display: none;
    }

    .page-shell,
    .site-footer {
        width: calc(100% - 20px);
    }

    .page-shell {
        padding-top: 96px;
    }

    .hero {
        padding-top: 2rem;
    }

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

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .footer-contact {
        width: 100%;
    }

    .section-collections,
    .section-vault,
    .section-access {
        padding: 2.2rem 1rem;
        border-radius: 26px;
    }
}
