/* ============================================
   JQuickNet — Premium Design System
   ============================================ */

/* --- CSS CUSTOM PROPERTIES --- */
:root {
    /* Brand Colors */
    --bg-main: #f4f7f5;
    --bg-subtle: #eef2f0;
    --brand-green: #00a86b;
    --brand-green-hover: #009960;
    --brand-green-light: #e6f7f0;
    --brand-green-50: rgba(0, 168, 107, 0.05);
    --brand-green-100: rgba(0, 168, 107, 0.1);
    --brand-dark: #0b1a14;
    --brand-dark-hover: #162e24;

    /* Neutrals */
    --text-primary: #0d1f16;
    --text-secondary: #374151;
    --text-muted: #6b7a72;
    --text-light: #9ca8a2;
    --border-light: #e5ebe8;
    --border-subtle: #edf2f0;

    /* Semantic Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --success-text: #065f46;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --warning-text: #92400e;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --danger-text: #991b1b;
    --info: #3b82f6;
    --info-light: #dbeafe;
    --info-text: #1e40af;

    /* Layout */
    --card-bg: #ffffff;
    --sidebar-width: 260px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 24px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
    --shadow-card-hover: 0 8px 25px -5px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-smooth: 0.3s var(--ease-out);
}

/* --- GLOBAL RESET --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

::selection {
    background: var(--brand-green-100);
    color: var(--brand-dark);
}

/* ============================================
   OLD LANDING CLASSES (removed — replaced by .lnav / .hero2 system)
   ============================================ */
}

/* ============================================
   AUTH PAGES — Premium Split Layout
   ============================================ */
.auth-body {
    background: var(--bg-main);
    margin: 0;
    padding: 0;
    background-image: radial-gradient(rgba(0,168,107,0.02) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Split Layout — full viewport 50/50 */
.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

/* Left: Form Side */
.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 56px;
    background: #fff;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 380px;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: color 0.15s ease;
}

.auth-back-link:hover {
    color: var(--brand-dark);
}

.auth-back-link i {
    font-size: 11px;
}

.auth-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 36px;
}

.auth-logo-link span {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}

.auth-heading {
    margin-bottom: 32px;
}

.auth-heading h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.auth-heading p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrap i {
    position: absolute;
    left: 14px;
    font-size: 14px;
    color: var(--text-light);
    pointer-events: none;
    transition: color 0.2s ease;
}

.auth-input-wrap input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    background: #fafbfc;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.auth-input-wrap input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.auth-input-wrap input:focus {
    border-color: var(--brand-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,168,107,0.08);
}

.auth-input-wrap input:focus + i,
.auth-input-wrap:has(input:focus) i {
    color: var(--brand-green);
}

.auth-field-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.auth-field-hint--show {
    display: block;
    color: var(--danger);
}

.auth-field-hint--valid {
    display: block;
    color: var(--brand-green);
}

/* Submit Button */
.auth-submit {
    width: 100%;
    padding: 13px 24px;
    background: var(--brand-dark);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.auth-submit:hover {
    background: var(--brand-dark-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(11,26,20,0.15);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-submit-loader {
    font-size: 16px;
}

/* Messages */
.auth-error {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    min-height: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    color: var(--danger);
    display: none;
}

.auth-error--show {
    display: block;
    padding: 10px 14px;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

.auth-success--show {
    display: block;
    padding: 10px 14px;
    background: #ecfdf5;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Switch Link */
.auth-switch {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: 700;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Trust Row */
.auth-trust-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.auth-trust-row span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

.auth-trust-row i {
    color: var(--brand-green);
    font-size: 12px;
}

/* Right: Visual Side — fills its grid cell */
.auth-visual-side {
    background: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.auth-visual-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,168,107,0.12), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0,168,107,0.06), transparent 40%);
    pointer-events: none;
}

.auth-visual-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
}

.auth-visual-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    width: 100%;
}

.auth-visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #a3e6c1;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.auth-visual-badge i { color: #fbbf24; font-size: 12px; }

/* Phone Mockup */
.auth-phone {
    width: 230px;
    background: #000;
    border: 8px solid #1e293b;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.5);
    position: relative;
}

.auth-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 16px;
    background: #1e293b;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
}

.auth-phone-screen {
    background: #111827;
    padding: 6px 8px 8px;
    min-height: 380px;
}

.auth-phone-status {
    display: flex;
    justify-content: space-between;
    padding: 4px 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.auth-phone-status i { font-size: 10px; margin-left: 4px; }

.auth-phone-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 2px;
}

.auth-phone-msg {
    display: flex;
    gap: 8px;
    max-width: 90%;
}

.auth-phone-msg--in { align-self: flex-start; }
.auth-phone-msg--out { align-self: flex-end; flex-direction: row-reverse; }

