/* ================================================================
   AMINCHIDATA VTU — RESPONSIVE STYLESHEET
   Breakpoints: Desktop >900px | Tablet 601–900px | Mobile ≤600px
   ================================================================ */

/* ── VARIABLES ── */
:root {
    --primary-green: #2ecc71;
    --dark-green:    #27ae60;
    --primary-blue:  #3498db;
    --dark-blue:     #2980b9;
    --white:         #ffffff;
    --light-gray:    #f4f4f4;
    --text-color:    #333333;
    --shadow:        0 4px 6px rgba(0,0,0,0.1);
    --radius:        8px;
    --header-h:      64px;
}

/* ── RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── HEADER & NAV ── */
header {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 500;
    height: var(--header-h);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    gap: 12px;
}

.logo { flex-shrink: 0; }

.logo a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo h1 { font-size: 1.4rem; }

.logo span {
    font-size: 0.75rem;
    background: var(--primary-blue);
    padding: 2px 5px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-img-lg {
    height: 28px;
    width: 28px;
    object-fit: contain;
    border-radius: 6px;
}

/* Desktop nav */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.nav-links a:hover { background: rgba(255,255,255,0.2); }

/* Mobile hamburger (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ── HERO / SLIDER ── */
.hero {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: #333;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.slide.active { opacity: 1; }

.slide-content {
    background: rgba(0,0,0,0.6);
    padding: 2rem;
    border-radius: 12px;
    color: var(--white);
    max-width: 90%;
}

.slide-content h2 { font-size: 1.8rem; margin-bottom: 8px; }
.slide-content p  { font-size: 1rem; opacity: 0.9; }

/* ── CTA BUTTONS ── */
.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 2rem 1rem;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.2s, opacity 0.2s;
    min-height: 44px;
}

.btn:hover  { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-blue     { background-color: var(--primary-blue); }
.btn-green    { background-color: var(--primary-green); }
.btn-whatsapp { background-color: #25D366; }

/* ── AUTH FORMS ── */
.auth-container {
    max-width: 420px;
    margin: 2.5rem auto;
    background: var(--white);
    padding: 2.2rem;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.auth-container h2 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.1rem; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
    font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 0.95rem;
    background: #f8f9fa;
    color: var(--text-color);
    transition: border-color 0.2s, background 0.2s;
    min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-green);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46,204,113,0.12);
}

/* ── ALERTS ── */
.alert {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    text-align: center;
}
.alert-error   { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }

/* ── DASHBOARD ── */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 20px;
}

.dashboard-header {
    background: #fff;
    padding: 1.2rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.funding-section {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.wallet-display { text-align: right; }

.wallet-label {
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-amount {
    font-size: 1.7rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
}

.funding-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(46,204,113,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;
}

.funding-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46,204,113,0.4);
}

.funding-icon {
    background: rgba(255,255,255,0.25);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1rem;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: background 0.2s;
}

.hamburger-menu:hover span { background: var(--primary-green); }

/* ── STATS GRID ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--white);
    padding: 1.4rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-card h3 {
    color: var(--primary-green);
    margin-bottom: 8px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── QUICK MENU ── */
.quick-menu {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.quick-menu::-webkit-scrollbar { display: none; }

.menu-item {
    background: white;
    padding: 11px 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    border: 1.5px solid #eee;
    white-space: nowrap;
    transition: all 0.25s ease;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
    flex-shrink: 0;
    min-height: 44px;
    user-select: none;
}

.menu-item:hover,
.menu-item.active {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46,204,113,0.3);
    border-color: var(--primary-green);
}

.menu-item .icon { font-size: 1.1rem; }

/* ── SERVICE DISPLAY AREA ── */
.service-display-area {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
    min-height: 360px;
    border: 1px solid #f0f0f0;
    margin-bottom: 24px;
    transition: min-height 0.3s ease;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.service-icon-large {
    font-size: 2.2rem;
    background: #f0fdf4;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(46,204,113,0.12);
    flex-shrink: 0;
}

.service-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: #2c3e50;
    font-weight: 700;
}

.service-description {
    color: #7f8c8d;
    margin-top: 4px;
    font-size: 0.9rem;
}

.service-content-wrapper {
    display: none;
    animation: slideUpFade 0.35s ease forwards;
}

.service-content-wrapper.active { display: block; }

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    color: #aaa;
    text-align: center;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

/* Service form selects & inputs */
.service-form select,
.service-form input[type="text"],
.service-form input[type="number"],
.service-form input[type="email"],
.service-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #f8f9fa;
    color: var(--text-color);
    transition: border-color 0.2s, background 0.2s;
    min-height: 50px;
}

