/* ========================================
   SS ENERGI / PLTS MANDIRI - MAIN STYLESHEET
   Brand: Solar Panel Rumah, Solar Panel Jakarta, Solar Panel Murah
   ======================================== */

/* ---------- RESET ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
}

/* ---------- CSS VARIABLES ---------- */
:root {
    --primary: #0C6E4C;
    --primary-dark: #09573D;
    --primary-light: #108A61;
    --secondary: #FFB300;
    --secondary-dark: #E6A100;
    --secondary-light: #FFC14D;
    --dark: #0F172A;
    --dark-70: rgba(15, 23, 42, 0.7);
    --dark-60: rgba(15, 23, 42, 0.6);
    --dark-20: rgba(15, 23, 42, 0.2);
    --dark-10: rgba(15, 23, 42, 0.1);
    --light: #F8FAFC;
    --light-90: #F1F5F9;
    --accent: #0284C7;
    --accent-dark: #0369A1;
    --accent-light: #38BDF8;
    --white: #FFFFFF;
    --success: #22C55E;
    --danger: #EF4444;
    --warning: #F59E0B;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --rounded-sm: 4px;
    --rounded: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-full: 9999px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--rounded-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    line-height: 1.5;
    white-space: nowrap;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(12, 110, 76, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px -8px rgba(12, 110, 76, 0.12);
    border-bottom-color: rgba(12, 110, 76, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

.nav-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--dark-70);
    font-size: 14.5px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--rounded-full);
    position: relative;
    transition: all 0.25s ease;
    letter-spacing: 0.1px;
}

.nav-link .nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.8;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(12, 110, 76, 0.08);
}

.nav-link:hover .nav-icon {
    opacity: 1;
    transform: translateY(-1px) scale(1.1);
}

.nav-link.active {
    color: var(--primary);
    background-color: rgba(12, 110, 76, 0.1);
}

.nav-link.active .nav-icon {
    opacity: 1;
}

/* Subtle underline accent for active */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    border-radius: var(--rounded-full);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* ---------- NAVBAR DROPDOWN ---------- */
.nav-dropdown {
    position: relative;
}

/* Invisible bridge to keep hover active when moving from toggle to menu */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    pointer-events: none;
}

.nav-dropdown:hover::after {
    pointer-events: auto;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 260px;
    background: var(--white);
    border: 1px solid rgba(12, 110, 76, 0.1);
    border-radius: var(--rounded-xl);
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.18);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 60;
}

/* Elegant gradient top border accent */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    border-radius: 0 0 var(--rounded-full) var(--rounded-full);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--rounded-lg);
    transition: all 0.2s ease;
    margin: 2px 0;
}

.dropdown-item-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(12, 110, 76, 0.08), rgba(255, 179, 0, 0.12));
    border-radius: var(--rounded-lg);
    transition: transform 0.2s ease;
}

.dropdown-item-icon svg {
    width: 22px;
    height: 22px;
}

.dropdown-item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dropdown-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}

.dropdown-item-desc {
    font-size: 12px;
    color: var(--dark-60);
    margin-top: 2px;
    line-height: 1.4;
}

.nav-dropdown-item:hover {
    background-color: rgba(12, 110, 76, 0.06);
}

.nav-dropdown-item:hover .dropdown-item-icon {
    transform: scale(1.08) rotate(-4deg);
}

.nav-dropdown-item:hover .dropdown-item-title {
    color: var(--primary);
}

.nav-dropdown-item::after {
    display: none;
}

/* CTA Button enhanced */
.cta-btn {
    margin-left: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
}

.mobile-dropdown-toggle:hover {
    color: var(--primary);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-menu {
    max-height: 200px;
}

.mobile-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu .nav-link {
    padding-left: 24px;
    font-size: 14px;
    border-radius: var(--rounded-md);
    margin: 4px 0;
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--rounded-md);
    transition: var(--transition-fast);
}

.burger-btn:hover {
    background-color: var(--light-90);
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.burger-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-btn.open span:nth-child(2) {
    opacity: 0;
}

.burger-btn.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(12, 110, 76, 0.1);
    background-color: var(--white);
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.12);
}

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

.mobile-menu .nav-link,
.mobile-menu .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-70);
    border-radius: var(--rounded-lg);
    border-bottom: none;
    transition: all 0.2s ease;
}

.mobile-menu .nav-link:hover,
.mobile-menu .mobile-dropdown-toggle:hover {
    color: var(--primary);
    background-color: rgba(12, 110, 76, 0.08);
}

.mobile-menu .nav-link .nav-icon,
.mobile-menu .mobile-dropdown-toggle .nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.85;
}

.mobile-menu .nav-link::after,
.mobile-menu .mobile-dropdown-toggle::after {
    display: none;
}

.mobile-menu .mobile-cta {
    margin-top: 16px;
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100svh - 78px);
    padding: clamp(86px, 10vh, 126px) 0 70px;
    background-color: #062523;
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    filter: brightness(2.1) saturate(0.88) contrast(1.03);
}

.hero::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0;
    background: rgba(3, 28, 27, 0.32);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.18;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(48px, 7vw, 102px);
    align-items: center;
}