.auth-phone-msg-avatar {
    width: 28px;
    height: 28px;
    background: rgba(0,168,107,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #00a86b;
    flex-shrink: 0;
}

.auth-phone-msg-content {
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    border-top-left-radius: 4px;
    padding: 8px 10px;
}

.auth-phone-msg--out .auth-phone-msg-content {
    background: #00a86b;
    border-radius: 12px;
    border-top-right-radius: 4px;
    border-top-left-radius: 12px;
}

.auth-phone-msg-sender {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.auth-phone-msg-text {
    font-size: 11px;
    line-height: 1.45;
    color: #334155;
    font-weight: 500;
}

.auth-phone-msg--out .auth-phone-msg-text {
    color: #fff;
}

.auth-phone-msg-text strong {
    font-weight: 700;
}

.auth-phone-msg-time {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 4px;
    text-align: right;
}

.auth-phone-msg--out .auth-phone-msg-time {
    color: rgba(255,255,255,0.6);
}

/* Visual Features */
.auth-visual-features {
    display: flex;
    gap: 24px;
}

.auth-visual-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
}

.auth-visual-feature i {
    color: var(--brand-green);
    font-size: 14px;
}

/* Auth Responsive — stacks on mobile */
@media(max-width: 900px) {
    .auth-split {
        grid-template-columns: 1fr;
    }
    .auth-visual-side { display: none; }
    .auth-form-side { padding: 40px 28px; min-height: 100vh; }
    .auth-form-wrapper { max-width: 100%; }
    .auth-field-row { grid-template-columns: 1fr; }
}

@media(max-width: 480px) {
    .auth-form-side { padding: 32px 20px; }
    .auth-heading h1 { font-size: 24px; }
}

/* Legacy auth classes — kept for backward compat */
.auth-back-bar { position: absolute; top: 32px; left: 32px; }
.auth-back-link { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 14px; transition: color 0.15s ease; }
.auth-back-link:hover { color: var(--brand-dark); }
.auth-container { width: 100%; max-width: 1080px; min-height: 640px; display: flex; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: 0 20px 60px -12px rgba(0,0,0,0.08); }
.auth-left-panel { flex: 1; padding: 56px; background: #fff; display: flex; flex-direction: column; justify-content: center; }
.auth-left-panel h2 { margin-bottom: 8px; font-size: 26px; font-weight: 800; color: var(--brand-dark); letter-spacing: -0.5px; }
.auth-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; line-height: 1.5; }
.auth-right-panel { flex: 0.9; background: var(--brand-dark); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-right-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(0,168,107,0.12) 1px, transparent 0); background-size: 20px 20px; opacity: 0.5; }
.auth-right-panel::after { content: ''; position: absolute; bottom: -40%; right: -30%; width: 80%; height: 80%; background: radial-gradient(circle, rgba(0,168,107,0.12), transparent 70%); pointer-events: none; }
.auth-right-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.auth-logo-panel { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; align-self: flex-start; }
.auth-logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }
.auth-phone-legacy { width: 260px; height: 480px; background: #000; border: 10px solid #1e293b; border-radius: 40px; position: relative; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5); margin: auto; overflow: hidden; }
.auth-phone-notch-legacy { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 20px; background: #1e293b; border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; z-index: 10; }
.auth-phone-screen-legacy { width: 100%; height: 100%; background-color: #111827; background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 0); background-size: 16px 16px; padding: 42px 14px 14px 14px; position: relative; }
.auth-sms-notification { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-radius: 16px; padding: 14px; color: #0f172a; box-shadow: 0 12px 28px -5px rgba(0,0,0,0.3); animation: slideDownNotification 1s var(--ease-out) forwards; opacity: 0; transform: translateY(-20px); }
.auth-sms-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.auth-sender-id { font-size: 13px; font-weight: 700; color: var(--brand-dark); letter-spacing: 0.5px; display: flex; align-items: center; gap: 4px; }
.auth-sender-id i { color: var(--brand-green); font-size: 11px; }
.auth-sms-time { font-size: 11px; color: #64748b; font-weight: 500; }
.auth-sms-body { font-size: 12px; line-height: 1.5; color: #334155; font-weight: 500; }
.auth-sms-body span { color: var(--brand-green); font-weight: 700; }
@keyframes slideDownNotification { 0% { opacity: 0; transform: translateY(-30px) scale(0.96); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.auth-form-legacy { display: flex; flex-direction: column; gap: 18px; }
.auth-form-row { display: flex; gap: 14px; }
.auth-form-row .input-wrapper { flex: 1; width: 50%; }
.input-wrapper { display: flex; flex-direction: column; }
.input-wrapper label { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.input-field { position: relative; display: flex; align-items: center; }
.auth-input { width: 100%; padding: 13px 40px 13px 16px; border: 1.5px solid var(--border-light); border-radius: 10px; outline: none; font-size: 14px; background: #fafbfc; color: var(--brand-dark); transition: all 0.2s ease; font-weight: 500; font-family: inherit; }
.auth-input::placeholder { color: var(--text-light); font-weight: 400; }
.auth-input:focus { border-color: var(--brand-green); background: #fff; box-shadow: 0 0 0 3px rgba(0,168,107,0.08); }
.auth-input.valid-status { border-color: var(--brand-green); background: #fff; }
.auth-input.invalid-status { border-color: var(--danger); background: #fffafa; }
.status-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) scale(0.6); font-size: 12px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.25s ease; pointer-events: none; color: var(--brand-green); line-height: 1; background: rgba(255,255,255,0.85); border-radius: 50%; }
.status-icon.show { opacity: 1; transform: translateY(-50%) scale(1); }
.status-icon.success-icon { color: var(--brand-green); }
.validation-hint { font-size: 11px; color: var(--danger); margin-top: 6px; padding-left: 2px; display: none; font-weight: 600; }
.validation-hint.active { display: block; }
.auth-btn { margin-top: 6px; padding: 14px; border: none; border-radius: 10px; background: var(--brand-dark); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.25s ease; letter-spacing: 0.3px; font-family: inherit; }
.auth-btn:hover { background: var(--brand-dark-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,26,20,0.15); }
.auth-btn:active { transform: translateY(0); }
.auth-links { margin-top: 24px; font-size: 13px; text-align: center; color: var(--text-muted); }
.auth-links a { color: var(--brand-green); text-decoration: none; font-weight: 700; }
.auth-links a:hover { text-decoration: underline; }

/* ============================================
   GENERIC FORM ELEMENTS
   ============================================ */
input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    background: #fafbfc;
    color: var(--brand-dark);
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--brand-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,168,107,0.08);
}

textarea {
    resize: none;
    height: 130px;
}

/* ============================================
   SIDEBAR LAYOUT (Dashboard Pages)
   ============================================ */
body.app-layout {
    background: var(--bg-main);
    color: var(--brand-dark);
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

aside {
    width: var(--sidebar-width);
    background: var(--card-bg);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 16px;
    bottom: 16px;
    left: 16px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    z-index: 100;
    transition: transform 0.3s var(--ease-out);
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px;
    margin-bottom: 28px;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.3px;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 13.5px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
}

.menu-item.active a {
    background: var(--brand-green-light);
    color: var(--brand-green);
    font-weight: 600;
}

.menu-item a:hover:not(.active a) {
    background: var(--bg-subtle);
    color: var(--brand-dark);
}

.menu-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.signout-box {
    padding-top: 12px;
}

.signout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 13.5px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
}

.signout-btn:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: transparent;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 26, 20, 0.3);
    z-index: 99;
    backdrop-filter: blur(4px);
}

/* --- MAIN CONTENT AREA --- */
main {
    margin-left: calc(var(--sidebar-width) + 16px);
    flex-grow: 1;
    padding: 20px 32px 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* --- TOP NAVBAR --- */
.top-navbar {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--brand-dark);
}

.nav-left .dot {
    width: 7px;
    height: 7px;
    background: var(--brand-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(0, 168, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 168, 107, 0.4); }
    50% { box-shadow: 0 0 12px rgba(0, 168, 107, 0.6); }
}

.hamburger-btn,
.hamburger-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 18px;
    color: var(--brand-dark);
    cursor: pointer;
    padding: 4px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-pill {
    background: var(--brand-green-light);
    color: var(--brand-green);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.price-pill span {
    color: var(--text-muted);
    font-weight: 500;
}

.wallet-card-pill {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.wallet-card-pill i {
    color: var(--brand-green);
    font-size: 16px;
}

.wallet-card-pill .wallet-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.wallet-card-pill .wallet-info span {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.profile-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 12px;
    border-left: 1px solid var(--border-light);
    white-space: nowrap;
}

.profile-details {
    text-align: right;
}

.profile-details .name {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-dark);
}

.profile-details .status {
    font-size: 10px;
    color: var(--brand-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: var(--brand-green);
    border-radius: 50%;
    display: inline-block;
}

.profile-avatar {
    width: 34px;
    height: 34px;
    background: var(--brand-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

/* ============================================
   DASHBOARD PAGE
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 8px;
}

.title-area h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.title-area p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.wallet-card-box {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 14px 24px;
    min-width: 140px;
    text-align: right;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
}

.wallet-card-box label {
    font-size: 9px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.wallet-card-box .wallet-amount {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-green);
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.wallet-card-box .wallet-amount span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Metric Cards */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.metric-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.metric-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-card .label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.metric-card .value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-top: 2px;
}

.metric-icon-plate {
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
}

.metric-card.sent-card .metric-icon-plate i { color: var(--info); }
.metric-card.delivered-card .metric-icon-plate i { color: var(--brand-green); }
.metric-card.failed-card .metric-icon-plate i { color: var(--danger); }
.metric-card.rate-card .metric-icon-plate i { color: var(--warning); }

/* Analytics Row */
.analytics-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.chart-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    min-width: 0;
}

.chart-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.subtitle,
.chart-card .subtitle,
.chart-subtitle {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
}

.chart-card .chart-subtitle {
    margin-bottom: 24px;
}

.summary-data-box {
    display: flex;
    gap: 64px;
    margin-top: 32px;
}

.sub-metric {
    display: flex;
    flex-direction: column;
    position: relative;
}

.sub-metric label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sub-metric .sub-metric-val {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 6px;
    line-height: 1;
    letter-spacing: -1px;
}

.sub-metric .sub-metric-val.green {
    color: var(--brand-green);
}

.sub-metric span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 10px;
}

.sub-metric .bar-indicator {
    height: 3px;
    background: var(--info);
    width: 32px;
    margin-top: 10px;
    border-radius: 2px;
}

/* Announcement Banners */
.alert-banner {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: var(--border-radius-md);
    padding: 14px 18px;
    position: relative;
}

.alert-banner h4 {
    color: #c2410c;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.alert-banner p {
    color: #ea580c;
    font-size: 13px;
    line-height: 1.5;
    max-width: 95%;
}

.alert-date {
    font-size: 11px;
    color: #f97316;
    margin-top: 6px;
    font-weight: 500;
}

.close-alert {
    position: absolute;
    top: 14px;
    right: 18px;
    color: #ea580c;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 18px;
    line-height: 1;
}

/* ============================================
   WORKSPACE PAGES (shared across app pages)
   ============================================ */
.workspace-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: start;
}

.workspace-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
}

.workspace-card h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-dark);
}

.workspace-card .subtitle {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    margin-top: 2px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-help {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

.counter-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 8px;
    text-transform: uppercase;
}

/* Buttons */
form button, .form-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--brand-dark);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

form button:hover, .form-submit-btn:hover {
    background: var(--brand-dark-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

form button:active, .form-submit-btn:active {
    transform: translateY(0);
}

/* Alert Messages */
.alert {
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.alert.error {
    background: var(--danger-light);
    color: var(--danger-text);
}

.alert.success {
    background: var(--success-light);
    color: var(--success-text);
}

/* Data Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-subtle);
}

.table td {
    padding: 12px;
    border-bottom: 1px solid var(--bg-subtle);
    color: var(--brand-dark);
}

.table .pill {
    background: var(--brand-green-light);
    color: var(--success-text);
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 12px;
    display: inline-block;
}

.empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

.delete-btn {
    background: var(--danger-light);
    color: var(--danger);
    padding: 6px 12px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.delete-btn:hover {
    background: #fecaca;
}

.status-active {
    background: var(--success-light);
    color: var(--success-text);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.status-inactive {
    background: var(--danger-light);
    color: var(--danger-text);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.muted {
    color: var(--text-muted);
    font-size: 12px;
}

/* ============================================
   TOAST NOTIFICATION SYSTEM
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--card-bg);
    color: var(--brand-dark);
    padding: 14px 18px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 400px;
    border-left: 4px solid var(--info);
    transform: translateX(120%);
    transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success { border-left-color: var(--brand-green); }
.toast.error { border-left-color: var(--danger); }
.toast.info { border-left-color: var(--warning); }

.toast-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast.success .toast-icon { color: var(--brand-green); }
.toast.error .toast-icon { color: var(--danger); }
.toast.info .toast-icon { color: var(--warning); }

.toast-content { flex-grow: 1; }
.toast-title { font-weight: 700; font-size: 13px; color: var(--brand-dark); }
.toast-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; font-weight: 500; }
.toast-close { background: transparent; border: none; color: var(--text-light); cursor: pointer; font-size: 18px; padding: 0 4px; line-height: 1; transition: color var(--transition-fast); }
.toast-close:hover { color: var(--danger); }

/* ============================================
   PHONE MOCKUP (Send SMS page)
   ============================================ */
.phone-mockup {
    background: var(--card-bg);
    border: 8px solid var(--brand-dark);
    border-radius: 36px;
    width: 100%;
    max-width: 300px;
    height: 440px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 16px;
    background: var(--brand-dark);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-header {
    background: var(--bg-subtle);
    padding: 28px 14px 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.phone-avatar {
    width: 32px;
    height: 32px;
    background: var(--brand-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green);
    font-size: 13px;
}

.phone-sender-info { flex-grow: 1; }
.phone-sender-name { font-size: 13px; font-weight: 700; color: var(--brand-dark); }
.phone-status { font-size: 10px; color: var(--brand-green); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 1px; }

.phone-body {
    flex-grow: 1;
    background: var(--bg-subtle);
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.sms-bubble {
    background: var(--card-bg);
    padding: 12px 14px;
    border-radius: 16px;
    border-top-left-radius: 4px;
    max-width: 88%;
    font-size: 13px;
    line-height: 1.5;
    color: var(--brand-dark);
    box-shadow: var(--shadow-xs);
    word-break: break-word;
    position: relative;
    font-weight: 500;
}

.sms-bubble-empty {
    color: var(--text-muted);
    font-style: italic;
    font-weight: 400;
}

.sms-time {
    display: block;
    font-size: 9px;
    color: var(--text-light);
    margin-top: 6px;
    text-align: right;
    font-weight: 600;
}

/* ============================================
   SEND SMS ESTIMATE PANEL
   ============================================ */
.synopsis-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-card-metric {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 22px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
}

.summary-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px dashed var(--border-light);
    font-weight: 500;
}

.summary-row:last-of-type { border-bottom: none; }
.summary-row span { color: var(--text-muted); }
.summary-row b { color: var(--brand-dark); font-weight: 700; }

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.total-row label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
}

.total-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-green);
    line-height: 1;
}

.total-price small {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 2px;
}

/* ============================================
   BILLING PAGE
   ============================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.page-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.rate-badge {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 12px 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.rate-badge .rate-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.rate-badge .rate-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-green);
}

.rate-badge .rate-unit {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 4px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    align-items: start;
}

.billing-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
}

.card-accent {
    width: 4px;
    height: 18px;
    background: var(--brand-green);
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.billing-card h2 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    display: inline;
}

.form-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.amount-input-wrap {
    position: relative;
    margin-bottom: 24px;
}

.amount-input {
    width: 100%;
    padding: 16px 80px 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    background: #fafbfc;
    outline: none;
    transition: all var(--transition-base);
    font-family: inherit;
}

.amount-input:focus {
    border-color: var(--brand-green);
    background: #fff;
    box-shadow: 0 0 0 3px var(--brand-green-50);
}

.amount-input::placeholder {
    color: var(--text-light);
    font-weight: 600;
}

.amount-suffix {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
}

.billing-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.billing-form-group {
    margin-bottom: 18px;
}

.billing-form-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.billing-form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: #fafbfc;
    outline: none;
    transition: all var(--transition-base);
    font-family: inherit;
}

.billing-form-group input:focus {
    border-color: var(--brand-green);
    background: #fff;
    box-shadow: 0 0 0 3px var(--brand-green-50);
}

.billing-form-group input::placeholder {
    color: var(--text-light);
}

.billing-form-group input[readonly] {
    background: var(--bg-subtle);
    color: var(--text-muted);
    cursor: not-allowed;
}

.phone-input-wrap {
    position: relative;
    margin-bottom: 12px;
}

.phone-input {
    width: 100%;
    padding: 13px 16px 13px 60px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: #fafbfc;
    outline: none;
    transition: all var(--transition-base);
    font-family: inherit;
}

.phone-input:focus {
    border-color: var(--brand-green);
    background: #fff;
    box-shadow: 0 0 0 3px var(--brand-green-50);
}

.phone-input::placeholder {
    color: var(--text-light);
}

.phone-flag {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-flag .flag {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    background: #1d9e4e;
}

.phone-flag .flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, #1d9e4e 35%, #fcd116 35%, #fcd116 45%, #00a3dd 45%);
}

.phone-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-topup {
    width: 100%;
    padding: 16px;
    background: var(--bg-subtle);
    color: var(--text-muted);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: inherit;
}

.btn-topup.ready {
    background: var(--brand-green);
    color: #fff;
}

.btn-topup.ready:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.3);
}

.summary-section { margin-bottom: 20px; }
.summary-label { font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }

.billing-summary-sms {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.summary-sms-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-green);
}

.summary-sms-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
}

.billing-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--bg-subtle);
}

.summary-row-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.summary-row-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.free-badge {
    background: var(--brand-green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.summary-total {
    border-top: 2px solid var(--border-light);
    padding-top: 14px;
    margin-top: 4px;
}

.summary-total .summary-row-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-total .summary-row-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.summary-total .summary-row-value span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.info-box {
    background: var(--brand-green-light);
    border-radius: var(--border-radius-md);
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.info-box-icon {
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brand-green);
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.12);
}

.info-box p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.info-box strong { color: var(--text-primary); font-weight: 700; }
.info-box a { color: var(--brand-green); font-weight: 700; text-decoration: none; }

.secure-footer {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 12px 0;
}

/* ============================================
   DEVELOPERS / API DOCS PAGE
   ============================================ */
.api-docs {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.api-docs h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 10px;
}

.key-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 10px 14px;
}

.key-display span {
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 13px;
    color: var(--brand-dark);
    flex-grow: 1;
}

.copy-btn {
    background: var(--brand-green);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.copy-btn:hover {
    background: var(--brand-green-hover);
}

/* API Documentation Section */
.doc-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.doc-section:last-child {
    border-bottom: none;
}

.doc-badge {
    width: 26px;
    height: 26px;
    background: var(--brand-green);
    color: #fff;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    margin-right: 10px;
    vertical-align: middle;
}

.doc-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-dark);
    display: inline;
}

.doc-section > p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.6;
}

.endpoint-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.method-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method-badge.post {
    background: var(--success-light);
    color: var(--success-text);
}

.endpoint-url {
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--bg-subtle);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light);
}

.code-block {
    background: var(--brand-dark);
    border-radius: var(--border-radius-md);
    margin: 12px 0;
    overflow: hidden;
}

.code-block .code-label {
    font-size: 10px;
    font-weight: 700;
    color: #6ee7b7;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 16px 0;
    background: rgba(255,255,255,.04);
}

.code-block pre {
    padding: 12px 16px 16px;
    color: #a3e4c1;
    font-size: 12px;
    line-height: 1.7;
    overflow-x: auto;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
}

.params-table { margin: 8px 0; }

.param-row {
    display: grid;
    grid-template-columns: 120px 80px 80px 1fr;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-subtle);
    align-items: center;
    font-size: 13px;
}

