@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
    --bg-dark: #07090e;
    --bg-surface: #0e131f;
    --bg-surface-elevated: #151d30;
    --bg-glass: rgba(16, 23, 40, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-focus: #00f2fe;

    --primary-cyan: #00f2fe;
    --primary-blue: #4facfe;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-purple: #8b5cf6;

    --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-surface: linear-gradient(180deg, rgba(22, 32, 54, 0.9) 0%, rgba(13, 19, 34, 0.95) 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.15), transparent 70%);

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.25);
    --shadow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 242, 254, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 80%, rgba(139, 92, 246, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 0% 50%, rgba(16, 185, 129, 0.06), transparent);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(7, 9, 14, 0.8);
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.brand-icon-wrap svg {
    width: 24px;
    height: 24px;
    fill: #07090e;
}

.brand-info h1 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--accent-emerald);
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

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

.btn-nav-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-nav-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-nav-admin {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-nav-admin:hover {
    background: rgba(139, 92, 246, 0.3);
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    padding: 40px 0 24px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    color: var(--primary-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Captive Portal Quick Bar */
.captive-alert-bar {
    max-width: 680px;
    margin: 0 auto 35px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-subtle);
}

.captive-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.captive-info-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.captive-info-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.captive-info-text span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.btn-captive-login {
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: var(--primary-cyan);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.btn-captive-login:hover {
    background: var(--gradient-primary);
    color: #07090e;
}

/* Category Filter Tabs */
.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    background: var(--bg-surface-elevated);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #07090e;
    border-color: transparent;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.package-card {
    background: var(--gradient-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: var(--transition-fast);
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 12px 30px -5px rgba(0, 242, 254, 0.15);
}

.package-card:hover::before {
    background: var(--gradient-primary);
}

.package-card.popular {
    border-color: rgba(0, 242, 254, 0.5);
    background: linear-gradient(180deg, rgba(20, 36, 62, 0.95) 0%, rgba(13, 20, 36, 0.98) 100%);
    box-shadow: 0 0 35px -5px rgba(0, 242, 254, 0.2);
}

.package-card.popular::before {
    background: var(--gradient-primary);
}

.badge-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(0, 242, 254, 0.15);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.badge-tag.highlight {
    background: var(--gradient-primary);
    color: #07090e;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 242, 254, 0.4);
}

.package-header {
    margin-bottom: 16px;
}

.pkg-duration-badge {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.pkg-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pkg-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 14px 0 16px;
}

.pkg-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.pkg-price {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.pkg-period {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.pkg-features {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pkg-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.pkg-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-emerald);
    flex-shrink: 0;
}

.pkg-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-select-pkg {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-select-pkg:hover {
    background: var(--gradient-primary);
    color: #07090e;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.package-card.popular .btn-select-pkg {
    background: var(--gradient-primary);
    color: #07090e;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.package-card.popular .btn-select-pkg:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
}

/* Promo Card Styles */
.package-card.promo-card {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(180deg, rgba(35, 25, 15, 0.95) 0%, rgba(13, 20, 36, 0.98) 100%);
    box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.2);
}

.package-card.promo-card::before {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.package-card.sold-out {
    opacity: 0.72;
    border-color: rgba(244, 63, 94, 0.35);
    background: linear-gradient(180deg, rgba(30, 20, 25, 0.95) 0%, rgba(13, 20, 36, 0.98) 100%);
}

.package-card.sold-out .pkg-name {
    text-decoration: line-through;
    color: var(--text-muted);
}

.promo-quota-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 8px;
    padding: 8px 10px;
    margin: 8px 0 12px;
}

.promo-quota-box.sold-out {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.3);
}

.promo-quota-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.promo-quota-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.promo-quota-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.promo-quota-fill.sold-out {
    background: var(--accent-rose);
}

/* Steps Section */
.steps-section {
    padding: 30px 0 60px;
    border-top: 1px solid var(--border-glass);
}

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

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    position: relative;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: var(--bg-surface-elevated);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.1);
    transform: scale(0.95);
    transition: var(--transition-fast);
}

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

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

.modal-title-group h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-title-group p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-close-modal {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

/* Form Styles */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

.form-hint {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Order Summary Box in Checkout */
.checkout-summary-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-pkg-info strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
}

.summary-pkg-info span {
    font-size: 0.82rem;
    color: var(--primary-cyan);
}

.summary-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Payment Method Selector Tabs */
.payment-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-tab-btn {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.payment-tab-btn:hover {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
}

.payment-tab-btn.active {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

/* QRIS Display Container */
.qris-display-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 16px;
}

.qris-header-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.qris-logo-text {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    color: #e11d48;
}

.qris-merchant-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    text-align: right;
}

.qris-image-wrap {
    display: inline-block;
    position: relative;
    padding: 8px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.qris-img {
    width: 220px;
    height: 220px;
    display: block;
    margin: 0 auto;
}

.qris-amount-badge {
    margin-top: 12px;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    display: inline-block;
}

.qris-amount-badge span {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.qris-amount-badge strong {
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 800;
    margin-left: 4px;
}

/* Timer and Live Check */
.qris-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--accent-amber);
    font-weight: 600;
}

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-top-color: var(--accent-amber);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.timer-count {
    font-weight: 700;
    color: var(--primary-cyan);
}

/* Demo Simulation Button */
.btn-simulate-qris {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-emerald);
    margin-bottom: 10px;
}

.btn-simulate-qris:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

/* Manual Transfer Details */
.manual-bank-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.bank-option-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-fast);
}