.hero h1 {
    max-width: 820px;
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(3.25rem, 6.4vw, 6.6rem);
    font-weight: 650;
    line-height: 0.92;
    letter-spacing: -0.06em;
    color: var(--white);
    text-wrap: balance;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.hero h1 .highlight {
    color: inherit;
}

.hero-lead {
    max-width: 650px;
    margin-top: 29px;
    font-family: 'Inter', system-ui, sans-serif;
    color: rgba(238, 246, 240, 0.76);
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 55px;
    padding: 14px 24px;
    border-radius: 999px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.hero-btn-primary {
    background-color: #e6da55;
    border: 1px solid transparent;
    color: #102522;
    box-shadow: 0 10px 32px rgba(201, 187, 52, 0.2);
}

.hero-btn-ghost {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.hero-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(86px, 1fr));
    max-width: 700px;
    margin-top: clamp(60px, 9vh, 100px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-row .stat-item {
    padding: 20px 24px 0 0;
    text-align: left;
}

.hero-stat-row .stat-number {
    display: block;
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 27px;
    font-weight: 600;
    color: var(--white);
}

.hero-stat-row .stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(225, 238, 230, 0.57);
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

/* ---------- SECTION COMMON ---------- */
.section {
    padding: 72px 0;
}

.section-alt {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
    letter-spacing: -0.3px;
}

.section-title h2 .accent {
    color: var(--primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--dark-70);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- SISTEM PLTS SECTION (Satu Sistem, Satu Aliran Energi) ---------- */
.energy-story {
    --story-progress: 0;
    --energy-accent: #e6da55;
    position: relative;
    padding: clamp(48px, 6vh, 72px) 0 clamp(36px, 5vh, 56px);
    overflow: clip;
    background: rgb(4, 29, 28);
    color: rgb(244, 245, 237);
    isolation: isolate;
}

.energy-story::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: radial-gradient(circle at 20% 30%, rgba(31, 138, 122, 0.19), transparent 31rem) 0% 0% / auto,
                linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0% 0% / 72px 72px,
                linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0% 0% / 72px 72px;
    pointer-events: none;
}

.energy-sticky {
    position: relative;
    z-index: 1;
    height: auto;
    min-height: 0px;
    overflow: visible;
}

.energy-sticky::after {
    content: none;
}

.energy-kicker {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 clamp(20px, 3vh, 32px) max(36px, -604px + 50vw);
    color: rgba(233, 240, 235, 0.56);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.energy-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--energy-accent);
    box-shadow: rgba(230, 218, 85, 0.09) 0px 0px 0px 7px, rgba(230, 218, 85, 0.4) 0px 0px 22px;
}

.system-canvas {
    position: relative;
    width: min(76vw, 1180px, calc((100svh - 150px) * 16 / 9));
    aspect-ratio: 16 / 9;
    margin: 0 auto 0 max(36px, -604px + 50vw);
    transition: transform 0.8s cubic-bezier(0.22, 0.8, 0.2, 1), filter 0.8s;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: rgb(246, 246, 243);
    box-shadow: rgba(0, 0, 0, 0.34) 0px 36px 100px, rgba(255, 255, 255, 0.024) 0px 0px 0px 8px;
}

.system-mode-stage {
    position: absolute;
    z-index: 20;
    inset: 0px;
    overflow: hidden;
    border-radius: 29px;
    background: rgb(244, 246, 247);
}

.system-mode-viewport {
    position: absolute;
    inset: 0px;
    background: rgb(244, 246, 247);
}

.system-mode-media {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.55s, transform 0.8s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.system-mode-media.is-active {
    opacity: 1;
    transform: scale(1);
}

.system-energy-map {
    position: absolute;
    z-index: 22;
    inset: 0px;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.energy-route {
    opacity: 0;
    transition: opacity 0.4s;
}

.energy-route-track {
    fill: none;
    stroke: rgb(255, 174, 24);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: 0.86;
}

.energy-route-pulse {
    fill: none;
    stroke: rgb(255, 248, 174);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1, 15;
    vector-effect: non-scaling-stroke;
    filter: url(#current-glow);
    animation: 0.85s linear 0s infinite normal none running routeCurrent;
}

@keyframes routeCurrent {
    100% { stroke-dashoffset: -64; }
}

.system-mode-stage[data-system-mode="ongrid"] .route-common,
.system-mode-stage[data-system-mode="ongrid"] .route-ongrid,
.system-mode-stage[data-system-mode="hybrid"] .route-common,
.system-mode-stage[data-system-mode="hybrid"] .route-hybrid,
.system-mode-stage[data-system-mode="offgrid"] .route-common,
.system-mode-stage[data-system-mode="offgrid"] .route-offgrid {
    opacity: 1;
}

.system-mode-pins {
    position: absolute;
    z-index: 23;
    inset: 0px;
    display: none;
    pointer-events: none;
}

.system-mode-stage[data-system-mode="ongrid"] .system-mode-pins[data-mode-pins="ongrid"],
.system-mode-stage[data-system-mode="hybrid"] .system-mode-pins[data-mode-pins="hybrid"],
.system-mode-stage[data-system-mode="offgrid"] .system-mode-pins[data-mode-pins="offgrid"] {
    display: block;
}

.system-mode-pin {
    position: absolute;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 50%;
    background: rgb(11, 23, 42);
    color: rgb(255, 255, 255);
    box-shadow: rgba(255, 174, 24, 0.2) 0px 0px 0px 5px, rgba(11, 23, 42, 0.26) 0px 10px 24px;
    font: 750 11px / 1 Sora, sans-serif;
    transform: translate(-50%, -50%);
}

.pin-modern-panel { left: 34%; top: 23%; }
.pin-modern-inverter { left: 56%; top: 47%; }
.pin-modern-battery { left: 59%; top: 66%; }
.pin-modern-grid { left: 82%; top: 27%; }
.pin-modern-meter { left: 73%; top: 52%; }
.pin-modern-load { left: 48%; top: 68%; }

.system-mode-picker {
    position: absolute;
    z-index: 24;
    top: 12px;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(470px, 100% - 30px);
    padding: 5px;
    border: 1px solid rgba(11, 23, 42, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: rgba(11, 23, 42, 0.15) 0px 14px 34px;
    backdrop-filter: blur(16px);
    transform: translateX(-50%);
}

.system-mode-button {
    min-height: 42px;
    padding: 0px 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: rgb(102, 117, 138);
    font: 650 13px / 1 Sora, sans-serif;
    cursor: pointer;
    transition: color 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.system-mode-button:hover {
    color: rgb(11, 23, 42);
}

.system-mode-button.is-active {
    border-color: rgb(11, 23, 42);
    background: rgb(255, 255, 255);
    color: rgb(11, 23, 42);
    box-shadow: rgba(11, 23, 42, 0.1) 0px 6px 16px;
}

.system-mode-button.is-active::before {
    content: "✓";
    margin-right: 8px;
    font-size: 14px;
}

.system-mode-status {
    position: absolute;
    z-index: 23;
    top: 76px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(11, 23, 42, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: rgb(71, 98, 94);
    font: 700 8px / 1 "JetBrains Mono", monospace;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.system-mode-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(223, 207, 52);
    box-shadow: rgba(223, 207, 52, 0.17) 0px 0px 0px 5px, rgba(223, 207, 52, 0.8) 0px 0px 16px;
    animation: 1.4s ease-in-out 0s infinite normal none running modePulse;
}

@keyframes modePulse {
    50% { opacity: 0.45; transform: scale(0.72); }
}

.system-mode-copy {
    position: absolute;
    z-index: 23;
    left: 17px;
    bottom: 88px;
    max-width: 270px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    background: rgba(4, 29, 28, 0.88);
    box-shadow: rgba(4, 29, 28, 0.22) 0px 14px 34px;
    backdrop-filter: blur(14px);
}

.system-mode-copy span {
    display: block;
    color: rgb(230, 218, 85);
    font: 700 8px / 1 "JetBrains Mono", monospace;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.system-mode-copy strong {
    display: block;
    margin-top: 6px;
    color: rgb(255, 255, 255);
    font: 650 17px / 1.1 Sora, sans-serif;
}

.system-mode-copy p {
    margin-top: 5px;
    color: rgba(238, 244, 240, 0.66);
    font-size: 9px;
    line-height: 1.45;
}

.system-mode-legends {
    position: absolute;
    z-index: 24;
    left: 12px;
    right: 12px;
    bottom: 11px;
}

.system-mode-legend {
    display: none;
    grid-template-columns: repeat(var(--legend-count,4),minmax(0,1fr));
    gap: 5px;
    padding: 7px;
    border: 1px solid rgba(11, 23, 42, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: rgba(11, 23, 42, 0.13) 0px 12px 30px;
    backdrop-filter: blur(14px);
}

.system-mode-legend.is-active {
    display: grid;
}

.system-mode-legend span {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0px;
    padding: 6px;
    border-radius: 9px;
    color: rgb(83, 97, 109);
    font-size: 8px;
    font-weight: 750;
    line-height: 1.15;
}

.system-mode-legend b {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgb(11, 23, 42);
    color: rgb(255, 255, 255);
    font: 700 8px / 1 Sora, sans-serif;
    box-shadow: rgba(223, 207, 52, 0.17) 0px 0px 0px 3px;
}

.system-mode-legend span:first-child {
    background: rgb(245, 241, 201);
    color: rgb(23, 37, 31);
}

/* ---------- PROFIL SECTION ---------- */
.profil {
    background-color: #f6f7f2;
}

.profil-header {
    max-width: 720px;
    margin-bottom: 56px;
}

.profil-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.profil-header h2 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    color: #111827;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.profil-desc {
    font-size: 17px;
    line-height: 1.75;
    color: #4b5563;
    max-width: 640px;
}

.profil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.profil-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profil-card {
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    padding: 28px;
    background-color: #f9faf7;
    transition: var(--transition);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.profil-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.profil-card-icon {
    display: inline-grid;
    grid-template-columns: repeat(2, 10px);
    grid-template-rows: repeat(2, 10px);
    gap: 3px;
    flex-shrink: 0;
}

.profil-card-icon .q {
    border-radius: 2px;
}

.profil-card-icon .q1, .profil-card-icon .q4 {
    background-color: var(--primary);
}

.profil-card-icon .q2, .profil-card-icon .q3 {
    background-color: var(--secondary);
}

.profil-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    margin: 0;
}

.profil-card p {
    width: 100%;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-top: 4px;
}

.profil-points {
    display: flex;
    flex-direction: column;
}

.profil-point {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.profil-point:last-child {
    border-bottom: none;
}

.point-num {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    min-width: 28px;
    padding-top: 2px;
}

.point-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
}

.point-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

/* ---------- KALKULATOR SECTION ---------- */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.kalkulator {
    background-color: #f1f3ed;
    padding: 82px 0;
}

.kalkulator .wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.kalkulator .section-head {
    margin-bottom: 54px;
}

.kalkulator .eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.16px;
    text-transform: uppercase;
    color: #12665d;
}

.kalkulator .section-head h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 4vw, 34.4px);
    font-weight: 620;
    line-height: 1.03;
    letter-spacing: -1.548px;
    color: #062523;
    margin: 13px 0 0;
}

.kalkulator .section-head p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #65716d;
    margin: 20px 0 0;
    max-width: 900px;
}

.calc-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    padding: 38px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 96% 0, rgba(31, 138, 122, 0.4), rgba(0, 0, 0, 0) 36%),
        linear-gradient(145deg, #062523, #0d3b38);
    box-shadow: 0 26px 80px 0 rgba(6, 37, 35, 0.16);
}

/* ---------- CALC FORM ---------- */
.calc-form label {
    display: block;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    color: rgba(224, 237, 229, 0.62);
}

.calc-form .optional-label {
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0;
    text-transform: none;
}

.calc-form input[type="number"],
.calc-form input[type="text"],
.calc-form input[type="email"],
.calc-form input[type="tel"],
.calc-form select {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.calc-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.6'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
    cursor: pointer;
}

.calc-form select option {
    background-color: #062523;
    color: #ffffff;
}

.calc-form select optgroup {
    color: #ffffff;
    font-weight: 700;
}

.calc-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.calc-form input:focus,
.calc-form select:focus {
    border-color: rgba(230, 218, 85, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Remove number input spinners */
.calc-form input[type="number"]::-webkit-outer-spin-button,
.calc-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.calc-form input[type="number"] {
    -moz-appearance: textfield;
}

.calc-btn {
    width: 100%;
    margin-top: 26px;
    padding: 15px;
    border-radius: 999px;
    background-color: #e6da55;
    color: #102522;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.calc-btn:hover {
    background-color: #f0e670;
}

.calc-btn:active {
    transform: scale(0.99);
}

.calc-note {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    line-height: 18.75px;
    color: #7e93a4;
}

.calc-note--form {
    margin-top: 12px;
    padding-top: 16px;
}

.form-card {
    border-radius: var(--rounded-xl);
    background-color: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 32px;
}

.form-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-card h3::before {
    content: '';
    width: 8px;
    height: 32px;
    border-radius: var(--rounded);
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.form-label .required {
    color: var(--danger);
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--rounded-lg);
    border: 1.5px solid var(--dark-20);
    background-color: var(--white);
    font-size: 15px;
    line-height: 1.5;
    transition: var(--transition-fast);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 110, 76, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--dark-60);
    opacity: 0.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-prefix {
    position: relative;
}

.input-prefix .prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-60);
    font-weight: 600;
    font-size: 14px;
}

.input-prefix .form-input {
    padding-left: 52px;
}

/* ---------- CALC RESULT ---------- */
.calc-result {
    display: flex;
    flex-direction: column;
    padding: 31px;
    border-radius: 23px;
    background-color: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.r-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: #9fb2c2;
}

.r-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
    margin-top: 18px;
}

.r-item {
    display: flex;
    flex-direction: column;
}

.r-item span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #9fb2c2;
}

.r-item b {
    display: block;
    margin-top: 4px;
    font-family: 'Sora', sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 31.5px;
    color: #f4f3df;
}

.r-included {
    display: none;
    padding-top: 18px;
    margin-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.r-included.show {
    display: block;
}

.r-included-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: #9fb2c2;
    margin-bottom: 12px;
}

.r-included ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.r-included li {
    position: relative;
    padding-left: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 6px;
}

.r-included li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #e6da55;
}

.calc-result .calc-note {
    margin-top: 22px;
}

.form-success {
    display: none;
    margin-top: 16px;
    background: rgba(63, 107, 30, 0.15);
    border: 1px solid rgba(63, 107, 30, 0.4);
    color: #dbe4ea;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 13.5px;
    line-height: 20px;
}

.form-success.show {
    display: block;
}

/* ---------- LAYANAN SECTION ---------- */
.layanan {
    background-color: var(--white);
}

.layanan-header {
    text-align: left;
    margin-bottom: 48px;
    max-width: 720px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.layanan-heading {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.layanan-subtitle {
    font-size: 17px;
    color: var(--dark-70);
    line-height: 1.7;
    max-width: 640px;
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.layanan-card {
    border-radius: var(--rounded-xl);
    background-color: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.layanan-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.layanan-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layanan-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.layanan-desc {
    color: var(--dark-70);
    line-height: 1.65;
    margin-bottom: 20px;
    font-size: 14px;
}

.layanan-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background-color: rgba(12, 110, 76, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
}

/* ---------- DOKUMENTASI / GALERI SECTION ---------- */
.dokumentasi {
    background-color: var(--light);
}

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

.galeri-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--rounded-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--dark-10);
    cursor: pointer;
}

.galeri-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeri-item:hover .galeri-img {
    transform: scale(1.08);
}

.galeri-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 14px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(10px);
}

.galeri-item:hover .galeri-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- KEMITRAAN SECTION ---------- */
.kemitraan {
    background-color: var(--white);
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.benefit-card {
    padding: 28px;
    border-radius: var(--rounded-xl);
    background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--rounded-lg);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.benefit-card ul {
    list-style: none;
}

.benefit-card li {
    padding: 8px 0 8px 32px;
    position: relative;
    line-height: 1.6;
    color: var(--dark-70);
    font-size: 14px;
}

.benefit-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(12, 110, 76, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230C6E4C'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.form-kemitraan {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0;
}

.form-kemitraan-info {
    padding: 32px;
    border-radius: var(--rounded-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
}

.form-kemitraan-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.form-kemitraan-info > p {
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 24px;
}

.info-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--rounded-md);
    backdrop-filter: blur(4px);
}

.info-list-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--rounded);
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.info-list-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.info-list-text span {
    font-size: 14px;
    opacity: 0.9;
}

/* ---------- KONSULTASI / KONTAK SECTION ---------- */
.konsultasi {
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.konsultasi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.kontak-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--rounded-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.kontak-info-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.kontak-info-card > p {
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.6;
}

.kontak-item {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
    padding: 14px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--rounded-md);
    transition: var(--transition);
}

.kontak-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.kontak-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--rounded-md);
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.kontak-text strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    margin-bottom: 2px;
}