.param-row:last-child { border-bottom: none; }
.param-name { font-family: monospace; font-weight: 700; color: var(--brand-dark); }
.param-type { color: var(--brand-green); font-weight: 600; font-size: 11px; }
.param-required { color: var(--danger); font-weight: 700; font-size: 11px; text-transform: uppercase; }
.param-desc { color: var(--text-muted); }

.example-tabs {
    display: flex;
    gap: 4px;
    margin: 16px 0 0;
    background: var(--bg-subtle);
    border-radius: var(--border-radius-sm);
    padding: 4px;
    width: fit-content;
}

.example-tab {
    padding: 7px 14px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.example-tab.active {
    background: #fff;
    color: var(--brand-dark);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.example-content { display: none; }
.example-content.active { display: block; }

.example-content pre {
    background: var(--brand-dark);
    border-radius: var(--border-radius-md);
    padding: 16px;
    color: #a3e4c1;
    font-size: 12px;
    line-height: 1.7;
    overflow-x: auto;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    margin-top: 12px;
}

.error-table { margin: 8px 0; }

.error-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-subtle);
}

.error-row:last-child { border-bottom: none; }

.error-code {
    font-family: monospace;
    font-weight: 800;
    color: var(--danger);
    background: var(--danger-light);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    min-width: 40px;
    text-align: center;
}

