:root {
    --bg: #061428;
    --panel: rgba(10, 28, 54, 0.92);
    --line: rgba(122, 180, 255, 0.28);
    --text: #edf4ff;
    --muted: #a9c0e1;
    --accent: #27d6a4;
    --accent-2: #5ea7ff;
    --warn: #ffd1a1;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 5% 10%, rgba(94, 167, 255, 0.14), transparent 30%),
        radial-gradient(circle at 85% 0%, rgba(39, 214, 164, 0.12), transparent 28%),
        var(--bg);
    transition: background .25s ease, color .25s ease;
}

body[data-theme='light'] {
    --bg: #eef4fb;
    --panel: rgba(255, 255, 255, 0.94);
    --line: rgba(13, 61, 122, 0.16);
    --text: #10233f;
    --muted: #48627f;
    --warn: #9a3412;
    background:
        radial-gradient(circle at 5% 10%, rgba(94, 167, 255, 0.16), transparent 28%),
        radial-gradient(circle at 85% 0%, rgba(39, 214, 164, 0.1), transparent 24%),
        var(--bg);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px);
    background: rgba(6, 20, 40, 0.82);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-logo {
    width: 180px;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.main-nav a {
    font-size: 0.87rem;
    font-weight: 700;
    color: #d8e6fb;
    border: 1px solid transparent;
    border-radius: 99px;
    padding: 0.5rem 0.78rem;
}

.main-nav a:hover,
.main-nav a.active {
    border-color: var(--line);
    background: rgba(99, 154, 241, 0.16);
}

.main-nav .nav-login {
    margin-left: 0.35rem;
    background: linear-gradient(125deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: #05203f;
}

.main-nav .nav-login:hover,
.main-nav .nav-login.active {
    color: #05203f;
    border-color: transparent;
    background: linear-gradient(125deg, #3ce2b2, #76b7ff);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(13, 35, 66, 0.86);
    color: var(--text);
    border-radius: 10px;
    padding: 0.5rem 0.7rem;
    font-weight: 700;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: rgba(13, 35, 66, 0.86);
    color: var(--text);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    background: rgba(99, 154, 241, 0.16);
}

.theme-toggle-icon {
    font-size: 1rem;
    line-height: 1;
}

.section {
    padding: 2.35rem 0;
}

.section.alt {
    background: rgba(8, 27, 52, 0.58);
    border-top: 1px solid rgba(122, 180, 255, 0.16);
    border-bottom: 1px solid rgba(122, 180, 255, 0.16);
}

.section-alt-soft {
    background: linear-gradient(180deg, rgba(10, 26, 50, 0.42), rgba(6, 20, 40, 0.08));
    border-top: 1px solid rgba(122, 180, 255, 0.12);
    border-bottom: 1px solid rgba(122, 180, 255, 0.12);
}

.portal-section-tight {
    padding-top: 0.15rem;
}

.hero-grid,
.two-col {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.12fr 0.88fr;
}

.hero h1,
.section h1 {
    margin: 0;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 4.2vw, 2.9rem);
    line-height: 1.18;
}

.eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ec0ef;
    font-weight: 700;
}

body[data-theme='light'] .eyebrow,
body[data-theme='light'] .hero-slide-caption {
    color: #4b6f98;
}

.lead {
    margin: 0.8rem 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.hero-panel,
.card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    padding: 1rem;
}

.hero-panel h2,
.card h2,
.card h3 {
    margin-top: 0;
}

.hero-panel ul {
    margin: 0;
    padding-left: 1rem;
    color: #cae0ff;
    line-height: 1.9;
}

.hero-copy-slider {
    position: relative;
    min-height: 270px;
}

.hero-copy-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .45s ease, transform .45s ease;
    pointer-events: none;
}

.hero-copy-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-media {
    min-height: 340px;
    position: relative;
    overflow: hidden;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 320px;
}

.hero-media-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: contain;
    display: block;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: translateX(10px) scale(0.985);
    transition: opacity .45s ease, transform .45s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.hero-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    margin: 0;
    text-align: center;
    color: #9ec0ef;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 12px;
    border: 1px dashed rgba(122, 180, 255, 0.35);
    background: rgba(15, 45, 86, 0.55);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    color: #9ec0ef;
}

.hero-media-placeholder strong {
    color: #d9e9ff;
    font-size: 1.03rem;
}

.hero-media-placeholder p {
    margin: 0;
    color: #acc8ee;
    font-size: 0.9rem;
    line-height: 1.6;
}

.hero-media-placeholder small {
    font-size: 0.74rem;
    color: #7ca4d5;
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    margin-top: 0.66rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(158, 192, 239, 0.33);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.hero-dot.is-active {
    background: #56c6f8;
    transform: scale(1.25);
}

.hero-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-trust-strip {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-trust-strip span {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(103, 156, 240, 0.11);
    border: 1px solid rgba(122, 180, 255, 0.2);
    color: #cfe1fa;
    font-size: 0.77rem;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 11px;
    border: 1px solid transparent;
    padding: 0.62rem 0.86rem;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
}

.btn.btn-primary {
    color: #05203f;
    background: linear-gradient(125deg, var(--accent), var(--accent-2));
}

.btn.btn-soft {
    color: #ddebff;
    border-color: var(--line);
    background: rgba(103, 156, 240, 0.13);
}

.btn[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
}

.btn.is-loading::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(5, 32, 63, 0.35);
    border-top-color: #05203f;
    animation: spin 0.8s linear infinite;
}

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

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

.compact-heading {
    margin-bottom: 0;
}

.page-hero-shell {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1.25rem;
}

.page-side-panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(12, 30, 58, 0.96), rgba(10, 24, 46, 0.9));
    padding: 1.15rem;
    box-shadow: 0 18px 34px rgba(3, 10, 24, 0.28);
}

.page-side-kicker,
.footer-kicker,
.footer-title {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8cb7eb;
}

.page-side-panel strong {
    display: block;
    margin-top: 0.65rem;
    font-size: 1.5rem;
    color: #eff6ff;
}

.page-side-panel p {
    margin: 0.55rem 0 0;
    color: #c6d9f3;
}

.page-side-list {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 0;
    display: grid;
    gap: 0.6rem;
}

.page-side-list li {
    position: relative;
    padding-left: 1rem;
    color: #d7e6fb;
    font-size: 0.88rem;
    line-height: 1.55;
}

.page-side-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(125deg, var(--accent), var(--accent-2));
}

.card-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pricing-grid {
    display: flex;
    align-items: stretch;
    gap: 0.95rem;
}

