/* ── CURSOR FIX — paksa tampil cursor normal (override cursor:none lama) ── */
*, *::before, *::after { cursor: inherit; }

/* ── FORCE DARK THEME (CRITICAL FIX) ── */
html {
    background: #020617 !important;
    color: #f8fafc !important;
}

body {
    cursor: auto !important;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%) !important;
    color: #f8fafc !important;
    position: relative;
    min-height: 100vh;
}

/* Background effects removed */

/* ── Hero Section: clip blob tanpa overflow:hidden (agar scroll tetap jalan) ── */
#home {
    /* clip-path aman untuk animasi blob, tidak memblokir scroll */
    clip-path: inset(0);
}

/* Scrollbar Styling */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { 
    background: #020617; 
    border-left: 1px solid rgba(16, 185, 129, 0.1);
}
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
::-webkit-scrollbar-thumb:hover { 
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
}

/* Marquee Animation - Smooth & Slow */
.animate-marquee {
    animation: marquee 120s linear infinite;
    will-change: transform;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* Pause marquee on hover */
.marquee-container:hover .animate-marquee {
    animation-play-state: paused;
}

/* Gallery Masonry Layout */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 200px;
}

@media (min-width: 1024px) {
    .gallery-masonry {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 250px;
    }
}

.gallery-item {
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive grid adjustments handled cleanly on index.html with Tailwind mostly, these are for grid. */



/* Ambient glow and noise background removed */

/* Glass Morphism with Glow */
.glass-panel {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
        0 0 40px rgba(16, 185, 129, 0.05);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.glass-panel:hover::before {
    left: 100%;
}

/* Button Shine Effect Enhanced */
.btn-shine {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-shine:hover {
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

/* Animated Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #34d399 50%, #3b82f6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Reveal Animations removed completely */

/* Premium Button Styles */
.btn-premium {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 15px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 
        0 6px 20px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-premium:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-premium:hover::before {
    left: 100%;
}

/* Secondary Premium Button */
.btn-premium-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-premium-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 
        0 6px 20px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}



/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Details/Accordion Animation */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] summary ~ * { animation: sweep .5s ease-in-out; }

@keyframes sweep {
    0% { opacity: 0; transform: translateY(-10px) }
    100% { opacity: 1; transform: translateY(0) }
}

/* Parallax Layers Removed */

/* Neon Glow Text */
.neon-text {
    text-shadow: 
        0 0 10px rgba(16, 185, 129, 0.8),
        0 0 20px rgba(16, 185, 129, 0.6),
        0 0 30px rgba(16, 185, 129, 0.4),
        0 0 40px rgba(16, 185, 129, 0.2);
    animation: neon-flicker 3s infinite alternate;
}

@keyframes neon-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.content-wrapper { position: relative; z-index: 10; overflow-x: hidden; }

/* Loading Shimmer */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Scroll Progress Bar Removed */

/* Stagger Animation Removed */


/* Gallery Lightbox Styles */
#galleryLightbox {
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#galleryLightbox.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

#lightboxImage {
    transition: opacity 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

#imageLoader {
    backdrop-filter: blur(10px);
}

/* Lightbox Controls */
#galleryLightbox button {
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#galleryLightbox button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}



/* Lightbox animation */
@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#galleryLightbox.visible #lightboxImage {
    animation: lightboxFadeIn 0.3s ease-out;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABSTRACT STICKER BACKGROUND LAYER
   ═══════════════════════════════════════════════════════════════════════════ */

.sticker-bg-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.sticker {
    position: absolute;
    will-change: transform;
    opacity: 1; /* real opacity handled by SVG stroke/fill */
}

/* ── Posisi & Ukuran setiap stiker ───────────────────────────────────────── */
.stk-1  { width: 200px; height: 200px; top: 5%;   left: 2%;   animation: stk-rotate   28s linear  infinite; }
.stk-2  { width: 260px; height: 100px; top: 12%;  right: -2%; animation: stk-float     9s ease-in-out infinite; }
.stk-3  { width: 150px; height: 170px; top: 38%;  right: 6%;  animation: stk-rotate-r 32s linear  infinite; }
.stk-4  { width: 130px; height: 130px; top: 62%;  left: 4%;   animation: stk-float    11s ease-in-out infinite 2s; }
.stk-5  { width: 75px;  height: 125px; top: 3%;   left: 46%;  animation: stk-float     8s ease-in-out infinite 1s; }
.stk-6  { width: 170px; height: 170px; top: 72%;  right: 4%;  animation: stk-rotate   22s linear  infinite; }
.stk-7  { width: 110px; height: 110px; top: 48%;  left: 18%;  animation: stk-rotate-r 38s linear  infinite; }
.stk-8  { width: 95px;  height: 135px; top: 82%;  left: 33%;  animation: stk-float    10s ease-in-out infinite 3s; }
.stk-9  { width: 120px; height: 120px; top: 22%;  left: 24%;  animation: stk-rotate   30s linear  infinite 5s; }
.stk-10 { width: 140px; height: 140px; top: 55%;  right: 22%; animation: stk-float    12s ease-in-out infinite; }
.stk-11 { width: 160px; height: 160px; top: 88%;  left: 58%;  animation: stk-rotate-r 25s linear  infinite 2s; }
.stk-12 { width: 210px; height: 100px; top: 92%;  right: 12%; animation: stk-float    13s ease-in-out infinite 4s; }
.stk-13 { width: 155px; height: 155px; top: 42%;  left: 72%;  animation: stk-rotate   42s linear  infinite; }
.stk-14 { width: 115px; height: 115px; top: 28%;  right: 28%; animation: stk-rotate-r 48s linear  infinite 6s; }

/* ── Animasi ─────────────────────────────────────────────────────────────── */
@keyframes stk-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes stk-rotate-r {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

@keyframes stk-float {
    0%,  100% { transform: translateY(0px)   rotate(0deg); }
    33%        { transform: translateY(-20px) rotate(4deg); }
    66%        { transform: translateY(-9px)  rotate(-3deg); }
}

/* ── Mobile: kurangi elemen & nonaktifkan animasi berat ─────────────────── */
@media (max-width: 768px) {
    .sticker-bg-layer { opacity: 0.4; }
    .stk-7, .stk-8, .stk-10, .stk-11, .stk-12, .stk-13, .stk-14 { display: none; }
    .sticker { animation: none !important; }
}



/* ========================================
   ANIMATED BACKGROUND BLOBS
   ======================================== */
.animated-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    top: 50%;
    right: -10%;
    animation-delay: 5s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    bottom: -20%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(50px, 50px) scale(1.05);
    }
}

/* Skeleton Loader for Images */
.skeleton-loader {
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Gallery Filter Buttons */
.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
}

.filter-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.filter-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Gallery Item Hidden State */
.gallery-item.hidden {
    display: none;
}

.gallery-item.show {
    display: block;
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ═══════════════════════════════════════════════════════════════════
 * PREMIUM DESIGN ENHANCEMENTS
 * ═══════════════════════════════════════════════════════════════════ */

/* ── Outline Text Effect (Hero Title) ────────────────────────────── */
.outline-text {
    -webkit-text-stroke: 2px #10b981;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    font-weight: 800;
    display: inline-block;
    word-break: keep-all;
    white-space: normal;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* ── Animated Blobs (Background) ─────────────────────────────────── */
.animated-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: blob 7s infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #047857 0%, #10b981 100%);
    top: 40%;
    right: -5%;
    animation-delay: 2s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    bottom: -10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ── Noise/Grain Texture ─────────────────────────────────────────── */
.noise-texture {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* ── Corner Brackets ─────────────────────────────────────────────── */
.corner-bracket {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid #10b981;
    pointer-events: none;
    z-index: 30;
}

.corner-bracket.top-left {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none;
    border-radius: 20px 0 0 0;
}

.corner-bracket.top-right {
    top: -15px;
    right: -15px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 20px 0 0;
}

.corner-bracket.bottom-left {
    bottom: -15px;
    left: -15px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 20px;
}

.corner-bracket.bottom-right {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 20px 0;
}

/* ── Floating Stats Animation ────────────────────────────────────── */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ── Stats Section Stability ─────────────────────────────────────── */
.stats-section {
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.stats-section h4 {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Big Transparent Numbers ─────────────────────────────────────── */
.service-number {
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    font-family: 'Syne', sans-serif;
}

/* ── Map Grayscale Effect ────────────────────────────────────────── */
iframe[src*="google.com/maps"] {
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.5s ease;
}

iframe[src*="google.com/maps"]:hover {
    filter: grayscale(0%) contrast(1);
}

/* ── Floating WA Button with Tooltip ─────────────────────────────── */
.floating-wa-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    /* ANTI-SHAKE: GPU acceleration & stable positioning */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.floating-wa-btn svg {
    will-change: auto;
    transform: translateZ(0);
    /* ANTI-SHAKE: Prevent SVG from triggering repaints */
    backface-visibility: hidden;
}

.floating-wa-btn .tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: white;
    color: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.floating-wa-btn:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── Grid Lines Overlay ──────────────────────────────────────────── */
.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ── Enhanced Typography ─────────────────────────────────────────── */
.font-display {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
}

body {
    font-family: 'DM Sans', sans-serif;
}

/* ── Smooth Hover Transitions ────────────────────────────────────── */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

/* ── Premium Button Styles ───────────────────────────────────────── */
.btn-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    transition: all 0.3s ease;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

/* ── Gallery Filter Buttons ──────────────────────────────────────── */
.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.filter-btn.active {
    background: #10b981;
    border-color: #10b981;
    color: #0f172a;
    font-weight: 700;
}

/* ── Responsive Adjustments ──────────────────────────────────────── */
@media (max-width: 768px) {
    .blob {
        width: 250px !important;
        height: 250px !important;
    }
    
    .service-number {
        font-size: 8rem;
        top: -20px;
        right: -10px;
    }
    
    .outline-text {
        -webkit-text-stroke: 1.5px #10b981;
        font-size: 1em;
        white-space: normal;
        word-break: normal;
        display: block;
        margin-top: 0.25rem;
        max-width: 100%;
    }
    
    /* Hero title mobile fix */
    h1.text-4xl {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }
}

/* ── Extra Small Mobile (< 375px) ────────────────────────────────── */
@media (max-width: 374px) {
    h1.text-4xl {
        font-size: 1.875rem !important;
    }
    
    .outline-text {
        font-size: 0.95em;
        -webkit-text-stroke: 1.2px #10b981;
    }
}

/* ── Medium screens (tablets) ────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
    .outline-text {
        white-space: normal;
        max-width: 100%;
    }
}

/* ── Accessibility ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .blob,
    .animate-float,
    .animate-blob {
        animation: none !important;
    }
    
    * {
        transition-duration: 0.01ms !important;
    }
}



/* ── MOBILE MENU OVERLAY FIX ─────────────────────────────────────── */
#mobile-menu-overlay {
    display: none !important; /* DEFAULT: tersembunyi - KRITIS untuk scroll berfungsi */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 60 !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

#mobile-menu-overlay.visible {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* ── SCROLL FIX ─────────────────────────────────────────────────────
   PENTING: Jangan gunakan overflow-x: hidden pada body/html!
   Pada browser mobile (Safari iOS, Chrome Android), kombinasi
   overflow-x: hidden + overflow-y: auto pada body/html akan
   mengunci halaman sehingga tidak bisa di-scroll sama sekali.
   Sebagai gantinya, sembunyikan overflow-x hanya di .content-wrapper.
   ──────────────────────────────────────────────────────────────────── */
body.menu-open {
    overflow: hidden !important;
}

/* ── FORCE DARK THEME ON ALL ELEMENTS ────────────────────────────── */
* {
    scrollbar-color: #10b981 #020617 !important;
}

html * {
    box-sizing: border-box;
}

/* ── ANTI-LAYOUT-SHIFT ────────────────────────────────────────────── */
.stats-section h4 {
    min-height: 3rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ── HERO SECTION TEXT OVERLAP FIX ────────────────────────────────── */
#home h1 {
    position: relative;
    z-index: 20;
    max-width: 100%;
    word-wrap: break-word;
}

#home .outline-text {
    position: relative;
    z-index: 20;
}

/* Ensure text container has enough space */
@media (min-width: 1024px) {
    #home .lg\:w-\[58\%\] {
        padding-right: 2rem;
    }
    
    #home h1 {
        max-width: 95%;
    }
}

/* Tablet landscape - prevent overlap */
@media (min-width: 768px) and (max-width: 1023px) {
    #home h1 {
        font-size: 3.5rem !important;
        line-height: 1.15 !important;
        max-width: 100%;
    }
    
    #home .outline-text {
        display: block;
        margin-top: 0.5rem;
    }
}

/* Mobile - full width text */
@media (max-width: 767px) {
    #home h1 {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    #home .outline-text {
        display: block;
        margin-top: 0.5rem;
        max-width: 100%;
    }
}