.error-msg {
    font-size: 13px;
    color: var(--text-muted);
}

.notes-list {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.notes-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.notes-list li i {
    color: var(--brand-green);
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================
   BILLING SUCCESS PAGE
   ============================================ */
.billing-success-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.success-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 400px;
    width: 100%;
    border: 1px solid var(--border-subtle);
}

.success-icon {
    color: var(--success);
    font-size: 48px;
    margin-bottom: 16px;
}

.success-card h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 800;
}

.success-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.ref {
    font-family: monospace;
    background: var(--bg-subtle);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.success-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-green);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 700;
    transition: all var(--transition-smooth);
}

.success-btn:hover {
    background: var(--brand-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.3);
}

/* ============================================
   ADMIN PANEL & SENDER ID STYLES
   ============================================ */
.dashboard-container {
    display: contents;
}

.main-content {
    margin-left: calc(var(--sidebar-width) + 16px);
    flex-grow: 1;
    padding: 20px 32px 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-badge {
    background: var(--brand-dark);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.stat-details p {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-details h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 4px;
    line-height: 1.1;
}

.stat-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.stat-icon-box.green { background: var(--success-light); color: #059669; }
.stat-icon-box.blue { background: var(--info-light); color: #2563eb; }
.stat-icon-box.amber { background: var(--warning-light); color: #d97706; }
.stat-icon-box.red { background: var(--danger-light); color: #dc2626; }

/* Card component */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
}

.card-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.card-header-wrapper h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-dark);
}

.view-all-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-green);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    background: var(--brand-green-light);
    transition: all var(--transition-fast);
}

.view-all-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table-responsive th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-subtle);
    white-space: nowrap;
}

