/**
 * ==============================================================================
 * INVITRAZ - ENTERPRISE WEDDING INVITATION PLATFORM & CMS
 * File: assets/css/RAZComponents.css
 * Standar: RAZ Enterprise Architecture
 * Tanggal Pembuatan / Update: 2026-10-30 16:10:00 WIB
 * Deskripsi: Komponen antarmuka (Buttons, Badges, Custom Modals, Phone Mockup Compact & Responsive, Inputs)
 * ==============================================================================
 */

/* ==============================================================================
   BUTTONS
   ============================================================================== */
.raz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--raz-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--raz-transition);
    text-align: center;
    line-height: 1.3;
    text-decoration: none !important;
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
}

.raz-btn:active {
    transform: scale(0.97) translateY(0);
}

.raz-btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
}

.raz-btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
    border-radius: var(--raz-radius-md);
}

.raz-btn-gold,
.raz-btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0c0f17 !important;
    border-color: #FFD700;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
    font-weight: 700;
}

.raz-btn-gold:hover,
.raz-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55);
    filter: brightness(1.08);
    color: #0c0f17 !important;
}

.raz-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.15);
}

.raz-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--raz-primary);
    color: var(--raz-primary-light) !important;
    transform: translateY(-2px);
}

.raz-btn-wa {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    border-color: #25d366;
}

.raz-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
    filter: brightness(1.06);
    color: #ffffff !important;
}

.raz-btn-danger {
    background: var(--raz-danger);
    color: #ffffff !important;
    border-color: var(--raz-danger);
}

.raz-btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

/* Luxury Rounded Pill Buttons (Standar Mockup InvitRAZ) */
.raz-btn-pill {
    border-radius: 9999px !important;
    padding: 12px 28px;
    font-weight: 700;
}

.raz-btn-pill-lg {
    border-radius: 9999px !important;
    padding: 15px 36px;
    font-size: 1.05rem;
    font-weight: 700;
}

.raz-btn-pill-sm {
    border-radius: 9999px !important;
    padding: 8px 20px;
    font-size: 0.82rem;
}

.raz-btn-pill-gold {
    background: linear-gradient(135deg, #fce588 0%, #d4af37 50%, #b8921e 100%);
    color: #090c12 !important;
    border: 1px solid #d4af37;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.raz-btn-pill-gold:hover {
    background: linear-gradient(135deg, #fff2aa 0%, #dfbc45 50%, #c49d26 100%);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

.raz-btn-pill-glass {
    background: rgba(22, 27, 42, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.38);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.raz-btn-pill-glass:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--raz-primary-light);
    color: var(--raz-primary-light) !important;
    transform: translateY(-2px);
}

.raz-btn-pill-wa {
    background: linear-gradient(135deg, #2fe674 0%, #25d366 100%);
    color: #ffffff !important;
    border: 1px solid #25d366;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.raz-btn-pill-wa:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

/* Search Capsule Input Box */
.raz-search-capsule {
    display: flex;
    align-items: center;
    background: rgba(17, 21, 32, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 9999px;
    padding: 6px 8px 6px 20px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: var(--raz-transition);
}

.raz-search-capsule:focus-within {
    border-color: var(--raz-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.raz-search-capsule input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 8px 6px;
}

.raz-search-capsule input::placeholder {
    color: #64748b;
}

.raz-search-capsule-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--raz-primary-light), var(--raz-primary));
    color: #090c12;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--raz-transition);
}

.raz-search-capsule-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5);
}

/* ==============================================================================
   BADGES
   ============================================================================== */
.raz-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap !important;
    line-height: 1.2;
}

.raz-badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--raz-primary-light);
    border: 1px solid var(--raz-dark-border);
}

.raz-badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--raz-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.raz-badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--raz-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==============================================================================
   CUSTOM MODALS (STRICT ENTERPRISE STANDARD)
   ============================================================================== */
