:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #1f2937;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
    --radius: 22px;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.top-bar {
    background: var(--dark);
    color: #cbd5e1;
    font-size: 13px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
}

.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 0;
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.brand strong,
.footer-brand strong {
    display: block;
    font-size: 25px;
    color: var(--dark);
    line-height: 1.1;
}

.brand small,
.footer-brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.header-search {
    flex: 1;
    max-width: 480px;
    display: flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
}

.header-search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0 16px;
    outline: none;
    color: var(--dark);
}

.header-search button {
    border: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    border: 0;
    background: var(--dark);
    color: var(--white);
    border-radius: 12px;
    padding: 10px 13px;
    font-size: 22px;
}

.nav-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
}

.nav-inner a {
    padding: 15px 13px;
    color: var(--dark-soft);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.nav-inner a:hover {
    color: var(--primary);
}

.hero-section {
    padding: 34px 0;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.13), transparent 28%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.85fr;
    gap: 24px;
}

.hero-card {
    position: relative;
    min-height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow);
    background: var(--dark);
}

.hero-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: 0.4s ease;
}

.hero-card:hover img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.12));
}

.hero-content {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    color: var(--white);
}

.badge,
.category-pill,
.mini-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--white);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 12px;
    margin-bottom: 12px;
}

.category-pill,
.mini-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.hero-content h1 {
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -1.4px;
    margin-bottom: 14px;
}

.hero-content p {
    max-width: 720px;
    color: #dbeafe;
    font-size: 16px;
}

.meta,
.article-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: #cbd5e1;
    margin-top: 16px;
    font-size: 13px;
}

.hero-side {
    display: grid;
    gap: 18px;
}

.side-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    background: var(--white);
    padding: 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.side-card img {
    width: 150px;
    height: 118px;
    object-fit: cover;
    border-radius: 16px;
}

.side-card h2 {
    font-size: 17px;
    line-height: 1.35;
    color: var(--dark);
}

.side-card p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 7px;
}

.premium-box {
    background: linear-gradient(135deg, var(--dark), #312e81);
    color: var(--white);
    padding: 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.premium-box span {
    color: #93c5fd;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.premium-box h2 {
    margin: 10px 0;
    line-height: 1.25;
}

.premium-box p {
    color: #cbd5e1;
}

.content-section {
    padding: 34px 0 60px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 28px;
    align-items: start;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-heading span {
    color: var(--primary);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
}

.section-heading h2 {
    color: var(--dark);
    font-size: 30px;
    letter-spacing: -0.8px;
}

.section-heading a {
    color: var(--primary);
    font-weight: 800;
}

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

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.article-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-body {
    padding: 20px;
}

.article-body h3 {
    color: var(--dark);
    font-size: 21px;
    line-height: 1.35;
    margin: 3px 0 10px;
}

.article-body h3:hover {
    color: var(--primary);
}

.article-body p {
    color: var(--muted);
    font-size: 14px;
}

.article-meta {
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 13px;
}

.sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 72px;
}

.widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.widget h3 {
    color: var(--dark);
    margin-bottom: 16px;
    font-size: 20px;
}

.ad-widget span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ad-box {
    height: 260px;
    border-radius: 18px;
    border: 2px dashed #cbd5e1;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: #f8fafc;
    font-weight: 800;
}

.trending-list {
    display: grid;
    gap: 14px;
}

.trending-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
}

.trending-item strong {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 18px;
}

.trending-item span {
    font-weight: 800;
    color: var(--dark-soft);
    line-height: 1.4;
}

.trending-item:hover span {
    color: var(--primary);
}

.category-list {
    display: grid;
    gap: 9px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 800;
}

.category-list a:hover {
    color: var(--primary);
    border-color: #bfdbfe;
}

.empty-state {
    grid-column: 1 / -1;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.site-footer {
    background: var(--dark);
    color: #cbd5e1;
    margin-top: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
    gap: 34px;
    padding: 55px 0;
}

.footer-brand .brand-icon {
    box-shadow: none;
}

.footer-brand strong {
    color: var(--white);
}

.footer-about p {
    margin-top: 16px;
    max-width: 430px;
}

.footer-links,
.footer-newsletter {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-links h3,
.footer-newsletter h3 {
    color: var(--white);
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-newsletter form {
    display: flex;
    background: #1e293b;
    border-radius: 16px;
    padding: 6px;
    margin-top: 8px;
}

.footer-newsletter input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    color: var(--white);
    outline: none;
    padding: 0 12px;
}

.footer-newsletter button {
    border: 0;
    border-radius: 12px;
    padding: 10px 13px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    font-size: 14px;
}

@media (max-width: 960px) {
    .header-search {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-wrap {
        display: none;
        position: static;
    }

    .nav-wrap.show {
        display: block;
    }

    .nav-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
    }

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

    .sidebar {
        position: static;
    }

    .hero-card,
    .hero-card img {
        min-height: 420px;
        height: 420px;
    }
}

@media (max-width: 640px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 4px;
    }

    .header-inner {
        padding: 16px 0;
    }

    .brand strong {
        font-size: 21px;
    }

    .brand-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .hero-section {
        padding: 22px 0;
    }

    .hero-card,
    .hero-card img {
        min-height: 380px;
        height: 380px;
    }

    .hero-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .hero-content p {
        display: none;
    }

    .side-card {
        grid-template-columns: 110px 1fr;
    }

    .side-card img {
        width: 110px;
        height: 96px;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
    }
}
.site-header {
    transition: 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.animate-item {
    opacity: 0;
    transform: translateY(18px);
    transition: 0.55s ease;
}

.animate-item.show-animate {
    opacity: 1;
    transform: translateY(0);
}
/* =====================================================
   PREMIUM PAGE LOADER
===================================================== */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.22), transparent 32%),
        radial-gradient(circle at 80% 30%, rgba(124, 58, 237, 0.22), transparent 30%),
        linear-gradient(135deg, #020617 0%, #0f172a 45%, #111827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-card {
    position: relative;
    width: min(360px, calc(100% - 42px));
    padding: 34px 28px 30px;
    border-radius: 30px;
    text-align: center;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    animation: loaderCardIn 0.75s ease both;
}

.loader-logo {
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
    border-radius: 28px;
    background: linear-gradient(135deg, #2563eb, #7c3aed, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 20px 55px rgba(37, 99, 235, 0.42),
        0 0 0 10px rgba(255, 255, 255, 0.04);
    animation: logoPulse 1.7s ease-in-out infinite;
}

.loader-logo span {
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
}

.loader-text h2 {
    color: #ffffff;
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.8px;
}

.loader-text p {
    color: #cbd5e1;
    font-size: 14px;
}

.loader-progress {
    position: relative;
    width: 100%;
    height: 8px;
    margin-top: 24px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.18);
}

.loader-progress-bar {
    position: absolute;
    inset: 0;
    width: 45%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #06b6d4);
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.55);
    animation: progressMove 1.15s ease-in-out infinite;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.loader-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    animation: dotPulse 1s ease-in-out infinite;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

.loader-bg-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.55;
    animation: glowFloat 5s ease-in-out infinite;
}

.loader-glow-1 {
    left: -120px;
    top: -80px;
    background: rgba(37, 99, 235, 0.35);
}

.loader-glow-2 {
    right: -120px;
    bottom: -90px;
    background: rgba(124, 58, 237, 0.35);
    animation-delay: 1s;
}

@keyframes loaderCardIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 20px 55px rgba(37, 99, 235, 0.42),
            0 0 0 10px rgba(255, 255, 255, 0.04);
    }
    50% {
        transform: scale(1.06);
        box-shadow:
            0 26px 70px rgba(6, 182, 212, 0.48),
            0 0 0 16px rgba(255, 255, 255, 0.035);
    }
}

@keyframes progressMove {
    0% {
        left: -45%;
    }
    50% {
        left: 35%;
    }
    100% {
        left: 100%;
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    50% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

@keyframes glowFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(24px, -18px) scale(1.08);
    }
}

@media (max-width: 520px) {
    .loader-card {
        padding: 30px 22px 26px;
        border-radius: 26px;
    }

    .loader-logo {
        width: 76px;
        height: 76px;
        border-radius: 24px;
    }

    .loader-text h2 {
        font-size: 26px;
    }
}
/* =====================================================
   ARCHIVE, DETAIL, PAGE
===================================================== */

.archive-hero {
    padding: 58px 0;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.15), transparent 32%),
        linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #ffffff;
}

.archive-hero span {
    display: inline-flex;
    color: #93c5fd;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px;
}

