/*
 * Halaman utama (index.html) saja. Sengaja berdiri sendiri tanpa style.css,
 * karena style.css dipakai bersama dashboard, login, dan admin; aturan di sana
 * tidak perlu dilawan satu per satu di sini.
 *
 * Font di-host sendiri karena CSP server hanya mengizinkan font dari domain
 * sendiri dan cdnjs, bukan Google Fonts.
 */
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #fbfbfa;
    --surface: #ffffff;
    --surface-2: #f4f6f5;
    --tint: #f3f5f4;
    --ink: #0d1614;
    --ink-2: #33403d;
    --muted: #65716e;
    --line: #e4e8e6;
    --line-strong: #d2d8d6;
    --accent: #0f766e;
    --accent-bright: #5eead4;
    --accent-soft: #e6f3f1;
    --accent-ring: rgba(15, 118, 110, 0.2);
    --ok: #16a34a;
    --ok-ink: #15803d;
    --ok-soft: #e7f6ec;
    --warn: #d97706;
    --warn-ink: #b45309;
    --warn-soft: #fdf3e2;
    --off: #94a3b8;
    --off-soft: #eef1f4;
    --danger: #dc2626;
    --danger-soft: #fdecec;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(13, 22, 20, 0.05);
    --shadow: 0 1px 2px rgba(13, 22, 20, 0.04), 0 10px 28px -12px rgba(13, 22, 20, 0.16);
    --shadow-lg: 0 2px 6px rgba(13, 22, 20, 0.04), 0 28px 56px -20px rgba(13, 22, 20, 0.22);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --header-h: 68px;
}

/* ===== Dasar ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

button,
input,
select {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

/* ===== Tombol ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 0.2s var(--ease),
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.btn i {
    font-size: 0.9em;
    transition: transform 0.25s var(--ease);
}

.btn:hover .fa-arrow-right {
    transform: translateX(3px);
}

.btn:active {
    transform: translateY(1px);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.btn-lg {
    height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 15.5px;
}

.btn-sm {
    height: 34px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 13.5px;
}

.btn-primary {
    background: var(--ink);
    color: #fff;
}

.btn-primary:hover {
    background: #1d2a27;
    box-shadow: 0 8px 18px -8px rgba(13, 22, 20, 0.55);
}

.btn-outline {
    background: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn-outline:hover:not(:disabled) {
    border-color: var(--ink-2);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-2);
}

.btn-ghost:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.btn-light {
    background: #fff;
    color: var(--ink);
}

.btn-light:hover {
    background: #eef6f4;
}

.btn-ghost-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.badge-new {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ===== Header ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(251, 251, 250, 0.72);
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.navbar-scrolled,
.site-header.nav-open {
    background: rgba(251, 251, 250, 0.94);
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--line);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand-text span {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--muted);
}

.site-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.site-nav > a {
    position: relative;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-2);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav > a:hover {
    color: var(--ink);
    background: var(--surface-2);
}

.site-nav > a.is-active {
    color: var(--ink);
}

.site-nav > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%) scale(0);
    transition: transform 0.25s var(--ease);
}

.site-nav > a.is-active::after {
    transform: translateX(-50%) scale(1);
}

.site-nav-actions {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
}

.menu-toggle {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    flex: none;
}

.menu-toggle span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:nth-child(1) {
    top: 15px;
}

.menu-toggle span:nth-child(2) {
    top: 22px;
}

.nav-open .menu-toggle span:nth-child(1) {
    top: 18px;
    transform: rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
    top: 18px;
    transform: rotate(-45deg);
}

/* ===== Hero ===== */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 0 104px;
}

/* Latar memudar di bagian bawah supaya tidak terpotong garis lurus di batas
   hero. */
.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(13, 22, 20, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(13, 22, 20, 0.055) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 75%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.hero-glow-a {
    top: -180px;
    right: -60px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.26), transparent 65%);
    animation: drift 18s ease-in-out infinite alternate;
}

.hero-glow-b {
    bottom: -260px;
    left: -140px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(190, 230, 80, 0.22), transparent 65%);
    animation: drift 24s ease-in-out infinite alternate-reverse;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 4px 14px 4px 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-badge i {
    font-size: 11px;
    color: var(--muted);
    transition: transform 0.25s var(--ease);
}

.hero-badge:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.hero-badge:hover i {
    transform: translateX(3px);
}