.kontak-text span {
    font-size: 15px;
    font-weight: 500;
}

.kontak-map {
    margin-top: 24px;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: rgba(255, 255, 255, 0.1);
}

/* ---------- ARTIKEL LIST PAGE ---------- */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 64px 0 48px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header h1 .accent {
    color: var(--secondary);
}

.page-header .breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}

.page-header .breadcrumb a {
    color: var(--secondary);
}

.artikel-section {
    padding: 56px 0;
}

.artikel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.artikel-card {
    border-radius: var(--rounded-xl);
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.artikel-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.artikel-thumb {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
}

.artikel-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.artikel-meta {
    font-size: 12px;
    color: var(--dark-60);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.artikel-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.artikel-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--dark);
    transition: var(--transition-fast);
}

.artikel-title:hover {
    color: var(--primary);
}

.artikel-excerpt {
    color: var(--dark-70);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artikel-more {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.artikel-more:hover {
    gap: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--border);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-70);
    transition: var(--transition);
    cursor: pointer;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(12, 110, 76, 0.05);
}

.page-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-btn.dots {
    border: none;
    background: none;
    cursor: default;
}

.page-btn.dots:hover {
    color: var(--dark-70);
    background: none;
}

/* ---------- ARTIKEL DETAIL PAGE ---------- */
.artikel-single-section {
    padding: 56px 0;
}