.bank-option-card:hover, .bank-option-card.selected {
    border-color: var(--primary-cyan);
    background: var(--bg-surface-elevated);
}

.bank-option-card.selected {
    box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.2);
}

.bank-meta strong {
    display: block;
    font-size: 0.92rem;
}

.bank-meta span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.bank-copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--primary-cyan);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.bank-copy-btn:hover {
    background: var(--primary-cyan);
    color: #07090e;
}

.transfer-amount-highlight {
    background: rgba(245, 158, 11, 0.1);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 18px;
    text-align: center;
}

.transfer-amount-highlight p {
    font-size: 0.82rem;
    color: #fde68a;
    margin-bottom: 4px;
}

.transfer-amount-highlight h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-amber);
    letter-spacing: -0.02em;
}

.transfer-amount-highlight small {
    display: block;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* File Upload Dropzone */
.dropzone-box {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    background: var(--bg-surface);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    margin-bottom: 16px;
}

.dropzone-box:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.03);
}

.dropzone-content svg {
    width: 32px;
    height: 32px;
    color: var(--primary-cyan);
    margin-bottom: 8px;
}

.dropzone-content p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dropzone-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.preview-image-container {
    display: none;
    margin-top: 10px;
}

.preview-image-container img {
    max-width: 100%;
    max-height: 180px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
}

/* Voucher Success Result Card */
.voucher-success-box {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.voucher-success-box h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.voucher-success-box p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Printable Voucher Ticket */
.voucher-ticket {
    background: #0f172a;
    border: 2px dashed rgba(0, 242, 254, 0.5);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.ticket-brand {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-cyan);
}

.ticket-pkg-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.ticket-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.credential-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
}

.credential-field span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.credential-field strong {
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.ticket-qr-section {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 16px;
}

.ticket-qr-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 4px;
}

.ticket-qr-text {
    text-align: left;
}

.ticket-qr-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.ticket-qr-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ticket-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-voucher-action {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-action-primary {
    background: var(--gradient-primary);
    color: #07090e;
    border: none;
    box-shadow: var(--shadow-glow);
}

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

.btn-action-outline {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-action-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-action-wa {
    background: #25D366;
    color: #ffffff;
    border: none;
}

.btn-action-wa:hover {
    background: #1eb855;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer a {
    color: var(--primary-cyan);
    text-decoration: none;
}

/* Print Stylesheet for Thermal Struk / Receipts */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .navbar, .hero-section, .captive-alert-bar, .filter-wrapper, 
    .packages-grid, .steps-section, .footer, .btn-close-modal, 
    .ticket-actions, .voucher-success-box {
        display: none !important;
    }
    .modal-overlay {
        position: static !important;
        background: #fff !important;
        padding: 0 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .modal-dialog {
        box-shadow: none !important;
        border: none !important;
        background: #fff !important;
        max-width: 100% !important;
    }
    .voucher-ticket {
        border: 2px dashed #000 !important;
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    .ticket-brand, .ticket-pkg-name, .credential-field strong {
        color: #000 !important;
    }
    .credential-field {
        border: 1px solid #000 !important;
        background: #fff !important;
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .captive-alert-bar {
        flex-direction: column;
        text-align: center;
    }
    .captive-info {
        flex-direction: column;
        text-align: center;
    }
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .ticket-credentials {
        grid-template-columns: 1fr;
    }
}

/* Router / Location Switcher Box */
.router-selector-box {
    max-width: 900px;
    margin: 0 auto 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    box-shadow: var(--shadow-subtle);
    backdrop-filter: blur(12px);
}

.router-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
}

.router-selector-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-cyan);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.router-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: routerPulse 1.8s infinite;
}

@keyframes routerPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.router-status-indicator {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.router-status-indicator strong {
    color: var(--primary-cyan);
}

.router-nav-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.router-tab-card {
    background: var(--bg-surface-elevated);
    border: 1.5px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    user-select: none;
}

.router-tab-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
}

.router-tab-card.active {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.router-tab-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.12);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.router-tab-card.active .router-tab-icon {
    background: var(--gradient-primary);
    color: #07090e;
}

.router-tab-info {
    flex: 1;
    min-width: 0;
}

.router-tab-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.router-tab-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.router-tab-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: transparent;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.router-tab-card.active .router-tab-check {
    background: var(--accent-emerald);
    border-color: var(--accent-emerald);
    color: #ffffff;
    font-weight: bold;
}

/* Package card router target tag */
.pkg-router-target-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 242, 254, 0.25);
    width: fit-content;
}

.pkg-router-target-tag.universal {
    background: rgba(139, 92, 246, 0.12);
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.3);
}