.archive-hero h1 {
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.archive-hero p {
    max-width: 720px;
    color: #cbd5e1;
    font-size: 16px;
}

.archive-search {
    margin-top: 26px;
    display: flex;
    max-width: 620px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 7px;
    backdrop-filter: blur(18px);
}

.archive-search input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #ffffff;
    outline: none;
    padding: 0 18px;
}

.archive-search input::placeholder {
    color: #cbd5e1;
}

.archive-search button {
    border: 0;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

.detail-section {
    padding: 38px 0 70px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 30px;
    align-items: start;
}

.article-detail {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.detail-header {
    padding: 34px 34px 24px;
}

.detail-header h1 {
    color: #0f172a;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.06;
    letter-spacing: -1.5px;
    margin: 6px 0 16px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.detail-excerpt {
    margin-top: 18px;
    color: #475569;
    font-size: 18px;
    line-height: 1.7;
}

.detail-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.detail-content {
    padding: 34px;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.9;
}

.detail-content h2,
.detail-content h3 {
    color: #0f172a;
    line-height: 1.25;
    margin: 28px 0 12px;
    letter-spacing: -0.4px;
}

.detail-content h2 {
    font-size: 30px;
}

.detail-content h3 {
    font-size: 24px;
}

.detail-content p {
    margin-bottom: 18px;
}

.detail-content a {
    color: #2563eb;
    font-weight: 800;
}

.detail-content ul,
.detail-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.detail-content blockquote {
    margin: 26px 0;
    padding: 20px 24px;
    border-left: 5px solid #2563eb;
    background: #eff6ff;
    border-radius: 18px;
    color: #1e3a8a;
    font-weight: 700;
}

.source-box {
    margin: 0 34px 34px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.source-box a {
    color: #2563eb;
    font-weight: 800;
}

.related-section {
    padding: 0 34px 34px;
}

.page-detail {
    padding: 0;
}

@media (max-width: 960px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-header,
    .detail-content,
    .related-section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .source-box {
        margin-left: 22px;
        margin-right: 22px;
    }
}

@media (max-width: 520px) {
    .archive-search {
        border-radius: 22px;
        flex-direction: column;
        gap: 8px;
    }

    .archive-search input {
        padding: 12px 14px;
    }

    .archive-search button {
        width: 100%;
    }

    .article-detail {
        border-radius: 22px;
    }
}
/* =====================================================
   GLOBAL SMOOTH PREMIUM EFFECT
===================================================== */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Biar animasi tidak patah */
* {
    -webkit-tap-highlight-color: transparent;
}

a,
button,
input,
.article-card,
.side-card,
.widget,
.hero-card,
.category-list a,
.trending-item,
.brand-icon,
.loader-card {
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Optimasi elemen yang sering animasi */
.article-card,
.side-card,
.widget,
.hero-card,
.hero-card img,
.article-image img,
.brand-icon,
.loader-logo,
.loader-card {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Image hover lebih smooth */
.article-image {
    overflow: hidden;
}

.article-image img {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.03);
}

/* Card hover premium */
.article-card:hover,
.side-card:hover,
.widget:hover {
    transform: translateY(-6px);
}

/* Hero lebih halus */
.hero-card img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.hero-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

/* Navbar underline smooth */
.nav-inner a {
    position: relative;
}

.nav-inner a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 8px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.nav-inner a:hover::after {
    transform: scaleX(1);
}

/* Button lebih premium */
.header-search button,
.archive-search button,
.footer-newsletter button {
    position: relative;
    overflow: hidden;
}

.header-search button::before,
.archive-search button::before,
.footer-newsletter button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.32),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.header-search button:hover::before,
.archive-search button:hover::before,
.footer-newsletter button:hover::before {
    left: 130%;
}

.header-search button:hover,
.archive-search button:hover,
.footer-newsletter button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

/* Input focus lebih smooth */
.header-search,
.archive-search,
.footer-newsletter form {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-search:focus-within {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    background: #ffffff;
}

.archive-search:focus-within {
    border-color: rgba(147, 197, 253, 0.55);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.16);
}

/* Animasi muncul lebih premium */
.animate-item {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-item.show-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Delay animasi card agar tidak muncul kaku */
.article-grid .article-card:nth-child(1) {
    transition-delay: 0.03s;
}

.article-grid .article-card:nth-child(2) {
    transition-delay: 0.06s;
}

.article-grid .article-card:nth-child(3) {
    transition-delay: 0.09s;
}

.article-grid .article-card:nth-child(4) {
    transition-delay: 0.12s;
}

.article-grid .article-card:nth-child(5) {
    transition-delay: 0.15s;
}

.article-grid .article-card:nth-child(6) {
    transition-delay: 0.18s;
}

/* Header sticky lebih lembut */
.site-header {
    transition:
        box-shadow 0.28s ease,
        background 0.28s ease,
        transform 0.28s ease;
}

/* Detail content smooth readable */
.detail-content img {
    border-radius: 20px;
    margin: 24px 0;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.10);
}

.detail-content h2,
.detail-content h3 {
    scroll-margin-top: 90px;
}

/* Selection color */
::selection {
    background: rgba(37, 99, 235, 0.22);
    color: #0f172a;
}

/* Scrollbar premium */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 999px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--secondary));
}

/* Untuk user yang mematikan animasi di device */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
@media (max-width: 960px) {
    .article-card:hover,
    .side-card:hover,
    .widget:hover {
        transform: none;
    }

    .hero-card:hover img,
    .article-card:hover .article-image img {
        transform: none;
        filter: none;
    }

    .sidebar {
        position: static;
    }
}

.article-card,
.side-card,
.widget {
    contain: content;
}

.article-image img,
.side-card img,
.hero-card img {
    image-rendering: auto;
}
/* =====================================================
   PREMIUM SIDE MENU MOBILE
===================================================== */

.side-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(2, 6, 23, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.side-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: min(390px, 88vw);
    height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-left: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: -30px 0 80px rgba(15, 23, 42, 0.22);
    transform: translateX(105%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.side-menu.show {
    transform: translateX(0);
}

.side-menu-header {
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.side-brand .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
}

.side-brand strong {
    font-size: 21px;
}

.side-menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: 0.25s ease;
}

.side-menu-close:hover {
    background: #dbeafe;
    transform: rotate(90deg);
}

.side-search {
    margin: 18px 20px;
    display: flex;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px;
    border-radius: 18px;
}

.side-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 12px;
    color: #0f172a;
}

.side-search button {
    border: 0;
    border-radius: 14px;
    padding: 11px 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.side-nav {
    padding: 0 20px 20px;
    display: grid;
    gap: 10px;
}

.side-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 15px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-weight: 850;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transform: translateX(18px);
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.38s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.side-menu.show .side-nav a {
    transform: translateX(0);
    opacity: 1;
}

.side-menu.show .side-nav a:nth-child(1) { transition-delay: 0.04s; }
.side-menu.show .side-nav a:nth-child(2) { transition-delay: 0.07s; }
.side-menu.show .side-nav a:nth-child(3) { transition-delay: 0.10s; }
.side-menu.show .side-nav a:nth-child(4) { transition-delay: 0.13s; }
.side-menu.show .side-nav a:nth-child(5) { transition-delay: 0.16s; }
.side-menu.show .side-nav a:nth-child(6) { transition-delay: 0.19s; }
.side-menu.show .side-nav a:nth-child(7) { transition-delay: 0.22s; }
.side-menu.show .side-nav a:nth-child(8) { transition-delay: 0.25s; }
.side-menu.show .side-nav a:nth-child(9) { transition-delay: 0.28s; }
.side-menu.show .side-nav a:nth-child(10) { transition-delay: 0.31s; }

.side-nav a:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--primary);
    transform: translateX(-3px);
}

.side-nav a em {
    font-style: normal;
    color: #94a3b8;
    font-size: 22px;
}

.side-menu-footer {
    margin-top: auto;
    padding: 22px 20px;
    background: linear-gradient(135deg, #0f172a, #312e81);
    color: #cbd5e1;
}

.side-menu-footer span {
    display: block;
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 6px;
}

.side-menu-footer p {
    font-size: 14px;
    line-height: 1.6;
}

body.side-menu-open {
    overflow: hidden;
}

/* Desktop tetap pakai menu horizontal */
@media (min-width: 961px) {
    .side-menu,
    .side-menu-overlay {
        display: none;
    }
}

/* Mobile: nav horizontal disembunyikan, pakai side menu */
@media (max-width: 960px) {
    .nav-wrap {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }
}
/* =====================================================
   FINAL RESPONSIVE FIX - FRONTEND
   Android + Laptop
===================================================== */

/* Laptop sedang */
@media (max-width: 1280px) {
    .container {
        width: min(1120px, calc(100% - 32px));
    }

    .hero-grid {
        grid-template-columns: 1.35fr 0.85fr;
    }

    .content-grid {
        grid-template-columns: 1fr 310px;
    }
}

/* Tablet landscape / laptop kecil */
@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

    .premium-box {
        grid-column: 1 / -1;
    }

    .content-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        display: grid;
    }

    .sidebar .widget:last-child {
        grid-column: 1 / -1;
    }

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

