/* ==========================================================================
   SAHABAT PURCHASING — stylesheet
   Struktur: 1) Token  2) Reset  3) Hero  4) Vendor bar  5) Katalog & profil
             6) Ticker ketersediaan  7) Keunggulan  8) CTA  9) Footer
             10) Bubble kontak  11) Halaman 404  12) Aksesibilitas & responsif
   ========================================================================== */

/* ========== 1. DESIGN TOKEN ========== */
:root {
    --brand: #2b3fd4;
    --brand-dark: #1b2a9e;
    --brand-ink: #1e3a8a;
    --cyan: #12b6e3;
    --gold: #f7941d;

    --ink: #0f172a;
    --ink-2: #475569;
    --ink-3: #64748b;

    --bg: #f5f7fb;
    --surface: #ffffff;
    --line: #e4e9f2;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --pill: 999px;

    --sh-1: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 12px rgba(15, 23, 42, .05);
    --sh-2: 0 10px 30px -12px rgba(15, 23, 42, .18), 0 4px 12px -6px rgba(15, 23, 42, .08);
    --sh-brand: 0 12px 26px -12px rgba(43, 63, 212, .65);

    --maxw: 1120px;
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ========== 2. RESET & DASAR ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
}

a {
    color: var(--brand-ink);
}

:focus-visible {
    outline: 3px solid rgba(43, 63, 212, .55);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    top: -70px;
    left: 12px;
    z-index: 2000;
    padding: 10px 18px;
    background: #fff;
    color: var(--brand-ink);
    font-weight: 700;
    border-radius: var(--r-sm);
    box-shadow: var(--sh-2);
    text-decoration: none;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 12px;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 3. HERO ========== */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 5.5vw, 68px) 20px clamp(42px, 6.5vw, 78px);
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 48%, var(--cyan) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(640px 320px at 12% -10%, rgba(255, 255, 255, .22), transparent 70%),
        radial-gradient(560px 300px at 88% 15%, rgba(18, 182, 227, .55), transparent 72%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 15%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 15%, #000 0%, transparent 72%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--pill);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, .25);
}

.hero h1 {
    margin: 18px auto 0;
    max-width: 900px;
    font-size: clamp(1.75rem, 4.2vw, 2.9rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.022em;
}

.hero-accent {
    display: block;
    margin-top: 6px;
    background: linear-gradient(92deg, #ffe9a8 0%, #ffc24a 55%, #ffd98a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    margin: 16px auto 0;
    max-width: 62ch;
    font-size: clamp(.94rem, 1.5vw, 1.08rem);
    color: rgba(255, 255, 255, .9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: clamp(22px, 3vw, 30px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--pill);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-wa {
    background: #fff;
    color: #0b7a43;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
}

.btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .65);
}

.btn-ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .22);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    margin: clamp(22px, 3vw, 30px) auto 0;
    padding: 0;
    list-style: none;
    font-size: .82rem;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    font-weight: 700;
    letter-spacing: .04em;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--pill);
}

.hero-trust svg {
    width: 14px;
    height: 14px;
    color: #7ef0b0;
}

.hero-trust-note {
    padding: 0;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .75);
    background: none;
    border: 0;
}

/* ========== 4. VENDOR BAR + RUNNING TEXT ========== */
.vendor-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: var(--maxw);
    margin: clamp(24px, 4vw, 42px) auto 0;
    padding: 0 20px;
}

.vendor-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.section-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -.015em;
    white-space: nowrap;
}

.toa-icon img {
    display: block;
    height: 28px;
    width: auto;
}

.vendor-marquee {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding: 8px 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--pill);
    box-shadow: var(--sh-1);
}

.vendor-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to left, var(--surface), transparent);
    pointer-events: none;
}

.vendor-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 24s linear infinite;
}

.vendor-marquee:hover .vendor-marquee-track {
    animation-play-state: paused;
}

.vendor-marquee-track span {
    padding-right: 50px;
    color: var(--ink-2);
    font-size: .85rem;
    white-space: nowrap;
}