.service-form select:focus,
.service-form input:focus {
    border-color: var(--primary-blue);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f0f0f0;
}

.price-display { animation: slideUpFade 0.3s ease forwards; }

/* ── SERVICE GRID (legacy hidden panel) ── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.08);
    border-color: var(--primary-green);
}

.service-card h2 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}

.service-card h2::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background: var(--primary-blue);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── FUND MODAL (bottom-sheet on mobile, centered on desktop) ── */
.fund-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: flex-end;
}

.fund-modal.active { display: flex; }

.fund-content {
    background: white;
    padding: 28px 24px;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

/* ── TABLES ── */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
}

th, td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

th {
    background-color: var(--primary-green);
    color: white;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

tr:hover td { background: #f8fffe; }

/* Desktop table / mobile card toggle */
.txn-cards-mobile { display: none; }
.txn-table-desktop { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Mobile transaction cards */
.txn-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.txn-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
}

.txn-card-service {
    font-weight: 700;
    font-size: 0.95rem;
    color: #2c3e50;
}

.txn-card-amount {
    font-weight: 800;
    font-size: 1rem;
    color: #2c3e50;
    white-space: nowrap;
}

.txn-card-desc {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
    word-break: break-word;
}

.txn-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.txn-card-date {
    font-size: 0.78rem;
    color: #999;
}

.txn-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.txn-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}
.txn-status-success  { background: #dcfce7; color: #166534; }
.txn-status-pending  { background: #fef3c7; color: #92400e; }
.txn-status-failed   { background: #fee2e2; color: #991b1b; }

/* ── SIDEBAR / DRAWER ── */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active { display: block; opacity: 1; }

.sidebar {
    position: fixed;
    top: 0;
    left: -290px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1002;
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 4px 0 20px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
}

.sidebar.active { left: 0; }

.sidebar-header {
    background: var(--primary-green);
    color: white;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s;
    min-height: 50px;
}

.sidebar-menu-item:hover {
    background: #f0fdf4;
    color: var(--primary-green);
}

.sidebar-menu-item i,
.sidebar-menu-item .icon {
    margin-right: 14px;
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── TESTIMONIALS ── */
.testimonials {
    background: var(--white);
    padding: 3rem 20px;
    text-align: center;
}

.comment-card {
    background: var(--light-gray);
    padding: 1.2rem;
    margin: 12px auto;
    max-width: 600px;
    border-radius: 8px;
    text-align: left;
}

/* ── FOOTER ── */
footer {
    background: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2.5rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content a {
    color: white;
    margin: 0 8px;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.footer-content a:hover { opacity: 1; text-decoration: underline; }

/* ── BADGES ── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sme       { background: #e3f2fd; color: #1565c0; }
.badge-corporate { background: #fff3e0; color: #ef6c00; }
.badge-gifting   { background: #f3e5f5; color: #7b1fa2; }
.badge-sme2      { background: #e8f5e9; color: #2e7d32; }
.badge-coupons   { background: #fce4ec; color: #c62828; }
.badge-share     { background: #fff8e1; color: #f9a825; }

/* ── NETWORK COLORS ── */
.network-mtn     { color: #FFCC00; font-weight: bold; }
.network-glo     { color: #50B848; font-weight: bold; }
.network-airtel  { color: #ED1C24; font-weight: bold; }
.network-9mobile { color: #006B3F; font-weight: bold; }

/* ── BRAND ICON ── */
.brand-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
}

.brand-icon-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #fff 0%, #e0f7e9 100%);
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: -1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-icon-symbol::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
    animation: iconShine 3s ease-in-out infinite;
}

.brand-icon-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.brand-icon-text .brand-highlight { color: #ffd700; }

.brand-icon-lg .brand-icon-symbol {
    width: 64px; height: 64px;
    font-size: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(46,204,113,0.3);
}

.brand-icon-lg .brand-icon-text {
    font-size: 2rem;
    color: var(--primary-green);
}

.brand-icon-lg .brand-highlight { color: var(--dark-green) !important; }

/* ── PROCESSING OVERLAY ── */
.processing-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.processing-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.processing-logo-container {
    position: relative;
    margin-bottom: 28px;
}

.processing-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #fff 0%, #e0f7e9 100%);
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(46,204,113,0.35);
    animation: logoPulse 1.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
    padding: 12px;
}

.processing-logo-img { width: 100%; height: 100%; object-fit: contain; }

.processing-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 130px; height: 130px;
    margin-top: -65px; margin-left: -65px;
    border: 3px solid transparent;
    border-top-color: var(--primary-green);
    border-right-color: var(--primary-green);
    border-radius: 50%;
    animation: ringSpinOuter 1.2s linear infinite;
    z-index: 1;
}

.processing-ring-inner {
    position: absolute;
    top: 50%; left: 50%;
    width: 145px; height: 145px;
    margin-top: -72.5px; margin-left: -72.5px;
    border: 2px solid transparent;
    border-bottom-color: #ffd700;
    border-left-color: #ffd700;
    border-radius: 50%;
    animation: ringSpinInner 1.8s linear infinite;
    z-index: 1;
}

.processing-dots {
    position: absolute;
    top: 50%; left: 50%;
    width: 160px; height: 160px;
    margin-top: -80px; margin-left: -80px;
    animation: dotsRotate 6s linear infinite;
}

.processing-dot {
    position: absolute;
    width: 8px; height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.processing-dot:nth-child(1) { top: 0; left: 50%; margin-left: -4px; animation-delay: 0s; }
.processing-dot:nth-child(2) { top: 50%; right: 0; margin-top: -4px; animation-delay: 0.375s; }
.processing-dot:nth-child(3) { bottom: 0; left: 50%; margin-left: -4px; animation-delay: 0.75s; }
.processing-dot:nth-child(4) { top: 50%; left: 0; margin-top: -4px; animation-delay: 1.125s; }

.processing-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    animation: textPulse 2s ease-in-out infinite;
}

.processing-subtext {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-top: 8px;
    text-align: center;
}

.processing-progress {
    width: 200px; height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    margin-top: 20px;
    overflow: hidden;
}

.processing-progress-bar {
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, var(--primary-green), #ffd700, var(--primary-green));
    border-radius: 4px;
    animation: progressSlide 1.5s ease-in-out infinite;
}

/* ── PIN MODAL ── */
.pin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
    padding: 16px;
}

.pin-modal-content {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

.pin-modal-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-pin-digit {
    width: 58px;
    height: 62px;
    text-align: center;
    font-size: 1.6rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-weight: bold;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

.modal-pin-digit:focus {
    border-color: var(--primary-green) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46,204,113,0.2);
}

/* ── ADMIN ── */
.admin-plans-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.admin-plans-table th {
    background: #2c3e50;
    color: white;
    padding: 13px 12px;
    text-align: left;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-plans-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #eee;
    font-size: 0.88rem;
}

.admin-plans-table tr:hover { background: #f8f9fa; }

.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar select,
.filter-bar input {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    min-height: 44px;
}

.plan-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.plan-stat-card {
    background: white;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.plan-stat-card .stat-number {
    font-size: 1.7rem;
    font-weight: 800;
    color: #2c3e50;
}

.plan-stat-card .stat-label {
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── TABLET (601px–900px) ── */
@media (max-width: 900px) {
    .dashboard-container { padding: 1.2rem 15px; }
    .service-display-area { padding: 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .hero { height: 280px; }
    .slide-content h2 { font-size: 1.4rem; }

    .fund-modal { align-items: center; padding: 20px; }
    .fund-content { border-radius: 20px; }
}

/* ── MOBILE (≤600px) ── */
@media (max-width: 600px) {
    :root { --header-h: 60px; }

    /* --- NAV --- */
    .nav-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--dark-green);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }

    .nav-links.open {
        max-height: 400px;
        padding: 6px 0;
    }

    .nav-links a {
        padding: 14px 22px;
        border-radius: 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .logo-img { height: 40px; }

    /* --- HERO --- */
    .hero { height: 160px; }
    .slide-content { padding: 12px 14px; max-width: 95%; }
    .slide-content h2 { font-size: 0.95rem; line-height: 1.3; }
    .slide-content p  { font-size: 0.78rem; }

    /* --- CTA --- */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 1.2rem 1rem;
    }
    .cta-buttons .btn { width: 100%; max-width: 320px; }

    /* --- AUTH FORMS --- */
    .auth-container {
        max-width: 100%;
        margin: 0;
        padding: 1.8rem 1.2rem 2rem;
        border-radius: 0;
        box-shadow: none;
        min-height: calc(100dvh - var(--header-h));
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 14px 12px;
    }

    /* --- DASHBOARD --- */
    .dashboard-container { padding: 0.9rem 12px; }

    .dashboard-header {
        padding: 14px;
        border-radius: 12px;
        gap: 10px;
    }

    .wallet-amount { font-size: 1.4rem; }

    .funding-btn {
        padding: 9px 15px;
        font-size: 0.82rem;
        gap: 6px;
    }

    /* --- STATS --- */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card { padding: 0.9rem 0.7rem; }

    /* --- QUICK MENU (force horizontal scroll, no wrapping) --- */
    .quick-menu {
        flex-wrap: nowrap;
        gap: 9px;
        padding: 4px 0 12px;
        margin-bottom: 1rem;
    }

    .menu-item {
        padding: 9px 16px;
        font-size: 0.85rem;
        gap: 6px;
    }

    /* --- SERVICE DISPLAY --- */
    .service-display-area {
        padding: 16px;
        border-radius: 14px;
        min-height: unset;
    }

    .service-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 14px;
        flex-wrap: nowrap;
    }

    .service-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .service-header h2  { font-size: 1.15rem; }
    .service-description { font-size: 0.8rem; }

    .service-form select,
    .service-form input[type="text"],
    .service-form input[type="number"] {
        padding: 13px 12px;
        font-size: 1rem;
        border-radius: 10px;
    }

    /* --- FUND MODAL (always bottom sheet on mobile) --- */
    .fund-modal { align-items: flex-end; padding: 0; }
    .fund-content {
        border-radius: 20px 20px 0 0;
        padding: 22px 16px;
        padding-bottom: max(22px, env(safe-area-inset-bottom));
    }

    /* --- TRANSACTION TABLE → CARDS --- */
    .txn-table-desktop { display: none !important; }
    .txn-cards-mobile  { display: block !important; }

    /* --- SERVICE GRID --- */
    .service-grid { grid-template-columns: 1fr; gap: 12px; }
    .service-card { padding: 16px; border-radius: 12px; }

    /* --- FOOTER --- */
    footer { padding: 1.4rem 1rem; margin-top: 1.5rem; }
    .footer-content a { display: inline-block; margin: 4px 8px; font-size: 0.85rem; }

    /* --- PIN MODAL --- */
    .pin-modal-content { padding: 22px 16px; }
    .pin-modal-inputs  { gap: 8px; }
    .modal-pin-digit   { width: 52px; height: 58px; font-size: 1.4rem; }

    /* --- ALERTS --- */
    .alert { font-size: 0.88rem; padding: 11px 13px; }

    /* --- BRAND ICON --- */
    .brand-icon-symbol { width: 34px !important; height: 34px !important; font-size: 1rem !important; }
    .brand-icon-text   { font-size: 1.1rem !important; }

    /* Suppress scrollbars */
    ::-webkit-scrollbar { width: 0; background: transparent; }
}

/* ── SMALL PHONE (≤400px) ── */
@media (max-width: 400px) {
    .modal-pin-digit   { width: 46px; height: 52px; font-size: 1.25rem; }
    .pin-modal-inputs  { gap: 6px; }
    .wallet-amount     { font-size: 1.2rem; }
    .funding-btn       { padding: 8px 12px; font-size: 0.78rem; }
    .stats-grid        { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-card         { padding: 0.8rem 0.6rem; }
    .menu-item         { padding: 8px 13px; font-size: 0.82rem; }
}

/* ── PRINT ── */
@media print {
    header, footer, .no-print, .sidebar, .sidebar-overlay,
    .processing-overlay, .pin-modal-overlay, .fund-modal,
    .quick-menu, .nav-toggle {
        display: none !important;
    }
    body { background: white; }
    .dashboard-container { margin: 0; padding: 0; max-width: 100%; }
    .service-card { box-shadow: none; }
}

/* ── ANIMATIONS ── */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes iconShine {
    0%, 100% { transform: translateX(-100%) rotate(25deg); }
    50%       { transform: translateX(100%) rotate(25deg); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(46,204,113,0.4); }
    50%       { transform: scale(1.08); box-shadow: 0 12px 48px rgba(46,204,113,0.6); }
}

@keyframes ringSpinOuter { to { transform: rotate(360deg); } }
@keyframes ringSpinInner { to { transform: rotate(-360deg); } }
@keyframes dotsRotate    { to { transform: rotate(360deg); } }

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50%       { opacity: 1;   transform: scale(1.3); }
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

@keyframes progressSlide {
    0%   { transform: translateX(-100%); width: 30%; }
    50%  { width: 60%; }
    100% { transform: translateX(350%); width: 30%; }
}

/* ═══════════════════════════════════════════════════════
   LANDING PAGE — NEW SECTIONS
   ═══════════════════════════════════════════════════════ */

/* ── Hero Wrap ── */
.hero-wrap { position:relative; overflow:hidden; }
.hero-slider { position:relative; }

.hero-slide {
  display:none;
  background: var(--bg, linear-gradient(135deg,#16a34a,#052e16));
  padding: 90px 24px 80px;
  text-align:center;
  color:#fff;
  position:relative;
  animation: fadeIn .6s ease;
}
.hero-slide.active { display:block; }

.hero-badge {
  display:inline-block; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.3);
  border-radius:20px; padding:5px 14px; font-size:.85rem; margin-bottom:18px;
}
.hero-slide h1 { font-size:clamp(2rem,6vw,3.4rem); font-weight:800; line-height:1.1; margin-bottom:12px; }
.hero-slide h1 span { color:rgba(255,255,255,.75); }
.hero-price { font-size:clamp(2.2rem,7vw,3.8rem); font-weight:900; margin:10px 0; }
.hero-price strong { color:#fff; }
.hero-sub { max-width:480px; margin:0 auto 28px; font-size:1rem; color:rgba(255,255,255,.85); }

.hero-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.hbtn { display:inline-block; padding:12px 28px; border-radius:10px; font-weight:700; font-size:1rem; text-decoration:none; transition:all .2s; }
.hbtn-white   { background:#fff; color:#16a34a; }
.hbtn-white:hover  { background:#f0fdf4; transform:translateY(-1px); }
.hbtn-outline { background:transparent; color:#fff; border:2px solid rgba(255,255,255,.7); }
.hbtn-outline:hover{ background:rgba(255,255,255,.12); }
.hbtn-green   { background:var(--primary-green); color:#fff; border:none; }
.hbtn-green:hover { background:var(--dark-green); }

.hero-badge-net {
  position:absolute; top:20px; right:20px;
  width:56px; height:56px; border-radius:50%;
  font-weight:900; font-size:.95rem;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,.25);
}

/* Dots & arrows */
.hero-dots { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.dot { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.5); border:none; cursor:pointer; padding:0; transition:.2s; }
.dot.active { background:#fff; transform:scale(1.2); }
.hero-arrow {
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(0,0,0,.3); color:#fff; border:none; border-radius:50%;
  width:40px; height:40px; font-size:1.6rem; cursor:pointer; line-height:1;
  display:flex; align-items:center; justify-content:center; transition:.2s;
}
.hero-arrow:hover { background:rgba(0,0,0,.55); }
.hero-prev { left:12px; }
.hero-next { right:12px; }

/* ── Stats strip ── */
.stats-strip {
  display:flex; flex-wrap:wrap; justify-content:center;
  background:#fff; border-bottom:1px solid #e5e7eb;
  padding:20px 16px; gap:0;
}
.stat-item { flex:1; min-width:110px; text-align:center; padding:12px; border-right:1px solid #e5e7eb; }
.stat-item:last-child { border-right:none; }
.stat-num   { display:block; font-size:1.5rem; font-weight:800; color:var(--dark-green); }
.stat-label { display:block; font-size:.8rem; color:#6b7280; margin-top:2px; }

/* ── Generic section wrapper ── */
.lp-section   { padding:64px 16px; }
.lp-alt       { background:#f9fafb; }
.lp-container { max-width:1100px; margin:0 auto; }
.section-head { text-align:center; margin-bottom:48px; }
.section-head h2 { font-size:clamp(1.5rem,4vw,2.2rem); font-weight:800; margin-bottom:10px; }
.section-head p  { color:#6b7280; font-size:1rem; }

/* ── Services grid ── */
.services-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; }
.svc-card {
  background:#fff; border-radius:16px; padding:28px 24px;
  box-shadow:0 2px 12px rgba(0,0,0,.06); transition:.2s;
  border:1px solid #f3f4f6;
}
.svc-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,.1); }
.svc-icon { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin-bottom:16px; }
.svc-card h3 { font-size:1.1rem; font-weight:700; margin-bottom:8px; }
.svc-card p  { color:#6b7280; font-size:.9rem; line-height:1.5; margin-bottom:16px; }
.svc-link    { color:var(--primary-green); font-weight:600; text-decoration:none; font-size:.9rem; }
.svc-link:hover { color:var(--dark-green); }

/* ── How it works ── */
.steps-row { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; }
.step-card {
  background:#fff; border-radius:16px; padding:30px 24px; text-align:center;
  flex:1; min-width:180px; max-width:260px; box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.step-num {
  width:48px; height:48px; border-radius:50%; background:var(--primary-green); color:#fff;
  font-size:1.4rem; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 16px;
}
.step-card h3 { font-size:1.1rem; font-weight:700; margin-bottom:8px; }
.step-card p  { color:#6b7280; font-size:.9rem; line-height:1.5; }
.step-arrow   { font-size:2rem; color:var(--primary-green); font-weight:700; }

/* ── Features ── */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:20px; }
.feat-item {
  display:flex; gap:16px; align-items:flex-start;
  background:#fff; padding:20px; border-radius:14px; box-shadow:0 2px 8px rgba(0,0,0,.05);
}
.feat-icon { font-size:2rem; flex-shrink:0; }
.feat-item h4 { font-size:1rem; font-weight:700; margin-bottom:4px; }
.feat-item p  { color:#6b7280; font-size:.88rem; line-height:1.5; }

/* ── Testimonials ── */
.testi-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-bottom:40px; }
.testi-card { background:#fff; border-radius:16px; padding:24px; box-shadow:0 2px 10px rgba(0,0,0,.06); }
.testi-stars { color:#f59e0b; font-size:1rem; margin-bottom:10px; }
.testi-card p { color:#374151; font-size:.92rem; line-height:1.6; margin-bottom:16px; }
.testi-author { display:flex; align-items:center; gap:10px; }
.testi-avatar {
  width:36px; height:36px; border-radius:50%; background:var(--primary-green); color:#fff;
  font-weight:700; font-size:.95rem; display:flex; align-items:center; justify-content:center;
}
.comment-form-wrap { max-width:480px; margin:0 auto; background:#fff; padding:28px; border-radius:16px; box-shadow:0 2px 10px rgba(0,0,0,.06); }
.comment-form-wrap h3 { font-size:1.2rem; font-weight:700; margin-bottom:18px; }
.comment-form input,
.comment-form textarea { width:100%; padding:12px 14px; border:1px solid #e5e7eb; border-radius:10px; font-size:.95rem; margin-bottom:12px; outline:none; font-family:inherit; }
.comment-form input:focus,
.comment-form textarea:focus { border-color:var(--primary-green); }

/* ── App CTA ── */
.app-cta-section { background:linear-gradient(135deg,var(--primary-green) 0%,var(--dark-green) 100%); color:#fff; }
.app-cta { display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.app-cta-text { flex:1; min-width:260px; }
.app-cta-text h2 { font-size:clamp(1.5rem,4vw,2.2rem); font-weight:800; margin-bottom:12px; color:#fff; }
.app-cta-text p  { font-size:1rem; color:rgba(255,255,255,.85); margin-bottom:24px; max-width:500px; }
.app-cta-btns { display:flex; gap:12px; flex-wrap:wrap; }
.app-cta-art { font-size:clamp(4rem,12vw,8rem); line-height:1; }

/* ── Footer ── */
.lp-footer { background:#111827; color:#d1d5db; padding:48px 16px 24px; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:32px; margin-bottom:32px; }
.footer-grid h4 { color:#fff; font-size:1rem; font-weight:700; margin-bottom:12px; }
.footer-grid p, .footer-grid a { color:#9ca3af; font-size:.88rem; line-height:1.8; text-decoration:none; }
.footer-grid a:hover { color:#fff; }
.footer-grid ul { list-style:none; padding:0; }
.footer-grid ul li a { color:#9ca3af; font-size:.88rem; text-decoration:none; }
.footer-grid ul li a:hover { color:#fff; }
.footer-bottom { border-top:1px solid #1f2937; padding-top:20px; text-align:center; font-size:.82rem; color:#6b7280; }

/* ── Responsive ── */
@media (max-width:640px) {
  .hero-slide { padding:72px 16px 70px; }
  .steps-row  { flex-direction:column; }
  .step-arrow { transform:rotate(90deg); }
  .app-cta-art { display:none; }
  .stat-item  { min-width:80px; }
  .stat-num   { font-size:1.2rem; }
}