.artikel-single {
    max-width: 800px;
    margin: 0 auto;
}

.artikel-featured {
    border-radius: var(--rounded-xl);
    overflow: hidden;
    margin-bottom: 32px;
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.artikel-single h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--dark);
    letter-spacing: -0.3px;
}

.artikel-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    color: var(--dark-60);
    font-size: 14px;
}

.artikel-single-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.artikel-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
}

.artikel-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--dark);
}

.artikel-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 24px;
    color: var(--dark);
}

.artikel-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--dark-70);
}

.artikel-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}

.artikel-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 16px;
}

.artikel-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--dark-70);
}

.artikel-content a {
    color: var(--primary);
    text-decoration: underline;
}

.artikel-content a:hover {
    color: var(--primary-dark);
}

.artikel-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--primary);
    background-color: var(--light);
    border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
    font-style: italic;
    color: var(--dark-70);
}

.artikel-content img {
    border-radius: var(--rounded-lg);
    margin: 24px 0;
    box-shadow: var(--shadow-md);
}

.artikel-share {
    margin-top: 40px;
    padding: 24px;
    background-color: var(--light);
    border-radius: var(--rounded-xl);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.share-label {
    font-weight: 700;
    color: var(--dark);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 18px;
}

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

.share-wa { background-color: var(--success); }
.share-fb { background-color: #1877F2; }
.share-tw { background-color: #1DA1F2; }
.share-mail { background-color: var(--accent); }

.related-posts {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.related-posts h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ---------- EBOOK PAGE ---------- */
.ebook-section {
    padding: 56px 0;
}

.ebook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ebook-card {
    background-color: var(--white);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.ebook-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.ebook-thumb {
    aspect-ratio: 3 / 4;
    background: linear-gradient(45deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ebook-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.04) 20px, rgba(255, 255, 255, 0.04) 40px);
}

.ebook-icon {
    font-size: 64px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.ebook-pages {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: var(--rounded-full);
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.ebook-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ebook-category {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--secondary);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--rounded);
    margin-bottom: 12px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ebook-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
}

.ebook-desc {
    color: var(--dark-70);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 16px;
    flex: 1;
}

.lead-form {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.lead-form .form-group {
    margin-bottom: 12px;
}

.lead-form .form-input {
    padding: 10px 14px;
    font-size: 14px;
}

.lead-form .btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
}

/* ---------- FOOTER ---------- */
.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 56px 0 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4.footer-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
    object-fit: contain;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.85;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-kontak-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-kontak-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.7;
}

.copyright a {
    color: var(--primary-light);
}

/* ---------- FLOATING ACTION BUTTONS ---------- */
.float-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 50;
}

.float-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    white-space: nowrap;
    line-height: 1;
}

.float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    color: var(--white);
    filter: brightness(1.05);
}