.card p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.card strong {
    display: block;
    margin-top: 0.6rem;
    font-size: 1.06rem;
    color: #cde5ff;
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    flex: 1;
}

.plan-card .plan-label {
    margin: 0;
    width: fit-content;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    color: #cae0ff;
    border: 1px solid rgba(122, 180, 255, 0.35);
    background: rgba(94, 167, 255, 0.16);
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(122, 180, 255, 0.48);
}

.plan-card:focus-visible {
    outline: 2px solid rgba(94, 167, 255, 0.7);
    outline-offset: 2px;
}

.plan-card.is-active {
    border-color: rgba(39, 214, 164, 0.78);
    box-shadow: 0 0 0 1px rgba(39, 214, 164, 0.3), 0 20px 34px rgba(6, 20, 40, 0.52);
    transform: translateY(-8px) scale(1.03);
    z-index: 2;
}

.plan-card.is-active .plan-label {
    color: #08243f;
    border-color: transparent;
    background: linear-gradient(130deg, var(--accent), var(--accent-2));
}

.plan-state {
    margin: 0.15rem 0 0;
    font-size: 0.76rem;
    font-weight: 700;
    color: #95b5dd;
}

.plan-meta {
    margin: 0.15rem 0 0;
    font-size: 0.76rem;
    color: #b7d0f1;
    line-height: 1.5;
}

.plan-meta strong {
    display: inline;
    margin: 0;
    font-size: inherit;
    color: #d4e9ff;
}

.plan-card.is-active .plan-state {
    color: #8ef1cf;
}

.plan-features {
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.42rem;
}

.plan-features li {
    position: relative;
    padding-left: 1.4rem;
    color: #cae0ff;
    font-size: 0.83rem;
}

.plan-features li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
}

.plan-features li.on::before {
    content: '✓';
    color: var(--accent);
}

.plan-features li.off {
    color: #87a3c7;
}

.plan-features li.off::before {
    content: '✕';
    color: #ff9b95;
}

.plan-features li.feature-title {
    margin-top: 0.25rem;
    padding-left: 0;
    color: #dbeafe;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.plan-features li.feature-title::before {
    content: none;
}

.plan-cta {
    margin-top: auto;
}

.plan-note {
    margin: 0.3rem 0 0;
    font-size: 0.76rem;
    color: #93b7de;
}

.plan-card.is-active .plan-cta {
    color: #05203f;
    border-color: transparent;
    background: linear-gradient(125deg, var(--accent), var(--accent-2));
}

.portal-overview-grid,
.journey-grid,
.signature-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.portal-highlight-card,
.portal-stat-card,
.journey-card,
.signature-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 28, 54, 0.88);
    padding: 1.1rem;
}

.portal-highlight-card {
    grid-column: span 2;
}

.portal-highlight-card h3,
.journey-card h3,
.signature-card h3,
.feature-band h3 {
    margin: 0.35rem 0 0;
}

.portal-highlight-card p,
.portal-stat-card span,
.journey-card p,
.signature-card p,
.feature-band p {
    color: #bfd2ee;
}

.portal-stat-card strong,
.journey-step {
    display: block;
    color: #eef5ff;
    font-size: 1.35rem;
    font-weight: 800;
}

.accent-blue {
    background: linear-gradient(145deg, rgba(17, 40, 77, 0.96), rgba(10, 26, 49, 0.92));
}

.accent-green {
    background: linear-gradient(145deg, rgba(11, 47, 55, 0.94), rgba(8, 28, 44, 0.92));
}

.journey-step {
    color: #74c8ff;
}

.feature-stack {
    display: grid;
    gap: 1rem;
}

.feature-band {
    border: 1px solid rgba(122, 180, 255, 0.18);
    border-radius: 18px;
    padding: 1.1rem 1.15rem;
    background: linear-gradient(180deg, rgba(8, 27, 52, 0.78), rgba(7, 19, 37, 0.74));
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
}

.accent-band {
    background: linear-gradient(180deg, rgba(11, 41, 54, 0.82), rgba(7, 19, 37, 0.72));
}

.feature-grid-elevated {
    gap: 0.75rem;
}

.feature-card-elevated {
    min-height: 180px;
    background: linear-gradient(180deg, rgba(12, 31, 58, 0.92), rgba(8, 21, 41, 0.92));
}

.product-support-grid {
    margin-top: 1.1rem;
}

.featured-product-banner {
    display: grid;
    grid-template-columns: 0.42fr 1.58fr;
    gap: 1rem;
    align-items: center;
}

.featured-product-cover {
    display: grid;
    place-items: center;
}

.featured-product-banner h2 {
    margin: 0.3rem 0 0;
}

.featured-product-meta {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.featured-product-meta span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #cae0ff;
    border: 1px solid rgba(122, 180, 255, 0.24);
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    background: rgba(103, 156, 240, 0.09);
}

.featured-product-actions {
    display: grid;
    gap: 0.55rem;
    align-content: center;
    margin-top: 0.9rem;
}

.product-open-detail {
    width: 100%;
}

.product-square-image {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(122, 180, 255, 0.26);
    background: rgba(11, 34, 66, 0.72);
}

.product-image-placeholder {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 1px dashed rgba(122, 180, 255, 0.4);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 0.7rem;
    color: #9ec0ef;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
}

.product-grid-standard {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card-standard {
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 100%;
}

.product-card-standard h3,
.product-card-standard strong,
.product-card-standard p {
    color: #e8f3ff;
}

.product-card-standard .plan-label {
    color: #99c3f4;
}

.product-card-link {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}

.product-card-standard .product-square-image,
.product-card-standard .product-image-placeholder {
    max-width: 100%;
}

.product-card-standard .product-square-image {
    max-height: 170px;
}

.product-card-standard h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.product-card-standard .product-card-hint {
    margin-top: auto;
}

.product-card-standard:hover {
    transform: translateY(-2px);
    border-color: rgba(122, 180, 255, 0.42);
}

.product-card-standard.is-selected {
    border-color: rgba(39, 214, 164, 0.7);
    box-shadow: 0 0 0 1px rgba(39, 214, 164, 0.22), 0 14px 24px rgba(6, 20, 40, 0.35);
}

.product-card-hint {
    margin-top: 0.4rem;
    font-size: 0.76rem;
    color: #9ec0ef;
    font-weight: 700;
}

.product-mini-actions {
    margin-top: 0.55rem;
    display: flex;
    gap: 0.45rem;
}

.product-mini-actions .btn {
    flex: 1;
}

.product-detail-panel h2 {
    margin-top: 0.2rem;
}

.product-detail-description {
    margin-top: 0.35rem;
}

.product-spec-shell {
    margin-top: 0.85rem;
}

.product-spec-shell h3 {
    margin: 0;
}

.product-spec-list {
    margin: 0.5rem 0 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.38rem;
}

.product-spec-list li {
    color: #c7ddfb;
    line-height: 1.55;
}

.product-spec-list strong {
    color: #e8f3ff;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 0.45fr 1.55fr;
    gap: 1rem;
    align-items: start;
}

.product-spec-richtext {
    margin-top: 0.55rem;
    color: #c7ddfb;
    line-height: 1.7;
    white-space: normal;
}

.product-module-reference {
    margin-top: .8rem;
    border-top: 1px solid rgba(122, 180, 255, 0.18);
    padding-top: .7rem;
}

.product-module-reference h4 {
    margin: 0 0 .45rem;
    font-size: .86rem;
    color: #d8e8ff;
}

.product-module-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
}