.hero h1 {
    margin-top: 22px;
    font-size: clamp(2.35rem, 5vw, 3.9rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.038em;
}

.text-accent {
    background: linear-gradient(92deg, var(--accent) 10%, #14a08f 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 54ch;
    margin-top: 20px;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    margin: 44px 0 0;
    row-gap: 16px;
}

.hero-stats > div {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 28px;
    border-left: 1px solid var(--line);
}

.hero-stats > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero-stats dt {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.hero-stats dd {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

/* Kartu status di sisi kanan hero. Angkanya diisi main.js dari API publik. */
.status-card {
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.status-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.status-card-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 700;
}

.status-card-title i {
    color: var(--accent);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--ok-soft);
    color: var(--ok-ink);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pulse-dot {
    position: relative;
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: currentColor;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s ease-out infinite;
}

.status-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.status-metric {
    padding: 14px;
    border-radius: var(--radius);
    background: var(--surface-2);
}

.status-metric > span {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
}

.status-metric strong {
    display: block;
    min-height: 34px;
    margin-top: 4px;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.status-metric strong small {
    font-size: 0.6em;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0;
}

.status-metric strong.is-pending {
    width: 72px;
    border-radius: 6px;
}

.status-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.status-list-head a {
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent);
}

.status-list-head a:hover {
    text-decoration: underline;
}

.status-list {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.status-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    font-size: 14px;
    animation: rise-in 0.5s var(--ease) backwards;
    animation-delay: calc(var(--i, 0) * 70ms);
}

.status-list .status-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-list .status-meta {
    flex: none;
    font-size: 12.5px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.status-list li.status-list-skeleton {
    border-color: transparent;
    animation: none;
}

.status-list li.status-list-empty {
    justify-content: center;
    color: var(--muted);
    font-size: 13.5px;
}

.status-card-foot {
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
}

/* Kerangka saat data belum datang. */
.is-pending,
.status-list-skeleton,
.vpn-card-skeleton {
    background: linear-gradient(90deg, #eceeed 25%, #f6f7f6 50%, #eceeed 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}

/* ===== Titik status ===== */

.dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--off);
}

.dot-ok {
    background: var(--ok);
    box-shadow: 0 0 0 3px var(--ok-soft);
}

.dot-warn {
    background: var(--warn);
    box-shadow: 0 0 0 3px var(--warn-soft);
}

.dot-off {
    background: var(--off);
    box-shadow: 0 0 0 3px var(--off-soft);
}

/* ===== Bagian umum ===== */

.section {
    padding: 96px 0;
}

.section-tinted {
    background: var(--tint);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 640px;
    margin-bottom: 44px;
}

.section-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 40px;
    max-width: none;
}

.section-head-split > div:first-child {
    max-width: 620px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.section-head h2 {
    margin-top: 12px;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.032em;
}

.section-head p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 1.0625rem;
    color: var(--muted);
}

.state-message {
    padding: 32px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--muted);
    text-align: center;
}

/* ===== Keamanan dan penyedia layanan ===== */

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

.partner-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

/* Tinggi kotak logo dibuat sama supaya teks di bawahnya sejajar, walaupun
   perbandingan lebar dan tinggi tiap logo berbeda. */
.partner-logo {
    display: flex;
    align-items: center;
    height: 44px;
}

.partner-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 40px;
}

.partner-role {
    margin-top: 18px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
}

.partner-card p {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--muted);
}

.partner-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
}

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

@media (max-width: 560px) {
    .partner-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== Layanan ===== */

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

.service-card {
    position: relative;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        border-color 0.35s ease,
        opacity 0.7s var(--ease);
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 18px;
    transition: transform 0.35s var(--ease);
}

.service-card:hover .service-icon {
    transform: scale(1.06) rotate(-5deg);
}

.service-card h3 {
    margin-top: 18px;
    font-size: 1.0625rem;
    font-weight: 700;
}

.service-card p {
    margin-top: 6px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--muted);
}

.service-card-feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    align-content: space-between;
    overflow: hidden;
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    isolation: isolate;
}

.service-card-feature::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    z-index: -1;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.22), transparent 70%);
    transition: transform 0.6s var(--ease);
}

.service-card-feature:hover {
    border-color: var(--ink);
    box-shadow: var(--shadow-lg);
}

.service-card-feature:hover::after {
    transform: scale(1.15);
}

