/* ==========================================================================
   Child SMS Verification Platform — Global Theme
   Palette: navy #0A1F44 · green #00A859 · gold #F7B500 · off-white #F6F8FB
   ========================================================================== */

:root {
    --navy: #0A1F44;
    --navy-2: #10294f;
    --navy-3: #123a74;
    --navy-dark: #081530;
    --navy-rgb: 10, 31, 68;
    --green: #00A859;
    --green-dark: #008546;
    --green-light: #00c96a;
    --green-soft: #cfe9dc;
    --green-tint: #E6F7EE;
    --green-faint: #F2FAF5;
    --green-rgb: 0, 168, 89;
    --gold: #F7B500;
    --gold-soft: #FFF7E0;
    --gold-rgb: 247, 181, 0;
    --off-white: #F6F8FB;
    --text: #0F172A;
    --muted: #6B7280;
    --border: #E6E9F0;
    --danger: #DC3545;
    --radius: 14px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .07);
    --shadow: 0 6px 24px rgba(15, 23, 42, .08);
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--off-white);
    font-size: 15px;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); }
a { text-decoration: none; }

/* Buttons */
.btn-brand {
    background: var(--green);
    border: 1px solid var(--green);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    transition: all .18s ease;
}
.btn-brand:hover, .btn-brand:focus { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-outline-brand {
    border: 1.5px solid var(--green);
    color: var(--green);
    font-weight: 600;
    border-radius: 10px;
    background: transparent;
    transition: all .18s ease;
}
.btn-outline-brand:hover { background: var(--green); color: #fff; }
.btn-brand-light { background: #fff; color: var(--navy); font-weight: 700; border-radius: 12px; }
.btn-brand-light:hover { background: var(--gold); color: var(--navy); }

.brand-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: #fff; font-size: 18px; box-shadow: var(--shadow-sm);
}
.brand-logo.small { width: 36px; height: 36px; font-size: 15px; }
.brand-text { color: var(--navy); font-family: var(--font-head); font-size: 19px; }

/* ==========================================================================
   PUBLIC SITE
   ========================================================================== */
.public-body { background: #fff; }
.announce-bar { background: var(--navy); color: #fff; font-size: 13px; padding: 8px 0; }
.public-nav { background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); padding: 10px 0; }
.public-nav .nav-link { font-weight: 500; color: var(--text); padding: 8px 14px; }
.public-nav .nav-link:hover, .public-nav .nav-link.active { color: var(--green); }

/* Hero */
.hero-section {
    background: linear-gradient(180deg, var(--green-faint) 0%, #ffffff 100%);
    padding: 80px 0 90px;
}
.hero-badge {
    display: inline-block; background: var(--green-tint); color: var(--green-dark);
    font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 30px; margin-bottom: 18px;
}
.hero-title { font-size: clamp(34px, 5vw, 52px); font-weight: 800; color: var(--navy); line-height: 1.15; }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 540px; margin-top: 16px; }
.hero-img { max-width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.hero-stats { border-top: 1px solid var(--border); padding-top: 26px; }
.hero-stat-num { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--navy); }
.hero-stat-label { color: var(--muted); font-size: 13px; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--off-white); }
.section-head { max-width: 640px; margin: 0 auto 44px; }
.section-eyebrow {
    display: inline-block; color: var(--green); font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px;
}
.section-title { font-weight: 800; color: var(--navy); font-size: clamp(26px, 3.4vw, 36px); }
.section-sub { color: var(--muted); margin-top: 8px; }

/* Features */
.feature-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; transition: all .2s ease; box-shadow: var(--shadow-sm);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--green-tint); color: var(--green); font-size: 20px; margin-bottom: 18px;
}

/* Steps */
.step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; position: relative; box-shadow: var(--shadow-sm); }
.step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff;
    font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 26px; color: var(--green); margin: 14px 0 12px; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { padding: 8px 0; color: var(--text); }
.check-list i { color: var(--green); margin-right: 10px; }