/* Tablet / Android besar */
@media (max-width: 820px) {
    .container {
        width: min(100% - 24px, 100%);
    }

    .top-bar {
        display: none;
    }

    .header-inner {
        padding: 14px 0;
    }

    .brand strong {
        font-size: 21px;
    }

    .brand small {
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-search {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-wrap {
        display: none !important;
    }

    .hero-section {
        padding: 18px 0 24px;
    }

    .hero-card,
    .hero-card img {
        height: 420px;
        min-height: 420px;
    }

    .hero-content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .hero-content h1 {
        font-size: 34px;
        letter-spacing: -0.8px;
    }

    .hero-content p {
        font-size: 14px;
        max-height: 70px;
        overflow: hidden;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .side-card {
        grid-template-columns: 120px 1fr;
    }

    .side-card img {
        width: 120px;
        height: 96px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 38px 0;
    }

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

/* Android kecil */
@media (max-width: 520px) {
    body {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 20px);
    }

    .brand-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 14px;
    }

    .brand strong {
        font-size: 19px;
    }

    .brand small {
        font-size: 11px;
        max-width: 145px;
    }

    .mobile-menu-btn {
        padding: 8px 11px;
        border-radius: 11px;
        font-size: 20px;
    }

    .hero-card,
    .hero-card img {
        height: 360px;
        min-height: 360px;
        border-radius: 20px;
    }

    .hero-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .hero-content h1 {
        font-size: 27px;
        line-height: 1.12;
    }

    .hero-content p {
        display: none;
    }

    .meta {
        font-size: 12px;
        gap: 9px;
    }

    .side-card {
        grid-template-columns: 96px 1fr;
        padding: 11px;
        border-radius: 18px;
    }

    .side-card img {
        width: 96px;
        height: 82px;
        border-radius: 14px;
    }

    .side-card h2 {
        font-size: 15px;
    }

    .premium-box {
        padding: 20px;
        border-radius: 20px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .article-card {
        border-radius: 20px;
    }

    .article-image img {
        height: 195px;
    }

    .article-body {
        padding: 17px;
    }

    .article-body h3 {
        font-size: 19px;
    }

    .widget {
        padding: 18px;
        border-radius: 20px;
    }

    .archive-hero {
        padding: 42px 0;
    }

    .archive-hero h1 {
        font-size: 32px;
    }

    .detail-header {
        padding: 24px 18px 18px;
    }

    .detail-header h1 {
        font-size: 30px;
    }

    .detail-content {
        padding: 22px 18px;
        font-size: 16px;
    }

    .detail-content h2 {
        font-size: 24px;
    }

    .detail-content h3 {
        font-size: 20px;
    }

    .side-menu {
        width: min(360px, 90vw);
    }
}

/* Android sangat kecil */
@media (max-width: 380px) {
    .brand small {
        display: none;
    }

    .hero-card,
    .hero-card img {
        height: 330px;
        min-height: 330px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .side-card {
        grid-template-columns: 1fr;
    }

    .side-card img {
        width: 100%;
        height: 160px;
    }
}
/* Bootstrap compatibility fix */
a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    max-width: 1180px;
}
/* =====================================================
   TEKNORILIS FRONTEND PREMIUM POLISH
   Super Pro UI Upgrade
===================================================== */

/* Global premium background */
body {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.07), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 42%, #f8fafc 100%);
}

/* Header glass premium */
.site-header {
    position: relative;
    z-index: 100;
}

.main-header {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

/* Logo more premium */
.brand-icon {
    position: relative;
    overflow: hidden;
}

.brand-icon::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.38),
        transparent
    );
    transform: rotate(25deg) translateX(-120%);
    animation: logoShine 4s ease-in-out infinite;
}

@keyframes logoShine {
    0%, 65% {
        transform: rotate(25deg) translateX(-120%);
    }
    85%, 100% {
        transform: rotate(25deg) translateX(120%);
    }
}

/* Header search premium */
.header-search {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 24px rgba(15,23,42,0.04);
}

.header-search input::placeholder {
    color: #94a3b8;
}

/* Premium hero area */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 42px 0 38px;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    left: -180px;
    top: -180px;
    background: rgba(37, 99, 235, 0.13);
    filter: blur(12px);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 999px;
    right: -180px;
    top: -120px;
    background: rgba(124, 58, 237, 0.13);
    filter: blur(12px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
}

/* Hero main card premium */
.hero-card {
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow:
        0 34px 90px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.18);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,0.10), transparent 35%),
        radial-gradient(circle at top right, rgba(37,99,235,0.18), transparent 30%);
    pointer-events: none;
}

.hero-overlay {
    background:
        linear-gradient(to top, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.05));
}

.hero-content {
    z-index: 3;
}

.hero-content h1 {
    text-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

.hero-content p {
    color: #e0f2fe;
}

/* Premium badges */
.badge,
.category-pill,
.mini-badge {
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
    letter-spacing: 0.2px;
}

.category-pill {
    padding: 6px 11px;
    margin-bottom: 11px;
    font-size: 11px;
}

/* Side card premium */
.side-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.side-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: 0.25s ease;
}

.side-card:hover::before {
    opacity: 1;
}

.side-card h2 {
    transition: 0.25s ease;
}

.side-card:hover h2 {
    color: var(--primary);
}

/* Premium insight box */
.premium-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}

.premium-box::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    bottom: -70px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.18);
    filter: blur(4px);
}

/* Section heading premium */
.section-heading {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(226,232,240,0.82);
    box-shadow: 0 14px 35px rgba(15,23,42,0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.section-heading span {
    letter-spacing: 0.6px;
}

.section-heading h2 {
    margin: 0;
}

/* Article card premium */
.article-card {
    position: relative;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(226,232,240,0.92);
}

.article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(37,99,235,0.08), transparent 35%);
    opacity: 0;
    transition: 0.25s ease;
    pointer-events: none;
}

.article-card:hover::before {
    opacity: 1;
}

.article-image {
    position: relative;
}

.article-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.22), transparent 55%);
    opacity: 0;
    transition: 0.35s ease;
}

.article-card:hover .article-image::after {
    opacity: 1;
}

.article-body h3 a {
    background-image: linear-gradient(90deg, var(--primary), var(--secondary));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease, color 0.25s ease;
}

.article-body h3 a:hover {
    background-size: 100% 2px;
}

.article-meta {
    justify-content: space-between;
}

/* Sidebar premium */
.sidebar .widget {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.widget h3 {
    position: relative;
    padding-bottom: 12px;
}

.widget h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Trending premium */
.trending-item {
    padding: 10px;
    border-radius: 16px;
    transition: 0.25s ease;
}

.trending-item:hover {
    background: #f8fafc;
}

.trending-item strong {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 22px rgba(37,99,235,0.10);
}

/* Category list premium */
.category-list a {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-list a:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 24px rgba(37,99,235,0.08);
}

/* Ad box premium */
.ad-box {
    background:
        linear-gradient(135deg, #f8fafc, #eef2ff);
    color: #64748b;
}

/* Footer premium */
.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(37,99,235,0.20), transparent 28%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.18), transparent 28%),
        linear-gradient(135deg, #020617, #0f172a);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 2;
}

/* Archive hero premium */
.archive-hero {
    position: relative;
    overflow: hidden;
}

.archive-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.45;
    pointer-events: none;
}

.archive-hero .container {
    position: relative;
    z-index: 2;
}