.service-card-feature .service-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-bright);
}

.service-card-feature h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.service-card-feature p {
    color: rgba(255, 255, 255, 0.7);
}

.service-card-feature .badge-new {
    background: var(--accent-bright);
    color: var(--ink);
}

.service-feature-link {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--accent-bright);
}

.service-feature-link i {
    font-size: 12px;
    transition: transform 0.25s var(--ease);
}

.service-card-feature:hover .service-feature-link i {
    transform: translateX(4px);
}

/* ===== Server VPN ===== */

.vpn-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: none;
}

.summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 14px;
    color: var(--muted);
}

.summary-chip strong {
    color: var(--ink);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

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

.vpn-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        border-color 0.35s ease,
        opacity 0.7s var(--ease);
}

.vpn-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.vpn-card.is-full {
    background: #fafbfa;
}

.vpn-card.is-full:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: none;
}

.vpn-card-skeleton {
    min-height: 276px;
    border-color: transparent;
}

.vpn-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vpn-card-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--ink-2);
    font-size: 15px;
}

.vpn-card-title {
    flex: 1;
    min-width: 0;
}

.vpn-card-title h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.vpn-card-title p {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--muted);
}

.vpn-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 26px;
    padding: 0 10px;
    flex: none;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-dot {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: currentColor;
}

.is-available .vpn-status {
    background: var(--ok-soft);
    color: var(--ok-ink);
}

.is-limited .vpn-status {
    background: var(--warn-soft);
    color: var(--warn-ink);
}

.is-full .vpn-status {
    background: var(--off-soft);
    color: #64748b;
}

.vpn-slot-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--muted);
}

.vpn-slot-label strong {
    color: var(--ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.vpn-slot-bar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #ebeeed;
}

.vpn-slot-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--ok);
    transition: width 1.2s var(--ease) 0.15s;
}

.vpn-card.is-visible .vpn-slot-bar span {
    width: var(--fill, 0%);
}

.is-limited .vpn-slot-bar span {
    background: var(--warn);
}

.is-full .vpn-slot-bar span {
    background: var(--off);
}

.vpn-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
}

.vpn-specs div {
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--surface-2);
}

.vpn-specs dt {
    font-size: 12px;
    color: var(--muted);
}

.vpn-specs dd {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 700;
}

.vpn-card-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--line-strong);
}

.vpn-price {
    min-width: 0;
}

.vpn-price strong {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.vpn-price span {
    margin-left: 2px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.vpn-price small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--muted);
}

.vpn-footnote {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin-top: 24px;
    font-size: 13.5px;
    color: var(--muted);
}

.vpn-footnote i {
    margin-right: 6px;
    color: var(--accent);
}

/* ===== Katalog produk ===== */

.catalog-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.catalog-search {
    position: relative;
    min-width: 0;
}

.catalog-search i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--muted);
    pointer-events: none;
}

.catalog-search input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: var(--surface);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search input::placeholder {
    color: #98a29f;
}

.catalog-search input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-ring);
}

/* Select asli tetap ada sebagai sumber nilai, tapi yang tampil versi kustom. */
.landing-filter-select {
    display: none;
}

.fancy-filter-select {
    position: relative;
    min-width: 0;
}

.fancy-filter-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: var(--surface);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fancy-filter-trigger:hover {
    border-color: var(--ink-2);
}

.fancy-filter-select.open .fancy-filter-trigger,
.fancy-filter-trigger:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-ring);
}

.fancy-filter-trigger-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fancy-filter-trigger i {
    font-size: 11px;
    color: var(--muted);
    transition: transform 0.25s var(--ease);
}

.fancy-filter-select.open .fancy-filter-trigger i {
    transform: rotate(180deg);
}

.fancy-filter-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    max-height: 290px;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.fancy-filter-select.open .fancy-filter-menu {
    display: block;
    animation: menu-in 0.18s var(--ease);
}

.fancy-filter-option {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    color: var(--ink-2);
    cursor: pointer;
}

.fancy-filter-option:hover {
    background: var(--surface-2);
}

.fancy-filter-option.active {
    background: var(--ink);
    color: #fff;
}

.landing-products-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13.5px;
    color: var(--muted);
}

.landing-products-status.loading::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid var(--line-strong);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.landing-products-status.failed {
    color: var(--danger);
}