/* Pricing cards */
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 14px; transition: all .2s ease; }
.price-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.price-icon {
    width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 12px; background: var(--gold-soft); color: var(--gold);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.price-value { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 22px; margin-top: 8px; }

/* Testimonials */
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.stars { color: var(--gold); margin-bottom: 12px; }
.testimonial-quote { color: var(--text); font-size: 15px; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* FAQ */
.faq-container { max-width: 820px; }
.accordion-button:not(.collapsed) { background: var(--green-tint); color: var(--navy); font-weight: 600; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--navy), var(--navy-3)); padding: 80px 0; }
.cta-title { color: #fff; font-weight: 800; font-size: clamp(26px, 4vw, 38px); }
.cta-sub { color: #c6d3ea; margin: 10px 0 26px; }

/* Footer */
.public-footer { background: var(--navy-dark); color: #c6d3ea; padding: 60px 0 24px; }
.public-footer .brand-text { color: #fff; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; font-size: 14px; }
.footer-links a { color: #c6d3ea; }
.footer-links a:hover { color: var(--green); }
.footer-desc { font-size: 14px; }
.footer-divider { border-color: var(--navy-2); }

/* Auth pages */
.auth-wrap {
    min-height: calc(100vh - 76px); display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, var(--green-faint), #fff); padding: 40px 16px;
}
.auth-card { width: 100%; max-width: 480px; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }

/* Admin login */
.admin-login-body {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-3)); padding: 20px;
}
.admin-login-card { width: 100%; max-width: 420px; border-radius: 18px; border: 0; box-shadow: 0 20px 60px rgba(0,0,0,.35); }

/* API docs */
.docs-hero { background: var(--navy); color: #fff; padding: 64px 0; }
.docs-title { font-weight: 800; font-size: 36px; }
.docs-sub { color: #c6d3ea; margin-top: 8px; }
.docs-base { margin-top: 18px; color: #c6d3ea; }
.docs-base code { background: rgba(255,255,255,.12); color: #fff; padding: 6px 12px; border-radius: 8px; }
.docs-body { padding: 48px 0 80px; }
.docs-nav { position: sticky; top: 90px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.docs-nav a { display: block; padding: 8px 12px; color: var(--text); border-radius: 8px; font-weight: 500; }
.docs-nav a:hover { background: var(--green-tint); color: var(--green-dark); }
.docs-section { margin-bottom: 44px; }
.docs-section h2 { font-weight: 800; color: var(--navy); font-size: 24px; margin-bottom: 16px; }
.docs-section pre { background: var(--navy-2); color: #d7e2f4; padding: 16px 18px; border-radius: 12px; font-size: 13px; overflow-x: auto; }
.docs-section pre code { color: inherit; }
.docs-table th { background: var(--off-white); }
.method-badge { font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 8px; display: inline-block; }
.method-get { background: var(--green-tint); color: var(--green-dark); }
.method-post { background: var(--gold-soft); color: #8a6200; }
.alert-brand-soft { background: var(--green-tint); border: 1px solid var(--green-soft); color: var(--green-dark); }

/* ==========================================================================
   APP (dashboard) LAYOUT
   ========================================================================== */
.app-wrapper { display: flex; min-height: 100vh; }
.app-sidebar {
    width: 258px; background: var(--navy); color: #c6d3ea; display: flex; flex-direction: column;
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 1040; transition: transform .25s ease, width .25s ease;
}
.app-main { flex: 1; margin-left: 258px; display: flex; flex-direction: column; min-width: 0; transition: margin-left .25s ease; }
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.sidebar-close { background: transparent; border: 0; color: #c6d3ea; font-size: 18px; }
.sidebar-balance {
    margin: 0 14px 14px; padding: 14px 16px; border-radius: 12px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
}
.sidebar-balance-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #8ba3c7; }
.sidebar-balance-value { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 17px; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 4px 14px 14px; }
.sidebar-group-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: #8ba3c7; padding: 18px 10px 6px; }
.sidebar-link {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
    color: #c6d3ea; font-weight: 500; font-size: 14px; margin-bottom: 2px; transition: all .15s ease;
}
.sidebar-link i { width: 18px; text-align: center; font-size: 15px; }
.sidebar-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-link.active { background: var(--green); color: #fff; }
.sidebar-footer { padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 8px; }
.sidebar-collapse-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent; border: 1px solid rgba(255,255,255,.12); color: #c6d3ea;
    border-radius: 10px; padding: 9px 12px; font-size: 14px; font-weight: 500;
    transition: all .15s ease;
}
.sidebar-collapse-btn:hover { background: rgba(255,255,255,.07); color: #fff; }

/* Collapsed sidebar — icon-only rail on desktop */
@media (min-width: 992px) {
    html.sidebar-collapsed .app-sidebar { width: 78px; }
    html.sidebar-collapsed .app-main { margin-left: 78px; }
    html.sidebar-collapsed .sidebar-brand { justify-content: center; padding: 18px 0; }
    html.sidebar-collapsed .sidebar-brand > a { display: none; }
    html.sidebar-collapsed .sidebar-balance { display: none; }
    html.sidebar-collapsed .sidebar-group-label { display: none; }
    html.sidebar-collapsed .sidebar-nav { padding: 4px 10px 14px; }
    html.sidebar-collapsed .sidebar-link { justify-content: center; gap: 0; padding: 11px 6px; }
    html.sidebar-collapsed .sidebar-link span { display: none; }
    html.sidebar-collapsed .sidebar-link i { width: auto; font-size: 16px; }
    html.sidebar-collapsed .sidebar-footer { padding: 12px 10px; }
}

.app-topbar {
    background: #fff; border-bottom: 1px solid var(--border); padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1020;
}
.topbar-title { font-size: 19px; font-weight: 800; color: var(--navy); margin: 0; }
.topbar-balance { background: var(--green-tint); color: var(--green-dark); font-weight: 700; padding: 7px 14px; border-radius: 30px; font-size: 14px; }
.user-chip { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 30px; padding: 5px 14px 5px 6px; background: #fff; }
.avatar {
    width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-light));
    color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}
.avatar-lg { width: 52px; height: 52px; font-size: 17px; }
.admin-avatar { background: linear-gradient(135deg, var(--navy), var(--navy-3)); }
.notif-dot {
    position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--danger); border: 2px solid #fff;
}
.notif-menu { width: 330px; max-height: 420px; overflow-y: auto; }
.notif-item { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); border-bottom: 1px solid var(--border); }
.notif-item.unread { background: var(--green-faint); }
.notif-item:hover { background: var(--off-white); }

.app-content { flex: 1; padding: 24px; }
.app-footer { padding: 14px 24px; border-top: 1px solid var(--border); background: #fff; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }

/* Cards & stats */
.app-card { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.stat-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm); height: 100%;
}
.stat-icon {
    width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.stat-icon.green { background: var(--green-tint); color: var(--green-dark); }
.stat-icon.blue { background: #E8F0FD; color: #1d4ed8; }
.stat-icon.gold { background: #FFF4D6; color: #a97b00; }
.stat-icon.purple { background: #F1EAFD; color: #7C3AED; }
.stat-label { color: var(--muted); font-size: 13px; }
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--navy); }

.welcome-banner {
    background: linear-gradient(135deg, var(--green-tint), var(--green-faint)); border: 1px solid var(--green-soft); border-radius: var(--radius);
    padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}

/* Tables */
.app-table { margin: 0; }
.app-table thead th {
    background: var(--off-white); color: var(--muted); font-size: 12px; text-transform: uppercase;
    letter-spacing: .6px; font-weight: 700; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.app-table td { font-size: 14px; padding: 12px 10px; vertical-align: middle; }

/* Empty states */
.empty-state-icon {
    width: 64px; height: 64px; border-radius: 18px; background: var(--off-white);
    display: inline-flex; align-items: center; justify-content: center; font-size: 24px; color: #aab3c5;
}

/* Order detail rows */
.order-detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.order-detail-row:last-child { border-bottom: 0; }
.order-detail-row span { color: var(--muted); }
.order-detail-row strong { text-align: right; }

/* SMS monitor */
.sms-monitor-box { border-radius: var(--radius); padding: 28px; text-align: center; }
.sms-monitor-box.success { background: var(--green-tint); border: 1px solid var(--green-soft); }
.sms-monitor-box.waiting { background: #FFF9E8; border: 1px solid #f5e3ac; }
.sms-monitor-box.muted { background: var(--off-white); border: 1px solid var(--border); }
.sms-code-lg { font-family: var(--font-head); font-size: 38px; font-weight: 800; letter-spacing: 8px; color: var(--green-dark); }
.sms-pulse { font-size: 34px; color: var(--gold); animation: smsPulse 1.6s ease infinite; }
@keyframes smsPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.sms-dots span {
    display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin: 14px 3px 0;
    animation: dotBlink 1.2s ease infinite;
}
.sms-dots span:nth-child(2) { animation-delay: .2s; }
.sms-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dotBlink { 0%,100% { opacity: .2; } 50% { opacity: 1; } }
.sms-code { font-family: monospace; background: var(--green-tint); color: var(--green-dark); font-weight: 700; padding: 3px 10px; border-radius: 8px; letter-spacing: 2px; }
.sms-message-item { background: var(--off-white); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }

/* Notifications rows */
.notif-row {
    display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; margin-bottom: 8px;
    border: 1px solid var(--border); background: #fff;
}
.notif-row.unread { background: var(--green-faint); border-color: var(--green-soft); }
.notif-row-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--off-white); color: var(--green); display: flex; align-items: center; justify-content: center; }

/* Help cards */
.help-card { transition: all .2s ease; }
.help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.help-icon { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.help-icon.green { background: var(--green-tint); color: var(--green-dark); }
.help-icon.blue { background: #E8F0FD; color: #1d4ed8; }
.help-icon.gold { background: #FFF4D6; color: #a97b00; }

/* Toasts */
.toast { border: 0; border-radius: 12px; box-shadow: var(--shadow); }

/* Maintenance */
.maintenance-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--off-white); }
.maintenance-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); max-width: 480px; width: 100%; }

/* Health dots */
.health-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.health-dot.ok { background: var(--green); }
.health-dot.bad { background: var(--danger); }
.health-dot.warn { background: var(--gold); }

/* Modal polish */
.modal-content { border: 0; border-radius: 16px; }

/* Mobile slide-in navigation drawer */
.nav-hamburger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 40px; padding: 9px; background: transparent; border: 1px solid var(--border); border-radius: 10px; }
.nav-hamburger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-hamburger:hover span { background: var(--green); }
.mobile-nav-drawer { display: none; }
.nav-backdrop { display: none; }

/* Responsive */
@media (max-width: 991.98px) {
    .app-sidebar { transform: translateX(-100%); }
    .app-sidebar.open { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,.4); }
    .app-main { margin-left: 0; }
    .hero-section { padding: 56px 0; }
    .section { padding: 60px 0; }
    .sticky-top-docs { position: static; margin-bottom: 20px; }

    .mobile-nav-drawer { display: block; position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 85vw; background: #fff; z-index: 1050; transform: translateX(-105%); transition: transform .32s ease; overflow-y: auto; padding: 18px 16px; box-shadow: 0 0 30px rgba(0,0,0,.2); }
    .mobile-nav-drawer.open { transform: translateX(0); }
    .mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
    .mobile-nav-close { border: 0; background: transparent; font-size: 22px; color: var(--text); padding: 4px 8px; }
    .mobile-nav-links { list-style: none; margin: 0; padding: 0; }
    .mobile-nav-links li { border-bottom: 1px solid var(--border); }
    .mobile-nav-link { display: block; padding: 13px 6px; font-weight: 500; color: var(--text); text-decoration: none; }
    .mobile-nav-link:hover, .mobile-nav-link.active { color: var(--green); }
    .mobile-nav-actions { margin-top: 20px; }
    .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, .5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: 1045; }
    .nav-backdrop.show { opacity: 1; visibility: visible; }
    body.nav-locked { overflow: hidden; }
}

/* ============================================================
   3D touches (home page) — same navy/green/gold palette
   ============================================================ */

/* Hero visual: perspective stage for the image + floating layers */
.hero-visual {
    position: relative;
    display: inline-block;
    max-width: 100%;
    perspective: 1100px;
    transform: rotateY(-10deg) rotateX(4deg);
    transform-style: preserve-3d;
}
.hero-visual .hero-img {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform .25s ease-out;
    will-change: transform;
}

/* 3D orbiting rings behind the hero image */
.hero-orbit {
    position: absolute;
    inset: -10% -6%;
    border: 2px dashed rgba(var(--green-rgb), .38);
    border-radius: 50%;
    pointer-events: none;
    transform: rotateX(72deg);
    animation: orbitSpin 26s linear infinite;
}
.hero-orbit-2 {
    inset: 2% 8%;
    border-color: rgba(var(--gold-rgb), .45);
    animation-duration: 17s;
    animation-direction: reverse;
}
@keyframes orbitSpin {
    from { transform: rotateX(72deg) rotateZ(0deg); }
    to   { transform: rotateX(72deg) rotateZ(360deg); }
}

/* Floating glass chips over the hero image */
.hero-float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    pointer-events: none;
    transform: translate3d(var(--fx, 0px), var(--fy, 0px), 0);
    will-change: transform;
    animation: floatY 6s ease-in-out infinite;
}
.hero-float i { color: var(--green); font-size: 15px; }
.hero-float strong { color: var(--green-dark); }
.hero-float-badge { top: 6%; left: 0; }
.hero-float-otp { bottom: 9%; right: 0; animation-delay: 1.4s; }
.hero-float-otp i { color: var(--gold); }

@keyframes floatY {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -12px; }
}

/* 3D tilt cards (JS-driven transform) */
[data-tilt] {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    will-change: transform;
}

/* Scroll reveal with a soft 3D flip-in */
[data-reveal] {
    opacity: 0;
    transform: perspective(900px) rotateX(6deg) translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}
[data-reveal].revealed {
    opacity: 1;
    transform: perspective(900px) rotateX(0deg) translateY(0);
}

/* CTA floating orbs on the navy gradient */
.cta-section { position: relative; overflow: hidden; }
.cta-section .container { position: relative; z-index: 2; }
.cta-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 32% 32%, rgba(var(--green-rgb), .4), rgba(var(--green-rgb), 0) 70%);
    animation: floatY 8s ease-in-out infinite;
}
.cta-orb-1 { width: 340px; height: 340px; top: -140px; left: -90px; }
.cta-orb-2 {
    width: 240px; height: 240px; bottom: -100px; right: 6%;
    background: radial-gradient(circle at 32% 32%, rgba(var(--gold-rgb), .35), rgba(var(--gold-rgb), 0) 70%);
    animation-delay: 1.6s;
}
.cta-orb-3 { width: 150px; height: 150px; top: 18%; right: 24%; animation-delay: 3.2s; }

/* Reduce or remove motion for visitors who ask for it */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero-orbit, .hero-float, .cta-orb { animation: none !important; }
    .hero-visual { transform: none; }
    .hero-visual .hero-img { transition: none; }
}

/* ==========================================================================
   LANDING PAGE EXTRAS (trust bar, stats strip, services grid, live feed,
   wallet packages) — all values are injected from the database.
   ========================================================================== */

/* Trusted-by eyebrow above the hero title */
.trust-bar {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin-bottom: 6px; color: var(--muted); font-weight: 600; font-size: 14px;
}
.trust-bar::before, .trust-bar::after {
    content: ''; height: 1px; width: 48px; background: var(--border); display: inline-block;
}

/* Stats strip — navy band with counters */
.stats-strip { background: var(--navy); padding: 44px 0; }
.stats-strip-item { text-align: center; padding: 10px 8px; }
.stats-strip-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); color: #fff; }
.stats-strip-label { color: #8ba3c7; font-size: 13px; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* Supported services grid */
.service-tile {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px 12px; text-align: center; transition: all .2s ease; height: 100%;
}
.service-tile:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-tile-icon {
    width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 13px;
    background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.service-tile-name { font-weight: 600; font-size: 14px; color: var(--text); }
.services-more { margin-top: 22px; }

/* Live OTP feed */
.live-feed { max-width: 560px; margin: 0 auto; }
.live-feed-item {
    display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border);
    border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm);
}
.live-feed-icon {
    width: 40px; height: 40px; border-radius: 11px; background: var(--green-tint); color: var(--green);
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.live-feed-main { flex: 1; min-width: 0; }
.live-feed-title { font-weight: 600; font-size: 14px; color: var(--text); }
.live-feed-meta { font-size: 12.5px; color: var(--muted); }
.live-feed-code {
    font-family: monospace; font-weight: 700; color: var(--green-dark); background: var(--green-tint);
    padding: 4px 10px; border-radius: 8px; letter-spacing: 1.5px; font-size: 14px; white-space: nowrap;
}
.live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 7px;
    animation: liveBlink 1.4s ease infinite;
}
@keyframes liveBlink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* Wallet top-up packages */
.package-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px;
    text-align: center; height: 100%; transition: all .2s ease; position: relative;
}
.package-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.package-card.best { border-color: var(--gold); box-shadow: 0 8px 30px rgba(var(--gold-rgb), .25); }
.package-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--navy); font-weight: 800; font-size: 11px;
    padding: 4px 12px; border-radius: 20px; letter-spacing: .5px; white-space: nowrap;
}
.package-amount { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--navy); }
.package-bonus { color: var(--green-dark); font-weight: 700; font-size: 13px; margin-top: 2px; }
.package-label { color: var(--muted); font-size: 13px; margin-top: 6px; }
.package-note { color: var(--muted); font-size: 12.5px; margin: 10px 0 14px; }
.package-card .btn { width: 100%; }

/* Per-service rate rows */
.rate-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px;
}
.rate-row .rate-name { font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 10px; }
.rate-row .rate-name i { color: var(--green); width: 20px; text-align: center; }
.rate-row .rate-price { font-family: var(--font-head); font-weight: 800; color: var(--navy); }

/* Testimonial initials avatar (DB-driven testimonials) */
.testimonial-avatar-initials {
    width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