.float-btn-calc {
    background-color: var(--primary);
}

.float-btn-calc:hover {
    background-color: var(--primary-dark);
}

.float-btn-wa {
    background-color: var(--success);
}

.float-btn-wa:hover {
    background-color: #16A34A;
}

.float-btn svg {
    flex-shrink: 0;
}

/* ---------- ADMIN PAGES ---------- */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--light);
}

.admin-sidebar {
    width: 260px;
    background-color: var(--dark);
    color: var(--white);
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 40;
}

.admin-sidebar-header {
    padding: 16px 12px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.admin-sidebar-brand {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}

.admin-sidebar-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-sidebar-section {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    padding: 16px 12px 8px;
    font-weight: 700;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--rounded-md);
    margin-bottom: 4px;
    transition: var(--transition-fast);
}

.admin-sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.admin-sidebar a.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.admin-sidebar-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    padding: 28px;
    background-color: var(--light);
    min-height: 100vh;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.admin-topbar-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    background-color: var(--white);
    border-radius: var(--rounded-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}

.admin-user-info strong {
    display: block;
    font-size: 13px;
    color: var(--dark);
}

.admin-user-info span {
    font-size: 11px;
    color: var(--dark-60);
}

.admin-card {
    background-color: var(--white);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid #CBD5E1;
    padding: 28px;
    margin-bottom: 24px;
}

.admin-card fieldset {
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 0 0 24px;
    background: #EEF2F7 !important;
}

.admin-card fieldset legend {
    padding: 0 10px;
    font-weight: 700;
    color: var(--dark);
    font-size: 15px;
}

.admin-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.admin-subtitle {
    font-size: 14px;
    color: var(--dark-70);
    margin-bottom: 20px;
    margin-top: -12px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-form-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--rounded-md);
    width: 300px;
    max-width: 100%;
}

.admin-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background-color: var(--white);
    border-radius: var(--rounded-xl);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.stat-card-label {
    font-size: 13px;
    color: var(--dark-60);
    font-weight: 500;
}

.stat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
}

.stat-card-icon.primary { background-color: var(--primary); }
.stat-card-icon.secondary { background-color: var(--secondary); color: var(--dark); }
.stat-card-icon.accent { background-color: var(--accent); }
.stat-card-icon.success { background-color: var(--success); }

.stat-card-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.stat-card-change {
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.stat-card-change.up { color: var(--success); }
.stat-card-change.down { color: var(--danger); }

.admin-table-wrapper {
    overflow-x: auto;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    background-color: #E2E8F0;
    border-bottom: 2px solid #CBD5E1;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--dark-70);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background-color: var(--light);
}

.admin-table .col-actions {
    width: 120px;
    text-align: right;
}

.table-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.table-action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--rounded);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.table-action-btn.edit {
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--accent);
}

.table-action-btn.edit:hover {
    background-color: var(--accent);
    color: var(--white);
}

.table-action-btn.delete {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.table-action-btn.delete:hover {
    background-color: var(--danger);
    color: var(--white);
}

.table-action-btn.view {
    background-color: rgba(12, 110, 76, 0.1);
    color: var(--primary);
}

.table-action-btn.view:hover {
    background-color: var(--primary);
    color: var(--white);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--rounded);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.badge-primary {
    background-color: rgba(12, 110, 76, 0.1);
    color: var(--primary);
}

.badge-secondary {
    background-color: rgba(255, 179, 0, 0.2);
    color: var(--secondary-dark);
}

.badge-accent {
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--accent);
}

.badge-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.badge-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.badge-draft {
    background-color: rgba(245, 158, 11, 0.15);
    color: #92400E;
}

.badge-published {
    background-color: rgba(34, 197, 94, 0.15);
    color: #166534;
}

.badge-pending {
    background-color: rgba(59, 130, 246, 0.15);
    color: #1E40AF;
}

.image-upload-preview {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 16 / 9;
    border-radius: var(--rounded-md);
    border: 2px dashed var(--border);
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 8px;
    position: relative;
}

.image-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-upload-placeholder {
    text-align: center;
    padding: 20px;
    color: var(--dark-60);
    font-size: 13px;
}