.product-module-list li {
    border: 1px solid rgba(122, 180, 255, 0.2);
    border-radius: 8px;
    padding: .38rem .45rem;
    background: rgba(255,255,255,.02);
    display: grid;
    gap: .1rem;
}

.product-module-list span {
    color: #e7f2ff;
    font-size: .82rem;
    font-weight: 700;
}

.product-module-list small {
    color: #9ec0ef;
    font-size: .73rem;
}

.narrow {
    width: min(800px, calc(100% - 2rem));
}

.prose p {
    margin-top: 0.7rem;
}

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

.field {
    display: grid;
    gap: 0.33rem;
}

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

.field label {
    color: #c5dbfa;
    font-size: 0.78rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(8, 25, 49, 0.78);
    color: #edf5ff;
    padding: 0.58rem 0.65rem;
    font-family: inherit;
}

.flash-wrap {
    margin-top: 0.9rem;
}

.flash {
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: 0.66rem 0.78rem;
    font-size: 0.84rem;
}

.flash.success {
    color: #ceffe9;
    border-color: rgba(39, 214, 164, 0.42);
    background: rgba(39, 214, 164, 0.14);
}

.flash.error {
    color: var(--warn);
    border-color: rgba(255, 168, 100, 0.4);
    background: rgba(255, 168, 100, 0.11);
}

.site-footer {
    margin-top: 1.4rem;
    border-top: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(7, 19, 37, 0.96), rgba(6, 15, 30, 0.98)),
        rgba(8, 25, 49, 0.82);
}

.footer-shell {
    padding: 1.8rem 0 1.25rem;
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr 1.1fr;
    gap: 1rem;
}

.footer-shell h3 {
    margin: 0;
}

.footer-shell p {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.footer-shell a {
    color: #cfe4ff;
    text-decoration: none;
}

.footer-shell a:hover {
    text-decoration: underline;
}

.footer-brand-block,
.footer-links-block,
.footer-contact-block,
.footer-cta-block {
    display: grid;
    align-content: start;
    gap: 0.45rem;
}

.footer-links-block a {
    width: fit-content;
    color: #d8e8ff;
    font-size: 0.86rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.4rem;
}

.footer-badges span {
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(122, 180, 255, 0.2);
    background: rgba(103, 156, 240, 0.08);
    color: #cfe2ff;
    font-size: 0.74rem;
    font-weight: 700;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.35rem;
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0 1.3rem;
    border-top: 1px solid rgba(122, 180, 255, 0.12);
}

.footer-meta p {
    margin: 0;
    color: #98b4d8;
    font-size: 0.78rem;
}

body[data-theme='light'] .site-header {
    background: rgba(255, 255, 255, 0.86);
}

body[data-theme='light'] .main-nav a {
    color: #173657;
}

body[data-theme='light'] .main-nav a:hover,
body[data-theme='light'] .main-nav a.active,
body[data-theme='light'] .theme-toggle,
body[data-theme='light'] .menu-toggle {
    background: rgba(94, 167, 255, 0.1);
    color: #173657;
}

body[data-theme='light'] .btn.btn-soft {
    color: #173657;
    border-color: rgba(13, 61, 122, 0.24);
    background: rgba(94, 167, 255, 0.16);
}

body[data-theme='light'] .btn.btn-soft:hover {
    background: rgba(94, 167, 255, 0.24);
}

body[data-theme='light'] .btn[disabled] {
    opacity: 0.92;
    color: #8da7c5;
    border-color: rgba(141, 167, 197, 0.48);
    background: rgba(217, 227, 240, 0.72);
}

body[data-theme='light'] .page-side-panel,
body[data-theme='light'] .portal-highlight-card,
body[data-theme='light'] .portal-stat-card,
body[data-theme='light'] .journey-card,
body[data-theme='light'] .signature-card,
body[data-theme='light'] .feature-band,
body[data-theme='light'] .feature-card-elevated {
    background: rgba(255, 255, 255, 0.94);
}

body[data-theme='light'] .portal-highlight-card p,
body[data-theme='light'] .portal-stat-card span,
body[data-theme='light'] .journey-card p,
body[data-theme='light'] .signature-card p,
body[data-theme='light'] .feature-band p,
body[data-theme='light'] .hero-trust-strip span,
body[data-theme='light'] .hero-slide-caption,
body[data-theme='light'] .section-subtext {
    color: #48627f;
}

body[data-theme='light'] .portal-highlight-card h3,
body[data-theme='light'] .journey-card h3,
body[data-theme='light'] .signature-card h3,
body[data-theme='light'] .feature-band h3,
body[data-theme='light'] .portal-stat-card strong,
body[data-theme='light'] .journey-step,
body[data-theme='light'] .page-side-panel strong,
body[data-theme='light'] .page-side-list li,
body[data-theme='light'] .page-side-panel p,
body[data-theme='light'] .footer-meta p,
body[data-theme='light'] .footer-shell p,
body[data-theme='light'] .footer-shell a,
body[data-theme='light'] .footer-badges span {
    color: #173657;
}

body[data-theme='light'] .card strong,
body[data-theme='light'] .plan-state,
body[data-theme='light'] .plan-meta,
body[data-theme='light'] .plan-note,
body[data-theme='light'] .plan-features li,
body[data-theme='light'] .plan-features li.feature-title,
body[data-theme='light'] .screenshot-placeholder span,
body[data-theme='light'] .screenshot-placeholder small {
    color: #2f4e72;
}

body[data-theme='light'] .plan-meta strong,
body[data-theme='light'] .plan-card h3,
body[data-theme='light'] .plan-price {
    color: #173657;
}

body[data-theme='light'] .plan-features li.off {
    color: #6f86a3;
}

body[data-theme='light'] .plan-card .plan-label {
    color: #1e4b76;
    border-color: rgba(13, 61, 122, 0.2);
    background: rgba(94, 167, 255, 0.13);
}

body[data-theme='light'] .plan-card.is-active {
    box-shadow: 0 0 0 1px rgba(39, 214, 164, 0.25), 0 14px 26px rgba(55, 87, 125, 0.22);
}

body[data-theme='light'] .screenshot-placeholder {
    border-color: #b8cbe2;
    background: #f6f9fe;
}

body[data-theme='light'] .featured-product-meta span {
    color: #28476a;
    border-color: rgba(13, 61, 122, 0.2);
    background: rgba(94, 167, 255, 0.12);
}

body[data-theme='light'] .product-card-standard h3,
body[data-theme='light'] .product-card-standard strong,
body[data-theme='light'] .product-card-standard p,
body[data-theme='light'] .product-spec-richtext {
    color: #173657;
}

body[data-theme='light'] .product-card-standard .plan-label {
    color: #3e648f;
}

body[data-theme='light'] .product-card-hint,
body[data-theme='light'] .product-spec-list li {
    color: #456486;
}

body[data-theme='light'] .product-spec-list strong {
    color: #173657;
}

body[data-theme='light'] .product-image-placeholder {
    color: #355a85;
    border-color: rgba(13, 61, 122, 0.25);
    background: #f2f7ff;
}

body[data-theme='light'] .site-footer {
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(238, 244, 251, 0.98));
}