.table-responsive td {
    padding: 12px;
    border-bottom: 1px solid var(--bg-subtle);
    color: var(--brand-dark);
    vertical-align: middle;
}

/* Status pills */
.status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-pill.success { background: var(--success-light); color: var(--success-text); }
.status-pill.warning { background: var(--warning-light); color: var(--warning-text); }
.status-pill.danger { background: var(--danger-light); color: var(--danger-text); }
.status-pill.pending { background: var(--warning-light); color: var(--warning-text); }
.status-pill.completed { background: var(--success-light); color: var(--success-text); }
.status-pill.failed { background: var(--danger-light); color: var(--danger-text); }

/* User identity cell */
.user-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-green-light);
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.user-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-meta span:first-child {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-dark);
}

.user-email {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.role-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.role-pill.admin { background: var(--danger-light); color: var(--danger-text); }
.role-pill.user { background: var(--info-light); color: var(--info-text); }

.sub-info {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}

.balance-sms {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-green);
}

.wallet-amt {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-dark);
}

/* Action buttons */
.action-button-group {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.action-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg-subtle);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all var(--transition-fast);
}

.action-icon-btn:hover {
    background: var(--brand-green-light);
    color: var(--brand-green);
    border-color: var(--brand-green);
}

.action-icon-btn.impersonate:hover {
    background: var(--info-light);
    color: #2563eb;
    border-color: #2563eb;
}