@keyframes marquee {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ========== 5. KATALOG & PROFIL VENDOR ========== */
.katalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 22px;
}

.card {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1060 / 200;
    min-height: 120px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-2);
    transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px -20px rgba(15, 23, 42, .4);
}

.card picture {
    display: block;
    height: 100%;
}

.card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: clamp(8px, 1.1vw, 14px);
    left: clamp(8px, 1.1vw, 14px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: clamp(3px, .5vw, 6px);
    padding: clamp(4px, .6vw, 7px) clamp(10px, 1.4vw, 16px);
    background: linear-gradient(135deg, #ffd166, var(--gold));
    color: #3a2000;
    font-size: clamp(9px, 1.1vw, 12px);
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    border-radius: var(--pill);
    box-shadow: 0 8px 18px -8px rgba(247, 148, 29, .9);
    white-space: nowrap;
    animation: badgePulse 3.2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.045); }
}

.btn-profil {
    position: absolute;
    right: clamp(8px, 1.2vw, 16px);
    bottom: clamp(8px, 1.2vw, 16px);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: clamp(6px, .8vw, 10px) clamp(10px, 1.5vw, 18px);
    color: var(--brand-ink);
    font-family: inherit;
    font-size: clamp(10px, 1vw, 13px);
    font-weight: 700;
    white-space: nowrap;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(43, 63, 212, .2);
    border-radius: var(--pill);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .16);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}

.btn-profil:hover {
    background: var(--brand-ink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(30, 58, 138, .6);
}

.btn-profil svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform .3s ease;
}

.btn-profil.active svg {
    transform: rotate(180deg);
}

/* --- Card profil expandable --- */
.card-profil {
    margin-top: 2px;
    padding: 26px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-2);
    animation: slideDown .45s cubic-bezier(.22, 1, .36, 1) forwards;
}

.card-profil[hidden] {
    display: none;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.profil-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line);
}

.profil-title {
    margin: 0;
    color: var(--brand-ink);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.profil-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.profil-badges picture {
    display: block;
}

.profil-badges img {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .1));
    transition: transform .3s ease;
}

.profil-badges img:hover {
    transform: translateY(-2px) scale(1.03);
}

.profil-row {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 4px 18px;
    padding: 11px 0;
    border-bottom: 1px solid #f1f4fa;
    font-size: .95rem;
}

.profil-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.profil-label {
    font-weight: 700;
    color: var(--ink-2);
}

.profil-value {
    min-width: 0;
    color: var(--ink);
}

/* ========== 6. TICKER KETERSEDIAAN ========== */
.availability {
    max-width: var(--maxw);
    margin: clamp(30px, 5vw, 48px) auto 0;
    padding: 0 20px;
}

.availability-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(.95rem, 1.9vw, 1.15rem);
    font-weight: 800;
    letter-spacing: -.01em;
}

.pt-marquee-container {
    position: relative;
    width: 100%;
    margin-top: 10px;
    margin-bottom: clamp(8px, 2vw, 16px);
    padding: clamp(34px, 5vw, 54px) 0;
    overflow: hidden;
}

.pt-marquee-track {
    display: flex;
    width: max-content;
    animation: jalanKiriKeKanan 34s linear infinite;
}

.pt-marquee-container:hover .pt-marquee-track {
    animation-play-state: paused;
}

.pt-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0 20px 0 0;
    list-style: none;
}

.pt-list li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    color: #1e293b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .15em;
    white-space: nowrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--pill);
    box-shadow: var(--sh-1);
    transition: box-shadow .3s ease, color .3s ease;
}

.pt-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}

.pt-list li:nth-child(odd)  { transform: translateY(12px); }
.pt-list li:nth-child(even) { transform: translateY(-12px); }

.pt-list li:hover {
    color: var(--brand-ink);
    box-shadow: var(--sh-2);
}