.products-grid,
.landing-product-type-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.products-grid.landing-products-grouped {
    display: block;
}

.product-type-group + .product-type-group {
    margin-top: 32px;
}

.product-type-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.product-type-group-head h3 {
    font-size: 1rem;
    font-weight: 700;
}

.product-type-count {
    font-size: 12.5px;
    color: var(--muted);
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
    animation: rise-in 0.45s var(--ease) backwards;
    animation-delay: calc(var(--i, 0) * 30ms);
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.product-card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    font-size: 17px;
    color: var(--ink-2);
}

.product-card-icon.has-brand-logo {
    background: #fff;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
}

.product-card-body {
    flex: 1;
    min-width: 0;
}

.product-card-meta {
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--muted);
}

.product-card h4 {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card-sku {
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    color: var(--muted);
}

.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.product-card .price {
    min-width: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.product-card .promo-card-price {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.price-old {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: line-through;
}

.price-new {
    color: var(--accent);
}

.btn-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-2);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--ink);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-card:hover .btn-product {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.landing-product-promo-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent);
}

.landing-product-promo-badge.disruption-badge {
    background: var(--warn-soft);
    color: var(--warn-ink);
}

.product-card.product-disrupted {
    background: #fafbfa;
}

.product-card.product-disrupted .price {
    color: var(--muted);
}

.product-card.product-disrupted:hover .btn-product {
    border-color: var(--line);
    background: var(--warn-soft);
    color: var(--warn-ink);
}

.catalog-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    font-size: 14px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* Banner promo di atas katalog. */
.promo-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: 24px 26px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(115deg, var(--ink) 0%, #14332e 100%);
    color: #fff;
}

.promo-banner::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -120px;
    z-index: -1;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.25), transparent 70%);
}

.promo-banner.promo-switching .promo-copy {
    animation: rise-in 0.5s var(--ease);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(94, 234, 212, 0.14);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-bright);
}

.promo-copy {
    min-width: 0;
}

.promo-copy h3 {
    margin-top: 10px;
    font-size: 1.25rem;
    font-weight: 800;
}

.promo-copy p {
    margin-top: 4px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
}

.promo-copy .promo-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 10px;
}

.promo-price-original {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

.promo-price-final {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-bright);
}

.promo-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px 18px;
    flex: none;
}

.promo-countdown span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.promo-countdown strong {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.promo-banner .btn-primary {
    background: #fff;
    color: var(--ink);
}

.promo-banner .btn-primary:hover {
    background: #eef6f4;
}

.promo-dots {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
}

.promo-dots:empty {
    display: none;
}

.promo-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: width 0.3s var(--ease), background-color 0.3s ease;
}

.promo-dot.active {
    width: 18px;
    background: #fff;
}

/* ===== Testimoni ===== */

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

.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    min-width: 0;
    margin: 0;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.testimonial blockquote {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ink);
}

.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: var(--accent-soft);
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
}

.testimonial figcaption strong {
    display: block;
    font-size: 14.5px;
}

.testimonial figcaption small {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

/* ===== Ajakan akhir ===== */

.cta-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding: 52px 48px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--ink);
    color: #fff;
}

.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000 20%, transparent 70%);
}

.cta-panel::after {
    content: "";
    position: absolute;
    top: -140px;
    right: -80px;
    z-index: -1;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.22), transparent 68%);
    animation: drift 16s ease-in-out infinite alternate;
}

.cta-panel h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cta-panel p {
    margin-top: 10px;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: none;
}

/* ===== Footer ===== */

.site-footer {
    padding: 56px 0 28px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr;
    gap: 40px;
}

.footer-brand p {
    max-width: 38ch;
    margin-top: 16px;
    font-size: 14.5px;
    color: var(--muted);
}

.footer-col h4 {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-col ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    color: var(--ink-2);
}

.footer-col a:hover,
.footer-legal a:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    gap: 10px;
}

.footer-contact i {
    width: 14px;
    margin-top: 5px;
    flex: none;
    font-size: 13px;
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--muted);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

/* ===== Animasi ===== */

/* Bagian hero muncul berurutan saat halaman dibuka. Murni CSS, jadi tetap
   jalan walau main.js belum termuat. */
[data-intro] {
    animation: rise-in 0.8s var(--ease) backwards;
}