/* Detail article premium */
.article-detail {
    border: 1px solid rgba(226,232,240,0.95);
    background:
        linear-gradient(180deg, #ffffff, #fbfdff);
}

.detail-header {
    background:
        radial-gradient(circle at top left, rgba(37,99,235,0.08), transparent 36%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.detail-header h1 {
    color: #0b1220;
}

.detail-excerpt {
    padding: 18px 20px;
    background: #f8fafc;
    border-left: 5px solid var(--primary);
    border-radius: 16px;
}

.detail-content {
    max-width: 780px;
    margin: 0 auto;
}

.detail-content p {
    color: #334155;
}

.detail-content h2 {
    position: relative;
    padding-top: 10px;
}

.detail-content h2::before {
    content: "";
    display: block;
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin-bottom: 12px;
}

/* Side menu more premium */
.side-menu {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.20), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.side-nav a {
    box-shadow: 0 10px 24px rgba(15,23,42,0.045);
}

/* Reading comfort */
.article-body p,
.detail-content p,
.widget,
.footer-about p {
    letter-spacing: 0.01em;
}

/* Prevent text overflow */
.article-card,
.article-body,
.article-body h3,
.article-body p,
.side-card,
.side-card h2,
.trending-item,
.trending-item span,
.category-list a,
.detail-content,
.detail-header {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Premium floating action effect */
.article-card,
.side-card,
.widget,
.hero-card,
.premium-box {
    isolation: isolate;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 13px;
}

.hero-label span {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-label em {
    color: #dbeafe;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}
.hero-card {
    transform-style: preserve-3d;
    transition: transform 0.18s ease, box-shadow 0.3s ease;
}
/* =====================================================
   DETAIL PAGE PREMIUM UI
===================================================== */

.detail-hero {
    padding: 38px 0 0;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 32%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 32%);
}

.detail-hero-card {
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 22px;
}

.detail-breadcrumb a {
    color: #2563eb;
    font-weight: 800;
}

.detail-breadcrumb em {
    font-style: normal;
    color: #94a3b8;
}

.detail-title-wrap {
    max-width: 980px;
}

.detail-title-wrap h1 {
    color: #0f172a;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.06;
    letter-spacing: -1.7px;
    margin: 6px 0 18px;
}

.detail-meta-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-meta-premium span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.detail-excerpt-premium {
    max-width: 860px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #eff6ff;
    border-left: 5px solid #2563eb;
    color: #1e3a8a;
    font-size: 18px;
    line-height: 1.75;
    margin: 0;
}

.premium-detail-card {
    overflow: hidden;
}

.premium-detail-image {
    position: relative;
    background: #f1f5f9;
}

.premium-detail-image img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.image-credit {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.74);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.detail-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 34px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.detail-action-btn {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    transition: 0.25s ease;
}

.detail-action-btn:hover {
    transform: translateY(-2px);
    background: #dbeafe;
    color: #1e40af;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.14);
}

.premium-source-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.premium-source-box strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
}

.premium-source-box p {
    color: #64748b;
    font-size: 14px;
    margin: 4px 0 0;
}

.premium-source-box a,
.premium-source-box span {
    display: inline-flex;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 900;
}

.article-footer-note {
    margin: 0 34px 34px;
    padding: 20px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 36%),
        #f8fafc;
    border: 1px solid #e2e8f0;
}

.article-footer-note strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    margin-bottom: 6px;
}

.article-footer-note p {
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

.detail-sidebar {
    position: sticky;
    top: 92px;
}

/* Detail content improvement */
.detail-content {
    color: #1f2937;
}

.detail-content p {
    font-size: 18px;
    line-height: 1.95;
}

.detail-content h2 {
    font-size: 31px;
}

.detail-content h3 {
    font-size: 25px;
}

.detail-content li {
    margin-bottom: 8px;
}

.detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    overflow: hidden;
    border-radius: 16px;
}

.detail-content table th,
.detail-content table td {
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
}

.detail-content table th {
    background: #f8fafc;
    color: #0f172a;
}

.detail-content pre {
    overflow-x: auto;
    background: #0f172a;
    color: #e2e8f0;
    padding: 18px;
    border-radius: 18px;
}

@media (max-width: 960px) {
    .detail-sidebar {
        position: static;
    }

    .detail-hero-card {
        padding: 24px;
    }

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

    .premium-source-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .detail-hero {
        padding-top: 22px;
    }

    .detail-hero-card {
        padding: 18px;
        border-radius: 22px;
    }

    .detail-breadcrumb {
        font-size: 12px;
        gap: 6px;
        margin-bottom: 16px;
    }

    .detail-title-wrap h1 {
        font-size: 29px;
        letter-spacing: -0.8px;
    }

    .detail-meta-premium {
        gap: 7px;
    }

    .detail-meta-premium span {
        font-size: 12px;
        padding: 7px 10px;
    }

    .detail-excerpt-premium {
        font-size: 15px;
        padding: 14px 15px;
        border-radius: 16px;
    }

    .premium-detail-image img {
        max-height: 360px;
    }

    .image-credit {
        right: 12px;
        bottom: 12px;
        font-size: 11px;
    }

    .detail-action-bar {
        padding: 14px 18px;
    }

    .detail-action-btn {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        justify-content: center;
        font-size: 12px;
        padding: 10px 11px;
    }

    .detail-content p {
        font-size: 16px;
        line-height: 1.85;
    }

    .detail-content h2 {
        font-size: 24px;
    }

    .detail-content h3 {
        font-size: 21px;
    }

    .article-footer-note {
        margin: 0 18px 24px;
        padding: 16px;
        border-radius: 18px;
    }

    .related-section {
        padding-left: 18px;
        padding-right: 18px;
    }
}
/* =====================================================
   SEARCH PAGE PREMIUM UI
===================================================== */

.search-hero {
    padding: 42px 0 20px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.13), transparent 34%);
}

.search-hero-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.97));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.search-hero-card::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -120px;
    top: -120px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    pointer-events: none;
}

.search-kicker {
    display: inline-flex;
    color: #2563eb;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 13px;
    margin-bottom: 10px;
}

.search-hero-card h1 {
    position: relative;
    z-index: 2;
    color: #0f172a;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.06;
    letter-spacing: -1.4px;
    margin-bottom: 12px;
}

.search-hero-card p {
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.premium-search-form {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 10px;
    max-width: 760px;
    padding: 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    box-shadow: 
        0 18px 45px rgba(37, 99, 235, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.premium-search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #0f172a;
    padding: 0 18px;
    font-size: 15px;
}

.premium-search-form input::placeholder {
    color: #94a3b8;
}

.premium-search-form button {
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
    transition: 0.25s ease;
    white-space: nowrap;
}

.premium-search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.30);
}

.search-summary {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.search-summary span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
}

.search-summary a {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.search-summary a:hover {
    color: var(--primary);
}

.search-content-section {
    padding-top: 28px;
}

.search-empty-state {
    grid-column: 1 / -1;
    padding: 50px 24px;
    border-radius: 28px;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 36%),
        #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.search-empty-icon {
    width: 82px;
    height: 82px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 36px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    border: 1px solid #dbeafe;
}

.search-empty-state h3 {
    color: #0f172a;
    font-size: 28px;
    margin-bottom: 10px;
}

.search-empty-state p {
    max-width: 560px;
    margin: 0 auto 22px;
    color: #64748b;
    line-height: 1.7;
}

.search-empty-btn {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
}

.search-widget {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
        #ffffff;
}

.sidebar-search-form {
    display: grid;
    gap: 10px;
}

.sidebar-search-form input {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 15px;
    padding: 12px 13px;
    outline: none;
    transition: 0.25s ease;
}

.sidebar-search-form input:focus {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    background: #ffffff;
}

.sidebar-search-form button {
    border: 0;
    border-radius: 15px;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

/* Search mobile */
@media (max-width: 760px) {
    .search-hero {
        padding: 24px 0 12px;
    }

    .search-hero-card {
        padding: 22px;
        border-radius: 24px;
    }

    .search-hero-card h1 {
        font-size: 31px;
        letter-spacing: -0.8px;
    }

    .search-hero-card p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .premium-search-form {
        border-radius: 22px;
        flex-direction: column;
        padding: 8px;
    }

    .premium-search-form input {
        padding: 12px 14px;
    }

    .premium-search-form button {
        width: 100%;
        border-radius: 16px;
    }

    .search-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-empty-state {
        padding: 38px 18px;
        border-radius: 22px;
    }

    .search-empty-state h3 {
        font-size: 23px;
    }
}
/* =====================================================
   HEADER PREMIUM FINAL
===================================================== */

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

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

.header-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    border: 1px solid #dbeafe;
    transition: 0.25s ease;
}

.header-action-link:hover {
    color: var(--primary-dark);
    background: #dbeafe;
    transform: translateY(-1px);
}

.brand-text {
    min-width: 0;
}

.brand-text strong,
.brand-text small {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header.is-scrolled .main-header {
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.site-header.is-scrolled .nav-wrap {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

@media (max-width: 960px) {
    .header-action-link {
        display: none;
    }

    .brand-text strong,
    .brand-text small {
        max-width: 180px;
    }
}

@media (max-width: 520px) {
    .brand-text strong,
    .brand-text small {
        max-width: 145px;
    }

    .header-inner {
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .brand-text small {
        display: none;
    }

    .brand-text strong {
        max-width: 130px;
    }
}
/* =====================================================
   FOOTER PREMIUM FINAL
===================================================== */

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 30%),
        radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.18), transparent 32%),
        linear-gradient(135deg, #020617, #0f172a 55%, #111827);
    color: #cbd5e1;
    margin-top: 40px;
}

.footer-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.45;
    pointer-events: none;
}