.raz-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 16px;
    overflow-y: auto;
}

.raz-modal-overlay.raz-modal-active {
    opacity: 1;
    pointer-events: auto;
}

.raz-modal-dialog {
    background: var(--raz-dark-surface);
    border: 1px solid var(--raz-dark-border);
    border-radius: var(--raz-radius-lg);
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--raz-primary-glow);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.raz-modal-dialog-large {
    max-width: 900px;
}

/* Modal Dialog Khusus Preview Tema (Compact & Proporsional Sesuai Mockup Smartphone) */
.raz-modal-dialog-preview {
    max-width: 420px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    margin: auto;
    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 215, 0, 0.15);
}

.raz-modal-overlay.raz-modal-active .raz-modal-dialog {
    transform: scale(1) translateY(0);
}

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

.raz-modal-icon-badge {
    margin-right: 14px;
}

.raz-modal-title {
    font-size: 1.18rem;
    color: #fff;
    flex-grow: 1;
}

.raz-modal-close-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--raz-text-muted);
    cursor: pointer;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--raz-transition);
}

.raz-modal-close-btn:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

.raz-modal-close-btn:active {
    transform: scale(0.92);
}

.raz-modal-body {
    padding: 24px;
    color: var(--raz-text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.raz-modal-footer {
    padding: 18px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mockup Phone Frame for Theme Live Preview */
.raz-preview-mockup-wrapper {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.raz-preview-subbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 16px;
    background: rgba(255, 215, 0, 0.05);
    border-bottom: 1px solid rgba(255, 215, 0, 0.12);
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.raz-preview-hint-text {
    font-size: 0.76rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Smartphone Mockup Frame: Compact, Luas & Responsif (Full Screen View) */
.raz-mockup-phone-frame {
    width: min(320px, 86vw);
    height: min(520px, calc(90vh - 170px));
    min-height: 380px;
    background: #141721;
    border-radius: 28px;
    border: 6px solid #232836;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.raz-mockup-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 10px;
    background: #232836;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
}

.raz-preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #0f1218;
}

/* Spinner Loader saat memuat */
.raz-preview-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0d0f14;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 5;
    color: var(--raz-primary-light, #ffd700);
    font-size: 0.8rem;
    font-weight: 600;
}

.raz-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--raz-primary-light, #ffd700);
    border-radius: 50%;
    animation: razSpin 0.8s linear infinite;
}

@keyframes razSpin {
    to { transform: rotate(360deg); }
}

/* Fallback Tampilan di Mockup jika Iframe Terblokir X-Frame-Options */
.raz-preview-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0d0f15;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    z-index: 6;
}

.raz-preview-scroll-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(13, 16, 23, 0.78);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: var(--raz-primary-light, #ffd700);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 5;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.raz-preview-fallback-img-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: #050608;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 4;
}

.raz-preview-fallback-img-container::-webkit-scrollbar {
    display: none;
}

.raz-preview-fallback-img {
    width: 100%;
    height: auto;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    opacity: 0.98;
}

/* Kontainer Pemutar Video Preview Tema di Mockup */
.raz-preview-fallback-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #050608;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 5;
}

.raz-preview-fallback-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
    outline: none;
}

.raz-preview-fallback-card {
    display: none !important;
}

.raz-fallback-icon-wrap {
    width: 32px;
    height: 32px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--color-gold-accent, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.raz-fallback-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.raz-fallback-desc {
    font-size: 0.70rem;
    color: #94a3b8;
    line-height: 1.35;
    margin-bottom: 10px;
}

/* Khusus Header, Body & Footer di Modal Preview Tema */
#raz-theme-preview-modal .raz-modal-header {
    padding: 12px 16px;
    flex-shrink: 0;
}

#raz-theme-preview-modal .raz-modal-title {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.25;
}

#raz-theme-preview-modal .raz-modal-close-btn {
    width: 32px;
    height: 32px;
}