/* Admin filter panel */
.filter-panel {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.search-wrapper {
    position: relative;
}

.search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px;
}

.search-wrapper input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    background: #fff;
    outline: none;
    transition: border-color var(--transition-fast);
    font-family: inherit;
}

.search-wrapper input:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px var(--brand-green-50);
}

.btn-filter {
    padding: 11px 22px;
    background: var(--brand-dark);
    color: #fff;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-smooth);
    white-space: nowrap;
    font-family: inherit;
}

.btn-filter:hover { background: var(--brand-dark-hover); }

/* Admin config form */
.config-form-group {
    margin-bottom: 18px;
}

.config-form-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.input-suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.config-form-group input,
.config-form-group select {
    width: 100%;
    padding: 13px 48px 13px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark);
    background: #fafbfc;
    outline: none;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.config-form-group input:focus,
.config-form-group select:focus {
    border-color: var(--brand-green);
    background: #fff;
    box-shadow: 0 0 0 3px var(--brand-green-50);
}

.btn-submit-action {
    width: 100%;
    padding: 14px;
    background: var(--brand-green);
    color: #fff;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-smooth);
    margin-top: 8px;
    font-family: inherit;
}

.btn-submit-action:hover { background: var(--brand-green-hover); }

/* User portal mirror link */
.user-portal-mirror a {
    border: 1px dashed var(--border-light);
}

.user-portal-mirror a:hover {
    background: var(--brand-green-light) !important;
    color: var(--brand-green) !important;
    border-color: var(--brand-green);
}

/* Transaction search */
.search-box {
    position: relative;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    font-family: inherit;
}

.search-box input:focus { border-color: var(--brand-green); box-shadow: 0 0 0 3px var(--brand-green-50); }

.filter-select {
    padding: 11px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark);
    background: #fff;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.filter-select:focus { border-color: var(--brand-green); }

.btn-query {
    padding: 11px 22px;
    background: var(--brand-dark);
    color: #fff;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-smooth);
    font-family: inherit;
}

.btn-query:hover { background: var(--brand-dark-hover); }

/* Text utility classes */
.text-bold { font-weight: 700; color: var(--brand-dark); }
.text-small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

/* ============================================
   SENDER ID PAGE STYLES
   ============================================ */
.btn-request {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--brand-green);
    color: #fff;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
    font-family: inherit;
}

.btn-request:hover { background: var(--brand-green-hover); transform: translateY(-1px); }

.metric-card.approved-card .metric-icon-plate i,
.metric-card.approved-card .value { color: var(--brand-green); }
.metric-card.pending-card .metric-icon-plate i,
.metric-card.pending-card .value { color: var(--warning); }

.list-wrapper {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
}

.list-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 18px;
}

.sender-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    margin-bottom: 10px;
    transition: all var(--transition-smooth);
}

.sender-item-card:hover {
    border-color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.06);
}

.item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-md);
    background: var(--brand-green-light);
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.details-box h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-dark);
}