.footer-glow-one {
    left: -140px;
    top: -150px;
    background: rgba(37, 99, 235, 0.45);
}

.footer-glow-two {
    right: -150px;
    bottom: -160px;
    background: rgba(124, 58, 237, 0.42);
}

.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr;
    gap: 34px;
    padding: 58px 0;
}

.footer-about p {
    margin-top: 18px;
    max-width: 440px;
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-brand .brand-icon {
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.28);
}

.footer-brand strong {
    color: #ffffff;
}

.footer-brand small {
    color: #94a3b8;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #dbeafe;
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 13px;
    font-weight: 800;
    transition: 0.25s ease;
}

.footer-social a:hover {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.footer-links,
.footer-newsletter {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-links h3,
.footer-newsletter h3 {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.footer-links h3::after,
.footer-newsletter h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-links a {
    color: #cbd5e1;
    width: fit-content;
    transition: 0.22s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-muted {
    color: #94a3b8;
    font-size: 14px;
}

.footer-newsletter p {
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0;
}

.footer-search-form {
    display: flex;
    gap: 7px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 7px;
    margin-top: 8px;
}

.footer-search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    outline: none;
    padding: 0 12px;
}

.footer-search-form input::placeholder {
    color: #94a3b8;
}

.footer-search-form button {
    border: 0;
    border-radius: 13px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.footer-mini-info {
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-mini-info span {
    display: block;
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 3px;
}

.footer-mini-info small {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 6, 23, 0.24);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    color: #94a3b8;
    font-size: 14px;
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.footer-bottom-links a {
    color: #cbd5e1;
    font-weight: 700;
    transition: 0.22s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-size: 21px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.25s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* Footer responsive */
@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 0;
    }

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

    .footer-search-form {
        flex-direction: column;
        border-radius: 20px;
    }

    .footer-search-form input {
        padding: 12px;
    }

    .footer-search-form button {
        width: 100%;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }
}
/* =====================================================
   CATEGORY PAGE PREMIUM UI
===================================================== */

.category-hero {
    padding: 42px 0 18px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.13), transparent 34%);
}

.category-hero-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.97));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.category-hero-card::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -130px;
    top: -140px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    pointer-events: none;
}

.category-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 22px;
    align-items: start;
}

.category-hero-icon {
    width: 92px;
    height: 92px;
    border-radius: 30px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 38px;
    font-weight: 900;
    box-shadow: 0 24px 55px rgba(37, 99, 235, 0.24);
}

.category-kicker {
    display: inline-flex;
    color: #2563eb;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 13px;
    margin-bottom: 8px;
}

.category-hero-content h1 {
    color: #0f172a;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.06;
    letter-spacing: -1.4px;
    margin-bottom: 12px;
}

.category-hero-content p {
    max-width: 760px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.category-meta-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-meta-premium span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid #dbeafe;
}

.category-content-section {
    padding-top: 28px;
}

.category-empty-state {
    grid-column: 1 / -1;
    padding: 50px 24px;
    border-radius: 28px;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 36%),
        #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.category-empty-icon {
    width: 82px;
    height: 82px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.22);
}

.category-empty-state h3 {
    color: #0f172a;
    font-size: 28px;
    margin-bottom: 10px;
}

.category-empty-state p {
    max-width: 560px;
    margin: 0 auto 22px;
    color: #64748b;
    line-height: 1.7;
}

.category-widget-highlight {
    text-align: left;
    overflow: hidden;
}

.category-widget-icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 14px;
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.18);
}

.category-widget-highlight strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    margin-bottom: 8px;
}

.category-widget-highlight p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 760px) {
    .category-hero {
        padding: 24px 0 12px;
    }

    .category-hero-card {
        padding: 22px;
        border-radius: 24px;
    }

    .category-hero-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-hero-icon {
        width: 74px;
        height: 74px;
        border-radius: 24px;
        font-size: 30px;
    }

    .category-hero-content h1 {
        font-size: 31px;
        letter-spacing: -0.8px;
    }

    .category-hero-content p {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .category-empty-state {
        padding: 38px 18px;
        border-radius: 22px;
    }

    .category-empty-state h3 {
        font-size: 23px;
    }
}
/* =====================================================
   STATIC PAGE PREMIUM UI
===================================================== */

.static-page-hero {
    padding: 42px 0 20px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.13), transparent 34%);
}

.static-page-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.97));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.static-page-card::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -120px;
    top: -130px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    pointer-events: none;
}

.static-page-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    color: #2563eb;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 13px;
    margin-bottom: 10px;
}

.static-page-card h1 {
    position: relative;
    z-index: 2;
    color: #0f172a;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.06;
    letter-spacing: -1.4px;
    margin-bottom: 12px;
}

.static-page-card p {
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 0;
}

.static-page-section {
    padding: 32px 0 70px;
}

.static-page-detail {
    overflow: hidden;
}

.static-page-content {
    padding: 36px;
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

.static-page-content h2,
.static-page-content h3 {
    color: #0f172a;
    line-height: 1.25;
    margin: 28px 0 12px;
    letter-spacing: -0.4px;
}

.static-page-content h2 {
    font-size: 30px;
}

.static-page-content h3 {
    font-size: 24px;
}

.static-page-content p {
    margin-bottom: 18px;
}

.static-page-content ul,
.static-page-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.static-page-content li {
    margin-bottom: 8px;
}

.static-page-content a {
    color: #2563eb;
    font-weight: 800;
}

.static-page-content blockquote {
    margin: 26px 0;
    padding: 20px 24px;
    border-left: 5px solid #2563eb;
    background: #eff6ff;
    border-radius: 18px;
    color: #1e3a8a;
    font-weight: 700;
}

.page-nav-widget {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
        #ffffff;
}

.static-note {
    margin-top: 0;
}

/* Contact form */
.contact-premium-box {
    padding: 0 36px 36px;
}

.contact-alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 800;
}

.contact-alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.contact-alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact-form-premium {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 36%),
        #f8fafc;
    border: 1px solid #e2e8f0;
}

.form-row-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form-group {
    display: grid;
    gap: 8px;
}

.contact-form-group label {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    border-radius: 15px;
    padding: 13px 14px;
    outline: none;
    transition: 0.25s ease;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.contact-form-premium button {
    border: 0;
    border-radius: 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
    transition: 0.25s ease;
}

.contact-form-premium button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.28);
}

@media (max-width: 760px) {
    .static-page-hero {
        padding: 24px 0 12px;
    }

    .static-page-card {
        padding: 22px;
        border-radius: 24px;
    }

    .static-page-card h1 {
        font-size: 31px;
        letter-spacing: -0.8px;
    }

    .static-page-card p {
        font-size: 15px;
    }

    .static-page-content {
        padding: 24px 18px;
        font-size: 16px;
    }

    .static-page-content h2 {
        font-size: 24px;
    }

    .static-page-content h3 {
        font-size: 21px;
    }

    .contact-premium-box {
        padding: 0 18px 24px;
    }

    .form-row-two {
        grid-template-columns: 1fr;
    }

    .contact-form-premium {
        padding: 18px;
        border-radius: 20px;
    }
}
/* =====================================================
   DYNAMIC ADSENSE SLOT
===================================================== */

.dynamic-ad-slot {
    width: 100%;
    margin: 20px 0;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
        #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.dynamic-ad-slot .ad-label {
    display: block;
    padding: 10px 14px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.dynamic-ad-inner {
    min-height: 90px;
    display: grid;
    place-items: center;
    padding: 14px;
}

.sidebar-ad {
    margin-top: 0;
}

.home-middle-ad {
    margin: 18px 0 24px;
}

.article-top-ad,
.article-bottom-ad {
    margin: 24px 34px;
}

.article-top-ad .dynamic-ad-inner,
.article-bottom-ad .dynamic-ad-inner {
    min-height: 110px;
}

@media (max-width: 760px) {
    .dynamic-ad-slot {
        border-radius: 18px;
        margin: 16px 0;
    }

    .article-top-ad,
    .article-bottom-ad {
        margin: 18px;
    }

    .dynamic-ad-inner {
        min-height: 80px;
        padding: 12px;
    }
}
/* =====================================================
   DIGITAL STORE FRONTEND
===================================================== */

.store-hero,
.product-hero {
    padding: 42px 0 20px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.13), transparent 34%);
}