.hero-copy [data-intro]:nth-child(1) { animation-delay: 0.05s; }
.hero-copy [data-intro]:nth-child(2) { animation-delay: 0.12s; }
.hero-copy [data-intro]:nth-child(3) { animation-delay: 0.2s; }
.hero-copy [data-intro]:nth-child(4) { animation-delay: 0.28s; }
.hero-copy [data-intro]:nth-child(5) { animation-delay: 0.36s; }
.status-card[data-intro] { animation-delay: 0.3s; animation-duration: 1s; }

/* Elemen di bawah lipatan disembunyikan hanya setelah main.js memasang kelas
   .reveal-ready, supaya tanpa JavaScript semuanya tetap terlihat. Setelah
   muncul, main.js melepas atribut data-reveal supaya transisi hover kartu
   kembali ke aturannya sendiri tanpa jeda muncul tadi. */
.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s var(--ease) var(--reveal-delay, 0ms),
        transform 0.7s var(--ease) var(--reveal-delay, 0ms);
}

.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes menu-in {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.55;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(3);
    }
}

@keyframes shimmer {
    from {
        background-position: 200% 0;
    }
    to {
        background-position: -200% 0;
    }
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(-40px, 30px, 0) scale(1.08);
    }
}

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

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ===== Responsif ===== */

@media (max-width: 1080px) {
    .products-grid,
    .landing-product-type-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 16px 18px;
        border-bottom: 1px solid var(--line);
        background: var(--bg);
        box-shadow: 0 24px 40px -24px rgba(13, 22, 20, 0.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
    }

    .nav-open .site-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    }

    .site-nav > a {
        padding: 12px;
        font-size: 15.5px;
    }

    .site-nav > a::after {
        display: none;
    }

    .site-nav > a.is-active {
        background: var(--surface-2);
    }

    .site-nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
    }

    .site-nav-actions .btn {
        height: 46px;
    }

    .header-actions {
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 56px 0 80px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .status-card {
        width: 100%;
        max-width: 560px;
    }

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

@media (max-width: 860px) {
    .section {
        padding: 72px 0;
    }

    .section-head {
        margin-bottom: 32px;
    }

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

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

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

    .catalog-search {
        grid-column: 1 / -1;
    }

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

    .promo-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-side {
        justify-content: flex-start;
    }

    .promo-dots {
        justify-content: flex-start;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 32px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .products-grid,
    .landing-product-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    :root {
        --header-h: 62px;
    }

    .container {
        padding: 0 16px;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .header-actions .btn-ghost {
        height: 38px;
        border: 1px solid var(--line-strong);
        background: var(--surface);
    }

    .hero {
        padding: 40px 0 64px;
    }

    .hero-lead {
        font-size: 1.0625rem;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 36px;
    }

    .hero-stats > div {
        padding: 0 12px;
    }

    .hero-stats dt {
        font-size: 12px;
    }

    .hero-stats dd {
        font-size: 1.35rem;
    }

    .status-card {
        padding: 16px;
    }

    .status-metric strong {
        font-size: 1.5rem;
    }

    .section {
        padding: 56px 0;
    }

    .service-grid {
        gap: 10px;
    }

    .service-card {
        padding: 18px;
    }

    .service-card h3 {
        margin-top: 14px;
        font-size: 1rem;
    }

    .service-card p {
        font-size: 13.5px;
    }

    .service-card-feature {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-card-feature .service-feature-copy {
        margin-top: 14px;
    }

    .service-feature-link {
        grid-column: 1;
    }

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

    .vpn-card {
        padding: 18px;
    }

    .catalog-tools {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-tools > #landingCategoryFilterCustom {
        grid-column: 1 / -1;
    }

    .cta-panel {
        padding: 32px 22px;
        border-radius: 20px;
    }

    .cta-actions,
    .cta-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* Di layar sempit kartu produk berubah jadi baris: ikon di kiri, nama di
   kanan, harga dan tombol di bawah, supaya nama produk yang panjang tetap
   terbaca utuh. */
@media (max-width: 560px) {
    .products-grid,
    .landing-product-type-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .product-card {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 12px;
        padding: 16px;
    }

    .product-card-actions {
        grid-column: 1 / -1;
        padding-top: 12px;
    }

    .landing-product-promo-badge {
        top: 14px;
        right: 14px;
    }

    .product-card.promo-active .product-card-body,
    .product-card.product-disrupted .product-card-body {
        padding-right: 72px;
    }
}