body[data-theme='light'] .footer-meta {
    border-top-color: rgba(13, 61, 122, 0.1);
}

body[data-theme='light'] .screenshot-label {
    color: #274567;
}

body[data-theme='light'] .about-pill {
    border-color: rgba(13, 61, 122, 0.25);
    background: rgba(13, 61, 122, 0.08);
    color: #0d3d7a;
}

body[data-theme='light'] .about-layout .prose h2,
body[data-theme='light'] .about-layout .prose h3 {
    color: #1e293b;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1040px) {
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .two-col,
    .page-hero-shell,
    .feature-band {
        grid-template-columns: 1fr;
    }

    .portal-highlight-card {
        grid-column: span 2;
    }

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

    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-product-banner {
        grid-template-columns: 1fr;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

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

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

    .main-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.4rem);
        padding: 0.7rem;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: rgba(8, 25, 49, 1);
        box-shadow: 0 16px 30px rgba(4, 16, 33, 0.35);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .main-nav.open {
        display: flex;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .split-heading {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 920px) {
    body[data-theme='light'] .site-header {
        background: rgba(255, 255, 255, 0.96);
    }

    body[data-theme='light'] .main-nav {
        background: rgba(255, 255, 255, 0.99);
        border-color: rgba(13, 61, 122, 0.16);
        box-shadow: 0 14px 24px rgba(56, 90, 130, 0.2);
    }

    body[data-theme='light'] .main-nav a {
        color: #173657;
    }

    body[data-theme='light'] .main-nav .nav-login {
        color: #05203f;
    }
}

@media (max-width: 700px) {
    .public-form {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .plan-card.is-active {
        transform: none;
    }

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

    .portal-highlight-card {
        grid-column: span 1;
    }

    .product-grid-standard {
        grid-template-columns: 1fr;
    }

    .product-module-list {
        grid-template-columns: 1fr;
    }
}

/* -- Section alt background ---------------------------------- */
.section-alt {
    background: #f0f4ff;
}
.section-subtext {
    color: #64748b;
    margin-top: .25rem;
}

.section-subtext-dark {
    color: #334155;
}

.package-scope-grid {
    margin-top: 1.1rem;
}

.package-scope-card {
    border-color: rgba(13, 61, 122, 0.18);
    background: #ffffff;
    color: #0f172a;
}

.package-scope-card h3 {
    color: #0f172a;
}

.package-scope-card p {
    color: #475569;
}

.package-scope-list {
    margin: 0.3rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.package-scope-list li {
    position: relative;
    padding-left: 1.35rem;
    color: #334155;
    font-size: 0.84rem;
    line-height: 1.5;
}

.package-scope-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
}

.package-scope-list li.on::before {
    content: '✓';
    color: #0ea5a4;
}

.package-scope-list li.off {
    color: #64748b;
}

.package-scope-list li.off::before {
    content: '✕';
    color: #ef4444;
}

/* -- Halaman Tentang � about-layout --------------------------- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1rem;
    align-items: start;
}
.about-pill-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.about-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(122, 180, 255, 0.22);
    background: rgba(94, 167, 255, 0.12);
    color: #cfe4ff;
    font-size: 0.76rem;
    font-weight: 700;
}
.about-layout .prose h2 {
    margin: 0 0 .5rem;
    font-size: 1.25rem;
    color: #eaf3ff;
}
.about-layout .prose h3 {
    margin: 1.5rem 0 .5rem;
    font-size: 1rem;
    color: #d6e8ff;
}
.hki-badge {
    display: inline-block;
    background: #0d3d7a;
    color: #fff;
    padding: .1rem .6rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: .95rem;
    letter-spacing: .03em;
}
.hki-img {
    width: min(100%, 260px);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
    margin-top: .5rem;
    border: 1px solid #e2e8f0;
    display: block;
}

.hki-preview-wrap {
    margin-top: 1rem;
}

/* -- Creator card ------------------------------------------- */
.creator-card {
    text-align: left;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: rgba(13, 61, 122, 0.18);
    box-shadow: 0 18px 36px rgba(4, 13, 28, 0.24);
}

.creator-card p {
    color: #5a7193;
}
.creator-photo {
    width: 100%;
    max-height: 340px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(13, 61, 122, 0.2);
    margin: 0 0 1rem;
    display: block;
}
.creator-avatar {
    width: 100%;
    height: 190px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d3d7a, #1a73e8);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1rem;
}
.creator-label {
    margin: 0;
    color: #0d3d7a;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.creator-card h2 {
    font-size: 1.4rem;
    color: #1e293b;
    margin: .3rem 0 .25rem;
}

.creator-card strong,
.creator-card h2,
.creator-card .contact-value,
.creator-card .contact-label {
    color: #173657;
}

.creator-title {
    font-size: .85rem;
    color: #6c84a6;
    margin-bottom: 1rem;
}
.creator-contact {
    text-align: left;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-top: 1rem;
}
.contact-row {
    display: flex;
    gap: .5rem;
    align-items: baseline;
    margin-bottom: .5rem;
    font-size: .88rem;
}
.contact-label {
    min-width: 70px;
    color: #64748b;
    font-weight: 500;
    flex-shrink: 0;
}
.contact-value {
    color: #1e293b;
    word-break: break-all;
}
a.contact-value {
    color: #0d3d7a;
    text-decoration: none;
}
a.contact-value:hover {
    text-decoration: underline;
}

.creator-actions {
    margin-top: 1rem;
}

.creator-card .btn-soft {
    color: #173657;
    border-color: rgba(13, 61, 122, 0.22);
    background: rgba(94, 167, 255, 0.12);
}

.creator-card .btn-soft:hover {
    background: rgba(94, 167, 255, 0.18);
}

.founder-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(13, 61, 122, 0.08), rgba(94, 167, 255, 0.06));
    border: 1px solid rgba(13, 61, 122, 0.12);
}

.founder-note p {
    margin: 0;
    color: #304a69;
}

/* -- Screenshot gallery ------------------------------------- */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
    margin-top: 1.2rem;
}
.screenshot-item {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.screenshot-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.screenshot-placeholder {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    color: #94a3b8;
}
.screenshot-placeholder span {
    font-size: .95rem;
    font-weight: 600;
    color: #64748b;
}
.screenshot-placeholder small {
    font-size: .72rem;
    text-align: center;
    padding: 0 .5rem;
}
.screenshot-label {
    font-size: .88rem;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

/* -- Responsive -------------------------------------------- */
@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-copy-slider {
        min-height: 300px;
    }

    .hero-media {
        min-height: 270px;
    }

    .hero-slider-track {
        height: 250px;
    }

    .hero-media-img,
    .hero-media-placeholder {
        min-height: 250px;
    }
}
@media (max-width: 600px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   FEATURES PAGE
   ================================================================ */
.features-page-head {
    max-width: 760px;
    margin-bottom: 1.4rem;
}

.features-page-head h1 {
    margin: .4rem 0 0;
}

.features-sub {
    margin: .7rem 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 640px;
}

.features-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 2rem;
}

.features-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    border: 1px solid rgba(39, 214, 164, 0.3);
    background: rgba(39, 214, 164, 0.08);
    color: #9ef5d6;
    font-size: .78rem;
    font-weight: 700;
}