.image-upload-placeholder-icon {
    font-size: 40px;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* ---------- UTILITY CLASSES ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-dark { color: var(--dark); }
.text-light { color: var(--light); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-normal { font-weight: 400; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mt-64 { margin-top: 64px; }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-56 { margin-bottom: 56px; }

.ml-4 { margin-left: 4px; }
.ml-8 { margin-left: 8px; }
.ml-12 { margin-left: 12px; }
.ml-16 { margin-left: 16px; }

.mr-4 { margin-right: 4px; }
.mr-8 { margin-right: 8px; }
.mr-12 { margin-right: 12px; }
.mr-16 { margin-right: 16px; }

.mx-auto { margin-left: auto; margin-right: auto; }

.p-0 { padding: 0; }
.p-4 { padding: 4px; }
.p-8 { padding: 8px; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.p-24 { padding: 24px; }

.py-8 { padding-top: 8px; padding-bottom: 8px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.py-32 { padding-top: 32px; padding-bottom: 32px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.py-48 { padding-top: 48px; padding-bottom: 48px; }
.py-56 { padding-top: 56px; padding-bottom: 56px; }
.py-64 { padding-top: 64px; padding-bottom: 64px; }

.px-8 { padding-left: 8px; padding-right: 8px; }
.px-12 { padding-left: 12px; padding-right: 12px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-20 { padding-left: 20px; padding-right: 20px; }
.px-24 { padding-left: 24px; padding-right: 24px; }

.pt-0 { padding-top: 0; }
.pt-8 { padding-top: 8px; }
.pt-16 { padding-top: 16px; }
.pt-24 { padding-top: 24px; }
.pt-32 { padding-top: 32px; }
.pt-40 { padding-top: 40px; }
.pt-48 { padding-top: 48px; }

.pb-0 { padding-bottom: 0; }
.pb-8 { padding-bottom: 8px; }
.pb-16 { padding-bottom: 16px; }
.pb-24 { padding-bottom: 24px; }
.pb-32 { padding-bottom: 32px; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }

.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-1 { flex: 1; }
.flex-auto { flex: 1 1 auto; }

.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.content-start { align-content: flex-start; }
.content-center { align-content: center; }
.content-end { align-content: flex-end; }

.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-full { grid-column: 1 / -1; }

.w-100 { width: 100%; }
.w-auto { width: auto; }
.h-100 { height: 100%; }
.h-auto { height: auto; }
.min-h-100vh { min-height: 100vh; }

.max-w-full { max-width: 100%; }
.max-w-xs { max-width: 320px; }
.max-w-sm { max-width: 380px; }
.max-w-md { max-width: 440px; }
.max-w-lg { max-width: 520px; }
.max-w-xl { max-width: 640px; }
.max-w-2xl { max-width: 768px; }
.max-w-3xl { max-width: 896px; }
.max-w-4xl { max-width: 1024px; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

.rounded-sm { border-radius: var(--rounded-sm); }
.rounded { border-radius: var(--rounded); }
.rounded-md { border-radius: var(--rounded-md); }
.rounded-lg { border-radius: var(--rounded-lg); }
.rounded-xl { border-radius: var(--rounded-xl); }
.rounded-full { border-radius: var(--rounded-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-none { box-shadow: none; }

.border { border: 1px solid var(--border); }
.border-0 { border: none; }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.border-left { border-left: 1px solid var(--border); }
.border-right { border-right: 1px solid var(--border); }
.border-primary { border-color: var(--primary); }
.border-secondary { border-color: var(--secondary); }
.border-accent { border-color: var(--accent); }

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-transparent { background-color: transparent; }

.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.position-static { position: static; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

.line-through { text-decoration: line-through; }
.underline { text-decoration: underline; }
.no-underline { text-decoration: none; }
.text-decoration-none { text-decoration: none; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.whitespace-nowrap { white-space: nowrap; }
.whitespace-normal { white-space: normal; }
.whitespace-pre { white-space: pre; }

.word-break { word-break: break-word; }
.overflow-wrap { overflow-wrap: break-word; }

.visible { visibility: visible; }
.invisible { visibility: hidden; }

.aspect-1 { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-3-4 { aspect-ratio: 3 / 4; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-fill { object-fit: fill; }

.blur-none { filter: blur(0); }
.blur-sm { filter: blur(4px); }
.blur-md { filter: blur(8px); }

.grayscale { filter: grayscale(100%); }
.grayscale-0 { filter: grayscale(0); }

.transition { transition: var(--transition); }
.transition-fast { transition: var(--transition-fast); }
.transition-none { transition: none; }

.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

.translate-y-0 { transform: translateY(0); }
.translate-x-0 { transform: translateX(0); }

/* ---------- ALERT / FLASH MESSAGE ---------- */
.alert {
    padding: 16px 20px;
    border-radius: var(--rounded-md);
    margin-bottom: 16px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 0 4px;
}

.alert-close:hover {
    opacity: 1;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #166534;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #991B1B;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #92400E;
}

.alert-info {
    background-color: rgba(2, 132, 199, 0.1);
    border-color: rgba(2, 132, 199, 0.3);
    color: #075985;
}

/* ---------- MODAL ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.modal-backdrop.show {
    display: flex;
}

.modal {
    background-color: var(--white);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-2xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--rounded-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark-60);
    transition: var(--transition-fast);
    cursor: pointer;
}

.modal-close:hover {
    background-color: var(--light);
    color: var(--dark);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */

/* Tablet (md < 900px) */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 84px 0 72px;
    }

    .hero-inner {
        gap: 52px;
    }

    .hero h1 {
        max-width: 740px;
    }

    .hero-stat-row {
        margin-top: 58px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .energy-story {
        min-height: auto;
        padding: 90px 0px 40px;
    }

    .energy-sticky {
        position: relative;
        height: auto;
        min-height: 0px;
        overflow: visible;
    }

    .energy-kicker {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - 48px);
        margin: 0px auto 28px;
    }

    .system-canvas {
        position: relative;
        top: auto;
        left: auto;
        width: min(94vw, 960px);
        min-height: clamp(440px, 66vh, 660px);
        margin: 0px auto;
        transform: none;
    }

    .profil-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profil-header {
        margin-bottom: 40px;
    }

    .calc-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 28px;
    }

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

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

    .galeri {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-kemitraan {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .konsultasi-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-header {
        padding: 48px 0 36px;
    }

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

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

    .artikel-single h1 {
        font-size: 28px;
    }

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

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

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

    .admin-sidebar {
        width: 80px;
        padding: 12px 8px;
    }

    .admin-sidebar-header,
    .admin-sidebar-section,
    .admin-sidebar a span:not(.admin-sidebar-icon) {
        display: none;
    }

    .admin-sidebar a {
        justify-content: center;
        padding: 12px;
    }

    .admin-sidebar-icon {
        font-size: 20px;
    }

    .admin-content {
        margin-left: 80px;
        padding: 20px;
    }

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

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tabs-nav {
        padding-bottom: 0;
    }
}

/* Mobile (sm < 600px) */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .navbar .container {
        height: 68px;
    }

    .nav-logo img {
        height: 40px;
    }

    .hero {
        min-height: 780px;
        padding: 78px 0 58px;
    }

    .hero-video {
        object-position: 63% center;
    }

    .hero::before {
        background: rgba(3, 28, 27, 0.36);
    }

    .hero::after {
        background-size: 48px 48px;
        mask-image: linear-gradient(#000, transparent 85%);
        -webkit-mask-image: linear-gradient(#000, transparent 85%);
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-stat-row {
        grid-template-columns: 1fr 1fr;
        gap: 19px 0;
        margin-top: 45px;
    }

    .hero-stat-row .stat-item {
        padding-top: 14px;
    }

    .section {
        padding: 40px 0;
    }

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

    .section-title h2 {
        font-size: 24px;
    }

    .profil-point {
        padding: 20px 0;
        gap: 16px;
    }

    .calc-wrap {
        padding: 20px;
    }

    .calc-result {
        padding: 24px;
    }

    .r-item b {
        font-size: 18px;
        line-height: 28px;
    }

    .layanan-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .galeri {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .galeri-caption {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    }

    .artikel-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .artikel-single h1 {
        font-size: 24px;
    }

    .artikel-content h2 {
        font-size: 22px;
    }

    .artikel-content h3 {
        font-size: 18px;
    }

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

    .artikel-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .ebook-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .footer {
        padding: 44px 0 20px;
    }

    .float-actions {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }

    .float-btn {
        padding: 12px 18px;
        font-size: 14px;
        gap: 8px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 24px;
    }

    .energy-story {
        padding-top: 72px;
    }

    .energy-kicker {
        width: calc(100% - 38px);
        font-size: 8px;
    }

    .system-canvas {
        width: 110vw;
        margin-left: -5vw;
        aspect-ratio: 16 / 10;
        min-height: clamp(440px, 70vh, 640px);
        border-radius: 20px;
    }

    .system-mode-stage {
        border-radius: 19px;
    }

    .system-mode-picker {
        top: 8px;
        width: calc(100% - 20px);
        padding: 4px;
    }

    .system-mode-button {
        min-height: 36px;
        padding: 0px 8px;
        font-size: 10px;
    }

    .system-mode-status {
        top: 58px;
        left: 10px;
        padding: 6px 8px;
        font-size: 6px;
    }

    .system-mode-copy {
        left: 10px;
        bottom: 67px;
        max-width: 205px;
        padding: 8px 10px;
    }

    .system-mode-copy strong {
        font-size: 13px;
    }

    .system-mode-copy p {
        display: none;
    }

    .system-mode-legends {
        left: 7px;
        right: 7px;
        bottom: 6px;
        overflow-x: auto;
    }

    .system-mode-legend {
        display: none;
        width: max-content;
        min-width: 100%;
        padding: 5px;
        grid-template-columns: repeat(var(--legend-count,4),max-content);
    }

    .system-mode-legend.is-active {
        display: grid;
    }

    .system-mode-legend span {
        padding: 4px;
        font-size: 6px;
    }

    .system-mode-legend b {
        width: 17px;
        height: 17px;
        font-size: 7px;
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 12px 16px;
    }

    .admin-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
    }

    .admin-sidebar a {
        flex-shrink: 0;
        padding: 10px 14px;
    }

    .admin-content {
        margin-left: 0;
        padding: 16px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .admin-search {
        width: 100%;
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination {
        gap: 6px;
    }

    .page-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 16px;
    }

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

    .modal-footer .btn {
        width: 100%;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .float-actions,
    .footer,
    .burger-btn,
    .mobile-menu {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .section {
        padding: 24px 0;
        page-break-inside: avoid;
    }

    .form-card,
    .admin-card,
    .layanan-card,
    .artikel-card,
    .ebook-card,
    .benefit-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: var(--rounded);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--rounded);
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-20);
}

::-webkit-scrollbar-thumb:active {
    background: var(--primary-light);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border) var(--light);
}

/* ---------- SELECTION ---------- */
::selection {
    background-color: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--primary);
    color: var(--white);
}

/* ---------- FOCUS RING ---------- */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--rounded);
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb-nav {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
}
.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}
.breadcrumb-nav a:hover {
    color: var(--white);
    text-decoration: underline;
}
.breadcrumb-nav .breadcrumb-sep {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    opacity: 0.9;
    line-height: 1;
}
.breadcrumb-nav .current {
    color: var(--white);
    font-weight: 500;
    opacity: 0.95;
}

/* ---------- PAGE HEADER VARIANTS ---------- */
.page-header-small {
    padding: 28px 0 20px !important;
}
.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.25;
}

.page-subtitle {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto;
}
.article-title {
    font-size: 36px !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
}
.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}
.article-meta-top .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ---------- ARTIKEL SEARCH FORM ---------- */
.search-form-artikel {
    max-width: 760px;
    margin: 0 auto 40px;
}
.search-input-wrap {
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--rounded-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.search-input-wrap .form-input {
    border: none !important;
    box-shadow: none !important;
    padding: 12px 16px !important;
}
.search-input-wrap .form-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ---------- CATEGORY DROPDOWN ---------- */
.category-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto 36px;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-sm);
}
.category-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}
.category-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 220px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--rounded);
    cursor: pointer;
    transition: all 0.2s ease;
}
.category-dropdown-trigger:hover {
    border-color: var(--primary-light);
    background: rgba(12, 110, 76, 0.04);
}
.category-dropdown-trigger[aria-expanded="true"] {
    border-color: var(--primary);
    background: rgba(12, 110, 76, 0.06);
}
.category-dropdown-value {
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.category-dropdown-chevron {
    flex-shrink: 0;
    color: var(--dark-70);
    transition: transform 0.25s ease;
}
.category-dropdown-trigger[aria-expanded="true"] .category-dropdown-chevron {
    transform: rotate(180deg);
}
.category-dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 50;
    display: none;
    flex-direction: column;
    padding: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--rounded-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    max-height: 320px;
    overflow-y: auto;
}
.category-dropdown.is-open .category-dropdown-panel {
    display: flex;
}
.category-dropdown-option {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-70);
    text-decoration: none;
    border-radius: var(--rounded-sm);
    transition: all 0.15s ease;
}
.category-dropdown-option:hover {
    color: var(--primary);
    background: rgba(12, 110, 76, 0.06);
}
.category-dropdown-option.selected {
    color: var(--primary);
    background: rgba(12, 110, 76, 0.08);
    font-weight: 600;
}
.category-dropdown-option.selected::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230C6E4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 640px) {
    .category-dropdown {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .category-dropdown-trigger {
        width: 100%;
    }
}

/* ---------- ARTIKEL CARD (custom wrap) ---------- */
.artikel-card-img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    position: relative;
}
.artikel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.artikel-card:hover .artikel-card-img img {
    transform: scale(1.06);
}
.artikel-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}
.artikel-card-body {
    padding: 24px;
}
.artikel-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--dark-50);
}
.artikel-card-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--dark);
}
.artikel-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.artikel-card-title a:hover {
    color: var(--primary);
}
.artikel-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-60);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.artikel-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}
.artikel-card-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* ---------- PAGINATION ---------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--rounded-lg);
    border: 1px solid var(--border);
}
.pagination-prev,
.pagination-next {
    padding: 10px 18px;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary-light);
    border-radius: var(--rounded-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}