@keyframes jalanKiriKeKanan {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ========== 7. KEUNGGULAN ========== */
.fitur-section {
    margin-top: clamp(24px, 4vw, 40px);
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

.section-sub {
    margin: 0;
    color: var(--ink-3);
    font-size: .95rem;
}

.fitur-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fitur-card {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-1);
    transition: transform .25s ease, box-shadow .25s ease;
}

.fitur-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-2);
}

.fitur-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    color: var(--brand);
    background: linear-gradient(135deg, rgba(43, 63, 212, .12), rgba(18, 182, 227, .16));
    border-radius: 12px;
}

.fitur-icon svg {
    width: 22px;
    height: 22px;
}

.fitur-card h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.fitur-card p {
    margin: 0;
    color: var(--ink-2);
    font-size: .9rem;
    line-height: 1.65;
}

/* ========== 7b. PROMO KALKULATOR ========== */
.calc-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 3vw, 30px);
    margin-top: clamp(26px, 4vw, 42px);
    padding: clamp(22px, 3.4vw, 34px);
    background:
        radial-gradient(460px 220px at 100% 0%, rgba(18, 182, 227, .15), transparent 72%),
        var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
}

.calc-promo-text {
    max-width: 64ch;
}

.calc-promo-eyebrow {
    display: inline-block;
    margin: 0 0 6px;
    padding: 4px 12px;
    color: var(--brand-ink);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(43, 63, 212, .09);
    border: 1px solid rgba(43, 63, 212, .18);
    border-radius: var(--pill);
}

.calc-promo h2 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -.015em;
}

.calc-promo p {
    margin: 0;
    color: var(--ink-2);
    font-size: .92rem;
    line-height: 1.65;
}

.calc-promo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.calc-promo-list li {
    position: relative;
    padding-left: 20px;
    color: var(--ink-2);
    font-size: .83rem;
    font-weight: 600;
}

.calc-promo-list li::before {
    content: "";
    position: absolute;
    top: .42em;
    left: 2px;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, var(--brand), var(--cyan));
    border-radius: 2px;
}

.calc-promo .btn {
    flex: 0 0 auto;
}

/* ========== 8. CTA BAND ========== */
.cta-band {
    position: relative;
    overflow: hidden;
    margin-top: clamp(30px, 5vw, 52px);
    padding: clamp(26px, 4vw, 44px);
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand) 55%, var(--cyan));
    border-radius: var(--r-lg);
    box-shadow: var(--sh-2);
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 220px at 80% 0%, rgba(255, 255, 255, .18), transparent 70%);
    pointer-events: none;
}

.cta-band > * {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 2.6vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -.015em;
}

.cta-band p {
    max-width: 54ch;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, .9);
    font-size: .97rem;
}

