/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #f0f2f5; color: #1a1a2e; line-height: 1.6; min-height: 100vh; }
a { color: #4f46e5; text-decoration: none; transition: color 0.2s; }
a:hover { color: #4338ca; }
img { max-width: 100%; height: auto; }

/* Layout */
.app-layout { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: #1a1a2e; color: #fff; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; transition: transform 0.3s; overflow-y: auto; }
.sidebar-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-header h2 { font-size: 18px; font-weight: 700; }
.sidebar-header h2 span { color: #818cf8; }
.sidebar-nav { padding: 12px 0; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,0.7); font-size: 14px; transition: all 0.2s; border-left: 3px solid transparent; }
.sidebar-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.sidebar-nav a.active { background: rgba(79,70,229,0.2); color: #fff; border-left-color: #4f46e5; }
.sidebar-nav .nav-section { padding: 8px 20px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.3); margin-top: 8px; }
.main-content { margin-left: 260px; flex: 1; min-height: 100vh; }
.topbar { background: #fff; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 50; }
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-left h1 { font-size: 18px; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.content { padding: 24px; }

/* Mobile sidebar toggle */
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #333; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; }

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay.open { display: block; }
    .main-content { margin-left: 0; }
    .menu-toggle { display: block; }
}

/* Cards */
.card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid #e5e7eb; }
.card-header { padding: 16px 20px; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 16px; font-weight: 600; }
.card-body { padding: 20px; }
.card-footer { padding: 12px 20px; border-top: 1px solid #e5e7eb; }

/* Stats Cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #e5e7eb; }
.stat-card .stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px; }
.stat-card .stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-card .stat-icon.green { background: #d1fae5; color: #059669; }
.stat-card .stat-icon.purple { background: #ede9fe; color: #7c3aed; }
.stat-card .stat-icon.orange { background: #ffedd5; color: #ea580c; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; color: #1a1a2e; }
.stat-card .stat-label { font-size: 13px; color: #6b7280; margin-top: 4px; }

/* Tables */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th { background: #f9fafb; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; padding: 12px 16px; text-align: left; border-bottom: 1px solid #e5e7eb; }
table td { padding: 12px 16px; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
table tr:hover { background: #f9fafb; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: all 0.2s; text-decoration: none; white-space: nowrap; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-xs { padding: 4px 8px; font-size: 12px; }
.btn-primary { background: #4f46e5; color: #fff; }
.btn-primary:hover { background: #4338ca; color: #fff; }
.btn-secondary { background: #e5e7eb; color: #374151; }
.btn-secondary:hover { background: #d1d5db; }
.btn-success { background: #10b981; color: #fff; }
.btn-success:hover { background: #059669; color: #fff; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-outline { background: transparent; border: 1px solid #d1d5db; color: #374151; }
.btn-outline:hover { background: #f9fafb; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: #374151; margin-bottom: 6px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .help-text { font-size: 12px; color: #6b7280; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* Badges */
.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.badge-active { background: #d1fae5; color: #065f46; }
.badge-disabled { background: #fee2e2; color: #991b1b; }
.badge-expired { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: #fff; border-radius: 12px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 16px 20px; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 16px; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #6b7280; }
.modal-body { padding: 20px; }
.modal-footer { padding: 12px 20px; border-top: 1px solid #e5e7eb; display: flex; justify-content: flex-end; gap: 8px; }

/* Auth Pages */
.auth-layout { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 20px; }
.auth-card { background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); max-width: 440px; width: 100%; padding: 40px; }
.auth-card h1 { text-align: center; font-size: 24px; margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: #6b7280; margin-bottom: 32px; font-size: 14px; }
.auth-card .form-group:last-of-type { margin-bottom: 24px; }
.auth-links { text-align: center; margin-top: 20px; font-size: 14px; color: #6b7280; }

/* Landing Page */
.landing-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; padding: 80px 20px; text-align: center; }
.landing-hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.landing-hero h1 span { color: #818cf8; }
.landing-hero p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 32px; }
.landing-hero .btn { font-size: 16px; padding: 14px 32px; }
.landing-features { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.landing-features h2 { text-align: center; font-size: 32px; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.feature-card { text-align: center; padding: 32px; }
.feature-card .icon { font-size: 48px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: #6b7280; font-size: 14px; }
.landing-cta { background: #f0f2f5; padding: 80px 20px; text-align: center; }
.landing-cta h2 { font-size: 32px; margin-bottom: 16px; }
.landing-cta p { color: #6b7280; margin-bottom: 32px; }
.landing-footer { background: #1a1a2e; color: rgba(255,255,255,0.5); padding: 32px 20px; text-align: center; font-size: 14px; }

/* QR Create Wizard */
.wizard-steps { display: flex; justify-content: center; margin-bottom: 32px; gap: 8px; }
.wizard-step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #9ca3af; }
.wizard-step.active { color: #4f46e5; font-weight: 600; }
.wizard-step .step-num { width: 32px; height: 32px; border-radius: 50%; background: #e5e7eb; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.wizard-step.active .step-num { background: #4f46e5; color: #fff; }
.wizard-step.completed .step-num { background: #10b981; color: #fff; }
.wizard-step .step-line { width: 40px; height: 2px; background: #e5e7eb; }
.wizard-step.completed .step-line { background: #10b981; }

/* QR Type Grid */
.qr-type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.qr-type-card { padding: 16px; border: 2px solid #e5e7eb; border-radius: 12px; cursor: pointer; text-align: center; transition: all 0.2s; }
.qr-type-card:hover { border-color: #818cf8; background: #f5f3ff; }
.qr-type-card.selected { border-color: #4f46e5; background: #ede9fe; }
.qr-type-card .icon { font-size: 32px; margin-bottom: 8px; }
.qr-type-card .name { font-size: 14px; font-weight: 600; }
.qr-type-card .desc { font-size: 12px; color: #6b7280; margin-top: 4px; }

/* QR Preview */
.qr-preview { text-align: center; padding: 20px; background: #f9fafb; border-radius: 12px; }
.qr-preview img { max-width: 300px; border: 1px solid #e5e7eb; border-radius: 8px; }

/* QR Type Form Sections */
.qr-form-section { display: none; }
.qr-form-section.active { display: block; }

/* QR List Item */
.qr-list-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid #f3f4f6; }
.qr-list-item:last-child { border-bottom: none; }
.qr-list-thumb { width: 48px; height: 48px; background: #f3f4f6; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.qr-list-info { flex: 1; min-width: 0; }
.qr-list-info h4 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qr-list-info .meta { font-size: 12px; color: #6b7280; display: flex; gap: 12px; margin-top: 4px; }
.qr-list-actions { display: flex; gap: 6px; }

/* Empty State */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; }
.empty-state p { color: #6b7280; margin-bottom: 24px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.pagination a, .pagination span { padding: 8px 12px; border-radius: 6px; font-size: 14px; }
.pagination a { background: #fff; border: 1px solid #e5e7eb; }
.pagination a:hover { background: #f9fafb; }
.pagination .active { background: #4f46e5; color: #fff; border-color: #4f46e5; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid #e5e7eb; margin-bottom: 20px; }
.tab { padding: 10px 16px; font-size: 14px; color: #6b7280; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; background: none; border-top: none; border-left: none; border-right: none; }
.tab.active { color: #4f46e5; border-bottom-color: #4f46e5; font-weight: 500; }

/* Checkbox toggle */
.toggle { position: relative; width: 44px; height: 24px; display: inline-block; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #d1d5db; border-radius: 24px; transition: 0.3s; }
.toggle .slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.3s; }
.toggle input:checked + .slider { background: #4f46e5; }
.toggle input:checked + .slider::before { transform: translateX(20px); }

/* Code block */
.code-block { background: #1e293b; color: #e2e8f0; padding: 16px; border-radius: 8px; font-family: 'Courier New', monospace; font-size: 13px; overflow-x: auto; position: relative; white-space: pre-wrap; word-break: break-all; }
.code-block .copy-btn { position: absolute; top: 8px; right: 8px; background: #4f46e5; color: #fff; border: none; padding: 4px 10px; border-radius: 4px; cursor: pointer; font-size: 12px; }

/* Chart container */
.chart-container { position: relative; height: 300px; }
.chart-bar { display: flex; align-items: flex-end; gap: 4px; height: 200px; padding: 0 10px 30px; border-bottom: 1px solid #e5e7eb; }
.chart-bar .bar { flex: 1; background: linear-gradient(180deg, #6366f1, #4f46e5); border-radius: 4px 4px 0 0; min-height: 4px; transition: height 0.3s; position: relative; }
.chart-bar .bar:hover { background: linear-gradient(180deg, #818cf8, #6366f1); }
.chart-bar .bar-label { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 10px; color: #6b7280; white-space: nowrap; }

/* Public page styles */
.public-page { min-height: 100vh; background: #f5f5f5; }
.public-page .hero { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; padding: 60px 20px; text-align: center; }
.public-page .hero h1 { font-size: 32px; margin-bottom: 8px; }
.public-page .hero p { color: rgba(255,255,255,0.7); }
.public-page .content { max-width: 800px; margin: -40px auto 40px; padding: 0 20px; }
.public-page .content .card { margin-bottom: 16px; }

/* Product page */
.product-page { max-width: 600px; margin: 0 auto; padding: 20px; }
.product-image { width: 100%; border-radius: 12px; margin-bottom: 16px; }
.product-price { font-size: 28px; font-weight: 700; color: #059669; }

/* Menu page */
.menu-page { max-width: 800px; margin: 0 auto; padding: 20px; }
.menu-category { margin-bottom: 32px; }
.menu-category h2 { font-size: 20px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #4f46e5; }
.menu-item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f3f4f6; }
.menu-item-image { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; background: #f3f4f6; }
.menu-item-info { flex: 1; }
.menu-item-name { font-weight: 600; margin-bottom: 4px; }
.menu-item-desc { font-size: 13px; color: #6b7280; }
.menu-item-price { font-size: 16px; font-weight: 700; color: #059669; margin-top: 4px; }

/* Event page */
.event-date { display: flex; align-items: center; gap: 12px; padding: 16px; background: #f0f2f5; border-radius: 8px; margin-bottom: 16px; }
.event-date .date-icon { font-size: 32px; }
.event-date .date-info h3 { font-size: 18px; }
.event-date .date-info p { font-size: 14px; color: #6b7280; }

/* Ticket */
.ticket-card { border: 2px dashed #d1d5db; border-radius: 12px; padding: 24px; text-align: center; background: #fff; }
.ticket-header { border-bottom: 1px solid #d1d5db; padding-bottom: 16px; margin-bottom: 16px; }
.ticket-qr { margin: 16px 0; }
.ticket-details { text-align: left; }
.ticket-details .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f3f4f6; }

/* Coupon */
.coupon-card { border: 2px dashed #4f46e5; border-radius: 12px; padding: 32px; text-align: center; background: #fff; }
.coupon-discount { font-size: 48px; font-weight: 800; color: #4f46e5; }
.coupon-code { display: inline-block; background: #f3f4f6; padding: 8px 24px; border-radius: 8px; font-family: monospace; font-size: 18px; font-weight: 600; margin: 16px 0; letter-spacing: 2px; }

/* Registration form */
.reg-form { max-width: 500px; margin: 0 auto; }
.reg-form .form-group { margin-bottom: 16px; }
.reg-form .btn { width: 100%; }

/* Donation */
.donation-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.donation-amount { padding: 16px; border: 2px solid #e5e7eb; border-radius: 8px; text-align: center; cursor: pointer; transition: all 0.2s; }
.donation-amount:hover { border-color: #4f46e5; }
.donation-amount.selected { border-color: #4f46e5; background: #ede9fe; }
.donation-amount .amount { font-size: 24px; font-weight: 700; }

/* Loading */
.loading { text-align: center; padding: 40px; }
.spinner { width: 40px; height: 40px; border: 4px solid #e5e7eb; border-top-color: #4f46e5; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive base */
@media (max-width: 768px) {
    .landing-hero h1 { font-size: 32px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .qr-type-grid { grid-template-columns: 1fr 1fr; }
    .wizard-steps { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .qr-type-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .donation-amounts { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   COMPREHENSIVE FRONTEND RESPONSIVE
   ======================================== */

/* === GLOBAL === */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

/* === NAVBAR (Public) === */
@media (max-width: 768px) {
    .nh-topnav-center {
        display: none;
        position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
        background: rgba(8,13,25,0.98);
        flex-direction: column;
        padding: 20px;
        gap: 6px;
        overflow-y: auto;
        z-index: 99;
        -webkit-overflow-scrolling: touch;
    }
    .nh-topnav-center.open {
        display: flex !important;
    }
    .nh-topnav-center .nh-nav-link {
        padding: 14px 16px !important;
        border-radius: 10px !important;
        text-align: left;
        width: 100%;
        font-size: 15px !important;
    }
    .nh-topnav-inner { justify-content: space-between; }
    .nh-hamburger { display: block; }
    .nh-topnav-right .nh-btn-nav { display: none; }
    .nh-topnav-right .nh-hamburger { margin-left: auto; }
}

/* === HERO SECTION === */
@media (max-width: 1024px) {
    .nh-hero h1 { font-size: 42px; }
}
@media (max-width: 768px) {
    .nh-hero { padding: 80px 20px 60px; min-height: auto; }
    .nh-hero h1 { font-size: 32px; }
    .nh-hero p { font-size: 16px; margin-bottom: 28px; }
    .nh-hero-btns { gap: 10px; margin-bottom: 36px; }
    .nh-btn { padding: 12px 24px; font-size: 14px; }
    .nh-hero-stat { padding: 0 16px; }
    .nh-hero-stat strong { font-size: 18px; }
    .nh-hero-stat span { font-size: 12px; }
    .nh-hero-stat-divider { height: 30px; }
}
@media (max-width: 480px) {
    .nh-hero { padding: 70px 16px 50px; }
    .nh-hero h1 { font-size: 26px; }
    .nh-hero p { font-size: 14px; }
    .nh-hero-stats { flex-direction: column; gap: 16px; }
    .nh-hero-stat-divider { width: 40px; height: 1px; }
    .nh-btn { padding: 12px 20px; font-size: 13px; }
}

/* === SECTION HEADERS === */
@media (max-width: 768px) {
    .nh-section { padding: 50px 0; }
    .nh-section-header { margin-bottom: 36px; }
    .nh-section-header h2 { font-size: 26px; }
    .nh-section-header p { font-size: 15px; }
}

/* === QR TYPE GRID === */
@media (max-width: 768px) {
    .nh-type-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .nh-type-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === FEATURES GRID === */
@media (max-width: 1024px) {
    .nh-features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
    .nh-features-grid { grid-template-columns: 1fr; gap: 16px; }
    .nh-feature-card { padding: 24px 20px; }
}

/* === BLOG CARDS === */
@media (max-width: 1024px) {
    .nh-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .nh-blog-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* === FOOTER === */
.nh-footer { overflow:hidden; }
@media (max-width: 1024px) {
    .nh-footer-top { grid-template-columns:1fr; gap:40px; }
    .nh-footer-links { grid-template-columns:repeat(3,1fr); gap:24px; }
}
@media (max-width: 768px) {
    .nh-footer { padding:40px 0 0; }
    .nh-footer-links { grid-template-columns:1fr 1fr; gap:20px; }
    .nh-footer-contact-row { flex-direction:column; gap:12px; }
    .nh-contact-card-item { width:100%; }
    .nh-footer-brand p { max-width:100%; }
    .nh-payments-logos { flex-wrap:wrap; }
}
@media (max-width: 480px) {
    .nh-footer-links { grid-template-columns:1fr; gap:16px; }
    .nh-footer-col a { padding:6px 12px; font-size:12px; }
    .nh-footer-socials { gap:8px; }
    .nh-footer-socials a { width:34px; height:34px; }
}

/* === AUTH PAGES (Login / Register) === */
@media (max-width: 900px) {
    .nh-auth-page { flex-direction: column; }
    .nh-auth-left {
        min-height: 260px; padding: 40px 24px;
        flex: none;
    }
    .nh-auth-left-content { max-width: 100%; text-align: center; }
    .nh-auth-left-content h1 { font-size: 28px; }
    .nh-auth-left-content > p { font-size: 14px; margin-bottom: 20px; }
    .nh-auth-features { display: none; }
    .nh-auth-right { padding: 32px 20px; flex: 1; }
    .nh-auth-card { max-width: 100%; }
}
@media (max-width: 480px) {
    .nh-auth-left { min-height: 200px; padding: 30px 16px; }
    .nh-auth-left-content h1 { font-size: 24px; }
    .nh-auth-right { padding: 24px 16px; }
    .nh-auth-card-header h2 { font-size: 22px; }
    .nh-auth-input-wrap { padding: 10px 14px; }
    .nh-auth-btn { padding: 12px; font-size: 14px; }
}

/* === CUSTOMER DASHBOARD === */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 16px; }
    .stat-card .stat-value { font-size: 22px; }
    .stat-card .stat-label { font-size: 12px; }
    .stat-card .stat-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 8px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 14px; border-radius: 10px; }
    .stat-card .stat-value { font-size: 20px; }
}

/* Dashboard table responsive */
@media (max-width: 768px) {
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }
    table { min-width: 700px; }
    .btn-group { flex-wrap: wrap; gap: 4px; }
    .btn-group .btn { font-size: 11px; padding: 4px 8px; white-space: nowrap; }
}

/* Dashboard header row */
@media (max-width: 600px) {
    .stats-grid + div {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .stats-grid + div h2 { font-size: 16px !important; }
    .stats-grid + div .btn { width: 100%; justify-content: center; }
}

/* === PACKAGES PAGE === */
@media (max-width: 768px) {
    .pkg-hero { padding: 60px 20px 36px; }
    .pkg-hero h1 { font-size: 2rem; }
    .pkg-hero p { font-size: 1rem; }
    .pkg-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pkg-tab { padding: 10px 20px; font-size: 0.9rem; }
    .pkg-card { padding: 28px 24px; }
    .pkg-price-row .pkg-amount { font-size: 2.2rem; }
    .pkg-tabs-wrap { gap: 6px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .pkg-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === ABOUT PAGE === */
@media (max-width: 768px) {
    .nh-page-hero { padding: 100px 20px 36px; }
    .nh-page-hero h1 { font-size: 28px; }
    .nh-page-content { padding: 0 4px; }
    .nh-page-content h2 { font-size: 22px; }
    .nh-page-content h3 { font-size: 18px; }
    .nh-page-content p { font-size: 15px; }
}

/* === FAQ PAGE === */
@media (max-width: 768px) {
    .faq-hero { padding: 80px 20px 36px; }
    .faq-hero h1 { font-size: 2rem; }
    .faq-q { padding: 16px 18px; font-size: 0.95rem; gap: 12px; }
    .faq-a-inner { padding: 0 18px 16px; font-size: 0.9rem; }
    .faq-cta { padding: 32px 20px; margin: 32px 16px 0; }
}
@media (max-width: 480px) {
    .faq-hero h1 { font-size: 1.6rem; }
    .faq-q { padding: 14px 14px; font-size: 0.9rem; }
    .faq-a-inner { padding: 0 14px 14px; }
}

/* === CONTACT PAGE === */
@media (max-width: 768px) {
    .nh-page-hero { padding: 100px 20px 36px; }
    .nh-page-hero h1 { font-size: 28px; }
    .nh-contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .nh-contact-items { flex-direction: column; }
    .nh-contact-item { padding: 14px; }
    .nh-form-row { grid-template-columns: 1fr; }
    .nh-contact-form-wrap { padding: 24px 20px; }
    .nh-contact-items { flex-direction: row; flex-wrap: wrap; }
    .nh-contact-items > a,
    .nh-contact-items > div { flex: 1 1 calc(50% - 8px); min-width: 0; }
}
@media (max-width: 480px) {
    .nh-contact-items > a,
    .nh-contact-items > div { flex: 1 1 100%; }
    .nh-contact-form-wrap { padding: 20px 16px; }
}

/* ========================================
   NEW HOMEPAGE STYLES
   ======================================== */

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

/* Top Navigation */
.nh-topnav {
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(8,13,25,0.88); backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(99,102,241,0.1);
}
.nh-topnav-inner { display:flex; align-items:center; justify-content:space-between; height:68px; }
.nh-topnav-logo { font-size:22px; font-weight:800; color:#fff; text-decoration:none; flex-shrink:0; }
.nh-topnav-logo span { color:#818cf8; }

/* Centered Nav Links */
.nh-topnav-center {
    display:flex; align-items:center; gap:6px;
    position:absolute; left:50%; transform:translateX(-50%);
}
.nh-nav-link {
    padding:9px 22px !important; border-radius:10px !important;
    color:rgba(255,255,255,0.8) !important; font-size:14px !important;
    font-weight:600 !important; text-decoration:none !important;
    background:rgba(255,255,255,0.06) !important;
    border:1px solid rgba(255,255,255,0.1) !important;
    transition:all 0.25s ease !important;
}
.nh-nav-link:hover {
    background:rgba(99,102,241,0.2) !important;
    border-color:rgba(99,102,241,0.4) !important;
    color:#fff !important;
    box-shadow:0 0 16px rgba(99,102,241,0.15);
}

/* CTA Button */
.nh-btn-nav {
    padding:10px 28px !important; border-radius:12px !important;
    background:linear-gradient(135deg,#6366f1,#7c3aed) !important;
    color:#fff !important; font-weight:700 !important; font-size:14px !important;
    text-decoration:none !important;
    box-shadow:0 2px 16px rgba(99,102,241,0.3);
    transition:all 0.25s ease !important;
    flex-shrink:0; border:none !important;
}
.nh-btn-nav:hover {
    box-shadow:0 4px 28px rgba(99,102,241,0.5) !important;
    background:linear-gradient(135deg,#4f46e5,#6d28d9) !important;
    color:#fff !important;
}

/* Page Hero (About, Contact, Support) */
.nh-page-hero {
    padding:120px 20px 50px; text-align:center;
    background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);
    position:relative; overflow:hidden;
}
.nh-page-hero::before {
    content:''; position:absolute; top:-40%; left:-20%; width:60%; height:200%;
    background:radial-gradient(ellipse, rgba(99,102,241,0.1) 0%, transparent 70%);
}
.nh-page-hero h1 {
    font-size:42px; font-weight:800; color:#fff; position:relative; z-index:1;
}
.nh-page-hero p {
    font-size:17px; color:rgba(255,255,255,0.5); margin-top:12px;
    position:relative; z-index:1; max-width:500px; margin-left:auto; margin-right:auto;
}

/* Page Content (About) */
.nh-page-content {
    max-width:800px; margin:0 auto; color:rgba(255,255,255,0.75); line-height:1.8;
}
.nh-page-content h2 { font-size:28px; font-weight:700; color:#fff; margin:32px 0 16px; }
.nh-page-content h3 { font-size:22px; font-weight:600; color:#e2e8f0; margin:24px 0 12px; }
.nh-page-content p { margin:12px 0; font-size:16px; }
.nh-page-content ul { margin:12px 0; padding-left:24px; }
.nh-page-content li { margin:6px 0; }
.nh-page-content img { max-width:100%; border-radius:12px; margin:16px 0; }
.nh-page-content blockquote {
    border-left:3px solid #6366f1; padding:12px 20px; margin:16px 0;
    background:rgba(99,102,241,0.06); border-radius:0 8px 8px 0;
    font-style:italic; color:rgba(255,255,255,0.6);
}

/* Contact Page */
.nh-contact-grid { display:grid; grid-template-columns:1fr 1.5fr; gap:48px; align-items:start; }
.nh-contact-info h3 { font-size:24px; font-weight:700; color:#fff; margin-bottom:8px; }
.nh-contact-info > p { color:rgba(255,255,255,0.5); margin-bottom:28px; font-size:15px; }
.nh-contact-items { display:flex; flex-direction:column; gap:16px; }
.nh-contact-item {
    display:flex; align-items:center; gap:14px; padding:16px;
    background:rgba(30,41,59,0.6); border:1px solid rgba(99,102,241,0.1);
    border-radius:12px;
}
.nh-contact-item-icon {
    width:44px; height:44px; border-radius:12px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    background:rgba(99,102,241,0.15); color:#818cf8;
}
.nh-contact-item strong { display:block; color:#e2e8f0; font-size:14px; }
.nh-contact-item span { color:rgba(255,255,255,0.4); font-size:13px; }

.nh-contact-form-wrap {
    background:rgba(30,41,59,0.5); border:1px solid rgba(99,102,241,0.1);
    border-radius:16px; padding:32px;
}
.nh-contact-form { display:flex; flex-direction:column; gap:16px; }
.nh-form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.nh-form-group { display:flex; flex-direction:column; gap:6px; }
.nh-form-group label { font-size:13px; font-weight:600; color:rgba(255,255,255,0.7); }
.nh-form-group input, .nh-form-group textarea {
    padding:12px 16px; border:1px solid rgba(99,102,241,0.15);
    border-radius:10px; background:rgba(15,23,42,0.6); color:#e2e8f0;
    font-size:14px; font-family:inherit; transition:all 0.25s; outline:none;
}
.nh-form-group input:focus, .nh-form-group textarea:focus {
    border-color:#6366f1; box-shadow:0 0 0 3px rgba(99,102,241,0.15);
}
.nh-form-group input::placeholder, .nh-form-group textarea::placeholder {
    color:rgba(255,255,255,0.25);
}
.nh-form-group textarea { resize:vertical; min-height:120px; }
.nh-btn-full { width:100%; }

/* FAQ / Support */
.nh-faq-list { max-width:800px; margin:0 auto 48px; }
.nh-faq-item {
    border:1px solid rgba(99,102,241,0.1); border-radius:12px;
    margin-bottom:12px; overflow:hidden; transition:all 0.3s;
    background:rgba(30,41,59,0.4);
}
.nh-faq-item:hover { border-color:rgba(99,102,241,0.25); }
.nh-faq-item.open { border-color:rgba(99,102,241,0.3); background:rgba(30,41,59,0.7); }
.nh-faq-q {
    display:flex; justify-content:space-between; align-items:center;
    padding:18px 20px; cursor:pointer; color:#e2e8f0; font-weight:600; font-size:15px;
    transition:color 0.2s;
}
.nh-faq-q:hover { color:#a5b4fc; }
.nh-faq-q svg { color:rgba(255,255,255,0.3); transition:transform 0.3s; flex-shrink:0; }
.nh-faq-item.open .nh-faq-q svg { transform:rotate(180deg); }
.nh-faq-a {
    max-height:0; overflow:hidden; transition:max-height 0.35s ease;
}
.nh-faq-item.open .nh-faq-a { max-height:400px; }
.nh-faq-a p {
    padding:0 20px 18px; color:rgba(255,255,255,0.5); line-height:1.7; font-size:14px;
}

.nh-support-cta {
    text-align:center; padding:48px 32px;
    background:rgba(99,102,241,0.06); border:1px solid rgba(99,102,241,0.15);
    border-radius:16px; max-width:600px; margin:0 auto;
}
.nh-support-cta h3 { font-size:22px; color:#fff; margin-bottom:8px; }
.nh-support-cta p { color:rgba(255,255,255,0.5); margin-bottom:20px; }

/* QR Mode Selection */
.nh-mode-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.nh-mode-card {
    display:flex; flex-direction:column; align-items:center; text-align:center;
    padding:24px 16px; border:2px solid #e5e7eb; border-radius:12px;
    cursor:pointer; transition:all 0.25s; background:#fff;
}
.nh-mode-card:hover { border-color:#818cf8; background:#f5f3ff; }
.nh-mode-card.selected { border-color:#4f46e5; background:#ede9fe; }
.nh-mode-card input { display:none; }
.nh-mode-icon { font-size:32px; margin-bottom:8px; }
.nh-mode-title { font-size:15px; font-weight:700; color:#1e293b; margin-bottom:4px; }
.nh-mode-desc { font-size:12px; color:#6b7280; line-height:1.4; }

/* Auth Pages */
.nh-auth-page {
    display:flex; min-height:100vh;
}
.nh-auth-left {
    flex:1; display:flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#0f172a 100%);
    position:relative; overflow:hidden; padding:40px;
}
.nh-auth-left::before {
    content:''; position:absolute; top:-30%; right:-20%; width:500px; height:500px;
    background:radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    border-radius:50%;
}
.nh-auth-left::after {
    content:''; position:absolute; bottom:-30%; left:-10%; width:400px; height:400px;
    background:radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
    border-radius:50%;
}
.nh-auth-left-content {
    position:relative; z-index:1; max-width:420px;
}
.nh-auth-logo {
    font-size:28px; font-weight:800; color:#fff; text-decoration:none;
    display:inline-block; margin-bottom:32px;
}
.nh-auth-logo span { color:#818cf8; }
.nh-auth-left-content h1 {
    font-size:36px; font-weight:800; color:#fff; margin-bottom:14px; line-height:1.2;
}
.nh-auth-left-content > p {
    font-size:16px; color:rgba(255,255,255,0.5); line-height:1.6; margin-bottom:36px;
}
.nh-auth-features { display:flex; flex-direction:column; gap:16px; }
.nh-auth-feature {
    display:flex; align-items:center; gap:14px; padding:14px 18px;
    background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.06);
    border-radius:12px;
}
.nh-auth-feature-icon {
    width:40px; height:40px; border-radius:10px; display:flex;
    align-items:center; justify-content:center; font-size:20px;
    background:rgba(99,102,241,0.12);
}
.nh-auth-feature span { color:rgba(255,255,255,0.7); font-size:14px; font-weight:500; }

.nh-auth-right {
    flex:1; display:flex; align-items:center; justify-content:center;
    background:#0b1120; padding:40px;
}
.nh-auth-card { width:100%; max-width:420px; }
.nh-auth-card-header { margin-bottom:32px; }
.nh-auth-card-header h2 {
    font-size:28px; font-weight:800; color:#fff; margin-bottom:8px;
}
.nh-auth-card-header p { font-size:14px; color:rgba(255,255,255,0.45); }

.nh-auth-form { display:flex; flex-direction:column; gap:20px; }
.nh-auth-field label {
    display:block; font-size:13px; font-weight:600; color:rgba(255,255,255,0.65);
    margin-bottom:8px;
}
.nh-auth-input-wrap {
    display:flex; align-items:center; gap:12px;
    padding:12px 16px; border-radius:12px;
    background:rgba(15,23,42,0.6); border:1px solid rgba(99,102,241,0.12);
    transition:all 0.25s;
}
.nh-auth-input-wrap:focus-within {
    border-color:#6366f1; box-shadow:0 0 0 3px rgba(99,102,241,0.12);
}
.nh-auth-input-wrap svg { color:rgba(255,255,255,0.25); flex-shrink:0; }
.nh-auth-input-wrap:focus-within svg { color:#818cf8; }
.nh-auth-input-wrap input {
    flex:1; background:none; border:none; outline:none;
    color:#e2e8f0; font-size:15px; font-family:inherit;
}
.nh-auth-input-wrap input::placeholder { color:rgba(255,255,255,0.2); }

.nh-auth-btn {
    width:100%; padding:14px; border:none; border-radius:12px;
    background:linear-gradient(135deg,#6366f1,#7c3aed);
    color:#fff; font-size:15px; font-weight:700; cursor:pointer;
    transition:all 0.25s; margin-top:4px;
    box-shadow:0 4px 20px rgba(99,102,241,0.3);
}
.nh-auth-btn:hover {
    box-shadow:0 6px 28px rgba(99,102,241,0.45);
    background:linear-gradient(135deg,#4f46e5,#6d28d9);
}
.nh-auth-btn:active { box-shadow:0 2px 12px rgba(99,102,241,0.3); }

.nh-auth-footer-links {
    margin-top:28px; display:flex; flex-direction:column; gap:12px; align-items:center;
}
.nh-auth-footer-links a {
    color:#818cf8; font-size:14px; font-weight:500; transition:color 0.2s;
}
.nh-auth-footer-links a:hover { color:#a5b4fc; }
.nh-auth-footer-links span { font-size:14px; color:rgba(255,255,255,0.4); }

@media (max-width:900px) {
    .nh-auth-page { flex-direction:column; }
    .nh-auth-left { min-height:280px; padding:40px 24px; }
    .nh-auth-left-content h1 { font-size:28px; }
    .nh-auth-features { display:none; }
    .nh-auth-right { padding:32px 24px; }
}

/* Hamburger menu for public navbar */
.nh-hamburger{display:none;background:none;border:none;cursor:pointer;padding:8px;z-index:101;}
.nh-hamburger span{display:block;width:22px;height:2px;background:#fff;margin:5px 0;border-radius:2px;transition:all .3s;}
.nh-topnav-right{display:flex;align-items:center;gap:12px;}
.nh-topnav-center.open{display:flex!important;position:absolute;top:68px;left:0;right:0;background:rgba(8,13,25,0.98);flex-direction:column;padding:16px 20px;border-bottom:1px solid rgba(99,102,241,0.1);z-index:100;}
.nh-topnav-center.open .nh-nav-link{padding:12px 16px!important;border-radius:8px!important;text-align:left;}

/* Sections - Dark Theme */
.nh-section { padding:80px 0; background:#0f172a; }
.nh-section-dark { background:#0b1120; }
.nh-section-header { text-align:center; margin-bottom:56px; }
.nh-section-tag {
    display:inline-block; padding:5px 16px; border-radius:20px;
    background:rgba(99,102,241,0.15); color:#818cf8;
    font-size:12px; font-weight:600; margin-bottom:14px; letter-spacing:1px;
    text-transform:uppercase; border:1px solid rgba(99,102,241,0.2);
}
.nh-section-header h2 {
    font-size:36px; font-weight:800; color:#fff; margin-bottom:12px;
}
.nh-section-header p { font-size:17px; color:rgba(255,255,255,0.5); max-width:560px; margin:0 auto; }

/* QR Type Category */
.nh-type-category { margin-bottom:48px; }
.nh-type-cat-title {
    display:flex; align-items:center; gap:10px;
    font-size:16px; font-weight:700; color:rgba(255,255,255,0.9); margin-bottom:20px;
    text-transform:uppercase; letter-spacing:0.5px;
}
.nh-type-cat-dot {
    width:10px; height:10px; border-radius:3px;
    background:linear-gradient(135deg,#6366f1,#8b5cf6);
}

/* QR Type Grid */
.nh-type-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px; }
.nh-type-card {
    display:flex; align-items:center; gap:14px;
    padding:20px 18px;
    background:rgba(30,41,59,0.6);
    border:1px solid rgba(99,102,241,0.12);
    border-radius:14px; cursor:pointer; transition:all 0.3s;
    position:relative; overflow:hidden;
}
.nh-type-card::before {
    content:''; position:absolute; inset:0; border-radius:14px;
    background:linear-gradient(135deg,rgba(99,102,241,0.05),rgba(139,92,246,0.05));
    opacity:0; transition:opacity 0.3s;
}
.nh-type-card:hover {
    border-color:rgba(99,102,241,0.4);
    background:rgba(30,41,59,0.9);
    transform:translateY(-4px);
    box-shadow:0 8px 32px rgba(99,102,241,0.15),0 0 0 1px rgba(99,102,241,0.1);
}
.nh-type-card:hover::before { opacity:1; }
.nh-type-icon {
    font-size:28px; flex-shrink:0; width:48px; height:48px;
    display:flex; align-items:center; justify-content:center;
    background:rgba(99,102,241,0.1); border-radius:12px;
    border:1px solid rgba(99,102,241,0.15);
}
.nh-type-card:hover .nh-type-icon {
    background:rgba(99,102,241,0.2);
    border-color:rgba(99,102,241,0.3);
}
.nh-type-info { flex:1; min-width:0; position:relative; z-index:1; }
.nh-type-info h4 { font-size:14px; font-weight:600; color:#e2e8f0; margin-bottom:2px; }
.nh-type-info p { font-size:12px; color:rgba(255,255,255,0.4); margin:0; }
.nh-type-arrow {
    font-size:16px; color:rgba(99,102,241,0.3); transition:all 0.3s; flex-shrink:0;
    position:relative; z-index:1;
}
.nh-type-card:hover .nh-type-arrow { color:#818cf8; transform:translateX(4px); }

/* Features Grid */
.nh-features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.nh-feature-card {
    padding:32px 28px; border-radius:16px;
    background:rgba(30,41,59,0.5);
    border:1px solid rgba(99,102,241,0.1);
    transition:all 0.3s; position:relative; overflow:hidden;
}
.nh-feature-card::after {
    content:''; position:absolute; top:0; left:0; right:0; height:2px;
    background:linear-gradient(90deg,transparent,rgba(99,102,241,0.3),transparent);
    opacity:0; transition:opacity 0.3s;
}
.nh-feature-card:hover {
    border-color:rgba(99,102,241,0.25);
    background:rgba(30,41,59,0.8);
    transform:translateY(-4px);
    box-shadow:0 12px 40px rgba(0,0,0,0.3);
}
.nh-feature-card:hover::after { opacity:1; }
.nh-feature-icon {
    width:52px; height:52px; border-radius:14px;
    display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.nh-feature-card h3 { font-size:17px; font-weight:700; color:#e2e8f0; margin-bottom:8px; }
.nh-feature-card p { font-size:14px; color:rgba(255,255,255,0.45); line-height:1.6; }
.nh-hero {
    position:relative; overflow:hidden;
    background-color:#0f172a;
    padding:100px 20px 80px; text-align:center; color:#fff;
    min-height:520px; display:flex; align-items:center; justify-content:center;
}
.nh-hero::before {
    content:''; position:absolute; top:0; left:0; width:100%; height:100%;
    background:radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.08) 0%, transparent 50%),
               radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.05) 0%, transparent 50%);
    pointer-events:none; z-index:0;
}
@keyframes nh-glow { 0%{transform:rotate(0deg)} 100%{transform:rotate(3deg)} }

.nh-hero-particles { position:absolute; inset:0; pointer-events:none; z-index:1; }
.nh-particle {
    position:absolute; background:rgba(129,140,248,0.3); border-radius:50%;
    animation:nh-float linear infinite;
}
@keyframes nh-float {
    0%{transform:translateY(0) scale(1); opacity:0;}
    10%{opacity:1;}
    90%{opacity:1;}
    100%{transform:translateY(-100px) scale(0.5); opacity:0;}
}

.nh-hero-content { position:relative; z-index:2; max-width:800px; margin:0 auto; }
.nh-hero-badge {
    display:inline-block; padding:6px 16px; border-radius:20px;
    background:rgba(99,102,241,0.2); border:1px solid rgba(99,102,241,0.3);
    font-size:13px; font-weight:500; color:#a5b4fc; margin-bottom:24px;
    letter-spacing:0.5px;
}
.nh-hero h1 {
    font-size:56px; font-weight:800; line-height:1.1; margin-bottom:20px;
    background:linear-gradient(135deg,#fff 0%,#c7d2fe 50%,#a5b4fc 100%);
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}
.nh-hero p {
    font-size:19px; color:rgba(255,255,255,0.65); max-width:600px;
    margin:0 auto 36px; line-height:1.7;
}

.nh-hero-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:48px; }

.nh-btn {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:14px 32px; border-radius:10px; font-size:15px; font-weight:600;
    cursor:pointer; border:none; transition:all 0.25s; text-decoration:none;
}
.nh-btn-primary {
    background:linear-gradient(135deg,#6366f1,#7c3aed); color:#fff;
    box-shadow:0 4px 20px rgba(99,102,241,0.4);
}
.nh-btn-primary:hover {
    background:linear-gradient(135deg,#4f46e5,#6d28d9); color:#fff;
    transform:translateY(-2px); box-shadow:0 8px 30px rgba(99,102,241,0.5);
}
.nh-btn-ghost {
    background:rgba(255,255,255,0.08); color:#fff;
    border:1px solid rgba(255,255,255,0.15);
}
.nh-btn-ghost:hover {
    background:rgba(255,255,255,0.15); color:#fff; transform:translateY(-2px);
}
.nh-btn-white { background:#fff; color:#0f172a; }
.nh-btn-white:hover { background:#f1f5f9; color:#0f172a; }
.nh-btn-outline-white {
    background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.3);
}
.nh-btn-outline-white:hover { background:rgba(255,255,255,0.1); color:#fff; }

.nh-hero-stats {
    display:flex; justify-content:center; align-items:center; gap:0;
    flex-wrap:wrap;
}
.nh-hero-stat { padding:0 28px; text-align:center; }
.nh-hero-stat strong { display:block; font-size:22px; font-weight:700; color:#fff; }
.nh-hero-stat span { font-size:13px; color:rgba(255,255,255,0.5); }
.nh-hero-stat-divider { width:1px; height:40px; background:rgba(255,255,255,0.12); }

/* Sections */

/* Footer */
.nh-footer {
    background:#080d19; color:rgba(255,255,255,0.5); padding:60px 0 0;
    border-top:1px solid rgba(99,102,241,0.1);
}
.nh-footer-top { display:grid; grid-template-columns:1.5fr 2fr; gap:60px; padding-bottom:40px; }
.nh-footer-logo {
    font-size:24px; font-weight:800; color:#fff; margin-bottom:14px;
}
.nh-footer-logo span { color:#818cf8; }
.nh-footer-brand p { font-size:14px; line-height:1.7; margin-bottom:20px; max-width:340px; }
.nh-footer-socials { display:flex; gap:10px; }
.nh-footer-socials a {
    width:38px; height:38px; border-radius:10px;
    background:rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center;
    color:rgba(255,255,255,0.5); transition:all 0.25s;
}
.nh-footer-socials a:hover { background:#6366f1; color:#fff; transform:translateY(-2px); }

.nh-footer-links { display:grid; grid-template-columns:repeat(3,1fr); gap:32px 48px; }
.nh-footer-col { min-width:0; }
.nh-footer-col h4 {
    font-size:14px; font-weight:700; color:#fff; margin-bottom:16px;
    text-transform:uppercase; letter-spacing:0.5px;
}
.nh-footer-col a {
    display:inline-flex; align-items:center; gap:6px;
    width:fit-content; white-space:nowrap; box-sizing:border-box;
    font-size:13px; font-weight:500; color:rgba(255,255,255,0.6);
    padding:7px 14px; margin:3px 0; border-radius:8px;
    background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.06);
    transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nh-footer-col a:hover {
    color:#fff; background:linear-gradient(135deg,rgba(99,102,241,0.2),rgba(139,92,246,0.15));
    border-color:rgba(99,102,241,0.3); transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(99,102,241,0.15);
}
.nh-footer-col a:active { transform:translateY(0); box-shadow:none; }

.nh-footer-bottom {
    border-top:1px solid rgba(255,255,255,0.08); padding:20px 0;
    text-align:center; font-size:13px;
}

/* Desktop large */
@media (min-width: 1440px) {
    .nh-container { max-width: 1320px; }
}

/* Highlighted nav link - Packages */
.nh-nav-highlight {
    position:relative !important;
    background:linear-gradient(135deg,rgba(99,102,241,.15),rgba(139,92,246,.15)) !important;
    border:1px solid rgba(99,102,241,.3) !important;
    color:#a5b4fc !important;
    font-weight:700 !important;
    animation:nh-highlight-pulse 3s ease-in-out infinite;
    overflow:hidden;
}
.nh-nav-highlight::before {
    content:'';
    position:absolute;
    top:50%;
    left:-100%;
    width:60%;
    height:200%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
    transform:translateY(-50%) skewX(-20deg);
    transition:none;
    animation:nh-highlight-shine 4s ease-in-out infinite;
}
.nh-nav-highlight:hover {
    background:linear-gradient(135deg,rgba(99,102,241,.3),rgba(139,92,246,.3)) !important;
    border-color:rgba(99,102,241,.6) !important;
    color:#fff !important;
    box-shadow:0 0 20px rgba(99,102,241,.3),0 0 40px rgba(99,102,241,.1);
    transform:translateY(-2px);
}
.nh-nav-highlight:hover::before {
    animation:nh-highlight-shine 1.5s ease-in-out;
}
@keyframes nh-highlight-pulse {
    0%,100% { box-shadow:0 0 8px rgba(99,102,241,.15); }
    50% { box-shadow:0 0 16px rgba(99,102,241,.25),0 0 32px rgba(99,102,241,.08); }
}
@keyframes nh-highlight-shine {
    0% { left:-100%; }
    30%,100% { left:200%; }
}

/* ═══════════════════════════════════════════
   NH Custom Alert / Confirm Popup
   ═══════════════════════════════════════════ */
.nh-popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:99999;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.4,0,.2,1);}
.nh-popup-overlay.show{opacity:1;visibility:visible;}
.nh-popup{background:#1a1a2e;border:1px solid rgba(99,102,241,.15);border-radius:20px;padding:0;max-width:420px;width:90%;transform:scale(.85) translateY(20px);transition:all .35s cubic-bezier(.4,0,.2,1);box-shadow:0 25px 60px rgba(0,0,0,.5),0 0 40px rgba(99,102,241,.1);overflow:hidden;}
.nh-popup-overlay.show .nh-popup{transform:scale(1) translateY(0);}
.nh-popup-icon{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-size:36px;position:relative;}
.nh-popup-icon::before{content:'';position:absolute;inset:-4px;border-radius:50%;opacity:.15;}
.nh-popup-icon.success{background:rgba(34,197,94,.12);}
.nh-popup-icon.success::before{background:rgba(34,197,94,.2);}
.nh-popup-icon.success::after{content:'';position:absolute;inset:-8px;border-radius:50%;border:2px solid rgba(34,197,94,.15);animation:nh-popup-ring 2s ease-in-out infinite;}
.nh-popup-icon.error{background:rgba(239,68,68,.12);}
.nh-popup-icon.error::before{background:rgba(239,68,68,.2);}
.nh-popup-icon.error::after{content:'';position:absolute;inset:-8px;border-radius:50%;border:2px solid rgba(239,68,68,.15);animation:nh-popup-ring 2s ease-in-out infinite;}
.nh-popup-icon.warning{background:rgba(245,158,11,.12);}
.nh-popup-icon.warning::before{background:rgba(245,158,11,.2);}
.nh-popup-icon.warning::after{content:'';position:absolute;inset:-8px;border-radius:50%;border:2px solid rgba(245,158,11,.15);animation:nh-popup-ring 2s ease-in-out infinite;}
.nh-popup-icon.info{background:rgba(99,102,241,.12);}
.nh-popup-icon.info::before{background:rgba(99,102,241,.2);}
.nh-popup-icon.info::after{content:'';position:absolute;inset:-8px;border-radius:50%;border:2px solid rgba(99,102,241,.15);animation:nh-popup-ring 2s ease-in-out infinite;}
.nh-popup-icon.confirm{background:rgba(245,158,11,.12);}
.nh-popup-icon.confirm::before{background:rgba(245,158,11,.2);}
.nh-popup-icon.confirm::after{content:'';position:absolute;inset:-8px;border-radius:50%;border:2px solid rgba(245,158,11,.15);animation:nh-popup-ring 2s ease-in-out infinite;}
@keyframes nh-popup-ring{0%,100%{transform:scale(1);opacity:.5;}50%{transform:scale(1.08);opacity:1;}}
.nh-popup-body{padding:32px 28px 24px;text-align:center;}
.nh-popup-title{font-size:20px;font-weight:700;color:#fff;margin-bottom:8px;letter-spacing:-.3px;}
.nh-popup-msg{font-size:14px;color:rgba(255,255,255,.5);line-height:1.6;margin:0;}
.nh-popup-actions{display:flex;gap:10px;padding:0 28px 28px;justify-content:center;}
.nh-popup-btn{padding:10px 28px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;border:none;transition:all .25s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;}
.nh-popup-btn:active{transform:scale(.96);}
.nh-popup-btn-primary{background:linear-gradient(135deg,#6366f1,#7c3aed);color:#fff;box-shadow:0 4px 15px rgba(99,102,241,.3);}
.nh-popup-btn-primary:hover{box-shadow:0 6px 20px rgba(99,102,241,.45);transform:translateY(-1px);}
.nh-popup-btn-danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 4px 15px rgba(239,68,68,.3);}
.nh-popup-btn-danger:hover{box-shadow:0 6px 20px rgba(239,68,68,.45);transform:translateY(-1px);}
.nh-popup-btn-secondary{background:rgba(255,255,255,.08);color:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.1);}
.nh-popup-btn-secondary:hover{background:rgba(255,255,255,.12);color:#fff;}
.nh-popup-btn-success{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;box-shadow:0 4px 15px rgba(34,197,94,.3);}
.nh-popup-btn-success:hover{box-shadow:0 6px 20px rgba(34,197,94,.45);transform:translateY(-1px);}

/* Single button (alert) */
.nh-popup-actions.single .nh-popup-btn{min-width:140px;}

/* Pulse on icon entrance */
.nh-popup-overlay.show .nh-popup-icon{animation:nh-popup-bounce .5s cubic-bezier(.68,-.55,.27,1.55) .15s both;}
@keyframes nh-popup-bounce{0%{transform:scale(0);opacity:0;}60%{transform:scale(1.15);}100%{transform:scale(1);opacity:1;}}

/* Confetti particles for success */
.nh-popup-confetti{position:absolute;width:6px;height:6px;border-radius:50%;pointer-events:none;animation:nh-confetti-fall 1.2s ease-out forwards;}
@keyframes nh-confetti-fall{0%{opacity:1;transform:translateY(0) rotate(0deg) scale(1);}100%{opacity:0;transform:translateY(80px) rotate(720deg) scale(.3);}}

