:root {
    --brand-primary: #2563eb;
    --brand-secondary: #1d4ed8;
    --brand-accent: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }
body { background: #f4f6fb; color: #1f2937; line-height: 1.6; }
a { color: var(--brand-primary); text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.logo { font-size: 1.25rem; font-weight: 700; color: var(--brand-primary); display: inline-flex; align-items: center; gap: 10px; }
.brand-logo-image, .admin-logo-image { width: 28px; height: 28px; object-fit: contain; display: inline-block; }
.brand-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-primary); color: #fff; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: #374151; font-weight: 500; }

/* Buttons */
.btn { display: inline-block; background: var(--brand-primary); color: #fff; padding: 11px 24px; border: none; border-radius: 8px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: .2s; }
.btn:hover { background: var(--brand-secondary); }
.btn-small { padding: 7px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 34px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 14px; }
.btn-outline { background: transparent; color: var(--brand-primary); border: 2px solid var(--brand-primary); }
.btn-outline:hover { background: var(--brand-primary); color: #fff; }
.btn-danger { background: #dc2626; }
.btn-whatsapp { background: #22c55e; }
.btn-whatsapp:hover { background: #16a34a; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); color: #fff; padding: 90px 20px; text-align: center; }
.hero h1 { font-size: 2.6rem; margin-bottom: 14px; }
.hero h1 span { color: var(--brand-accent); }
.hero p { max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; opacity: .95; }

/* Features & plans */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding: 50px 20px; }
.feature-card, .plan-card, .stat-card, .auth-card, .admin-form-card { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.section-title { text-align: center; margin: 20px 0 30px; font-size: 1.7rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; padding-bottom: 60px; }
.plan-card { text-align: center; }
.plan-card h3 { color: var(--brand-primary); }
.data-size { font-size: 2rem; font-weight: 800; margin: 10px 0 2px; }
.validity { color: #6b7280; font-size: .9rem; }
.price { font-size: 1.35rem; font-weight: 700; margin: 12px 0; }

/* Auth */
.auth-container { display: flex; justify-content: center; padding: 60px 20px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h2 { margin-bottom: 18px; }
.auth-card label { display: block; margin: 14px 0 5px; font-weight: 600; font-size: .9rem; }
.auth-card input, .plan-form input, select { width: 100%; padding: 11px; border: 1px solid #d1d5db; border-radius: 8px; font-size: .95rem; }
.auth-alt { text-align: center; margin-top: 16px; font-size: .9rem; }
.order-summary { text-align: center; background: #f4f6fb; border-radius: 10px; padding: 16px; margin-bottom: 6px; }

/* Flash */
.flash { padding: 12px 16px; border-radius: 8px; margin: 16px 0; font-weight: 500; }
.flash-success { background: #dcfce7; color: #166534; }
.flash-error { background: #fee2e2; color: #991b1b; }

/* Dashboard */
.dashboard { padding: 40px 20px 70px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin: 26px 0 40px; }
.stat-card { text-align: center; font-weight: 600; color: #6b7280; }
.stat-card span { display: block; font-size: 1.8rem; font-weight: 800; color: var(--brand-primary); }
.stat-link:hover { box-shadow: 0 6px 20px rgba(79,70,229,.25); }
.empty { text-align: center; color: #6b7280; padding: 30px; }
.wallet-card {
    background: linear-gradient(135deg, #fff, #eff6ff);
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    padding: 26px;
    margin: 0 0 38px;
}
.wallet-eyebrow { color: var(--brand-primary); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.wallet-card h3 { margin: 2px 0 6px; font-size: 1.4rem; }
.wallet-intro, .wallet-note { color: #6b7280; }
.bank-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin: 20px 0 14px;
}
.bank-details div { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; }
.bank-details dt { color: #6b7280; font-size: .78rem; font-weight: 700; }
.bank-details dd { color: #111827; font-weight: 700; overflow-wrap: anywhere; }
.wallet-note { font-size: .85rem; margin-top: 12px; }
.signal-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; margin: 0 0 26px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.signal-card h3 { margin: 2px 0 4px; }
.signal-level { color: var(--brand-primary); font-size: 1.15rem; font-weight: 800; }
.signal-bars { display: flex; align-items: end; gap: 5px; height: 42px; min-width: 100px; }
.signal-bar { width: 13px; height: calc(9px + var(--bar-index) * 6px); border-radius: 4px 4px 2px 2px; background: #d1d5db; }
.signal-bar-active { background: #16a34a; }
.signal-admin-form select { min-width: 112px; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; }
.proof-form { display: grid; gap: 6px; min-width: 175px; }
.proof-form input[type="file"] { max-width: 200px; font-size: .78rem; }
.proof-form .btn { justify-self: start; }
.proof-form small { color: #6b7280; }

/* Table */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.table th { background: var(--brand-primary); color: #fff; padding: 13px 14px; text-align: left; font-size: .88rem; }
.table td { padding: 13px 14px; border-top: 1px solid #eef0f4; font-size: .92rem; vertical-align: middle; }
.table small { color: #6b7280; }
.inline-form { display: flex; gap: 6px; align-items: center; }
.inline-form select { width: auto; padding: 6px; }

/* Badges */
.badge { padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 700; text-transform: capitalize; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-processing { background: #dbeafe; color: #1e40af; }
.badge-completed { background: #dcfce7; color: #166534; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-payment-not_submitted { background: #f3f4f6; color: #4b5563; }
.badge-payment-submitted { background: #fef3c7; color: #92400e; }
.badge-payment-approved { background: #dcfce7; color: #166534; }
.badge-payment-rejected { background: #fee2e2; color: #991b1b; }
.payment-review-form { display: grid; gap: 7px; min-width: 180px; margin-top: 10px; }
.payment-review-form input { width: 100%; padding: 7px 9px; border: 1px solid #d1d5db; border-radius: 7px; }
.payment-review-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-review-actions .btn { padding: 6px 9px; font-size: .76rem; }
.payment-review-note { display: block; max-width: 190px; color: #991b1b; overflow-wrap: anywhere; }
.receipt-link { margin: 5px 0; }
.customer-alerts, .saved-recipients-card { margin: 22px 0; }
.alerts-heading, .customer-notification, .saved-recipient-list > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.alerts-heading h3, .alerts-heading p { margin: 0 0 5px; }
.customer-notification-list, .saved-recipient-list { display: grid; gap: 10px; margin-top: 14px; }
.customer-notification { align-items: flex-start; padding: 12px; border: 1px solid #e5e7eb; border-radius: 9px; background: #fff; }
.customer-notification p { margin: 5px 0; }
.customer-notification small { color: #6b7280; }
.notification-unread { border-left: 4px solid var(--brand-primary); background: #f8fbff; }
.saved-recipient-list > div { padding: 9px 0; border-top: 1px solid #eef0f4; }
.checkbox-label { display: flex; align-items: center; gap: 8px; }
.checkbox-label input { width: auto; }
.table-scroll { width: 100%; overflow-x: auto; }
@media (max-width: 640px) {
    .alerts-heading, .customer-notification, .saved-recipient-list > div { align-items: flex-start; }
    .customer-notification { flex-direction: column; }
    .saved-recipients-card .inline-form { align-items: stretch; flex-direction: column; }
    .saved-recipients-card .inline-form input, .saved-recipients-card .inline-form button { width: 100%; }
}
.search-filters { flex-wrap: wrap; margin: 16px 0 22px; }
.search-filters input, .search-filters select { width: auto; min-width: 160px; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; }
.pagination { display: flex; gap: 12px; align-items: center; justify-content: flex-end; margin: 18px 0; }
.refund-form { display: grid; grid-template-columns: repeat(2, minmax(90px, 1fr)); gap: 5px; min-width: 220px; }
.refund-form input { min-width: 0; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 6px; }
.refund-form button { justify-self: start; }
.order-timeline { list-style: none; padding: 0; border-left: 2px solid #bfdbfe; margin: 20px; }
.order-timeline li { position: relative; margin: 0 0 18px 20px; padding: 12px 16px; background: #fff; border-radius: 9px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.order-timeline li:before { content: ""; position: absolute; left: -27px; top: 18px; width: 11px; height: 11px; border-radius: 50%; background: var(--brand-primary); }
.order-timeline small { display: block; color: #6b7280; }
.support-layout { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr); gap: 20px; align-items: start; }
.ticket-list { display: grid; gap: 8px; }
.ticket-link { display: grid; gap: 3px; padding: 12px; border: 1px solid #e5e7eb; border-radius: 9px; color: #1f2937; background: #fff; }
.ticket-link:hover, .ticket-link.selected { border-color: var(--brand-primary); background: #eff6ff; }
.ticket-link span { color: #6b7280; font-size: .82rem; }
.ticket-thread { display: grid; gap: 10px; max-height: 520px; overflow-y: auto; margin: 16px 0; }
.ticket-message { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; background: #fff; }
.ticket-message small { display: block; color: #6b7280; }
.ticket-message p { margin-top: 8px; overflow-wrap: anywhere; }
.settings-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 10px; font: inherit; resize: vertical; }
.stat-card { display: flex; flex-direction: column; justify-content: center; }

/* Admin */
.admin-body { background: #eef0f6; }
.admin-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 220px; background: linear-gradient(180deg, var(--brand-primary), var(--brand-secondary)); padding: 22px 0; }
.admin-logo { color: #fff; font-weight: 800; font-size: 1.2rem; padding: 0 22px 20px; display: flex; align-items: center; gap: 8px; }
.admin-sidebar a { display: block; color: #dbeafe; padding: 12px 22px; font-weight: 500; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { margin-left: 220px; padding: 34px; }
.admin-main h1 { margin-bottom: 8px; }
.admin-form-card { margin: 22px 0; }
.plan-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; margin-top: 12px; }

/* Footer */
.footer { background: #1f2937; color: #9ca3af; text-align: center; padding: 22px; margin-top: 40px; }

@media (max-width: 768px) {
    .admin-sidebar { position: static; width: 100%; display: flex; flex-wrap: wrap; }
    .admin-main { margin-left: 0; padding: 20px; }
    .nav-links { gap: 10px; font-size: .9rem; }
    .table { display: block; overflow-x: auto; }
    .support-layout { grid-template-columns: 1fr; }
    .signal-card { align-items: flex-start; }
}

/* Settings form */
.settings-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px 22px;
    max-width: 960px;
}
.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.settings-form label {
    display: block;
    font-weight: 700;
    font-size: .88rem;
    color: #374151;
}
.settings-form input {
    width: 100%;
    max-width: none;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.02);
}
.settings-form input[type="color"] {
    min-height: 52px;
    padding: 6px;
    cursor: pointer;
}
.settings-form input[type="file"] {
    padding: 9px 10px;
    background: #f9fafb;
}
.full-width { grid-column: 1 / -1; }
.settings-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.brand-preview { margin-top: 4px; }
.brand-preview-image {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}
.department-list { display: flex; flex-wrap: wrap; gap: 8px; }
.department-badge {
    display: inline-flex;
    align-items: center;
    background: #eff6ff;
    color: var(--brand-primary);
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .8rem;
    font-weight: 700;
}
.department-form { display: flex; gap: 8px; align-items: center; }
.department-form select {
    min-width: 150px;
    padding: 7px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

:root {
    --brand-primary: #2563eb;
    --brand-secondary: #1d4ed8;
    --brand-accent: #ffffff;
    --ink: #10233f;
    --muted: #64748b;
    --surface: #ffffff;
    --page: #f5f8fd;
    --line: #e5edf6;
    --shadow-card: 0 16px 40px rgba(15, 38, 73, .07), 0 2px 8px rgba(15, 38, 73, .035);
    --shadow-lift: 0 24px 50px rgba(15, 38, 73, .13), 0 8px 16px rgba(15, 38, 73, .06);
    --radius-card: 20px;
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { background: var(--page); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .55); outline-offset: 3px; }
::selection { background: #bfdbfe; color: #10233f; }

.navbar {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(226, 235, 246, .8);
    box-shadow: 0 4px 20px rgba(15, 38, 73, .035);
    backdrop-filter: blur(16px);
}
.nav-inner { min-height: 72px; }
.logo { color: var(--ink); letter-spacing: -.035em; }
.logo > span:last-child { color: var(--ink); }
.nav-links { gap: 24px; }
.nav-links a { transition: color .18s ease, background .18s ease, transform .18s ease; }
.nav-links a:hover { color: var(--brand-primary); }
.nav-links .btn { color: #fff; }
.nav-links .btn-outline { color: var(--brand-primary); }

.btn {
    border-radius: 12px;
    box-shadow: 0 7px 16px rgba(37, 99, 235, .2);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { background: var(--brand-secondary); box-shadow: 0 12px 22px rgba(37, 99, 235, .25); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-outline { box-shadow: none; }
.btn-outline:hover { color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-whatsapp { box-shadow: 0 7px 16px rgba(34, 197, 94, .18); }

.hero {
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding: clamp(76px, 9vw, 124px) 20px clamp(90px, 10vw, 136px);
    color: var(--ink);
    text-align: left;
    background:
        radial-gradient(ellipse at 77% 48%, rgba(191, 219, 254, .63), transparent 31%),
        radial-gradient(ellipse at 10% 5%, rgba(239, 246, 255, .95), transparent 38%),
        linear-gradient(135deg, #fff 0%, #f7faff 54%, #eaf3ff 100%);
}
.hero::before, .hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(37, 99, 235, .08);
    border-radius: 50%;
}
.hero::before { width: 540px; height: 540px; top: -310px; right: -110px; }
.hero::after { width: 380px; height: 380px; bottom: -270px; left: -110px; }
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: clamp(28px, 5vw, 78px);
    max-width: 1180px;
}
.hero-content { position: relative; z-index: 2; animation: rise-in .7s both; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #35618f;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}
.eyebrow-dot, .network-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}
.hero h1 {
    max-width: 650px;
    margin: 24px 0 18px;
    color: #10233f;
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: .99;
}
.hero h1 span {
    color: var(--brand-primary);
    background: linear-gradient(100deg, #1d4ed8, #3b82f6 74%, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { max-width: 500px; margin: 0; color: #52647d; font-size: 1.08rem; line-height: 1.8; opacity: 1; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.hero-actions .btn { display: inline-flex; align-items: center; gap: 16px; }
.hero-note { color: #667891; font-size: .86rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; padding-top: 19px; border-top: 1px solid #dce7f4; }
.hero-proof span { display: flex; align-items: center; gap: 10px; color: #667891; font-size: .78rem; }
.hero-proof strong { color: var(--brand-primary); font-size: .73rem; letter-spacing: .08em; }

.hero-art {
    position: relative;
    display: grid;
    min-height: 440px;
    place-items: center;
    perspective: 1000px;
    isolation: isolate;
}
.hero-glow {
    position: absolute;
    z-index: -1;
    width: min(80%, 330px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, .28), rgba(191, 219, 254, .15) 53%, transparent 72%);
    filter: blur(8px);
    animation: glow-breathe 5s ease-in-out infinite alternate;
}
.hero-orbit {
    position: absolute;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 50%;
    transform: rotateX(66deg) rotateZ(-20deg);
}
.hero-orbit-outer { width: 410px; height: 410px; }
.hero-orbit-inner { width: 305px; height: 305px; transform: rotateX(66deg) rotateZ(35deg); }
.data-cube {
    position: relative;
    width: 206px;
    height: 206px;
    transform-style: preserve-3d;
    transform: rotateX(-25deg) rotateY(-34deg);
    animation: cube-float 6s ease-in-out infinite;
}
.cube-face {
    position: absolute;
    display: grid;
    width: 206px;
    height: 206px;
    place-content: center;
    border: 1px solid rgba(59, 130, 246, .4);
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(191, 219, 254, .86));
    box-shadow: inset 0 0 44px rgba(59, 130, 246, .09), 0 15px 45px rgba(37, 99, 235, .11);
    backface-visibility: visible;
}
.cube-front { gap: 9px; transform: translateZ(103px); border-radius: 29px; background: linear-gradient(145deg, #fff, #dbeafe 88%); }
.cube-back { transform: rotateY(180deg) translateZ(103px); }
.cube-right { transform: rotateY(90deg) translateZ(103px); background: linear-gradient(135deg, #dbeafe, #f8fbff); }
.cube-left { transform: rotateY(-90deg) translateZ(103px); }
.cube-top { transform: rotateX(90deg) translateZ(103px); background: rgba(255, 255, 255, .65); }
.cube-bottom { transform: rotateX(-90deg) translateZ(103px); }
.cube-symbol { color: var(--brand-primary); font-size: 5rem; font-weight: 800; letter-spacing: -.11em; line-height: .9; text-align: center; text-shadow: 0 9px 24px rgba(37, 99, 235, .18); }
.cube-caption { color: #52729a; font-size: .62rem; font-weight: 800; letter-spacing: .2em; text-align: center; }
.signal-pill, .network-pill {
    position: absolute;
    display: flex;
    align-items: center;
    border: 1px solid rgba(219, 230, 244, .9);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 16px 38px rgba(28, 57, 92, .11);
    backdrop-filter: blur(12px);
    animation: pill-float 5s ease-in-out infinite;
}
.signal-pill { top: 72px; right: -5px; gap: 12px; padding: 13px 16px; border-radius: 15px; }
.signal-pill-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: #fff; background: var(--brand-primary); font-size: 1.25rem; }
.signal-pill strong, .signal-pill small { display: block; }
.signal-pill strong { color: var(--ink); font-size: .77rem; }
.signal-pill small { margin-top: 2px; color: var(--muted); font-size: .67rem; }
.network-pill { bottom: 70px; left: 0; gap: 10px; padding: 12px 16px; border-radius: 999px; color: #46617f; font-size: .74rem; font-weight: 700; animation-delay: -2.1s; }

.features { position: relative; z-index: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1180px; padding: 0 20px; margin-top: -32px; }
.feature-card {
    position: relative;
    min-height: 192px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(229, 237, 246, .9);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.feature-card:hover { transform: translateY(-7px); border-color: #bfdbfe; box-shadow: var(--shadow-lift); }
.feature-number { color: #8ba0b8; font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
.feature-icon { position: absolute; top: 22px; right: 24px; color: var(--brand-primary); font-size: 1.2rem; transition: transform .25s ease; }
.feature-card:hover .feature-icon { transform: translate(3px, -3px); }
.feature-card h3 { margin-top: 25px; color: var(--ink); font-size: 1.12rem; letter-spacing: -.025em; }
.feature-card p { max-width: 280px; margin-top: 7px; color: var(--muted); font-size: .88rem; line-height: 1.7; }

.plans-section { max-width: 1180px; padding-top: 112px; padding-bottom: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-eyebrow { margin-bottom: 12px; }
.section-title { margin: 0; color: var(--ink); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.15; text-align: left; }
.section-description { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.section-index { padding-bottom: 6px; color: #7890ab; font-size: .68rem; font-weight: 800; letter-spacing: .14em; white-space: nowrap; }
.section-index span { padding: 0 7px; color: #a9bfd9; }
.plan-grid { grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 18px; padding-bottom: 0; }
.plan-card {
    position: relative;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    text-align: left;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.plan-card::before { position: absolute; top: 0; right: 22px; left: 22px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #93c5fd, var(--brand-primary)); content: ""; opacity: .65; transform: scaleX(.3); transform-origin: left; transition: transform .28s ease, opacity .28s ease; }
.plan-card:hover { transform: translateY(-8px) rotateX(1deg); border-color: #bfdbfe; box-shadow: var(--shadow-lift); }
.plan-card:hover::before { opacity: 1; transform: scaleX(1); }
.plan-card-top { display: flex; justify-content: space-between; align-items: center; }
.plan-network { color: #4d6685; font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.plan-arrow { color: #92a9c3; font-size: 1.2rem; }
.plan-card h3 { color: var(--brand-primary); }
.data-size { margin: 25px 0 0; color: var(--ink); font-size: 3.1rem; font-weight: 800; letter-spacing: -.075em; line-height: 1; }
.validity { margin-top: 8px; color: var(--muted); font-size: .83rem; }
.plan-divider { height: 1px; margin: 23px 0 16px; background: var(--line); }
.plan-price-label { color: #8aa0b8; font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.plan-card .price { margin: 5px 0 16px; color: var(--ink); font-size: 1.55rem; letter-spacing: -.04em; }
.plan-card .btn-block { display: flex; align-items: center; justify-content: space-between; margin-top: 0; }

.feature-card, .plan-card, .stat-card, .auth-card, .admin-form-card { border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.auth-container { min-height: 62vh; align-items: center; }
.auth-card { border: 1px solid var(--line); }
.auth-card h1, .auth-card h2 { color: var(--ink); letter-spacing: -.035em; }
.auth-card input, .settings-form input, .settings-form textarea, .settings-form select, .auth-card select, .search-filters input, .search-filters select, .refund-form input {
    min-height: 46px;
    border: 1px solid #d9e3ef;
    border-radius: 10px;
    color: #263a55;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.auth-card input:focus, .settings-form input:focus, .settings-form textarea:focus, .settings-form select:focus, .auth-card select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .11);
    outline: none;
}
.dashboard { max-width: 1180px; min-height: 60vh; padding-top: 46px; }
.dashboard > h1, .admin-main h1 { color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -.055em; }
.dashboard > h2, .admin-main h2 { color: var(--ink); letter-spacing: -.035em; }
.stat-card { min-height: 132px; border: 1px solid var(--line); }
.stat-card span { color: var(--brand-primary); }
.wallet-card, .signal-card { border-color: #e0eaf6; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.wallet-card { background: linear-gradient(145deg, #fff, #eff6ff); }
.table { border-radius: 16px; box-shadow: var(--shadow-card); }
.table th { padding: 15px 16px; background: #eff6ff; color: #365575; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.table td { padding: 14px 16px; border-color: #edf2f8; color: #42556d; }
.table tbody tr { transition: background .16s ease; }
.table tbody tr:hover { background: #f8fbff; }
.admin-form-card { border: 1px solid var(--line); }
.flash { border: 1px solid transparent; border-radius: 12px; }
.flash-success { border-color: #bbf7d0; }
.flash-error { border-color: #fecaca; }

.admin-body { min-height: 100vh; background: #f5f8fd; }
.admin-sidebar {
    z-index: 30;
    width: 248px;
    padding: 24px 12px;
    overflow-y: auto;
    background: linear-gradient(180deg, #102846, #153a65 65%, #17477d);
    box-shadow: 8px 0 26px rgba(12, 34, 61, .08);
}
.admin-logo { min-height: 52px; padding: 0 12px 22px; color: #fff; font-size: 1rem; letter-spacing: -.015em; }
.admin-sidebar a { margin: 3px 0; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; color: #c4d5e9; font-size: .87rem; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.admin-sidebar a:hover, .admin-sidebar a.active { border-color: rgba(191, 219, 254, .12); background: rgba(255, 255, 255, .1); color: #fff; }
.admin-main { min-height: 100vh; margin-left: 248px; padding: clamp(24px, 4vw, 48px); }
.admin-main > p { max-width: 900px; color: var(--muted); }
.admin-main .section-title { margin: 30px 0 18px; }
.admin-main .stats-grid { margin-top: 22px; }
.admin-main .table { margin-top: 18px; }
.footer { margin-top: 60px; border-top: 1px solid rgba(226, 235, 246, .8); background: #10233f; color: #c1cede; }
.footer p { font-size: .86rem; }
.footer-page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 14px; }
.footer-page-links a { color: #e2ecf8; font-size: .88rem; text-decoration: none; }
.footer-page-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 10px; }
.footer-contact a, .footer-contact span { color: #e2ecf8; font-size: .86rem; }
.hero-banner-image { position: absolute; inset: 12% 8% auto auto; width: min(42%, 280px); max-height: 42%; object-fit: cover; border-radius: 18px; opacity: .88; z-index: 1; }
.plan-card-image { width: 100%; height: 140px; margin-bottom: 14px; object-fit: cover; border-radius: 12px; }
.content-page { max-width: 900px; min-height: 52vh; padding-top: clamp(36px, 7vw, 76px); padding-bottom: clamp(40px, 8vw, 90px); }
.content-page article { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); }
.content-page h1 { margin: 12px 0 28px; color: var(--ink); font-size: clamp(2rem, 5vw, 3rem); }
.content-page-body { color: var(--muted); font-size: 1.04rem; line-height: 1.9; overflow-wrap: anywhere; }
.content-page-body h2 { margin: 28px 0 10px; color: var(--ink); font-size: 1.25rem; }
.content-page-body ul, .content-page-body ol { margin: 0 0 16px 1.2em; }
.content-page-body li { margin: 4px 0; }
.grok-bot-prompt { margin: 12px 0 20px; padding: 14px 16px; border-radius: 12px; background: #f1f5f9; color: #1e293b; font-size: .88rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.content-page-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.content-page-actions form { margin: 0; }

@keyframes cube-float {
    0%, 100% { transform: translateY(0) rotateX(-25deg) rotateY(-34deg); }
    50% { transform: translateY(-12px) rotateX(-22deg) rotateY(-24deg); }
}
@keyframes pill-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes glow-breathe {
    from { opacity: .65; transform: scale(.92); }
    to { opacity: 1; transform: scale(1.08); }
}
@keyframes rise-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 24px; }
    .hero h1 { font-size: clamp(3rem, 5.5vw, 3.25rem); }
    .hero-art { min-height: 380px; transform: scale(.88); }
    .hero-orbit-outer { width: 360px; height: 360px; }
    .features { gap: 12px; }
    .feature-card { padding: 22px; }
    .admin-sidebar { width: 220px; }
    .admin-main { margin-left: 220px; }
}
.sales-assistant { position: fixed; right: 22px; bottom: 22px; z-index: 120; }
.cookie-consent-banner ~ .sales-assistant { bottom: 120px; }
.cookie-consent-banner ~ .sales-assistant .sales-assistant-panel { height: min(520px, calc(100dvh - 150px)); }
.sales-assistant-launcher { display: inline-flex; align-items: center; gap: 9px; padding: 13px 19px; border: 0; border-radius: 999px; background: var(--brand-primary); color: #fff; box-shadow: 0 10px 30px rgba(15, 35, 65, .24); font-size: .95rem; font-weight: 700; cursor: pointer; }
.sales-assistant-launcher span { font-size: 1.2rem; }
.sales-assistant-panel { display: flex; flex-direction: column; width: min(390px, calc(100vw - 28px)); height: min(590px, calc(100dvh - 100px)); overflow: hidden; border: 1px solid #dbe4f0; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgba(15, 35, 65, .25); }
.sales-assistant-panel[hidden], .sales-assistant-lead[hidden] { display: none; }
.sales-assistant-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; background: var(--brand-primary); color: #fff; }
.sales-assistant-header div { display: grid; }
.sales-assistant-header small { opacity: .85; font-size: .75rem; }
.sales-assistant-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 1.55rem; line-height: 1; cursor: pointer; }
.sales-assistant-messages { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 9px; overflow-y: auto; padding: 15px; }
.sales-assistant-bubble { max-width: 92%; margin: 0; padding: 10px 12px; border-radius: 13px; background: #f1f5f9; color: #1f2937; font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.sales-assistant-visitor { align-self: flex-end; background: #e8f0ff; }
.sales-assistant-reply { background: #f1f5f9; }
.sales-assistant-privacy { margin: 0; color: #64748b; font-size: .72rem; line-height: 1.4; }
.sales-assistant-choices { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 13px 11px; }
.sales-assistant-choices button, .sales-assistant-action { padding: 7px 10px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: var(--brand-primary); font-size: .79rem; font-weight: 600; cursor: pointer; }
.sales-assistant-action { display: inline-block; text-decoration: none; }
.sales-assistant-plan { display: grid; gap: 3px; width: 100%; padding: 11px; border: 1px solid #dbe4f0; border-radius: 12px; background: #fff; font-size: .82rem; }
.sales-assistant-plan span { color: #526174; }
.sales-assistant-plan a { margin-top: 4px; font-weight: 700; }
.sales-assistant-form { display: flex; gap: 8px; padding: 10px 13px; border-top: 1px solid #e2e8f0; }
.sales-assistant-form input { min-width: 0; flex: 1; padding: 10px 11px; border: 1px solid #cbd5e1; border-radius: 9px; font: inherit; }
.sales-assistant-form .btn { flex: 0 0 auto; }
.sales-assistant-lead-toggle { align-self: flex-start; margin: 0 13px 9px; padding: 0; border: 0; background: none; color: var(--brand-primary); font-size: .82rem; font-weight: 700; cursor: pointer; }
.sales-assistant-lead { display: grid; gap: 8px; padding: 0 13px 11px; }
.sales-assistant-lead > label:not(.sales-assistant-consent) { display: grid; gap: 3px; color: #526174; font-size: .78rem; }
.sales-assistant-lead input:not([type=checkbox]) { width: 100%; padding: 8px 9px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
.sales-assistant-consent { display: flex; align-items: flex-start; gap: 7px; color: #526174; font-size: .75rem; }
.sales-assistant-consent input { margin-top: 4px; }
.sales-assistant-status { min-height: 0; margin: 0; padding: 0 13px 9px; color: #526174; font-size: .78rem; }
.sales-assistant-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sales-admin-transcript { display: grid; gap: 10px; margin: 14px 0 24px; }
.sales-admin-message { padding: 13px 15px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fbfdff; }
.sales-admin-message small { margin-left: 9px; color: #64748b; }
.sales-admin-message p { margin-top: 7px; overflow-wrap: anywhere; }

@media (max-width: 680px) {
    .sales-assistant { right: 12px; bottom: 12px; }
    .cookie-consent-banner ~ .sales-assistant { bottom: 145px; }
    .sales-assistant-panel { height: min(600px, calc(100dvh - 84px)); }
    .cookie-consent-banner ~ .sales-assistant .sales-assistant-panel { height: min(500px, calc(100dvh - 175px)); }
}

@media (max-width: 680px) {
    html { scroll-padding-top: 20px; }
    .nav-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px 20px; }
    .navbar { position: relative; }
    .nav-links { width: 100%; gap: 8px 16px; flex-wrap: wrap; font-size: .83rem; }
    .nav-links .btn { padding: 6px 10px; }
    .hero { padding: 66px 18px 78px; text-align: center; }
    .hero-layout { grid-template-columns: 1fr; gap: 5px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero h1 { margin: 20px 0 14px; font-size: clamp(3rem, 13vw, 4.25rem); }
    .hero p { max-width: 440px; font-size: .98rem; }
    .hero-actions { justify-content: center; margin-top: 23px; }
    .hero-proof { justify-content: center; gap: 14px 22px; margin-top: 28px; }
    .hero-art { min-height: 310px; margin-top: 3px; transform: scale(.78); }
    .hero-orbit-outer { width: 360px; height: 360px; }
    .signal-pill { top: 34px; right: 0; }
    .network-pill { bottom: 32px; left: 0; }
    .features { grid-template-columns: 1fr; gap: 12px; margin-top: -22px; }
    .feature-card { min-height: 0; padding: 22px; }
    .feature-card h3 { margin-top: 18px; }
    .plans-section { padding-top: 76px; padding-bottom: 66px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 24px; }
    .section-title { font-size: 2rem; }
    .section-index { padding-bottom: 0; }
    .plan-grid { grid-template-columns: 1fr; gap: 13px; }
    .plan-card { padding: 22px; }
    .dashboard { padding: 30px 16px 52px; }
    .dashboard .admin-form-card { padding: 20px; }
    .admin-sidebar {
        position: sticky;
        top: 0;
        bottom: auto;
        display: flex;
        width: 100%;
        height: auto;
        padding: 8px 10px;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 4px;
        white-space: nowrap;
    }
    .admin-logo { position: sticky; left: 0; z-index: 1; min-height: 0; flex: 0 0 auto; padding: 10px; background: #102846; }
    .admin-sidebar a { display: block; flex: 0 0 auto; margin: 0; padding: 9px 11px; font-size: .8rem; }
    .admin-main { min-height: 75vh; margin-left: 0; padding: 24px 16px; }
    .admin-main .admin-form-card { padding: 20px; }
    .table { border-radius: 12px; }
    .table th, .table td { padding: 11px 12px; }
    .settings-form { grid-template-columns: 1fr; gap: 15px; }
    .full-width { grid-column: auto; }
    .settings-actions { grid-column: auto; }
    .search-filters input, .search-filters select { min-width: 120px; }
    .footer { margin-top: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.dashboard-intro, .admin-dashboard-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(26px, 4vw, 42px);
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 94% 6%, rgba(191, 219, 254, .56), transparent 38%),
        linear-gradient(120deg, #fff, #f1f7ff);
    box-shadow: var(--shadow-card);
}
.dashboard-intro h1, .admin-dashboard-intro h1 {
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(1.85rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.12;
    overflow-wrap: anywhere;
}
.dashboard-intro p, .admin-dashboard-intro p { margin-top: 10px; color: var(--muted); font-size: .96rem; }
.dashboard-primary-action, .admin-dashboard-intro > .btn { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.dashboard .stats-grid { margin: 18px 0 30px; }
.dashboard .stat-card {
    min-height: 128px;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(150deg, #fff, #fbfdff);
    text-align: left;
}
.dashboard .stat-card > span { font-size: 1.85rem; letter-spacing: -.055em; }
.dashboard .stat-card > small, .admin-dashboard-stats .stat-card > small {
    color: #8296ae;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.dashboard a.stat-card { color: var(--brand-primary); }
.dashboard .stat-card strong { color: var(--ink); font-size: .89rem; }
.dashboard .stat-card:hover { border-color: #bfdbfe; box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.dashboard .customer-alerts, .dashboard .saved-recipients-card, .dashboard .wallet-card {
    margin: 18px 0;
    padding: 25px;
}
.dashboard .section-title { margin: 46px 0 19px; font-size: 1.65rem; }
.dashboard .table-scroll { border-radius: 15px; }
.dashboard .table { min-width: 850px; }
.dashboard .empty { border: 1px dashed #cbdcf0; border-radius: 15px; background: rgba(255, 255, 255, .64); }

.admin-topbar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: -4px 0 32px;
    padding: 0 0 16px;
    border-bottom: 1px solid #e1eaf4;
}
.admin-topbar > div:first-child { display: flex; align-items: center; gap: 14px; }
.admin-topbar-kicker { color: #8ba0b8; font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.admin-topbar-title { padding-left: 14px; border-left: 1px solid #dce6f1; color: #45617f; font-size: .85rem; font-weight: 700; }
.admin-topbar-actions { display: flex; align-items: center; gap: 18px; }
.admin-topbar-actions > a { color: #536a84; font-size: .8rem; font-weight: 700; }
.admin-topbar-actions .admin-topbar-site { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #d9e6f5; border-radius: 10px; background: #fff; color: var(--brand-primary); transition: border-color .18s ease, background .18s ease; }
.admin-topbar-actions .admin-topbar-site:hover { border-color: #bfdbfe; background: #eff6ff; }
.admin-main > .flash { margin: -12px 0 22px; }
.admin-dashboard-intro { margin-bottom: 18px; padding: 30px 34px; }
.admin-dashboard-intro h1 { font-size: clamp(1.8rem, 3vw, 2.45rem); }
.admin-dashboard-intro p { max-width: 620px; }
.admin-main .admin-dashboard-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 17px 0 32px; }
.admin-dashboard-stats .stat-card {
    min-width: 0;
    min-height: 122px;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #f9fbff);
    text-align: left;
}
.admin-dashboard-stats .stat-card > span { display: block; max-width: 100%; overflow-wrap: anywhere; font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -.055em; }
.admin-dashboard-section {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-card);
}
.admin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.admin-section-heading .section-index { display: block; padding: 0; }
.admin-section-heading h2 { margin-top: 7px; font-size: 1.45rem; }
.admin-dashboard-section .table { box-shadow: none; }
.admin-dashboard-section .table th { background: #f3f7fc; }
.admin-dashboard-section .table-scroll { border: 1px solid #edf2f8; border-radius: 13px; }
.admin-assistant { display: grid; gap: 12px; max-width: 760px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.admin-assistant-messages { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-height: 280px; max-height: 480px; overflow-y: auto; }
.admin-assistant-form { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-assistant-form input { min-width: 0; flex: 1 1 240px; padding: 10px 11px; border: 1px solid #cbd5e1; border-radius: 9px; font: inherit; }

@media (max-width: 900px) {
    .admin-main .admin-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .dashboard-intro, .admin-dashboard-intro { align-items: flex-start; flex-direction: column; gap: 18px; padding: 24px 20px; border-radius: 18px; }
    .dashboard-intro h1, .admin-dashboard-intro h1 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
    .dashboard-intro p, .admin-dashboard-intro p { font-size: .88rem; }
    .dashboard-primary-action, .admin-dashboard-intro > .btn { width: 100%; justify-content: center; }
    .dashboard .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 13px 0 23px; }
    .dashboard .stat-card { min-height: 106px; padding: 16px; }
    .dashboard .stat-card > span { font-size: 1.45rem; }
    .dashboard .customer-alerts, .dashboard .saved-recipients-card, .dashboard .wallet-card { padding: 19px; }
    .dashboard .section-title { margin-top: 35px; }
    .admin-topbar { min-height: 0; align-items: flex-start; margin: 0 0 22px; padding-bottom: 13px; }
    .admin-topbar > div:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }
    .admin-topbar-title { padding: 0; border: 0; font-size: .75rem; }
    .admin-topbar-actions { gap: 8px; }
    .admin-topbar-actions > a:first-child { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .admin-topbar-actions .admin-topbar-site { padding: 8px 9px; font-size: .72rem; }
    .admin-main .admin-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
    .admin-dashboard-stats .stat-card { min-height: 104px; padding: 15px; }
    .admin-dashboard-stats .stat-card > span { font-size: 1.4rem; }
    .admin-dashboard-section { padding: 17px; border-radius: 16px; }
    .admin-section-heading { align-items: flex-start; }
    .admin-section-heading h2 { font-size: 1.2rem; }
}

.dashboard .stat-card, .admin-dashboard-stats .stat-card {
    transform: perspective(1100px) translateZ(0);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.dashboard-intro, .admin-dashboard-intro {
    animation: dashboard-arrive .52s cubic-bezier(.2, .75, .25, 1) both;
}
.dashboard .stat-card, .admin-dashboard-stats .stat-card { animation: dashboard-card-arrive .52s ease both; }
.dashboard .stat-card:nth-child(2), .admin-dashboard-stats .stat-card:nth-child(2) { animation-delay: 70ms; }
.dashboard .stat-card:nth-child(3), .admin-dashboard-stats .stat-card:nth-child(3) { animation-delay: 140ms; }
.admin-dashboard-stats .stat-card:nth-child(4) { animation-delay: 210ms; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .dashboard .stat-card:hover, .admin-dashboard-stats .stat-card:hover {
        transform: perspective(1100px) translateY(-5px) rotateX(2deg) rotateY(-1deg);
        box-shadow: 0 18px 34px rgba(31, 80, 133, .13);
    }
}
@keyframes dashboard-arrive {
    from { opacity: 0; transform: translateY(12px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dashboard-card-arrive {
    from { opacity: 0; }
    to { opacity: 1; }
}

.admin-main { color: #334a63; }
.admin-main > h1 {
    margin: 0 0 17px;
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.2;
}
.admin-main > h2 { margin: 34px 0 15px; color: var(--ink); font-size: 1.45rem; }
.admin-main > p { margin: 0 0 17px; color: var(--muted); }
.admin-main .admin-form-card {
    margin: 18px 0 25px;
    padding: clamp(19px, 3vw, 27px);
    border: 1px solid #e2eaf4;
    background: linear-gradient(155deg, #fff, #fcfdff);
}
.admin-main .admin-form-card h2, .admin-main .admin-form-card h3 { margin: 0 0 17px; color: var(--ink); letter-spacing: -.035em; }
.admin-main .settings-form { max-width: none; gap: 17px 20px; }
.admin-main .settings-form label, .admin-main .field-group label { color: #4b6179; }
.admin-main .settings-form small, .admin-main .field-group small { color: #7b8fa6; line-height: 1.5; }
.admin-main .search-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin: 0 0 17px;
    padding: 14px;
    border: 1px solid #e2eaf4;
    border-radius: 14px;
    background: #fff;
}
.admin-main .search-filters label { display: grid; gap: 5px; color: #536a84; font-size: .8rem; font-weight: 700; }
.admin-main .search-filters input, .admin-main .search-filters select, .admin-main .inline-form select,
.admin-main .refund-form input, .admin-main .payment-review-form input {
    min-height: 42px;
    border: 1px solid #d9e3ef;
    border-radius: 9px;
    background: #fff;
    color: #263a55;
}
.admin-main .search-filters input { width: auto; min-width: min(230px, 100%); padding: 9px 11px; }
.admin-main .search-filters input[type="date"] { min-width: 150px; }
.admin-main .search-filters input:focus, .admin-main .search-filters select:focus,
.admin-main .inline-form select:focus, .admin-main .refund-form input:focus, .admin-main .payment-review-form input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .11);
    outline: none;
}
.admin-main .inline-form { flex-wrap: wrap; }
.admin-main .table {
    border: 1px solid #e6edf5;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(24, 55, 90, .055);
}
.admin-main .table th { background: #eaf2fc; color: #365575; font-size: .7rem; letter-spacing: .07em; }
.admin-main .table td { color: #40566e; }
.admin-main .table td small { color: #7589a0; }
.admin-main .table tbody tr:hover { background: #f5f9ff; }
.admin-main .admin-dashboard-section .table { box-shadow: none; }
.admin-main .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: #637991;
    font-size: .86rem;
}
.admin-main .pagination .btn { margin: 0; }
.admin-main .flash { box-shadow: 0 6px 18px rgba(24, 55, 90, .055); }
.admin-main .table .btn { white-space: nowrap; }
.admin-main .refund-form { display: grid; min-width: 190px; gap: 6px; }
.admin-main .refund-form input { width: 100%; padding: 8px 10px; }
.admin-main .payment-review-form { padding: 10px; border: 1px solid #e7edf5; border-radius: 11px; background: #f9fbfe; }
.admin-main .payment-review-form input { min-height: 38px; }
.admin-main .settings-actions { flex-wrap: wrap; }

.copy-value-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border: 1px solid #d8e5f4;
    border-radius: 8px;
    background: #f8fbff;
    color: #315a86;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.copy-value-button:hover, .copy-value-button:focus-visible { border-color: #93c5fd; background: #eff6ff; outline: none; }
.bank-details .copy-value-button { margin: 4px 0 0 5px; font-size: .7rem; vertical-align: middle; }
.app-notice {
    position: fixed;
    z-index: 200;
    right: 20px;
    bottom: 20px;
    max-width: min(420px, calc(100vw - 40px));
    padding: 13px 17px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
    box-shadow: 0 14px 38px rgba(20, 49, 84, .2);
    color: #1e3a5f;
    font-size: .88rem;
    font-weight: 700;
}
.app-notice[hidden] { display: none; }
.app-notice-error { border-color: #fecaca; background: #fff1f2; color: #991b1b; }
.receipt-preview-dialog {
    width: min(960px, calc(100vw - 32px));
    max-width: none;
    height: min(820px, calc(100dvh - 32px));
    max-height: none;
    margin: auto;
    padding: 18px;
    border: 1px solid #dce6f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(12, 34, 61, .3);
}
.receipt-preview-dialog::backdrop { background: rgba(13, 31, 52, .62); backdrop-filter: blur(3px); }
.receipt-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.receipt-preview-header h2 { color: var(--ink); font-size: 1.2rem; }
.receipt-preview-frame { display: block; width: 100%; height: calc(100% - 90px); border: 1px solid #e5edf5; border-radius: 10px; background: #f8fafc; }
.receipt-preview-open { display: inline-block; margin-top: 9px; font-size: .82rem; font-weight: 700; }

.payfast-settings-form { padding-top: 8px; }
.payfast-live-confirm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #526981;
    font-size: .86rem;
    font-weight: 600;
}
.payfast-live-confirm input { width: auto; min-height: auto; margin-top: 4px; accent-color: var(--brand-primary); }
.payfast-setup-note { margin: 0; color: #71859b; font-size: .82rem; line-height: 1.6; }
.account-code-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 26px;
    padding: 22px 26px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(120deg, #eff6ff, #fff);
    box-shadow: var(--shadow-card);
}
.account-code-card h3 { margin: 2px 0 5px; }
.account-code-card p:not(.wallet-eyebrow) { margin: 0; color: var(--muted); }
.account-code-card > strong {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #fff;
    color: var(--brand-primary);
    font-size: 1.35rem;
    letter-spacing: .12em;
}
.payment-page { max-width: 900px; }
.payment-order-total { color: var(--brand-primary); font-size: 1.8rem; white-space: nowrap; }
.payment-choice-card { margin-bottom: 20px; }
.payment-choice-card > div:first-child .btn { margin-top: 8px; }
.account-code-callout {
    display: grid;
    gap: 4px;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
}
.account-code-callout > span { color: #526981; font-size: .82rem; font-weight: 700; }
.account-code-callout > strong { color: var(--brand-primary); font-size: 1.4rem; letter-spacing: .12em; }
.account-code-callout > small, .payment-proof-submit > small { color: #64748b; line-height: 1.5; }
.payment-proof-submit { display: grid; gap: 9px; max-width: 640px; }
.payment-proof-submit > label { margin-top: 8px; font-weight: 700; }
.payment-proof-submit input[type="file"] { padding: 10px; }
.payment-reference-summary { margin: 0 0 20px; color: var(--muted); }
.rica-page { max-width: 940px; }
.rica-page .wallet-card h2 { margin: 0 0 8px; }
.rica-address-form, .rica-upload-form { display: grid; gap: 10px; max-width: 680px; }
.rica-address-form textarea, .rica-upload-form input[type="file"], .rica-upload-form select,
.auth-card textarea {
    width: 100%;
    border: 1px solid #d5e0ed;
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
    color: var(--ink);
    font: inherit;
}
.rica-address-form > label, .rica-upload-form > label { margin-top: 8px; font-weight: 700; }
.rica-document-status-grid { display: grid; gap: 10px; margin: 18px 0; }
.rica-document-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e2eaf3; border-radius: 10px; background: #fff; }
.rica-document-status > small { flex: 1 0 100%; color: var(--muted); }
.rica-privacy-note { color: #526981; font-size: .84rem; line-height: 1.6; }
.rica-dashboard-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 26px;
    padding: 22px 26px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(120deg, #eff6ff, #fff);
    box-shadow: var(--shadow-card);
}
.rica-dashboard-card h3 { margin: 2px 0 5px; }
.rica-dashboard-card p:not(.wallet-eyebrow) { margin: 0; color: var(--muted); }
.rica-dashboard-card .btn { flex: 0 0 auto; }
.rica-admin-customer { margin-bottom: 20px; }
.rica-admin-customer-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rica-admin-customer-heading h2 { margin: 0 0 4px; }
.rica-admin-customer-heading p { margin: 0; color: var(--muted); }
.rica-review-form { display: grid; gap: 7px; min-width: 190px; }
.cookie-consent-banner {
    position: fixed;
    z-index: 1200;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: min(560px, calc(100vw - 40px));
    padding: 17px 19px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16, 40, 70, .2);
}
.cookie-consent-banner strong { color: var(--ink); }
.cookie-consent-banner p { margin: 4px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.cookie-consent-banner .btn { flex: 0 0 auto; }

.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin: 20px 0 25px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.catalog-filters label, .catalog-form > label:not(.checkbox-label), .coverage-form label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: .86rem;
    font-weight: 700;
}
.catalog-filters select { min-width: 170px; }
.catalog-form input, .catalog-form select, .catalog-form textarea,
.coverage-form input, .coverage-form select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d1dbe8;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.catalog-form { align-items: start; }
.catalog-form .checkbox-label { align-self: center; min-height: 42px; }
.admin-main .catalog-form .checkbox-label input { width: auto; min-height: 0; }
.catalog-description { grid-column: 1 / -1; }
.catalog-description textarea { resize: vertical; }
.catalog-description-text { min-height: 42px; margin: 8px 0; color: var(--muted); font-size: .9rem; }
.package-details { display: grid; gap: 6px; margin: 13px 0; padding-left: 19px; text-align: left; color: var(--muted); font-size: .84rem; }
.plan-card h3 { margin-top: 12px; }
.table-wrap { width: 100%; overflow-x: auto; }
.coverage-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 54px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: linear-gradient(130deg, #eff6ff, #fff);
}
.coverage-callout h2 { margin: 5px 0 8px; color: var(--ink); }
.coverage-callout p { margin: 0; color: var(--muted); }
.coverage-page { max-width: 920px; padding-top: 44px; padding-bottom: 52px; }
.coverage-form-card { max-width: 680px; margin: 22px auto; }
.coverage-form { display: grid; gap: 9px; }
.coverage-form label { margin-top: 6px; }
.coverage-or { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.coverage-result { margin: 20px auto; padding: 23px; border: 1px solid #dbeafe; border-radius: 14px; background: #f8fbff; }
.coverage-result h2 { margin: 0 0 8px; color: var(--ink); }
.coverage-result p { color: var(--muted); }
.coverage-result-match { border-color: #bbf7d0; background: #f0fdf4; }
.coverage-city-list { max-width: 680px; }
.coverage-city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.coverage-city-chips a { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border: 1px solid #dbeafe; border-radius: 999px; background: #fff; color: var(--ink); font-size: .88rem; }
.coverage-city-chips a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.coverage-city-chips small { color: var(--muted); font-size: .72rem; }
.order-line-list { display: grid; gap: 9px; margin: 12px 0; padding: 0; list-style: none; text-align: left; }
.order-line-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--ink); font-size: .9rem; }
.order-line-list .addon-line { padding-top: 8px; border-top: 1px solid var(--line); }
.order-line-list .addon-line label { display: flex; align-items: center; gap: 8px; }
.order-line-list input[type="checkbox"] { width: auto; }
.order-addons-heading { margin: 14px 0 0; color: var(--muted); font-size: .86rem; }

@media (max-width: 680px) {
    .admin-main .admin-form-card { padding: 19px; }
    .account-code-card { align-items: flex-start; flex-direction: column; padding: 19px; }
    .payment-page .dashboard-intro { align-items: flex-start; flex-direction: column; gap: 14px; }
    .payment-order-total { font-size: 1.3rem; }
    .rica-dashboard-card, .rica-admin-customer-heading { align-items: flex-start; flex-direction: column; }
    .rica-dashboard-card { padding: 19px; }
    .cookie-consent-banner { right: 12px; bottom: 12px; align-items: flex-start; flex-direction: column; gap: 12px; width: calc(100vw - 24px); }
    .admin-main .search-filters { align-items: stretch; flex-direction: column; }
    .admin-main .search-filters > * { width: 100%; }
    .admin-main .search-filters input, .admin-main .search-filters select { width: 100%; min-width: 0; }
    .admin-main .search-filters .btn { text-align: center; }
    .app-notice { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }
    .receipt-preview-dialog { width: calc(100vw - 20px); height: calc(100dvh - 20px); padding: 12px; border-radius: 14px; }
    .receipt-preview-header h2 { font-size: 1rem; }
    .coverage-callout { align-items: flex-start; flex-direction: column; }
    .catalog-filters { align-items: stretch; flex-direction: column; }
    .catalog-filters label, .catalog-filters select, .catalog-filters .btn { width: 100%; }
}

@media (min-width: 681px) and (max-width: 768px) {
    .admin-sidebar {
        position: sticky;
        top: 0;
        display: flex;
        width: 100%;
        height: auto;
        padding: 8px 10px;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 4px;
        white-space: nowrap;
    }
    .admin-logo { position: sticky; left: 0; z-index: 1; min-height: 0; flex: 0 0 auto; padding: 10px; background: #102846; }
    .admin-sidebar a { display: block; flex: 0 0 auto; margin: 0; padding: 9px 11px; font-size: .8rem; }
    .admin-main { min-height: 75vh; margin-left: 0; padding: 24px; }
}

.tracking-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 0 0 20px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #dbeafe;
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 95% 5%, rgba(191, 219, 254, .58), transparent 36%),
        linear-gradient(120deg, #fff, #f1f7ff);
    box-shadow: var(--shadow-card);
    animation: dashboard-arrive .52s cubic-bezier(.2, .75, .25, 1) both;
}
.tracking-intro h1 { margin-top: 13px; color: var(--ink); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.12; }
.tracking-intro h1 span { color: var(--brand-primary); }
.tracking-intro p { margin-top: 8px; color: var(--muted); }
.tracking-intro > .btn { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tracking-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 0 0 22px; }
.tracking-status-card {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    padding: 19px 21px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(150deg, #fff, #fbfdff);
    box-shadow: var(--shadow-card);
}
.tracking-status-label { color: #8296ae; font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.tracking-status-card > strong { color: var(--ink); font-size: .95rem; text-transform: capitalize; }
.tracking-status-card > small { color: var(--muted); overflow-wrap: anywhere; }
.tracking-notice { margin: 0 0 18px; padding: 13px 16px; border: 1px solid #dbeafe; border-radius: 12px; background: #eff6ff; color: #315a86; font-size: .88rem; }
.tracking-timeline-panel { padding: clamp(19px, 3vw, 28px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.tracking-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.tracking-section-heading .section-index { padding: 0; }
.tracking-section-heading h2 { margin-top: 7px; color: var(--ink); font-size: 1.5rem; letter-spacing: -.04em; }
.tracking-event-count { color: #8296ae; font-size: .77rem; font-weight: 700; }
.order-timeline { position: relative; display: grid; gap: 11px; margin: 0; padding: 0 0 0 25px; border: 0; list-style: none; }
.order-timeline::before { position: absolute; top: 7px; bottom: 9px; left: 6px; width: 2px; background: linear-gradient(#60a5fa, #dbeafe); content: ""; }
.order-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 16px;
    margin: 0;
    padding: 15px 17px;
    border: 1px solid #e8eef6;
    border-radius: 13px;
    background: #fbfdff;
    box-shadow: none;
}
.order-timeline li::before { top: 18px; left: -26px; width: 10px; height: 10px; border: 3px solid #fff; background: var(--brand-primary); box-shadow: 0 0 0 2px #bfdbfe; }
.order-timeline li > strong { color: #234464; font-size: .91rem; text-transform: capitalize; }
.order-timeline li > small { color: #7b8fa6; font-size: .75rem; }
.order-timeline li > p { grid-column: 1 / -1; color: #62768e; font-size: .85rem; overflow-wrap: anywhere; }
.tracking-empty { margin: 0; padding: 24px 12px; }
@media (max-width: 680px) {
    .tracking-intro { align-items: flex-start; flex-direction: column; padding: 23px 19px; border-radius: 18px; }
    .tracking-intro > .btn { width: 100%; justify-content: center; }
    .tracking-status-grid { grid-template-columns: 1fr; gap: 9px; }
    .tracking-status-card { min-height: 90px; padding: 15px 17px; }
    .tracking-section-heading { align-items: flex-start; }
    .tracking-section-heading h2 { font-size: 1.28rem; }
    .order-timeline li { grid-template-columns: 1fr; gap: 4px; }
    .order-timeline li > p { grid-column: auto; margin-top: 4px; }
}