.pagination-prev:hover,
.pagination-next:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.pagination-page {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rounded-md);
    border: 1px solid var(--border);
    color: var(--dark-70);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: var(--white);
    transition: var(--transition-fast);
}
.pagination-page:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}
.pagination-page.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(12, 110, 76, 0.2);
}

/* ---------- ARTICLE LAYOUT (Detail) ---------- */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: flex-start;
}
.article-content-card {
    background: var(--white);
    border-radius: var(--rounded-xl);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.article-featured-img {
    aspect-ratio: 16 / 9;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
}
.article-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-80);
}
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--dark);
    margin: 28px 0 14px;
    line-height: 1.3;
    font-weight: 700;
}
.article-body h2 { font-size: 24px; }
.article-body h3 { font-size: 20px; }
.article-body p { margin: 0 0 16px; }
.article-body ul,
.article-body ol { margin: 0 0 16px; padding-left: 28px; }
.article-body li { margin: 0 0 8px; }
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--rounded-md);
    margin: 20px 0;
}
.article-body a { color: var(--primary); text-decoration: underline; }
.article-body a:hover { color: var(--primary-dark); }
.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
    margin: 20px 0;
    font-style: italic;
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.article-body th,
.article-body td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}
.article-body th {
    background: var(--light);
    font-weight: 700;
}