.store-hero-card,
.product-hero-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.97));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.store-kicker {
    display: inline-flex;
    color: #2563eb;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 13px;
    margin-bottom: 10px;
}

.store-hero-card h1,
.product-info-box h1 {
    color: #0f172a;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.06;
    letter-spacing: -1.4px;
    margin-bottom: 12px;
}

.store-hero-card p,
.product-info-box p {
    max-width: 780px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.store-section,
.product-content-section {
    padding: 32px 0 70px;
}

.store-search-form {
    max-width: 780px;
}

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.store-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.store-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.store-product-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.store-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.45s ease;
}

.store-product-card:hover .store-product-image img {
    transform: scale(1.06);
}

.store-product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.20), transparent 36%),
        linear-gradient(135deg, #0f172a, #1e1b4b);
}

.store-product-placeholder.large {
    min-height: 420px;
    border-radius: 26px;
}

.store-product-placeholder span {
    width: 86px;
    height: 86px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 25px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 22px 60px rgba(37, 99, 235, 0.35);
}

.store-discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    font-style: normal;
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.28);
}

.store-product-body {
    padding: 20px;
}

.store-product-type {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.store-product-body h3 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.store-product-body h3 a {
    color: #0f172a;
}

.store-product-body h3 a:hover {
    color: var(--primary);
}

.store-product-body p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 14px;
}

.store-product-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.store-product-info span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.store-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}

.store-price-row small {
    display: block;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 800;
    margin-bottom: 3px;
}

.store-price-row strong {
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
}

.store-detail-btn,
.product-buy-btn,
.product-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: 0.25s ease;
}

.store-detail-btn,
.product-buy-btn {
    padding: 12px 17px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
}

.store-detail-btn:hover,
.product-buy-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.28);
}

.product-demo-btn {
    padding: 12px 17px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
}

.product-demo-btn:hover {
    background: #dbeafe;
    color: #1e40af;
}

.store-widget {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
        #ffffff;
}

.store-benefit-list {
    display: grid;
    gap: 12px;
}

.store-benefit-list div {
    padding: 13px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.store-benefit-list strong {
    display: block;
    color: #0f172a;
    margin-bottom: 4px;
}

.store-benefit-list span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: center;
}

.product-preview-box {
    min-width: 0;
}

.product-preview-box img {
    width: 100%;
    display: block;
    border-radius: 26px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.product-info-box {
    min-width: 0;
}

.product-price-premium {
    margin-bottom: 18px;
}

.product-price-premium small {
    display: block;
    color: #94a3b8;
    font-size: 18px;
    text-decoration: line-through;
    font-weight: 800;
    margin-bottom: 5px;
}

.product-price-premium strong {
    display: block;
    color: #0f172a;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
}

.product-meta-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
}