#raz-theme-preview-modal .raz-preview-mockup-body {
    padding: 10px 8px;
    background: #0b0d13;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 0;
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
}

#raz-theme-preview-modal .raz-modal-footer {
    padding: 10px 16px;
    flex-shrink: 0;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 215, 0, 0.12);
}

#raz-theme-preview-modal .raz-preview-promo-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--raz-primary-light, #ffd700);
}

#raz-theme-preview-modal .raz-preview-normal-price {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.raz-btn-glow {
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    animation: razGlowPulse 2.5s infinite;
}

@keyframes razGlowPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6); }
}

.raz-preview-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.raz-preview-promo-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--raz-primary-light);
}

.raz-preview-normal-price {
    font-size: 0.95rem;
    color: #64748b;
    text-decoration: line-through;
}

/* ==============================================================================
   FORM CONTROLS & ALERTS
   ============================================================================== */
.raz-form-group {
    margin-bottom: 20px;
}

.raz-form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.raz-form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--raz-dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--raz-radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--raz-transition);
}

.raz-form-control:focus {
    outline: none;
    border-color: var(--raz-primary);
    box-shadow: 0 0 0 3px var(--raz-primary-glow);
}

.raz-form-control::placeholder {
    color: #64748b;
}

.raz-alert {
    padding: 16px 20px;
    border-radius: var(--raz-radius-sm);
    margin-bottom: 24px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.raz-alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.raz-alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}


/* ==============================================================================
 * DEMO BUTTONS & INTERACTIVE FEATURE BADGES (Standar RAZ Enterprise)
 * ============================================================================== */

/* 1. Hero Demo Pills */
.hero-demo-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-demo-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-light-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-demo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-demo-pill i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hero-demo-pill.pill-wa i {
    color: #25D366;
}

.hero-demo-pill.pill-selfie i {
    color: var(--color-gold-accent);
}

.hero-demo-pill.pill-admin i {
    color: #60a5fa;
}

.hero-demo-pill:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: var(--color-gold-accent);
    color: var(--color-gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
}

.hero-demo-pill:hover i {
    transform: scale(1.15);
}

/* 2. USP Card Inline Demo Button */
.usp-card-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-gold-accent);
    text-decoration: none;
    transition: all 0.25s ease;
    width: fit-content;
}

.usp-card-demo-btn:hover {
    background: var(--color-gold-accent);
    color: #000;
    border-color: var(--color-gold-accent);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* 3. Section 4 Preview Dual Demo Bar */
.preview-demo-actions-box {
    margin-top: 20px;
    margin-bottom: 15px;
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.preview-demo-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.preview-demo-btns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.cta-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.cta-demo-wa {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(18, 140, 126, 0.3) 100%);
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: #25D366;
}

.cta-demo-wa:hover {
    background: #25D366;
    color: #0b141a;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.cta-demo-selfie {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(218, 165, 32, 0.3) 100%);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: var(--color-gold-accent);
}

.cta-demo-selfie:hover {
    background: var(--color-gold-accent);
    color: #000;
    border-color: var(--color-gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.cta-demo-admin {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(37, 99, 235, 0.28) 100%);
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: #93c5fd;
}

.cta-demo-admin:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* 4. Navbar Dropdown Styling */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 10px;
    min-width: 260px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(14, 14, 14, 0.98);
    border-left: 1px solid rgba(255, 215, 0, 0.3);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
    background: rgba(255, 215, 0, 0.1);
}

.nav-dropdown-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.nav-dropdown-item strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
}

.nav-dropdown-item small {
    display: block;
    font-size: 0.75rem;
    color: var(--color-light-secondary);
}