/* ========== 9. FOOTER ========== */
.site-footer {
    margin-top: clamp(40px, 6vw, 68px);
    padding: clamp(40px, 6vw, 58px) 20px 26px;
    color: #94a3b8;
    background: #0f172a;
    border-top: 3px solid var(--brand);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.footer-col h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.footer-col h4 {
    margin: 0 0 12px;
    color: #e2e8f0;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-col p {
    margin: 0 0 10px;
    font-size: .9rem;
    line-height: 1.75;
}

.footer-copy {
    margin-top: 14px !important;
    padding-top: 14px;
    color: #64748b !important;
    font-size: .82rem !important;
    border-top: 1px solid #1e293b;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col ul li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 18px;
    font-size: .9rem;
    line-height: 1.6;
}

.footer-col ul li::before {
    content: "";
    position: absolute;
    top: .62em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.footer-contact li {
    padding-left: 0;
}

.footer-contact li::before {
    display: none;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.footer-contact a:hover {
    color: #fff;
    border-bottom-color: #64748b;
}

.footer-contact svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* ========== 10. BUBBLE KONTAK ========== */
.telegram-bubble,
.whatsapp-bubble {
    position: fixed;
    right: clamp(16px, 2vw, 25px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    animation: bubblePulse 3s ease-in-out infinite;
    transition: transform .3s ease;
}

.telegram-bubble {
    bottom: clamp(16px, 2vw, 25px);
    background: linear-gradient(135deg, #2aabee, #229ed9);
}

.whatsapp-bubble {
    bottom: calc(clamp(16px, 2vw, 25px) + 76px);
    background: linear-gradient(135deg, #2ee06f, #25d366);
}

.telegram-bubble svg,
.whatsapp-bubble svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.telegram-bubble:hover,
.whatsapp-bubble:hover {
    transform: scale(1.08);
}

@keyframes bubblePulse {
    0%, 100% {
        box-shadow: 0 10px 24px -8px rgba(15, 23, 42, .5), 0 0 0 0 rgba(255, 255, 255, .35);
    }
    50% {
        box-shadow: 0 10px 24px -8px rgba(15, 23, 42, .5), 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.telegram-tooltip,
.whatsapp-tooltip {
    position: fixed;
    right: 96px;
    z-index: 999;
    padding: 8px 14px;
    color: #fff;
    font-size: .82rem;
    white-space: nowrap;
    background: rgba(15, 23, 42, .92);
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.telegram-tooltip { bottom: 43px; }
.whatsapp-tooltip { bottom: 119px; }

.telegram-bubble:hover + .telegram-tooltip,
.whatsapp-bubble:hover + .whatsapp-tooltip,
.telegram-bubble:focus + .telegram-tooltip,
.whatsapp-bubble:focus + .whatsapp-tooltip {
    opacity: 1;
}

/* ========== 12. HALAMAN 404 ========== */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    background:
        radial-gradient(700px 340px at 50% -10%, rgba(43, 63, 212, .1), transparent 70%),
        var(--bg);
}

.error-card {
    max-width: 620px;
    padding: clamp(28px, 5vw, 48px);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-2);
}

.error-code {
    margin: 0;
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--brand-dark), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-card h1 {
    margin: 12px 0 10px;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -.015em;
}

.error-text {
    max-width: 44ch;
    margin: 0 auto 24px;
    color: var(--ink-2);
    font-size: .97rem;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: var(--sh-brand);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -14px rgba(43, 63, 212, .85);
}

.btn-outline {
    color: var(--brand-ink);
    background: var(--surface);
    border-color: var(--line);
    box-shadow: var(--sh-1);
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-2);
}

/* ========== 13. AKSESIBILITAS & RESPONSIF ========== */
/* Reveal saat scroll (aktif hanya jika JS berjalan) */
.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
}

.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .fitur-grid { grid-template-columns: 1fr 1fr; }
    .fitur-grid .fitur-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .vendor-bar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .vendor-marquee {
        flex-basis: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-col ul li {
        padding-left: 0;
    }

    .footer-col ul li::before {
        position: static;
        display: inline-block;
        margin-right: 8px;
        vertical-align: middle;
    }

    .footer-contact a {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .fitur-grid { grid-template-columns: 1fr; }
    .fitur-grid .fitur-card:last-child { grid-column: auto; }
    .calc-promo .btn { width: 100%; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 1.65rem; }
    .section-title { font-size: 1.2rem; }
    .vendor-marquee-track span { font-size: .78rem; }
    .toa-icon img { height: 22px; }

    .card {
        min-height: 96px;
        border-radius: var(--r-md);
    }

    .card:hover {
        transform: none;
        box-shadow: var(--sh-2);
    }

    .card-profil {
        padding: 20px 18px;
    }

    .profil-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .profil-badges img {
        height: 28px;
    }

    .profil-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .btn {
        padding: 12px 20px;
        font-size: .9rem;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .pt-list li {
        padding: 10px 18px;
    }

    .telegram-bubble,
    .whatsapp-bubble {
        width: 54px;
        height: 54px;
    }

    .telegram-bubble svg,
    .whatsapp-bubble svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-bubble {
        bottom: calc(clamp(16px, 2vw, 25px) + 68px);
    }

    .telegram-tooltip { bottom: 38px; }
    .whatsapp-tooltip { bottom: 106px; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .vendor-marquee-track,
    .pt-marquee-track {
        animation: none !important;
    }

    .reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