.details-box .desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.meta-date {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.gateway-badge {
    color: var(--brand-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.item-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-status.approved { background: var(--success-light); color: var(--success-text); }
.badge-status.pending { background: var(--warning-light); color: var(--warning-text); }
.badge-status.rejected { background: var(--danger-light); color: var(--danger-text); }

.btn-use {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--brand-green);
    color: #fff;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.btn-use:hover { background: var(--brand-green-hover); }

/* Sender ID Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 26, 20, 0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.open {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius-xl);
    padding: 28px;
    width: 90%;
    max-width: 480px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.field-hint {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Auth pages — new split layout responsive handled in main auth section */

/* Dashboard */
@media(max-width: 1400px) {
    .metrics-row { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 1024px) {
    .analytics-row { grid-template-columns: 1fr; }
}

/* App sidebar collapse */
@media(max-width: 992px) {
    aside {
        transform: translateX(-110%);
        top: 0;
        bottom: 0;
        left: 0;
        height: 100vh;
        border-radius: 0;
    }

    aside.active,
    aside.open {
        transform: translateX(0);
    }

    aside.active + .sidebar-overlay,
    aside.open + .sidebar-overlay,
    .sidebar-overlay.show {
        display: block;
    }

    main {
        margin-left: 0;
        padding: 20px 16px;
    }

    .hamburger-btn,
    .hamburger-toggle {
        display: block;
    }
}

/* Mobile nav pills */
@media(max-width: 768px) {
    .price-pill,
    .wallet-card-pill span,
    .profile-details {
        display: none;
    }

    .wallet-card-pill { border: none; padding: 0; }
    .profile-pill { border-left: none; padding-left: 0; }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .wallet-card-box { width: 100%; text-align: left; }
    .metrics-row { grid-template-columns: 1fr; gap: 14px; }
    .summary-data-box { flex-direction: column; gap: 28px; }
    .page-header { flex-direction: column; gap: 14px; }
    .amount-input { font-size: 26px; }
    .billing-form-row { grid-template-columns: 1fr; }
    .workspace-card { padding: 18px; }
    .toast { min-width: calc(100vw - 32px); max-width: calc(100vw - 32px); right: 16px; bottom: 16px; }
    .param-row { grid-template-columns: 1fr 1fr; gap: 4px; }
    .param-desc { grid-column: span 2; }
}

@media(max-width: 1100px) {
    .workspace-grid { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: 1fr; }
    .phone-mockup { max-width: 100%; }
}

@media(max-width: 1400px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 992px) {
    .main-content {
        margin-left: 0;
        padding: 20px 16px;
    }
}

@media(max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; }
    .filter-panel { flex-direction: column; }
    .filter-group { min-width: 100%; }
    .sender-item-card { flex-direction: column; align-items: flex-start; gap: 14px; }
    .item-right { width: 100%; justify-content: flex-start; }
}

/* ============================================
   NEW LANDING PAGE — Conversion-Optimized
   ============================================ */

/* --- NAVIGATION --- */
.lnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.lnav-scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}
.lnav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lnav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.lnav-brand span {
    font-size: 19px;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}
.lnav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.lnav-links a {
    text-decoration: none;
    padding: 9px 16px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.lnav-links a:hover {
    color: var(--brand-dark);
    background: var(--bg-subtle);
}
.lnav-signin {
    color: var(--text-muted) !important;
}
.lnav-cta {
    background: var(--brand-green) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,168,107,0.25);
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}
.lnav-cta:hover {
    background: var(--brand-green-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,168,107,0.3) !important;
}
.lnav-mobile {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--brand-dark);
    cursor: pointer;
    padding: 8px;
}

/* --- HERO 2 — Two-column with dashboard mockup --- */
.hero2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 32px 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7f3 50%, var(--bg-main) 100%);
    position: relative;
    overflow: hidden;
}
.hero2::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,168,107,0.06), transparent 70%);
    pointer-events: none;
}
.hero2-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}
.hero2-left { z-index: 2; }
.hero2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-green-light);
    color: var(--brand-green);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(0,168,107,0.1);
}
.hero2-badge i { font-size: 12px; }
.hero2-left h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--brand-dark);
    margin-bottom: 20px;
}
.hero2-highlight {
    color: var(--brand-green);
    position: relative;
}
.hero2-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(0,168,107,0.15);
    border-radius: 4px;
    z-index: -1;
}
.hero2-sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}
.hero2-sub strong { color: var(--brand-green); font-weight: 700; }
.hero2-ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--brand-green);
    color: #fff;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 2px 12px rgba(0,168,107,0.3);
}
.btn-hero-primary:hover {
    background: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,168,107,0.3);
}
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: #fff;
    color: var(--brand-dark);
    border: 1.5px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}
.btn-hero-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--brand-green);
    transform: translateY(-2px);
}
.hero2-friction {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.hero2-friction span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.hero2-friction i {
    color: var(--brand-green);
    font-size: 12px;
}

/* --- DASHBOARD MOCKUP --- */
.hero2-right { z-index: 2; }
.dash-mock {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 80px -12px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.5s var(--ease-out);
}
.dash-mock:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.dash-mock-bar {
    background: #f8faf9;
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.dash-dots {
    display: flex;
    gap: 6px;
}
.dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}
.dash-dots span:first-child { background: #fca5a5; }
.dash-dots span:nth-child(2) { background: #fde68a; }
.dash-dots span:last-child { background: #86efac; }
.dash-mock-url {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
}
.dash-mock-body {
    display: flex;
    min-height: 340px;
}
.dash-mock-sidebar {
    width: 160px;
    background: #f8faf9;
    border-right: 1px solid var(--border-subtle);
    padding: 12px 8px;
}
.dash-mock-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.dash-mock-nav-item.active {
    background: var(--brand-green-light);
    color: var(--brand-green);
}
.dash-mock-nav-item i { font-size: 12px; width: 16px; text-align: center; }
.dash-mock-content {
    flex: 1;
    padding: 16px;
}
.dash-mock-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}
.dash-mock-greeting {
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-dark);
}
.dash-mock-subtext {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}
.dash-mock-wallet {
    background: var(--brand-green-light);
    padding: 8px 14px;
    border-radius: 10px;
    text-align: right;
}
.dash-mock-wallet-label {
    font-size: 8px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dash-mock-wallet-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--brand-green);
}
.dash-mock-wallet-val small {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}
.dash-mock-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.dash-mock-stat {
    background: #f8faf9;
    border-radius: 8px;
    padding: 10px;
}
.dash-mock-stat-label {
    font-size: 8px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dash-mock-stat-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 4px 0 6px;
}
.dash-mock-stat-bar {
    height: 3px;
    border-radius: 2px;
}
.dash-mock-chart {
    background: #f8faf9;
    border-radius: 10px;
    padding: 12px;
}
.dash-mock-chart-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.dash-mock-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}
.dash-mock-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    justify-content: flex-end;
}
.dash-mock-bar-fill {
    width: 100%;
    background: var(--brand-green);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}
.dash-mock-bar-col span {
    font-size: 8px;
    color: var(--text-light);
    font-weight: 600;
}

