/**
 * Smart Tani Kota Bandar Lampung
 * Public Portal Stylesheet (Zero CDN / Modular / High-Performance)
 */


        :root {
            --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            --brand-primary: #059669;
            --brand-primary-hover: #047857;
            --brand-dark: #064e3b;
            --brand-light: #ecfdf5;
            --brand-accent: #10b981;
            --text-heading: #0f172a;
            --text-body: #334155;
            --text-muted: #64748b;
            --surface-bg: #f8fafc;
            --surface-card: #ffffff;
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-pill: 9999px;
            --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
            --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
            --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
            --shadow-glass: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-sans);
            color: var(--text-body);
            background-color: var(--surface-bg);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            letter-spacing: -0.015em;
            line-height: 1.55;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-feature-settings: "cv02", "cv03", "cv04", "cv11";
        }

        /* Typography Hierarchy */
        h1, h2, h3, h4, h5, h6,
        .h1, .h2, .h3, .h4, .h5, .h6,
        .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
            font-family: var(--font-display);
            font-weight: 700;
            letter-spacing: -0.035em;
            color: var(--text-heading);
            line-height: 1.25;
        }

        .fw-extrabold {
            font-weight: 800 !important;
        }
        .fw-bold {
            font-weight: 700 !important;
        }
        .fw-semibold {
            font-weight: 600 !important;
        }
        .tracking-tight {
            letter-spacing: -0.035em !important;
        }
        .tracking-tighter {
            letter-spacing: -0.05em !important;
        }
        .tracking-wide {
            letter-spacing: 0.05em !important;
        }

        main {
            margin: 0;
            padding: 0;
            flex: 1 0 auto;
        }

        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            color: var(--text-heading);
            font-weight: 700;
            letter-spacing: -0.025em;
        }

        /* Top Government Bar - Elegant Minimalist */
        .top-gov-bar {
            background: #064e3b;
            color: #a7f3d0;
            font-size: 0.76rem;
            font-weight: 500;
            padding: 7px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            letter-spacing: 0.01em;
        }

        /* Navbar - Modern Floating Header with Glass Effect */
        .navbar-main {
            background: rgba(255, 255, 255, 0.92) !important;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 1px 0 0 rgba(226, 232, 240, 0.8);
            border-bottom: 1px solid rgba(226, 232, 240, 0.6);
            padding: 12px 0;
            transition: all 0.25s ease;
            z-index: 1050 !important;
        }

        .navbar-brand-custom {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .brand-icon-box {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            color: #ffffff;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 19px;
            box-shadow: 0 4px 10px -2px rgba(5, 150, 105, 0.35);
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .navbar-brand-custom:hover .brand-icon-box {
            transform: scale(1.05) rotate(2deg);
        }

        .brand-title {
            font-size: 1.18rem;
            font-weight: 800;
            color: #0f172a;
            line-height: 1.1;
            letter-spacing: -0.025em;
        }

        .brand-subtitle {
            font-size: 0.68rem;
            font-weight: 700;
            color: #059669;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .nav-link {
            font-weight: 500;
            font-size: 0.9rem;
            color: #475569 !important;
            padding: 8px 16px !important;
            border-radius: var(--radius-pill);
            transition: all 0.2s ease;
            white-space: nowrap !important;
            letter-spacing: -0.01em;
        }

        .nav-link:hover {
            color: #059669 !important;
            background-color: #f1f5f9;
        }

        .nav-link.active {
            color: #059669 !important;
            background: #ecfdf5 !important;
            border: 1px solid #a7f3d0;
            font-weight: 600;
            box-shadow: 0 1px 2px rgba(5, 150, 105, 0.05);
        }

        /* Buttons */
        .btn-modern-primary {
            background: #059669;
            color: #ffffff !important;
            font-weight: 600;
            font-size: 0.9rem;
            border-radius: var(--radius-pill);
            padding: 10px 22px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-modern-primary:hover {
            background: #047857;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px -2px rgba(5, 150, 105, 0.35);
            color: #ffffff !important;
        }

        .btn-modern-glass {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            color: #ffffff !important;
            font-weight: 600;
            font-size: 0.9rem;
            border-radius: var(--radius-pill);
            padding: 10px 22px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-modern-glass:hover {
            background: rgba(255, 255, 255, 0.95);
            color: #064e3b !important;
            border-color: #ffffff;
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        }

        .btn-modern-outline {
            background: #ffffff;
            color: #059669 !important;
            font-weight: 600;
            font-size: 0.86rem;
            border-radius: var(--radius-pill);
            padding: 8px 18px;
            border: 1px solid #cbd5e1;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .btn-modern-outline:hover {
            background: #f0fdf4;
            border-color: #86efac;
            color: #047857 !important;
            transform: translateY(-1px);
        }

        /* Glassmorphic & Modern Cards */
        .card-modern {
            background: #ffffff;
            border: 1px solid rgba(226, 232, 240, 0.85);
            border-radius: var(--radius-lg);
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
        }

        .card-modern:hover {
            transform: translateY(-4px);
            border-color: #cbd5e1;
            box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.06), 0 6px 12px -4px rgba(0, 0, 0, 0.03);
        }

        .glass-card-hero {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: var(--shadow-glass);
        }

        .feature-icon-badge {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            flex-shrink: 0;
        }

        .card-modern:hover .feature-icon-badge {
            transform: scale(1.08) rotate(3deg);
        }

        .card-hover-arrow {
            color: #059669;
            font-size: 0.82rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.25s ease;
        }

        .card-modern:hover .card-hover-arrow {
            gap: 10px;
        }

        /* Stat Card */
        .stat-card-modern {
            background: #ffffff;
            border-radius: var(--radius-lg);
            padding: 24px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .stat-card-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #10b981, #34d399);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .stat-card-modern:hover {
            transform: translateY(-4px);
            border-color: #a7f3d0;
            box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.12);
        }

        .stat-card-modern:hover::before {
            opacity: 1;
        }

        .stat-icon-wrapper {
            width: 52px;
            height: 52px;
            border-radius: var(--radius-md);
            background: #ecfdf5;
            color: #059669;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            margin-bottom: 12px;
            box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
        }

        /* Modern Badges */
        .badge-soft-green {
            background: #ecfdf5;
            color: #065f46;
            border: 1px solid #a7f3d0;
            font-weight: 700;
            padding: 6px 14px;
            border-radius: var(--radius-pill);
            font-size: 0.78rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .badge-emerald-solid {
            background: linear-gradient(135deg, #10b981, #059669);
            color: #ffffff;
            font-weight: 700;
            padding: 6px 14px;
            border-radius: var(--radius-pill);
            font-size: 0.78rem;
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
        }

        /* Floating WhatsApp Button */
        .floating-wa-modern {
            position: fixed;
            bottom: 28px;
            right: 28px;
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: #ffffff !important;
            width: 62px;
            height: 62px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            box-shadow: 0 10px 25px rgba(34, 197, 94, 0.45);
            z-index: 1050;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            border: 3px solid #ffffff;
        }

        .floating-wa-modern:hover {
            transform: scale(1.1) translateY(-3px);
            box-shadow: 0 15px 30px rgba(34, 197, 94, 0.6);
        }

        /* Footer - Sophisticated Clean Dark Slate with Emerald Highlights */
        .footer-sophisticated {
            background: #090e17;
            color: #94a3b8;
            margin-top: auto;
            padding-top: 60px;
            padding-bottom: 30px;
            border-top: 4px solid #10b981;
            position: relative;
        }

        .footer-sophisticated a {
            color: #cbd5e1;
            text-decoration: none;
            transition: all 0.2s ease;
            font-weight: 500;
        }

        .footer-sophisticated a:hover {
            color: #34d399;
            transform: translateX(3px);
            display: inline-block;
        }

        .footer-heading {
            color: #ffffff;
            font-weight: 800;
            font-size: 1rem;
            margin-bottom: 18px;
            letter-spacing: -0.01em;
            position: relative;
            display: inline-block;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 28px;
            height: 2px;
            background: #10b981;
            border-radius: 2px;
        }

        /* Responsive adjustments for Mobile Friendly */
        @media (max-width: 768px) {
            .brand-title {
                font-size: 1.05rem;
            }
            .brand-subtitle {
                font-size: 0.62rem;
            }
            .btn-modern-primary, .btn-modern-glass {
                padding: 10px 20px;
                font-size: 0.88rem;
                width: 100%;
            }
            .floating-wa-modern {
                bottom: 20px;
                right: 20px;
                width: 52px;
                height: 52px;
                font-size: 26px;
            }
        }
        /* Dynamic Running Text Ticker */
        .running-ticker-wrap {
            overflow: hidden;
            white-space: nowrap;
        }
        .running-ticker-track {
            display: inline-block;
            padding-left: 100%;
            animation: tickerScroll 35s linear infinite;
            font-weight: 600;
            letter-spacing: 0.02em;
        }
        .running-ticker-wrap:hover .running-ticker-track {
            animation-play-state: paused;
        }
        @keyframes tickerScroll {
            0% { transform: translate3d(0, 0, 0); }
            100% { transform: translate3d(-100%, 0, 0); }
        }