body[data-theme='light'] .features-trust-strip span {
    border-color: rgba(0, 150, 110, 0.25);
    background: rgba(0, 150, 110, 0.08);
    color: #006b4f;
}

.feature-category-head {
    margin: 2rem 0 .85rem;
}

.feature-category-head h2 {
    margin: .25rem 0 0;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    transition: transform .2s ease, border-color .2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(94, 167, 255, 0.42);
}

.feature-card-icon {
    font-size: 1.55rem;
    line-height: 1;
    margin-bottom: .1rem;
}

.feature-card h3 {
    margin: 0;
    font-size: .95rem;
}

.feature-card p {
    font-size: .84rem;
    line-height: 1.65;
    margin: 0;
}

.features-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(135deg, rgba(39, 214, 164, 0.12), rgba(94, 167, 255, 0.1));
    border-color: rgba(39, 214, 164, 0.28);
}

.features-cta-band h2 {
    margin: 0;
    font-size: 1.2rem;
}

.features-cta-band p {
    margin: .3rem 0 0;
    color: var(--muted);
    font-size: .9rem;
}

body[data-theme='light'] .features-cta-band {
    background: linear-gradient(135deg, rgba(0, 150, 110, 0.06), rgba(13, 61, 122, 0.06));
    border-color: rgba(0, 150, 110, 0.2);
}

@media (max-width: 860px) {
    .feature-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .features-cta-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 540px) {
    .feature-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   PRODUCTS PAGE — Marketplace Style
   ================================================================ */

/* --- Featured Product Hero --- */
.product-shop-hero {
    position: relative;
    padding: 1.6rem;
    margin-bottom: 2rem;
    border-color: rgba(39, 214, 164, 0.35);
    background: linear-gradient(135deg, rgba(12, 34, 64, 0.96), rgba(8, 24, 46, 0.9));
    box-shadow: 0 0 0 1px rgba(39, 214, 164, 0.18), 0 24px 48px rgba(4, 14, 30, 0.5);
}

body[data-theme='light'] .product-shop-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.96));
    border-color: rgba(0, 150, 110, 0.28);
    box-shadow: 0 0 0 1px rgba(0, 150, 110, 0.14), 0 18px 36px rgba(56, 90, 130, 0.15);
}

.product-featured-tag {
    margin-bottom: 1.2rem;
}

.product-featured-tag span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .32rem .75rem;
    border-radius: 999px;
    background: linear-gradient(125deg, var(--accent), var(--accent-2));
    color: #05203f;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.product-shop-hero-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.8rem;
    align-items: start;
}

.product-shop-hero-img {
    position: sticky;
    top: 1rem;
}

.product-hero-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(122, 180, 255, 0.24);
    display: block;
}

.product-hero-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    border: 1px dashed rgba(122, 180, 255, 0.35);
    background: rgba(15, 45, 86, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    color: #9ec0ef;
    font-size: .9rem;
    font-weight: 700;
}

.product-shop-hero-title {
    margin: .3rem 0 .6rem;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    line-height: 1.2;
}

.product-shop-hero-desc {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 1.1rem;
    max-width: 540px;
}

.product-price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .55rem;
    padding: .9rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(39, 214, 164, 0.28);
    background: rgba(39, 214, 164, 0.08);
    margin-bottom: 1rem;
}

.product-price-main {
    font-size: 1.75rem;
    font-weight: 800;
    color: #eef6ff;
    font-family: 'Sora', sans-serif;
    display: inline;
    margin: 0;
}

.product-price-note {
    font-size: .8rem;
    font-weight: 700;
    color: #8ef1cf;
}

body[data-theme='light'] .product-price-block {
    border-color: rgba(0, 150, 110, 0.22);
    background: rgba(0, 150, 110, 0.06);
}

body[data-theme='light'] .product-price-main {
    color: #0f2942;
}

body[data-theme='light'] .product-price-note {
    color: #006b4f;
}

.product-trust-list {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    display: grid;
    gap: .38rem;
}

.product-trust-list li {
    position: relative;
    padding-left: 1.35rem;
    color: #c8e0fa;
    font-size: .85rem;
}

.product-trust-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 800;
}

body[data-theme='light'] .product-trust-list li {
    color: #1e3a5f;
}

body[data-theme='light'] .product-trust-list li::before {
    color: #007a55;
}

.product-shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

