        :root {
            --c-navy: #091540;
            --c-navy-muted: #1c2b5e;
            --c-royal: #1B2CC1;
            --c-periwinkle: #7692FF;
            --c-ice: #ABD2FA;
            --c-ice-light: #F0F6FE;
            --c-white: #FFFFFF;
            --c-card-border: rgba(118, 146, 255, 0.28);
            --c-card-hover: #F8FAFD;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }

        html,
        body {
            width: 100%;
            min-height: 100%;
            background-color: var(--c-ice-light);
            color: var(--c-navy);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            line-height: 1.5;
        }

        body.landing-page {
            height: 100%;
            height: 100dvh;
            overflow: hidden;
        }

        /* Container Layout Terkunci 1 Layar Penuh (Zero Vertical Scroll) */
        .app-viewport {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            height: 100dvh;
            overflow: hidden;
            position: relative;
        }

        /* Header Navigasi Atas (Latar Terang Bersih) */
        .top-navbar {
            flex: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 24px;
            background: transparent;
            backdrop-filter: blur(12px);
            z-index: 20;
        }

        .brand-container {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--c-navy);
        }

        .brand-logo {
            width: 32px;
            height: 32px;
            background: var(--c-royal);
            border: 1px solid var(--c-periwinkle);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--c-white);
            font-weight: 800;
            font-size: 15px;
            letter-spacing: -0.5px;
        }

        .brand-name {
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: var(--c-navy);
        }

        .brand-tag {
            font-size: 11px;
            color: var(--c-navy-muted);
            opacity: 0.75;
            padding-left: 8px;
            border-left: 1px solid var(--c-card-border);
            display: none;
        }

        @media (min-width: 640px) {
            .brand-tag {
                display: inline-block;
            }
        }

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

        .btn-nav-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 7px 18px;
            border-radius: 8px;
            border: 1px solid var(--c-royal);
            background: var(--c-royal);
            color: var(--c-white);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .btn-nav-primary:hover {
            background: #142299;
            border-color: #142299;
        }

        .btn-nav-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 7px 16px;
            border-radius: 8px;
            border: 1px solid var(--c-card-border);
            background: var(--c-white);
            color: var(--c-navy);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .btn-nav-secondary:hover {
            background: var(--c-ice-light);
            border-color: var(--c-periwinkle);
            color: var(--c-royal);
        }

        /* Navigasi Mobile & Burger Menu */
        .burger-btn {
            display: none;
            width: 40px;
            height: 40px;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            border: none;
            background: transparent;
            color: var(--c-navy);
            cursor: pointer;
            transition: all 0.2s ease;
            padding: 0;
        }

        .burger-btn:hover {
            border-color: var(--c-periwinkle);
            background: var(--c-ice-light);
            color: var(--c-royal);
        }

        .burger-btn:focus-visible {
            outline: 2px solid var(--c-royal);
            outline-offset: 2px;
        }

        .mobile-nav-menu {
            position: absolute;
            top: 61px;
            left: 0;
            right: 0;
            background: transparent;
            backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--c-card-border);
            box-shadow: 0 10px 25px rgba(9, 21, 64, 0.08);
            z-index: 30;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
            pointer-events: none;
        }

        .mobile-nav-menu.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }

        .mobile-nav-inner {
            padding: 16px 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .mobile-nav-item {
            width: 100%;
            text-align: center;
            padding: 10px 16px;
            font-size: 14px;
        }

        @media (max-width: 639px) {
            .desktop-nav {
                display: none !important;
            }

            .burger-btn {
                display: flex;
            }
        }

        /* Area Slider Horizontal */
        .slider-viewport {
            flex: 1 1 0%;
            min-height: 0;
            display: flex;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            touch-action: pan-x pan-y;
        }

        .slider-viewport::-webkit-scrollbar {
            display: none;
        }

        /* Setiap Slide (Panel Utama) */
        .slide-panel {
            flex: 0 0 100%;
            width: 100%;
            height: 100%;
            max-height: 100%;
            min-height: 0;
            scroll-snap-align: start;
            scroll-snap-stop: always;
            box-sizing: border-box;
            display: block;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-y: contain;
            touch-action: pan-y;
            padding: 24px 20px;
            position: relative;
        }

        .slide-panel::-webkit-scrollbar {
            width: 5px;
        }

        .slide-panel::-webkit-scrollbar-track {
            background: transparent;
        }

        .slide-panel::-webkit-scrollbar-thumb {
            background: rgba(118, 146, 255, 0.4);
            border-radius: 4px;
        }

        .slide-content-wrap {
            width: 100%;
            max-width: 960px;
            margin: 0 auto;
            min-height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 16px;
            box-sizing: border-box;
            padding-bottom: 24px;
        }

        @media (max-width: 639px) {
            .slide-panel {
                padding: 16px 16px 48px 16px;
            }

            .slide-content-wrap {
                justify-content: flex-start;
                min-height: auto;
                padding-top: 8px;
                padding-bottom: 48px;
            }
        }

        /* Badge Kategori Slide */
        .slide-badge {
            align-self: flex-start;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            color: var(--c-royal);
        }

        .badge-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--c-royal);
        }

        /* Tipografi Slide */
        .slide-title {
            font-size: clamp(22px, 3.8vw, 36px);
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: -0.025em;
            color: var(--c-navy);
        }

        .slide-title span {
            color: var(--c-royal);
        }

        .slide-desc {
            font-size: clamp(14px, 1.8vw, 16px);
            color: var(--c-navy-muted);
            opacity: 0.9;
            max-width: 760px;
            line-height: 1.6;
        }

        /* Grid Kartu Problem Solving & Fitur */
        .cards-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin-top: 4px;
        }

        @media (min-width: 720px) {
            .cards-grid-2 {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }

            .cards-grid-3 {
                grid-template-columns: repeat(3, 1fr);
                gap: 14px;
            }
        }

        .feature-card {
            background: var(--c-white);
            border: 1px solid var(--c-card-border);
            border-radius: 12px;
            padding: 16px 18px;
            box-shadow: 0 2px 8px rgba(9, 21, 64, 0.04);
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .feature-card:hover {
            background: var(--c-card-hover);
            border-color: var(--c-periwinkle);
            transform: translateY(-2px);
            box-shadow: 0 4px 14px rgba(27, 44, 193, 0.08);
        }

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

        .card-icon-box {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            background: rgba(171, 210, 250, 0.35);
            border: 1px solid var(--c-periwinkle);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--c-royal);
            font-size: 13px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .card-heading {
            font-size: 13px;
            font-weight: 400;
            color: var(--c-navy);
        }

        .card-text {
            font-size: 13px;
            color: var(--c-navy-muted);
            line-height: 1.5;
        }

        /* Kartu Perbandingan (Slide 1) */
        .card-problem {
            border-color: rgba(9, 21, 64, 0.15);
            background: #FAFBFD;
        }

        .card-problem .card-icon-box {
            background: rgba(9, 21, 64, 0.08);
            border-color: rgba(9, 21, 64, 0.25);
            color: var(--c-navy-muted);
        }

        .card-solution {
            border-color: var(--c-periwinkle);
            background: rgba(240, 246, 254, 0.85);
        }

        .card-solution .card-icon-box {
            background: var(--c-royal);
            border-color: var(--c-royal);
            color: var(--c-white);
        }

        /* CTA Area di Slide 3 */
        .cta-action-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
            margin-top: 8px;
        }

        .btn-cta-large {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 10px;
            background: var(--c-royal);
            border: 1px solid var(--c-royal);
            color: var(--c-white);
            font-size: 15px;
            font-weight: 700;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(27, 44, 193, 0.25);
            transition: all 0.2s ease;
        }

        .btn-cta-large:hover {
            background: #142299;
            border-color: #142299;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(27, 44, 193, 0.35);
        }

        .btn-cta-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 10px;
            background: var(--c-white);
            border: 1px solid var(--c-card-border);
            color: var(--c-navy);
            font-size: 15px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .btn-cta-secondary:hover {
            background: var(--c-ice-light);
            border-color: var(--c-periwinkle);
            color: var(--c-royal);
        }

        /* Footer Navigasi Pemandu (3 Titik & Panah Geser) */
        .bottom-guidebar {
            flex: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 24px;
            background: rgba(255, 255, 255, 0.95);
            border-top: 1px solid var(--c-card-border);
            z-index: 20;
        }

        .guide-btn-arrow {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            border: 1px solid var(--c-card-border);
            background: var(--c-white);
            color: var(--c-navy);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .guide-btn-arrow:hover:not(:disabled) {
            border-color: var(--c-royal);
            background: var(--c-royal);
            color: var(--c-white);
        }

        .guide-btn-arrow:disabled {
            opacity: 0.25;
            cursor: not-allowed;
            border-color: transparent;
        }

        /* 3 Titik Pemandu (Dots) */
        .dots-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .dot-guide-item {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .dot-inner {
            width: 8px;
            height: 8px;
            border-radius: 4px;
            background: rgba(9, 21, 64, 0.2);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .dot-guide-item:hover .dot-inner {
            background: var(--c-periwinkle);
        }

        .dot-guide-item.active .dot-inner {
            width: 28px;
            height: 8px;
            background: var(--c-royal);
            box-shadow: 0 0 8px rgba(27, 44, 193, 0.35);
        }

        /* Label Status Navigasi */
        .slide-counter {
            font-size: 12px;
            font-weight: 700;
            color: var(--c-navy);
            opacity: 0.75;
            font-variant-numeric: tabular-nums;
            min-width: 46px;
            text-align: right;
        }

        /* Ringkasan Petunjuk Keyboard & Swipe */
        .nav-hint-text {
            font-size: 11px;
            color: var(--c-navy-muted);
            opacity: 0.65;
            display: none;
        }

        @media (min-width: 840px) {
            .nav-hint-text {
                display: inline-block;
            }
        }

        /* ============================================================
           HALAMAN AUTENTIKASI (LOGIN & REGISTER)
           ============================================================ */
        .auth-viewport {
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            padding: 24px 16px;
            position: relative;
            box-sizing: border-box;
        }

        .auth-topbar {
            width: 100%;
            max-width: 480px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 600;
            color: var(--c-navy-muted);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .back-link:hover {
            color: var(--c-royal);
        }

        .auth-card {
            width: 100%;
            max-width: 440px;
            background: var(--c-white);
            border: 1px solid var(--c-card-border);
            border-radius: 16px;
            padding: 32px 28px;
            box-shadow: 0 8px 30px rgba(9, 21, 64, 0.06);
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin: auto 0;
            box-sizing: border-box;
        }

        .auth-card.auth-card-wide {
            max-width: 500px;
        }

        @media (max-width: 480px) {
            .auth-card {
                padding: 24px 20px;
            }
        }

        .card-brand-header {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .brand-line {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--c-navy);
            width: fit-content;
        }

        .brand-logo-box {
            width: 32px;
            height: 32px;
            background: var(--c-royal);
            border: 1px solid var(--c-periwinkle);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--c-white);
            font-weight: 800;
            font-size: 15px;
            letter-spacing: -0.5px;
        }

        .brand-title {
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: var(--c-navy);
        }

        .card-heading {
            font-size: 22px;
            font-weight: 800;
            color: var(--c-navy);
            letter-spacing: -0.02em;
            margin-top: 4px;
        }

        .card-subtitle {
            font-size: 13.5px;
            color: var(--c-navy-muted);
            line-height: 1.5;
        }

        .form-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        @media (max-width: 520px) {
            .form-grid-2 {
                grid-template-columns: 1fr;
                gap: 14px;
            }
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--c-navy);
        }

        .req-star {
            color: #ef4444;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            width: 100%;
        }

        .form-input {
            width: 100%;
            padding: 11px 14px;
            font-size: 14px;
            color: var(--c-navy);
            background: var(--c-white);
            border: 1px solid rgba(118, 146, 255, 0.35);
            border-radius: 8px;
            outline: none;
            transition: all 0.2s ease;
            box-sizing: border-box;
        }

        .form-input::placeholder {
            color: rgba(9, 21, 64, 0.4);
        }

        .form-input:focus {
            border-color: var(--c-royal);
            box-shadow: 0 0 0 3px rgba(118, 146, 255, 0.25);
        }

        .btn-toggle-eye {
            position: absolute;
            right: 10px;
            background: transparent;
            border: none;
            color: var(--c-navy-muted);
            cursor: pointer;
            padding: 6px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.15s ease;
        }

        .btn-toggle-eye:hover {
            color: var(--c-royal);
        }

        .btn-submit-primary {
            width: 100%;
            padding: 12px 20px;
            border-radius: 8px;
            background: var(--c-royal);
            border: 1px solid var(--c-royal);
            color: var(--c-white);
            font-size: 14.5px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(27, 44, 193, 0.25);
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-submit-primary:hover {
            background: #142299;
            border-color: #142299;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(27, 44, 193, 0.35);
        }

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

        .card-footer-links {
            text-align: center;
            font-size: 13.5px;
            color: var(--c-navy-muted);
            border-top: 1px solid rgba(118, 146, 255, 0.2);
            padding-top: 16px;
            margin-top: 4px;
        }

        .card-footer-links a {
            color: var(--c-royal);
            font-weight: 700;
            text-decoration: none;
            transition: underline 0.15s ease;
        }

        .card-footer-links a:hover {
            text-decoration: underline;
        }

        .auth-footer-text {
            font-size: 11.5px;
            color: var(--c-navy-muted);
            opacity: 0.65;
            text-align: center;
            margin-top: 16px;
        }

        /* ============================================================
           NOTIFIKASI / TOAST ALERT POJOK KANAN ATAS
           ============================================================ */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-width: min(calc(100vw - 32px), 380px);
            pointer-events: none;
        }

        .toast-card {
            pointer-events: auto;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 14px 16px;
            border-radius: 10px;
            background: var(--c-white);
            border: 1px solid rgba(118, 146, 255, 0.25);
            border-left: 4px solid;
            box-shadow: 0 10px 25px rgba(9, 21, 64, 0.12);
            font-size: 13.5px;
            line-height: 1.45;
            animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        @keyframes toastSlideIn {
            from {
                opacity: 0;
                transform: translateX(40px) scale(0.96);
            }

            to {
                opacity: 1;
                transform: translateX(0) scale(1);
            }
        }

        .toast-card.hide {
            opacity: 0;
            transform: translateX(40px) scale(0.96);
        }

        .toast-success {
            border-left-color: #10b981;
            color: #065f46;
        }

        .toast-danger,
        .toast-error {
            border-left-color: #ef4444;
            color: #991b1b;
        }

        .toast-warning {
            border-left-color: #f59e0b;
            color: #92400e;
        }

        .toast-info {
            border-left-color: var(--c-royal);
            color: var(--c-navy);
        }

        .toast-icon {
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            margin-top: 1px;
        }

        .toast-body {
            flex: 1;
            word-break: break-word;
            font-weight: 500;
        }

        .toast-close-btn {
            flex-shrink: 0;
            background: transparent;
            border: none;
            color: rgba(9, 21, 64, 0.4);
            cursor: pointer;
            padding: 2px 4px;
            font-size: 18px;
            line-height: 1;
            border-radius: 4px;
            transition: color 0.15s ease;
        }

        .toast-close-btn:hover {
            color: var(--c-navy);
        }