.product-meta-premium span {
    padding: 9px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.product-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.product-safe-note {
    padding: 16px;
    border-radius: 20px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.product-safe-note strong {
    color: #1e40af;
}

.product-safe-note p {
    margin: 5px 0 0;
    color: #1d4ed8;
    font-size: 14px;
}

.product-description-card {
    padding: 28px;
}

.product-description-content {
    padding: 24px 0;
}

.checkout-summary-box {
    display: grid;
    gap: 12px;
}

.checkout-summary-box strong {
    color: #0f172a;
    line-height: 1.4;
}

.checkout-summary-box span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.checkout-summary-box b {
    color: #0f172a;
    font-size: 25px;
}

.product-buy-btn.full {
    width: 100%;
}

.related-product-mini {
    display: grid;
    gap: 10px;
}

.related-product-mini a {
    display: grid;
    gap: 5px;
    padding: 12px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.related-product-mini span {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.4;
}

.related-product-mini strong {
    color: var(--primary);
}

/* Homepage section nanti pakai class ini */
.home-store-section {
    margin-top: 28px;
}

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

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

@media (max-width: 760px) {
    .store-hero,
    .product-hero {
        padding: 24px 0 12px;
    }

    .store-hero-card,
    .product-hero-card {
        padding: 22px;
        border-radius: 24px;
    }

    .store-hero-card h1,
    .product-info-box h1 {
        font-size: 31px;
        letter-spacing: -0.8px;
    }

    .store-hero-card p,
    .product-info-box p {
        font-size: 15px;
    }

    .store-price-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-detail-btn,
    .product-buy-btn,
    .product-demo-btn {
        width: 100%;
    }

    .product-price-premium strong {
        font-size: 31px;
    }

    .product-description-card {
        padding: 18px;
    }
}
.store-page,
.invoice-page {
    padding: 40px 0;
}

.checkout-wrap,
.invoice-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.checkout-main,
.checkout-product-card,
.checkout-note,
.invoice-card,
.invoice-help {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.checkout-main,
.invoice-card,
.invoice-help,
.checkout-note {
    padding: 24px;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color, #2563eb);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.section-heading h1,
.invoice-header h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
}

.section-heading p,
.invoice-header p {
    margin: 0;
    color: var(--muted-color, #64748b);
}

.checkout-form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--heading-color, #0f172a);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
    color: #111827;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--muted-color, #64748b);
    font-size: 13px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.checkout-product-card {
    overflow: hidden;
}

.checkout-product-image {
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
    overflow: hidden;
}

.checkout-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-product-body {
    padding: 20px;
}

.checkout-product-body h2 {
    margin: 0 0 10px;
    font-size: 21px;
}

.checkout-product-body p {
    margin: 0 0 14px;
    color: var(--muted-color, #64748b);
}

.checkout-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.checkout-product-meta span {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #eef2ff;
    color: #3730a3;
}

.checkout-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
}

.checkout-price-box strong {
    font-size: 26px;
    color: var(--primary-color, #2563eb);
}

.old-price {
    color: #94a3b8;
    text-decoration: line-through;
}

.checkout-note {
    margin-top: 18px;
}

.checkout-note h3,
.invoice-help h3 {
    margin: 0 0 10px;
}

.checkout-note p,
.invoice-help p,
.invoice-help li {
    color: var(--muted-color, #64748b);
    line-height: 1.7;
}

.alert {
    padding: 13px 15px;
    border-radius: 12px;
    margin: 14px 0;
    font-weight: 600;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.payment-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.payment-status-pending {
    background: #fffbeb;
    color: #92400e;
}

.payment-status-paid {
    background: #ecfdf5;
    color: #065f46;
}

.payment-status-expired,
.payment-status-failed {
    background: #fef2f2;
    color: #991b1b;
}

.invoice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.invoice-box {
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 14px;
    padding: 14px;
    background: #f8fafc;
}

.invoice-box span {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: var(--muted-color, #64748b);
}

.invoice-box strong {
    display: block;
    word-break: break-word;
}

.invoice-total {
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    border: 1px solid #bfdbfe;
}

.invoice-total span {
    display: block;
    color: #1e40af;
    font-weight: 700;
}

.invoice-total strong {
    display: block;
    margin: 6px 0;
    font-size: 34px;
    color: #1d4ed8;
}

.invoice-total small {
    color: #475569;
}

.payment-box,
.download-box {
    border: 1px dashed var(--primary-color, #2563eb);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
    background: #f8fbff;
}

.payment-box h2,
.download-box h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.qris-box {
    display: flex;
    justify-content: center;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border-color, #e5e7eb);
    margin-bottom: 14px;
}

.qris-box img {
    max-width: 260px;
    width: 100%;
    height: auto;
}

.va-number {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border-color, #e5e7eb);
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
}

.va-number strong {
    font-size: 22px;
    letter-spacing: .04em;
    word-break: break-all;
}

.small-copy {
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    background: var(--primary-color, #2563eb);
    color: #fff;
    cursor: pointer;
}

.payment-check-result {
    margin-top: 12px;
}

.invoice-footer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.invoice-help ol {
    padding-left: 18px;
}

@media (max-width: 992px) {
    .checkout-wrap,
    .invoice-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .store-page,
    .invoice-page {
        padding: 24px 0;
    }

    .checkout-main,
    .invoice-card,
    .invoice-help,
    .checkout-note {
        padding: 18px;
    }

    .invoice-header {
        flex-direction: column;
    }

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

    .invoice-total strong {
        font-size: 28px;
    }

    .va-number {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* =====================================================
   DIGITAL STORE - PREMIUM UI
   Tambahkan di bawah public/assets/css/style.css
===================================================== */

.store-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 44px 34px;
    margin: 28px 0 30px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, .22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, .18), transparent 34%),
        linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}

.store-hero::before {
    content: "";
    position: absolute;
    inset: -80px auto auto -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    filter: blur(4px);
}

.store-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .22);
    filter: blur(6px);
}

.store-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.store-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.store-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: #fff;
}

.store-hero p {
    margin: 0;
    max-width: 660px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
}

.store-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 20px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    backdrop-filter: blur(12px);
}

.store-toolbar-title h2 {
    margin: 0 0 4px;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.store-toolbar-title p {
    margin: 0;
    color: var(--muted-color, #64748b);
    font-size: 14px;
}

.store-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-filter select,
.store-filter input {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color, #d1d5db);
    background: #fff;
    outline: none;
}

.store-filter select:focus,
.store-filter input:focus {
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.digital-product-grid,
.store-products-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.digital-product-card,
.store-product-card,
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.digital-product-card:hover,
.store-product-card:hover,
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, .42);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .13);
}

.digital-product-thumb,
.store-product-thumb,
.product-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e0f2fe, #eef2ff);
}

.digital-product-thumb img,
.store-product-thumb img,
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.digital-product-card:hover img,
.store-product-card:hover img,
.product-card:hover img {
    transform: scale(1.055);
}

.product-badge,
.digital-badge,
.store-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .86);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.sale-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(239, 68, 68, .28);
}

.digital-product-body,
.store-product-body,
.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.digital-product-body h2,
.store-product-body h2,
.product-card-body h2,
.digital-product-body h3,
.store-product-body h3,
.product-card-body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.digital-product-body h2 a,
.store-product-body h2 a,
.product-card-body h2 a,
.digital-product-body h3 a,
.store-product-body h3 a,
.product-card-body h3 a {
    color: var(--heading-color, #0f172a);
    text-decoration: none;
}

.digital-product-body h2 a:hover,
.store-product-body h2 a:hover,
.product-card-body h2 a:hover,
.digital-product-body h3 a:hover,
.store-product-body h3 a:hover,
.product-card-body h3 a:hover {
    color: var(--primary-color, #2563eb);
}

.digital-product-desc,
.store-product-desc,
.product-card-desc {
    margin: 0 0 16px;
    color: var(--muted-color, #64748b);
    font-size: 14px;
    line-height: 1.65;
}

.digital-product-meta,
.store-product-meta,
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.digital-product-meta span,
.store-product-meta span,
.product-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.digital-product-price,
.store-product-price,
.product-price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-top: auto;
    margin-bottom: 16px;
}

.digital-product-price strong,
.store-product-price strong,
.product-price strong,
.price-current {
    color: var(--primary-color, #2563eb);
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-old,
.old-price {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: line-through;
}

.digital-product-actions,
.store-product-actions,
.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.digital-product-actions .btn,
.store-product-actions .btn,
.product-card-actions .btn {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 14px;
}

.btn-primary,
.store-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 12px 16px;
    background: var(--primary-color, #2563eb);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
}

.btn-primary:hover,
.store-btn-primary:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
    box-shadow: 0 16px 30px rgba(37, 99, 235, .30);
}

.btn-outline,
.store-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 14px;
    padding: 12px 16px;
    background: #fff;
    color: var(--heading-color, #0f172a) !important;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.btn-outline:hover,
.store-btn-outline:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color, #2563eb);
    color: var(--primary-color, #2563eb) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}

/* =====================================================
   PRODUCT DETAIL PAGE
===================================================== */

.product-detail-page {
    padding: 36px 0 50px;
}

.product-detail-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 410px;
    gap: 28px;
    align-items: start;
}

.product-detail-main,
.product-buy-card,
.product-info-card,
.product-feature-card,
.product-related-card {
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .07);
}

.product-detail-main {
    overflow: hidden;
}

.product-detail-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #dbeafe, #eef2ff);
}

.product-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(to top, rgba(15, 23, 42, .58), transparent);
    pointer-events: none;
}

.product-detail-content {
    padding: 28px;
}

.product-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary-color, #2563eb);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.product-detail-title {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.045em;
    color: var(--heading-color, #0f172a);
}

.product-detail-summary {
    margin: 0 0 22px;
    color: var(--muted-color, #64748b);
    font-size: 17px;
    line-height: 1.8;
}

.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.product-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.product-description {
    color: #334155;
    font-size: 16px;
    line-height: 1.85;
}

.product-description h2,
.product-description h3,
.product-description h4 {
    margin: 28px 0 12px;
    color: var(--heading-color, #0f172a);
    letter-spacing: -0.02em;
}

.product-description p {
    margin: 0 0 16px;
}

.product-description ul,
.product-description ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.product-description li {
    margin-bottom: 8px;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 14px 0;
}

.product-description blockquote {
    margin: 22px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--primary-color, #2563eb);
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
}

.product-detail-sidebar {
    position: sticky;
    top: 20px;
}

.product-buy-card {
    padding: 24px;
}

.product-buy-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.product-buy-price strong {
    color: var(--primary-color, #2563eb);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.product-buy-note {
    margin: 0 0 18px;
    color: var(--muted-color, #64748b);
    line-height: 1.7;
}

.product-buy-actions {
    display: grid;
    gap: 10px;
}

.product-buy-actions .btn {
    min-height: 48px;
    border-radius: 15px;
}

.product-info-card,
.product-feature-card,
.product-related-card {
    padding: 22px;
    margin-top: 18px;
}

.product-info-card h3,
.product-feature-card h3,
.product-related-card h3 {
    margin: 0 0 14px;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.product-info-list {
    display: grid;
    gap: 12px;
}

.product-info-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.product-info-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.product-info-item span {
    color: var(--muted-color, #64748b);
}

.product-info-item strong {
    text-align: right;
    color: var(--heading-color, #0f172a);
}

.product-feature-list {
    display: grid;
    gap: 10px;
}

.product-feature-list li,
.product-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #475569;
    line-height: 1.6;
}

.product-feature-list li::before,
.product-feature-item::before {
    content: "✓";
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 900;
}

.product-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =====================================================
   EMPTY STATE / PAGINATION
===================================================== */

.store-empty {
    grid-column: 1 / -1;
    padding: 42px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    background: #f8fafc;
    text-align: center;
}

.store-empty h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.store-empty p {
    margin: 0;
    color: var(--muted-color, #64748b);
}

.pagination,
.store-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination a,
.pagination span,
.store-pagination a,
.store-pagination span {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 13px;
    background: #fff;
    color: #334155;
    font-weight: 800;
    text-decoration: none;
}

.pagination a:hover,
.store-pagination a:hover,
.pagination .active,
.store-pagination .active {
    border-color: var(--primary-color, #2563eb);
    background: var(--primary-color, #2563eb);
    color: #fff;
}

/* =====================================================
   RESPONSIVE
===================================================== */

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

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

    .product-detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .store-hero {
        padding: 34px 22px;
        border-radius: 22px;
    }

    .store-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .store-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .digital-product-grid,
    .store-products-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-detail-content {
        padding: 22px;
    }

    .product-buy-card,
    .product-info-card,
    .product-feature-card,
    .product-related-card {
        padding: 20px;
        border-radius: 22px;
    }

    .product-detail-title {
        font-size: 30px;
    }

    .product-buy-price strong {
        font-size: 30px;
    }

    .digital-product-actions,
    .store-product-actions,
    .product-card-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .store-hero h1 {
        font-size: 30px;
    }

    .store-hero p {
        font-size: 15px;
    }

    .product-detail-cover {
        aspect-ratio: 4 / 3;
    }

    .product-detail-meta span {
        width: 100%;
    }

    .product-info-item {
        flex-direction: column;
        gap: 3px;
    }

    .product-info-item strong {
        text-align: left;
    }
}
/* =====================================================
   INVOICE PAGE - CLEAN PREMIUM FIX
   Tempel paling bawah style.css
===================================================== */

.invoice-page {
    min-height: 100vh;
    padding: 42px 0 60px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .08), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.invoice-page .container {
    max-width: 1160px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.invoice-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.invoice-card,
.invoice-help {
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .08);
}

.invoice-card {
    overflow: hidden;
    padding: 0;
}

.invoice-card::before {
    content: "";
    display: block;
    height: 7px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9, #22c55e);
}

.invoice-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 28px 22px;
    border-bottom: 1px solid #e5e7eb;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, .08), transparent 35%),
        #ffffff;
}

.invoice-header h1 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: #0f172a;
    word-break: break-word;
}

.invoice-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.invoice-card .section-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.payment-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.payment-status-pending {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.payment-status-paid {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.payment-status-expired,
.payment-status-failed {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.invoice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 24px 28px 0;
    margin: 0;
}

.invoice-box {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
}

.invoice-box span {
    display: block;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.invoice-box strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.45;
    word-break: break-word;
}

.invoice-total {
    margin: 22px 28px;
    padding: 22px;
    border: 1px solid #bfdbfe;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, .18), transparent 36%),
        linear-gradient(135deg, #eff6ff, #eef2ff);
}

.invoice-total span {
    display: block;
    margin-bottom: 6px;
    color: #1e40af;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.invoice-total strong {
    display: block;
    margin: 0 0 7px;
    color: #1d4ed8;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.invoice-total small {
    display: block;
    color: #475569;
    line-height: 1.6;
}

.payment-box,
.download-box {
    margin: 0 28px 24px;
    padding: 22px;
    border: 1px dashed #2563eb;
    border-radius: 22px;
    background: #f8fbff;
}

.payment-box h2,
.download-box h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 23px;
    letter-spacing: -0.03em;
}

.qris-box {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 330px;
    margin: 0 auto 16px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: inset 0 0 0 8px #f8fafc;
}

.qris-box img {
    width: 260px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.va-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}

.va-number strong {
    min-width: 0;
    color: #0f172a;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.25;
    letter-spacing: .05em;
    word-break: break-all;
}

.small-copy,
.copy-btn {
    cursor: pointer;
}

.small-copy {
    flex: 0 0 auto;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 900;
}

.invoice-page .btn,
.invoice-page .btn-primary,
.invoice-page .btn-outline {
    min-height: 46px;
    border-radius: 15px;
    font-weight: 900;
    text-decoration: none;
}

.invoice-page .btn-block {
    width: 100%;
    display: flex;
}

.payment-check-result {
    margin-top: 14px;
}

.invoice-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 28px 28px;
}

.invoice-footer-actions .btn,
.invoice-footer-actions a {
    flex: 1 1 180px;
}

.invoice-help {
    position: sticky;
    top: 22px;
    padding: 24px;
}

.invoice-help h3 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.invoice-help ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.invoice-help li {
    margin-bottom: 10px;
    color: #475569;
    line-height: 1.65;
}

.invoice-help p {
    margin: 0;
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
    color: #64748b;
    line-height: 1.7;
}

.invoice-page .alert {
    margin: 14px 28px 24px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 800;
    line-height: 1.6;
}

.payment-box .alert,
.download-box .alert,
.payment-check-result .alert {
    margin: 12px 0 0;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* =====================================================
   MOBILE FIX
===================================================== */

@media (max-width: 992px) {
    .invoice-wrap {
        grid-template-columns: 1fr;
    }

    .invoice-help {
        position: static;
    }
}

@media (max-width: 640px) {
    .invoice-page {
        padding: 24px 0 42px;
    }

    .invoice-page .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .invoice-card,
    .invoice-help {
        border-radius: 22px;
    }

    .invoice-header {
        flex-direction: column;
        padding: 22px 18px 18px;
    }

    .payment-status {
        align-self: flex-start;
    }

    .invoice-grid {
        grid-template-columns: 1fr;
        padding: 18px 18px 0;
    }

    .invoice-total,
    .payment-box,
    .download-box {
        margin-left: 18px;
        margin-right: 18px;
    }

    .invoice-total {
        padding: 18px;
    }

    .payment-box,
    .download-box {
        padding: 18px;
    }

    .invoice-footer-actions {
        padding: 0 18px 22px;
        flex-direction: column;
    }

    .invoice-footer-actions .btn,
    .invoice-footer-actions a {
        flex: unset;
        width: 100%;
    }

    .va-number {
        align-items: stretch;
        flex-direction: column;
    }

    .small-copy {
        width: 100%;
    }

    .invoice-help {
        padding: 20px;
    }

    .invoice-page .alert {
        margin-left: 18px;
        margin-right: 18px;
    }
}

@media (max-width: 420px) {
    .invoice-header h1 {
        font-size: 22px;
    }

    .invoice-total strong {
        font-size: 30px;
    }

    .qris-box {
        padding: 14px;
    }
}
.invoice-breakdown {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(37, 99, 235, .18);
}

.invoice-breakdown div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #334155;
}

.invoice-breakdown span {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
}

.invoice-breakdown b {
    color: #0f172a;
    font-size: 14px;
}

.payment-live-card {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 18px;
    border-radius: 18px;
    text-align: center;
}

.payment-live-card strong {
    font-size: 17px;
    color: #0f172a;
}

.payment-live-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.payment-live-waiting {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.payment-live-success {
    border: 1px solid #86efac;
    background: #ecfdf5;
}

.payment-live-failed {
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.payment-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #bfdbfe;
    border-top-color: #2563eb;
    border-radius: 999px;
    animation: paymentSpin .8s linear infinite;
}

.payment-success-animation {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #22c55e;
    animation: paymentPop .5s ease both;
}

.payment-success-animation span {
    position: absolute;
    left: 17px;
    top: 13px;
    width: 16px;
    height: 28px;
    border: solid #fff;
    border-width: 0 5px 5px 0;
    transform: rotate(45deg);
}

.payment-failed-animation {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    animation: paymentShake .45s ease both;
}

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

@keyframes paymentPop {
    0% {
        opacity: 0;
        transform: scale(.4);
    }

    80% {
        transform: scale(1.08);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes paymentShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-2px);
    }
}
/* =====================================================
   HOME DIGITAL PRODUCTS
===================================================== */

.home-store-section {
    margin-top: 34px;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-product-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, .45);
    box-shadow: 0 22px 50px rgba(15, 23, 42, .12);
}

.home-product-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #dbeafe, #eef2ff);
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-product-card:hover .home-product-image img {
    transform: scale(1.055);
}

.home-product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.home-product-placeholder span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: #2563eb;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .25);
}

.home-product-badge,
.home-product-sale {
    position: absolute;
    z-index: 2;
    top: 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.home-product-badge {
    left: 12px;
    background: rgba(15, 23, 42, .86);
    backdrop-filter: blur(10px);
}

.home-product-sale {
    right: 12px;
    background: #ef4444;
}

.home-product-body {
    padding: 18px;
}

.home-product-body h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.35;
}

.home-product-body h3 a {
    color: #0f172a;
    text-decoration: none;
}

.home-product-body h3 a:hover {
    color: #2563eb;
}

.home-product-body p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.home-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.home-product-meta span {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.home-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.home-product-price span {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 800;
    text-decoration: line-through;
}

.home-product-price strong {
    color: #2563eb;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.home-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.home-product-detail,
.home-product-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 13px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.home-product-detail {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #0f172a;
}

.home-product-detail:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.home-product-buy {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22);
}

.home-product-buy:hover {
    background: #1d4ed8;
}

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

    .home-product-actions {
        grid-template-columns: 1fr;
    }
}
/* =====================================================
   MOBILE MENU PATCH ONLY - TIDAK MENGUBAH DESKTOP
===================================================== */

.side-nav-title {
    margin: 14px 4px 6px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

@media (max-width: 860px) {
    .nav-wrap {
        display: none !important;
    }

    .header-search {
        display: none !important;
    }

    .header-action-link {
        display: none !important;
    }

    .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}
/* =====================================================
   FRONTEND DYNAMIC LOGO
===================================================== */

.brand-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 5px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.side-brand .brand-image {
    width: 46px;
    height: 46px;
}

@media (max-width: 560px) {
    .brand-image {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }
}
/* =====================================================
   DYNAMIC LOGO HEADER / LOADER / FOOTER
===================================================== */

.brand-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 5px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.loader-logo img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 22px;
    background: #ffffff;
    padding: 7px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.22);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-brand-image {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 18px;
    background: #ffffff;
    padding: 6px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.footer-brand-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.28);
}

.footer-brand strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.footer-brand small {
    display: block;
    color: rgba(226, 232, 240, 0.78);
    font-size: 13px;
    margin-top: 3px;
    font-weight: 700;
}

@media (max-width: 560px) {
    .brand-image {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .loader-logo img {
        width: 64px;
        height: 64px;
        border-radius: 20px;
    }

    .footer-brand-image,
    .footer-brand-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .footer-brand strong {
        font-size: 19px;
    }
}
/* =====================================================
   PRODUCT CONTENT PATCH — legacy text + structured HTML
===================================================== */
.product-description-heading {
    margin: 0 0 20px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 24px;
}

.product-description .product-description-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 10px;
}

.product-description .product-description-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.product-description .product-description-list li::before {
    content: "✓";
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 900;
    margin-top: 2px;
}

.product-description > :first-child {
    margin-top: 0;
}

.product-description a {
    color: var(--primary-color, #2563eb);
    overflow-wrap: anywhere;
}

@media (max-width: 560px) {
    .product-description-heading {
        font-size: 21px;
    }
    .product-description {
        font-size: 15px;
        line-height: 1.75;
    }
}