/* --- TRUST BAR --- */
.trust-bar {
    background: var(--brand-dark);
    padding: 48px 32px;
}
.trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.trust-bar-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    margin-bottom: 36px;
}
.trust-stat-val {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.trust-stat-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}
.trust-bar-networks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-net-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}
.trust-net-logos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.trust-net-pill {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #cbd5e1;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* --- GENERIC SECTION --- */
.lsec {
    padding: 100px 32px;
}
.lsec-alt {
    background: var(--bg-main);
}
.lsec-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.lsec-header {
    text-align: center;
    margin-bottom: 64px;
}
.lsec-tag {
    display: inline-block;
    background: var(--brand-green-light);
    color: var(--brand-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}
.lsec-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.lsec-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- FEATURES GRID --- */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feat-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    transition: all 0.3s var(--ease-out);
}
.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.08);
    border-color: rgba(0,168,107,0.2);
}
.feat-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-green-light);
    color: var(--brand-green);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 18px;
}
.feat-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 8px;
}
.feat-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- HOW IT WORKS --- */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}
.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    position: relative;
}
.step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--brand-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,168,107,0.3);
}
.step-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-green-light);
    color: var(--brand-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 16px auto 20px;
}
.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 8px;
}
.step-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}
.step-connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--text-light);
    font-size: 18px;
}

/* --- API SECTION --- */
.api-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}
.api-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.api-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-green-light);
    color: var(--brand-green);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.api-feature h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 4px;
}
.api-feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.btn-api-docs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--brand-dark);
    color: #fff;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    margin-top: 8px;
}
.btn-api-docs:hover {
    background: var(--brand-dark-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11,26,20,0.2);
}
.api-code {
    background: var(--brand-dark);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}
.api-code-tabs {
    display: flex;
    gap: 0;
    background: rgba(255,255,255,0.04);
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.api-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}
.api-tab.active {
    color: #fff;
    background: rgba(255,255,255,0.06);
}
.api-tab:hover { color: #94a3b8; }
.api-code-block {
    display: none;
    padding: 0;
}
.api-code-block.active { display: block; }
.api-code-block pre {
    padding: 20px 24px;
    color: #a3e4c1;
    font-size: 13px;
    line-height: 1.7;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    margin: 0;
    overflow-x: auto;
}
.api-code-label {
    padding: 12px 24px 0;
    font-size: 10px;
    font-weight: 700;
    color: #6ee7b7;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.api-code-response {
    border-top: 1px solid rgba(255,255,255,0.06);
}
.api-code-response pre {
    color: #93c5fd;
}

/* --- TESTIMONIALS --- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: all 0.3s var(--ease-out);
}
.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.08);
}
.testi-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testi-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testi-avatar {
    width: 40px;
    height: 40px;
    background: var(--brand-green-light);
    color: var(--brand-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}
.testi-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-dark);
}
.testi-role {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --- PRICING --- */
.pricing-card {
    background: #fff;
    border: 2px solid var(--brand-green);
    border-radius: var(--border-radius-xl);
    padding: 48px;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    box-shadow: 0 12px 40px -8px rgba(0,168,107,0.15);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-green);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
    margin-top: 8px;
}
.pricing-price {
    font-size: 64px;
    font-weight: 800;
    color: var(--brand-green);
    line-height: 1;
    margin-bottom: 4px;
}
.pricing-price span {
    font-size: 24px;
    font-weight: 700;
}
.pricing-per {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 14px;
    color: var(--text-secondary);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features i {
    color: var(--brand-green);
    font-size: 14px;
    flex-shrink: 0;
}
.btn-pricing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: var(--brand-green);
    color: #fff;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 16px rgba(0,168,107,0.3);
}
.btn-pricing:hover {
    background: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,168,107,0.3);
}
.pricing-footer {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- FAQ --- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q i {
    font-size: 14px;
    color: var(--text-light);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-q:hover { color: var(--brand-green); }
.faq-a {
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- FINAL CTA --- */
.final-cta {
    padding: 100px 32px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-main) 0%, #e8f5ee 100%);
}
.final-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}
.final-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.final-cta p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.btn-final-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--brand-green);
    color: #fff;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 20px rgba(0,168,107,0.3);
}
.btn-final-cta:hover {
    background: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,168,107,0.35);
}
.final-cta-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}
.final-cta-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.final-cta-trust i { color: var(--brand-green); font-size: 14px; }

/* --- FOOTER --- */
.lfooter {
    background: var(--brand-dark);
    padding: 64px 32px 0;
}
.lfooter-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.lfooter-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.lfooter-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}
.lfooter-logo span {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}
.lfooter-brand p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}
.lfooter-social {
    display: flex;
    gap: 12px;
}
.lfooter-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}
.lfooter-social a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.lfooter-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.lfooter-col a {
    display: block;
    font-size: 14px;
    color: #94a3b8;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.2s ease;
}
.lfooter-col a:hover { color: #fff; }
.lfooter-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: #64748b;
}

/* --- FADE-UP ANIMATION --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE — NEW LANDING
   ============================================ */
@media(max-width: 1024px) {
    .hero2-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero2-sub { margin-left: auto; margin-right: auto; }
    .hero2-ctas { justify-content: center; }
    .hero2-friction { justify-content: center; }
    .dash-mock { transform: none; }
    .dash-mock:hover { transform: none; }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .api-layout { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .lfooter-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 768px) {
    .lnav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        border-bottom: 1px solid var(--border-subtle);
    }
    .lnav-links.lnav-open { display: flex; }
    .lnav-mobile { display: block; }
    .hero2 { padding: 100px 20px 60px; min-height: auto; }
    .hero2-left h1 { font-size: 2rem; }
    .hero2-friction { gap: 16px; }
    .trust-bar-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .lsec { padding: 64px 20px; }
    .feat-grid { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { transform: rotate(90deg); padding-top: 0; }
    .dash-mock-sidebar { display: none; }
    .dash-mock-cards { grid-template-columns: repeat(2, 1fr); }
    .pricing-card { padding: 36px 24px; }
    .lfooter-grid { grid-template-columns: 1fr; gap: 32px; }
    .lfooter-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