/* --- Other Products Section Header --- */
.product-shop-section-head {
    margin: 0 0 1rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--line);
}

.product-shop-section-head h2 {
    margin: 0 0 .2rem;
    font-size: 1.3rem;
}

.product-shop-section-head p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
}

/* --- Product Grid & Cards --- */
.product-shop-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-shop-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.product-shop-card:hover {
    transform: translateY(-3px);
    border-color: rgba(94, 167, 255, 0.42);
    box-shadow: 0 12px 24px rgba(4, 14, 30, 0.35);
}

.product-shop-card-img-link {
    display: block;
}

.product-shop-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--line);
}

.product-shop-card-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    background: rgba(12, 32, 62, 0.72);
    color: #7ea9da;
    font-size: .82rem;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}

body[data-theme='light'] .product-shop-card-img-placeholder {
    background: #f0f5ff;
    color: #4b6f98;
}

.product-shop-card-body {
    padding: .85rem .9rem .5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.product-shop-card-name {
    margin: .15rem 0 0;
    font-size: .95rem;
    line-height: 1.3;
}

.product-shop-card-name a {
    color: inherit;
    text-decoration: none;
}

.product-shop-card-name a:hover {
    text-decoration: underline;
}

.product-shop-card-desc {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.product-shop-card-price-row {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    margin-top: .55rem;
    padding-top: .55rem;
    border-top: 1px solid var(--line);
}

.product-shop-card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #eef6ff;
    display: inline;
    margin: 0;
}

.product-shop-card-license {
    font-size: .72rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 999px;
    border: 1px solid rgba(39, 214, 164, 0.3);
    background: rgba(39, 214, 164, 0.08);
    color: #8ef1cf;
}

body[data-theme='light'] .product-shop-card-price {
    color: #0f2942;
}

body[data-theme='light'] .product-shop-card-license {
    border-color: rgba(0, 150, 110, 0.22);
    background: rgba(0, 150, 110, 0.06);
    color: #006b4f;
}

.product-shop-card-actions {
    display: flex;
    gap: .45rem;
    padding: .6rem .9rem .85rem;
}

.product-shop-card-actions .btn {
    flex: 1;
    font-size: .8rem;
    padding: .5rem .5rem;
}

/* --- Bottom CTA --- */
.product-shop-bottom-cta {
    margin-top: 2rem;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(10, 28, 54, 0.62);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-shop-bottom-cta p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

body[data-theme='light'] .product-shop-bottom-cta {
    background: rgba(240, 246, 255, 0.82);
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .product-shop-hero-inner {
        grid-template-columns: 220px 1fr;
        gap: 1.2rem;
    }
}

@media (max-width: 760px) {
    .product-shop-hero-inner {
        grid-template-columns: 1fr;
    }
    .product-shop-hero-img {
        position: static;
        max-width: 260px;
    }
    .product-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-shop-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .product-shop-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

/* ================================================================
   HOME PAGE
   ================================================================ */

/* --- Value Props --- */
.home-value-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-value-item {
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    display: flex;
    flex-direction: column;
    gap: .45rem;
    transition: transform .2s ease, border-color .2s ease;
}

.home-value-item:hover {
    transform: translateY(-3px);
    border-color: rgba(94, 167, 255, 0.42);
}

.home-value-icon {
    font-size: 1.55rem;
    line-height: 1;
}

.home-value-item h3 {
    margin: 0;
    font-size: .95rem;
    color: #eaf3ff;
}

.home-value-item p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.65;
}

body[data-theme='light'] .home-value-item h3 {
    color: #1e293b;
}

/* --- Section Head (title + "lihat semua") --- */
.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.home-section-head h2 {
    margin: .25rem 0 0;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.home-see-all {
    flex-shrink: 0;
    white-space: nowrap;
}

/* --- Featured Product (home) --- */
.home-featured-product {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.6rem;
    align-items: start;
    padding: 1.4rem;
    margin-bottom: 1rem;
    border-color: rgba(39, 214, 164, 0.3);
    background: linear-gradient(135deg, rgba(12, 34, 64, 0.96), rgba(8, 24, 46, 0.9));
}

body[data-theme='light'] .home-featured-product {
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(240,248,255,.96));
    border-color: rgba(0, 150, 110, 0.25);
}

.home-featured-product-img {
    position: relative;
}

.home-featured-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(122, 180, 255, 0.22);
    display: block;
}

.home-featured-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 1px dashed rgba(122, 180, 255, 0.35);
    background: rgba(15, 45, 86, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .8rem;
    color: #9ec0ef;
    font-size: .82rem;
    font-weight: 700;
}

body[data-theme='light'] .home-featured-img-placeholder {
    background: #f0f5ff;
    color: #4b6f98;
    border-color: rgba(13, 61, 122, 0.22);
}

.home-featured-badge {
    position: absolute;
    top: .55rem;
    left: .55rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .22rem .6rem;
    border-radius: 999px;
    background: linear-gradient(125deg, var(--accent), var(--accent-2));
    color: #05203f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-featured-title {
    margin: .3rem 0 .5rem;
    font-size: 1.35rem;
    line-height: 1.25;
}

.home-featured-desc {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
    margin: 0 0 .85rem;
}

.home-featured-price {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .75rem .95rem;
    border-radius: 10px;
    border: 1px solid rgba(39, 214, 164, 0.25);
    background: rgba(39, 214, 164, 0.07);
    width: fit-content;
}

.home-featured-price strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #eef6ff;
    font-family: 'Sora', sans-serif;
    display: inline;
    margin: 0;
}

.home-featured-price span {
    font-size: .78rem;
    font-weight: 700;
    color: #8ef1cf;
}

body[data-theme='light'] .home-featured-price {
    border-color: rgba(0, 150, 110, 0.2);
    background: rgba(0, 150, 110, 0.05);
}

body[data-theme='light'] .home-featured-price strong {
    color: #0f2942;
}

body[data-theme='light'] .home-featured-price span {
    color: #006b4f;
}

/* --- Home Product Grid (other products) --- */
.home-product-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-product-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease;
}

.home-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(94, 167, 255, 0.4);
}

.home-product-card-img-link {
    display: block;
}

.home-product-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
    display: block;
}

.home-product-card-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .8rem;
    background: rgba(12, 32, 62, 0.72);
    color: #7ea9da;
    font-size: .8rem;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}

body[data-theme='light'] .home-product-card-img-placeholder {
    background: #f0f5ff;
    color: #4b6f98;
}

.home-product-card-body {
    padding: .8rem .9rem .45rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .28rem;
}