/* Mobile responsive adjustments */
@media (max-width: 992px) {
    .nav-dropdown {
        width: 100%;
        display: block;
    }
    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 215, 0, 0.15);
        margin-top: 8px;
        padding: 8px;
        width: 100%;
    }
    .nav-dropdown-menu::before {
        display: none;
    }
    .preview-demo-btns {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   5. KARTU KHUSUS: KONSULTASIKAN KEBUTUHAN UNDANGAN (CUSTOM REQUEST)
   ============================================================ */
.theme-card-custom-request {
    background: linear-gradient(165deg, rgba(32, 25, 12, 0.95) 0%, rgba(16, 13, 8, 0.96) 100%) !important;
    border: 1.5px dashed rgba(255, 215, 0, 0.5) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(255, 215, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-card-custom-request:hover {
    border-color: var(--color-gold-accent) !important;
    border-style: solid !important;
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.22), inset 0 0 35px rgba(255, 215, 0, 0.08);
}

.custom-req-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.16) 0%, rgba(0, 0, 0, 0.65) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 215, 0, 0.18);
}

.custom-req-badge {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
    color: #12100e !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}

.custom-req-type {
    background: rgba(0, 0, 0, 0.75) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    color: #ffd700 !important;
}

.custom-req-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 10px;
}

.custom-req-glow-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.35) 0%, transparent 70%);
    animation: razPulseRing 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes razPulseRing {
    0%, 100% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.85; }
}

.custom-req-icon-box {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.22) 0%, rgba(184, 134, 11, 0.3) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #ffd700;
    margin-bottom: 8px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
    transition: transform 0.35s ease;
}

.theme-card-custom-request:hover .custom-req-icon-box {
    transform: scale(1.1) rotate(6deg);
    border-color: #ffd700;
}

.custom-req-tagline span {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.custom-req-tagline small {
    display: block;
    font-size: 0.72rem;
    color: var(--color-light-secondary);
    margin-top: 2px;
}

.custom-req-body {
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.custom-req-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
}

.custom-req-desc {
    font-size: 0.82rem;
    color: var(--color-light-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.custom-req-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    font-size: 0.78rem;
    color: #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-req-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}

.custom-req-checklist li i {
    color: #ffd700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Area Aksi & Tombol Konsultasi Kustom Full Width */
.theme-card-custom-request .theme-card-actions,
.custom-req-actions {
    display: flex !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    margin-top: auto !important;
    padding-top: 6px !important;
}

.custom-req-cta-btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    border: 1px solid #25D366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 11px 12px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.25 !important;
    overflow: visible !important;
    white-space: normal !important;
    cursor: pointer !important;
}

.custom-req-cta-btn i {
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
}

.custom-req-cta-btn span {
    display: inline-block !important;
    letter-spacing: 0.2px !important;
}

.custom-req-cta-btn:hover {
    background: #25D366 !important;
    color: #0b141a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5) !important;
}

/* ============================================================
   6. PAGINATION NAVIGATOR KHAS RAZ ENTERPRISE
   ============================================================ */
.raz-pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.raz-pagination-info {
    font-size: 0.88rem;
    color: var(--color-light-secondary);
}

.raz-pagination-info strong {
    color: var(--color-gold-accent);
}

.raz-pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 14px;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    flex-wrap: wrap;
    justify-content: center;
}

.raz-page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    user-select: none;
}

.raz-page-item:hover:not(.disabled):not(.active) {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--color-gold-accent);
    transform: translateY(-2px);
}

.raz-page-item.active {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    border-color: #ffd700;
    color: #0f1015;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    cursor: default;
}

.raz-page-item.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.raz-page-item.raz-page-nav {
    padding: 0 16px;
    gap: 6px;
    font-size: 0.82rem;
}

.raz-page-ellipsis {
    color: var(--color-light-secondary);
    padding: 0 4px;
    font-size: 0.88rem;
}

@media (max-width: 600px) {
    .raz-pagination {
        padding: 6px 10px;
        gap: 5px;
    }
    .raz-page-item {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 0.82rem;
    }
    .raz-page-item.raz-page-nav span {
        display: none;
    }
    .raz-page-item.raz-page-nav {
        padding: 0 10px;
    }
}