.article-tags {
    margin: 28px 0;
    padding: 18px 22px;
    background: var(--light);
    border-radius: var(--rounded-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    font-size: 14px;
}
.tags-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dark);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 14px;
}
.tags-label svg {
    color: var(--primary);
    flex-shrink: 0;
}
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: var(--white);
    color: var(--primary-dark);
    border: 1px solid var(--primary-light);
    border-radius: var(--rounded-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: var(--transition-fast);
    cursor: default;
    line-height: 1.4;
}
.tag-chip:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ---------- SHARE BUTTONS ---------- */
.article-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 18px 22px;
    background: var(--light);
    border-radius: var(--rounded-lg);
    margin: 28px 0;
    font-size: 14px;
}
.article-share .share-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-weight: 700;
    flex-shrink: 0;
}
.article-share .share-label svg {
    color: var(--primary);
}
.article-share .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto !important;
    height: auto !important;
    padding: 8px 14px;
    border-radius: var(--rounded-full);
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
    color: var(--dark-80);
}
.share-btn svg {
    flex-shrink: 0;
}
.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.share-wa { color: #166534; border-color: rgba(34, 197, 94, 0.3); }
.share-wa:hover { background: #22C55E; color: white; border-color: #22C55E; }
.share-fb { color: #1E40AF; border-color: rgba(59, 130, 246, 0.3); }
.share-fb:hover { background: #3B82F6; color: white; border-color: #3B82F6; }
.share-tw { color: #075985; border-color: rgba(14, 165, 233, 0.3); }
.share-tw:hover { background: #0EA5E9; color: white; border-color: #0EA5E9; }
.share-copy { color: var(--dark-70); }
.share-copy:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ---------- AUTHOR BOX ---------- */
.article-author-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-radius: var(--rounded-lg);
    margin-top: 32px;
    align-items: center;
}
.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--rounded-full);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}
.author-info { flex: 1; min-width: 0; }
.author-name {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--dark);
}
.author-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-70);
}

/* ---------- BACK BUTTON ---------- */
.article-back-wrap {
    text-align: left;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.article-back-wrap .btn {
    border-radius: var(--rounded-full);
}

/* ---------- ARTICLE SIDEBAR ---------- */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
}
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--rounded-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.sidebar-widget h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.sidebar-widget p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-60);
    margin: 0 0 16px;
}
.related-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.related-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 10px;
    border-radius: var(--rounded-md);
    transition: var(--transition-fast);
}
.related-item:hover {
    background: var(--light);
    transform: translateX(4px);
}
.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--rounded);
    flex-shrink: 0;
}
.related-placeholder {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--rounded);
    font-size: 28px;
    flex-shrink: 0;
}
.related-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.related-text h4 {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-text small {
    font-size: 11px;
    color: var(--dark-40);
}

/* ---------- EBOOK CARD ---------- */
.ebook-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--rounded-xl);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.ebook-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}
.ebook-card-img {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.ebook-icon {
    font-size: 88px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    transition: transform 0.4s ease;
}
.ebook-card:hover .ebook-icon { transform: scale(1.1) rotate(-5deg); }
.ebook-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: var(--rounded-full);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ebook-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.ebook-card-title {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.ebook-card-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--dark-50);
    font-weight: 500;
}
.ebook-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-60);
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ebook-download-btn {
    margin-top: 8px !important;
}

/* ---------- MODAL VARIANTS (for ebook download) ---------- */
.modal-content {
    background-color: var(--white);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-2xl);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    animation: slideUp 0.3s ease;
}
.modal-md { max-width: 540px; }
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: var(--rounded-md);
    border: none;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--dark-60);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
}
.modal-close:hover {
    background: var(--danger);
    color: var(--white);
}
.form-note {
    font-size: 12px;
    color: var(--dark-50);
    line-height: 1.6;
    margin: 0;
}

/* ---------- RESPONSIVE FOR NEW COMPONENTS ---------- */
@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .article-sidebar {
        position: static;
    }
    .article-content-card {
        padding: 28px 24px;
    }
    .article-title {
        font-size: 28px !important;
    }
    .breadcrumb-nav {
        font-size: 13px;
    }
    .search-input-wrap {
        flex-direction: column;
        padding: 12px;
    }
    .search-input-wrap .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .article-content-card {
        padding: 20px 16px;
    }
    .article-title {
        font-size: 24px !important;
    }
    .article-meta-top {
        font-size: 13px;
        gap: 10px;
    }
    .article-author-box {
        flex-direction: column;
        text-align: center;
    }
    .pagination-prev,
    .pagination-next {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .modal-content {
        padding: 24px 20px;
    }
}