.home-product-card-name {
    margin: .1rem 0 0;
    font-size: .95rem;
    line-height: 1.3;
}

.home-product-card-name a {
    color: inherit;
    text-decoration: none;
}

.home-product-card-name a:hover {
    text-decoration: underline;
}

.home-product-card-desc {
    color: var(--muted);
    font-size: .81rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.home-product-card-price {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 1px solid var(--line);
}

.home-product-card-price strong {
    font-size: 1rem;
    font-weight: 800;
    color: #eef6ff;
    display: inline;
    margin: 0;
}

.home-product-card-price span {
    font-size: .72rem;
    font-weight: 700;
    padding: .13rem .45rem;
    border-radius: 999px;
    border: 1px solid rgba(39, 214, 164, 0.28);
    background: rgba(39, 214, 164, 0.07);
    color: #8ef1cf;
}

body[data-theme='light'] .home-product-card-price strong {
    color: #0f2942;
}

body[data-theme='light'] .home-product-card-price span {
    border-color: rgba(0, 150, 110, 0.2);
    background: rgba(0, 150, 110, 0.05);
    color: #006b4f;
}

.home-product-card-actions {
    display: flex;
    gap: .4rem;
    padding: .5rem .9rem .8rem;
}

.home-product-card-actions .btn {
    flex: 1;
    font-size: .8rem;
    padding: .48rem .5rem;
}

/* --- Feature strip (home) --- */
.home-feature-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-feature-item {
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.home-feature-icon {
    font-size: 1.45rem;
    line-height: 1;
    flex-shrink: 0;
}

.home-feature-item h4 {
    margin: 0 0 .3rem;
    font-size: .9rem;
    color: #e8f3ff;
}

.home-feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.6;
}

body[data-theme='light'] .home-feature-item h4 {
    color: #1e293b;
}

/* --- Final CTA --- */
.home-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 1.5rem 1.8rem;
    background: linear-gradient(135deg, rgba(39, 214, 164, 0.1), rgba(94, 167, 255, 0.08));
    border-color: rgba(39, 214, 164, 0.26);
}

.home-final-cta-text h2 {
    margin: 0 0 .3rem;
    font-size: 1.3rem;
}

.home-final-cta-text p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    max-width: 480px;
}

body[data-theme='light'] .home-final-cta {
    background: linear-gradient(135deg, rgba(0, 150, 110, 0.05), rgba(13, 61, 122, 0.05));
    border-color: rgba(0, 150, 110, 0.18);
}

/* --- Responsive --- */
@media (max-width: 1040px) {
    .home-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .home-featured-product {
        grid-template-columns: 1fr;
    }
    .home-featured-product-img {
        max-width: 240px;
    }
    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-final-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .home-value-grid,
    .home-product-grid,
    .home-feature-grid {
        grid-template-columns: 1fr;
    }
    .home-section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================================================================
   HOME PLAN CARDS (product card grid)
   ================================================================ */

.home-plan-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.home-plan-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    border-color: rgba(122, 180, 255, 0.18);
}

.home-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(94, 167, 255, 0.45);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
}

.home-plan-card--featured {
    border-color: rgba(39, 214, 164, 0.45) !important;
    box-shadow: 0 0 0 1px rgba(39, 214, 164, 0.22), 0 6px 28px rgba(39, 214, 164, 0.1);
}

.home-plan-card--featured:hover {
    border-color: rgba(39, 214, 164, 0.7) !important;
    box-shadow: 0 0 0 1px rgba(39, 214, 164, 0.35), 0 10px 36px rgba(39, 214, 164, 0.18);
}

/* Image */
.home-plan-card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.home-plan-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--line);
    transition: transform .35s ease;
}

.home-plan-card:hover .home-plan-card-img {
    transform: scale(1.03);
}

.home-plan-card-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .8rem;
    background: rgba(12, 32, 62, 0.72);
    color: #7ea9da;
    font-size: .82rem;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}

body[data-theme='light'] .home-plan-card-img-placeholder {
    background: #edf2fb;
    color: #4b6f98;
}

.home-plan-badge {
    position: absolute;
    top: .6rem;
    left: .6rem;
    display: inline-flex;
    align-items: center;
    gap: .22rem;
    padding: .24rem .64rem;
    border-radius: 999px;
    background: linear-gradient(125deg, var(--accent), var(--accent-2));
    color: #04182e;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

/* Body */
.home-plan-card-body {
    padding: .9rem 1rem .6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.home-plan-card-name {
    margin: .1rem 0 0;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.home-plan-card-name a {
    color: inherit;
    text-decoration: none;
}

.home-plan-card-name a:hover {
    text-decoration: underline;
}

.home-plan-card-desc {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.65;
    flex: 1;
}

/* Price block */
.home-plan-price-block {
    padding: .7rem 1rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.home-plan-price strong {
    font-size: 1.45rem;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    color: #eef6ff;
    display: block;
    margin: 0;
    line-height: 1.15;
}

.home-plan-card--featured .home-plan-price strong {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-plan-price-note {
    margin: .22rem 0 0;
    font-size: .73rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .02em;
}

body[data-theme='light'] .home-plan-price strong {
    color: #0f2942;
}

body[data-theme='light'] .home-plan-price-block {
    background: rgba(0, 0, 0, 0.02);
}

/* Actions */
.home-plan-actions {
    padding: .75rem 1rem;
    display: flex;
    gap: .5rem;
}

.home-plan-actions .btn {
    flex: 1;
    text-align: center;
    font-size: .84rem;
    padding: .52rem .5rem;
}

/* Responsive */
@media (max-width: 860px) {
    .home-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .home-plan-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   HOME PRICING CARDS
   ================================================================ */

.home-pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.home-pricing-header h2 {
    margin: .25rem 0 .5rem;
}

.home-pricing-subhead {
    color: var(--muted);
    font-size: .92rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid */
.home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: start;
}

/* Card base */
.home-pricing-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(122, 180, 255, 0.2);
    border-radius: 18px;
    background: var(--panel);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(94, 167, 255, 0.42);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .32);
}

/* Popular card */
.home-pricing-card--popular {
    border-color: rgba(39, 214, 164, 0.5);
    box-shadow: 0 0 0 1px rgba(39, 214, 164, 0.2), 0 8px 32px rgba(39, 214, 164, 0.13);
    transform: translateY(-8px);
}

.home-pricing-card--popular:hover {
    border-color: rgba(39, 214, 164, 0.75);
    transform: translateY(-12px);
    box-shadow: 0 0 0 1px rgba(39, 214, 164, 0.32), 0 16px 44px rgba(39, 214, 164, 0.2);
}

/* Popular banner */
.home-pricing-popular-bar {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #04182e;
    text-align: center;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .42rem;
}

/* Head */
.home-pricing-head {
    padding: 1.25rem 1.35rem .9rem;
}

.home-pricing-name {
    margin: 0 0 .3rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #eaf3ff;
}

body[data-theme='light'] .home-pricing-name {
    color: #0f2942;
}

.home-pricing-tagline {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.55;
}

/* Price block */
.home-pricing-price-block {
    padding: .9rem 1.35rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .015);
}

.home-pricing-price strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    color: #eef6ff;
    line-height: 1.1;
    margin: 0;
}

.home-pricing-card--popular .home-pricing-price strong {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-pricing-price-free {
    color: var(--accent) !important;
    -webkit-text-fill-color: unset !important;
    background: none !important;
}

.home-pricing-price-note {
    margin: .3rem 0 0;
    font-size: .72rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .02em;
}

body[data-theme='light'] .home-pricing-price strong {
    color: #0f2942;
}

body[data-theme='light'] .home-pricing-price-block {
    background: rgba(0, 0, 0, .02);
}

/* Features */
.home-pricing-features {
    list-style: none;
    margin: 0;
    padding: 1rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex: 1;
}

.home-pricing-feat-note-item {
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
    font-style: italic;
    padding-bottom: .45rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: .1rem;
    list-style: none;
}

.home-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .86rem;
    color: var(--text);
    line-height: 1.5;
}

.home-pricing-check {
    color: var(--accent);
    font-weight: 900;
    font-size: .82rem;
    flex-shrink: 0;
    margin-top: .1rem;
}

.home-pricing-card--popular .home-pricing-check {
    color: var(--accent);
}

/* Module count badge */
.home-pricing-module-badge {
    margin: 0 1.35rem .85rem;
    padding: .38rem .75rem;
    border-radius: 8px;
    background: rgba(94, 167, 255, .07);
    border: 1px solid rgba(94, 167, 255, .16);
    font-size: .76rem;
    font-weight: 700;
    color: #8bb8ef;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    align-self: flex-start;
}

body[data-theme='light'] .home-pricing-module-badge {
    background: rgba(13, 61, 122, .05);
    border-color: rgba(13, 61, 122, .12);
    color: #3a6fa8;
}

/* Actions */
.home-pricing-actions {
    padding: .8rem 1.35rem .5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.home-pricing-btn-buy,
.home-pricing-btn-demo {
    width: 100%;
    text-align: center;
    font-size: .88rem;
    padding: .62rem;
}

/* Detail link */
.home-pricing-detail-link {
    padding: .3rem 1.35rem .9rem;
    text-align: center;
}

.home-pricing-detail-link a {
    font-size: .77rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s;
}

.home-pricing-detail-link a:hover {
    color: var(--accent-2);
}

/* Hint below grid */
.home-pricing-hint {
    text-align: center;
    margin-top: 1.4rem;
    font-size: .88rem;
    color: var(--muted);
}

.home-pricing-hint a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.home-pricing-hint a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 920px) {
    .home-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-pricing-card--popular {
        transform: none;
    }

    .home-pricing-card--popular:hover {
        transform: translateY(-4px);
    }
}

/* ============================================================
   SCREENSHOT LIGHTBOX
   ============================================================ */
.screenshot-item {
    all: unset;
    cursor: zoom-in;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s;
    position: relative;
}
.screenshot-item:hover,
.screenshot-item:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.screenshot-zoom-icon {
    position: absolute;
    top: .5rem;
    right: .55rem;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.screenshot-item:hover .screenshot-zoom-icon,
.screenshot-item:focus-visible .screenshot-zoom-icon { opacity: 1; }

/* Lightbox overlay */
.lb-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: lbFadeIn .18s ease;
}
.lb-overlay[hidden] { display: none; }
@keyframes lbFadeIn { from { opacity:0 } to { opacity:1 } }

.lb-stage {
    max-width: min(90vw, 1200px);
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-figure { margin: 0; text-align: center; }
.lb-img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 8px;
    box-shadow: 0 16px 60px rgba(0,0,0,.5);
    display: block;
}
.lb-caption {
    color: #fff;
    font-size: .9rem;
    margin-top: .6rem;
    opacity: .85;
}
.lb-close {
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
    z-index: 10;
}
.lb-close:hover { background: rgba(255,255,255,.26); }

.lb-nav {
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
    flex-shrink: 0;
    z-index: 10;
    margin: 0 .5rem;
}
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-nav:disabled { opacity: .25; cursor: default; }

.lb-counter {
    position: absolute;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.65);
    font-size: .82rem;
}

/* ============================================================
   PUBLIC CHECKOUT PREVIEW PAGE
   ============================================================ */
.checkout-prev-hero {
    padding: 2.5rem 0 1.2rem;
    border-bottom: 1px solid var(--line);
}
.checkout-prev-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin: .4rem 0 0;
}
.checkout-prev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    align-items: start;
    padding: 2.5rem 0;
}
@media (max-width: 820px) {
    .checkout-prev-grid { grid-template-columns: 1fr; }
}
.checkout-prev-section-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    margin: 0 0 1rem;
}
.checkout-prev-product-card,
.checkout-prev-auth-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.8rem;
}
.checkout-prev-product-img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.1rem;
}
.checkout-prev-product-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 .45rem;
}
.checkout-prev-product-desc {
    font-size: .87rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 1.1rem;
}
.checkout-prev-price-row {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.checkout-prev-price-amount {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--accent);
}
.checkout-prev-price-free {
    color: #4ade80;
}
.checkout-prev-price-label {
    font-size: .8rem;
    color: var(--muted);
}
.checkout-prev-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.checkout-prev-perks li {
    font-size: .86rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.checkout-prev-perks li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
    flex-shrink: 0;
}

/* Auth card */
.checkout-prev-auth-icon {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: .7rem;
}
.checkout-prev-auth-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 .6rem;
    text-align: center;
}
.checkout-prev-auth-desc {
    font-size: .88rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}
.checkout-prev-auth-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 1rem;
}
.checkout-prev-btn-login,
.checkout-prev-btn-register {
    display: block;
    width: 100%;
    text-align: center;
    padding: .75rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
}
.checkout-prev-auth-hint {
    font-size: .78rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1.4rem;
}
.checkout-prev-trust {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}
.checkout-prev-trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: var(--muted);
}
.checkout-prev-trust-icon { font-size: 1rem; flex-shrink: 0; }
