@import url("//cdn.web-fonts.ge/fonts/alkdots/css/alkdots.min.css");

/* Root theming */
:root {
    --color-primary: #4f46e5;
    --color-primary-dark: #4338ca;
    --color-secondary: #6366f1;
    --color-success: #16a34a;
    --color-danger: #dc2626;
    --color-warning: #f97316;
    --color-background: #f6f7fb;
    --color-card: #ffffff;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-border: rgba(99, 102, 241, 0.3);
    --color-elevated: rgba(255, 255, 255, 0.9);
    --shadow-lg: 0 20px 60px rgba(79, 70, 229, 0.15);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --border-radius-lg: 18px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --font-body: 'BPG Glaho', 'Segoe UI', system-ui, sans-serif;
    --font-title: 'BPG LE Studio 04 Caps', sans-serif;
    --font-caps: 'BPG Arial Caps', sans-serif;
    --font-bold: 'BPG Glaho Bold', sans-serif;
}

html[data-theme="dark"] {
    --color-primary: #818cf8;
    --color-primary-dark: #6366f1;
    --color-secondary: #6366f1;
    --color-success: #22c55e;
    --color-danger: #f87171;
    --color-warning: #fb923c;
    --color-background: #0f172a;
    --color-card: #111b2f;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-border: rgba(148, 163, 184, 0.35);
    --color-elevated: rgba(15, 23, 42, 0.88);
    --shadow-lg: 0 20px 40px rgba(2, 6, 23, 0.5);
    --shadow-md: 0 10px 30px rgba(2, 6, 23, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-background), rgba(30, 64, 175, 0.08));
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 10px;
    z-index: 2000;
}

.toast {
    width: min(420px, calc(100vw - 36px));
    padding: 12px 14px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    color: var(--color-text);
    display: grid;
    gap: 6px;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

html[data-theme="dark"] .toast {
    background: rgba(17, 27, 47, 0.98);
    border-color: rgba(148, 163, 184, 0.25);
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast__title {
    font-weight: 800;
    font-size: 0.92rem;
}

.toast__message {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.toast--success {
    border-left: 4px solid var(--color-success);
}

.toast--error {
    border-left: 4px solid var(--color-danger);
}

.toast--info {
    border-left: 4px solid var(--color-primary);
}

.headline {
    font-family: "BPG Arial Caps", sans-serif;
}

h1, h2, h3,
.landing-hero__title,
.landing-section__header h2,
.form-title,
.card-title,
.dashboard-grid h3 {
    font-family: var(--font-title);
}

.btn,
.status-badge,
.topup-card__label,
.landing-hero__badge,
.hero-report__badge,
.hero-card__status {
    font-family: var(--font-bold);
}

.navbar-brand,
.hero-report__note {
    font-family: var(--font-caps);
    letter-spacing: 0.05em;
}

.list-text,
.detail-value,
.table-card td,
.table-card th {
    font-family: 'BPG Glaho', 'Segoe UI', system-ui, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

header {
    background: var(--color-card);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid transparent;
    background-image: linear-gradient(var(--color-card), var(--color-card)), 
                      linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7, #8b5cf6, #6366f1);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Spacer for fixed header */
body {
    padding-top: 80px;
}

.container {
    width: min(1600px, 96vw);
    margin: 0 auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 24px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-primary);
}

/* Center Navigation */
.navbar-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-center__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    font-family: "BPG Arial Caps", sans-serif;
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
    background: transparent;
}

.navbar-center__link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.navbar-center__link i {
    font-size: 1rem;
    color: var(--color-primary);
}

/* Dropdown Menu */
.navbar-dropdown {
    position: relative;
}

.navbar-dropdown__trigger {
    cursor: pointer;
}

.navbar-dropdown__arrow {
    font-size: 0.7rem !important;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.navbar-dropdown:hover .navbar-dropdown__arrow,
.navbar-dropdown.open .navbar-dropdown__arrow {
    transform: rotate(180deg);
}

.navbar-dropdown__menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: var(--color-card);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    border: 1px solid var(--color-border);
}

.navbar-dropdown:hover .navbar-dropdown__menu,
.navbar-dropdown.open .navbar-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navbar-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.navbar-dropdown__item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.navbar-dropdown__item i {
    font-size: 1rem;
    color: var(--color-primary);
    width: 20px;
    text-align: center;
}

/* Nested Submenu */
.navbar-submenu {
    position: relative;
}

.navbar-submenu__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.navbar-submenu__arrow {
    font-size: 0.65rem !important;
    margin-left: auto;
    padding-left: 12px;
    transition: transform 0.2s ease;
    color: var(--color-text-muted);
}

.navbar-submenu:hover .navbar-submenu__arrow {
    transform: translateX(3px);
    color: var(--color-primary);
}

.navbar-submenu__menu {
    position: absolute;
    left: calc(100% + 4px);
    top: -8px;
    min-width: 220px;
    background: var(--color-card);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
    border: 1px solid var(--color-border);
    transform: translateX(10px);
    pointer-events: none;
}

.navbar-submenu:hover .navbar-submenu__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.navbar-submenu__menu .navbar-dropdown__item {
    font-size: 0.85rem;
    padding: 10px 14px;
}

.navbar-submenu__menu .navbar-dropdown__item i {
    font-size: 0.9rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link-button {
    text-decoration: none;
    font-size: 0.92rem;
    padding: 8px 16px;
    border-radius: 999px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.92rem;
}

.nav-link {
    color: var(--color-text-muted);
    transition: color 0.2s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link--active {
    color: var(--color-primary);
}

.page-content {
    padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 60px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn i {
    margin-inline-end: 8px;
    font-size: 0.95em;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.02rem;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(226, 232, 255, 0.92));
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-auth-login {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
}

.btn-auth-login:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(29, 78, 216, 1));
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.42);
}

.btn-auth-register {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.95));
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(22, 163, 74, 0.32);
}

.btn-auth-register:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 1), rgba(21, 128, 61, 1));
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(21, 128, 61, 0.4);
}

.btn-outline {
    border: 1px solid rgba(99, 102, 241, 0.35);
    background: transparent;
    color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.28);
}

.cards {
    margin-top: 50px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.form-card,
.table-card,
.status-page {
    background: var(--color-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 28px;
    color: var(--color-text);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.form-card {
    width: min(440px, 92vw);
    margin: 90px auto 120px;
    padding: 36px;
    background: var(--color-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 26px;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.form-input {
    padding: 12px 14px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-card);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-footer {
    margin-top: 18px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.form-footer a {
    color: var(--color-primary);
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    gap: 24px;
}

.dashboard-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.balance-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(14, 165, 233, 0.85));
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.balance-amount {
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 10px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.status-success {
    background: rgba(22, 163, 74, 0.16);
    color: var(--color-success);
}

.status-fail {
    background: rgba(220, 38, 38, 0.16);
    color: var(--color-danger);
}

.status-pending {
    background: rgba(249, 115, 22, 0.16);
    color: var(--color-warning);
}

.table-card {
    background: var(--color-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(99, 102, 241, 0.1);
}

th,
td {
    padding: 14px 18px;
    text-align: left;
    font-size: 0.95rem;
}

tbody tr:not(:last-child) {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

tbody tr:hover {
    background: rgba(99, 102, 241, 0.06);
}

.status-page {
    max-width: 620px;
    margin: 80px auto;
    padding: 40px;
    background: var(--color-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.status-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 24px;
}

.status-icon.success {
    background: rgba(22, 163, 74, 0.15);
    color: var(--color-success);
}

.status-icon.fail {
    background: rgba(220, 38, 38, 0.15);
    color: var(--color-danger);
}

.status-details {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.detail-label {
    color: var(--color-text-muted);
}

.detail-value {
    font-family: 'Fira Mono', 'Courier New', monospace;
    font-weight: 600;
    color: var(--color-text);
}

.actions {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.actions .btn-primary {
    background: var(--color-primary);
    color: white;
}

.actions .btn-primary:hover {
    background: var(--color-primary-dark);
}

.muted-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-weight: 500;
}

footer {
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.55);
}

[data-theme="dark"] footer,
body[data-theme="dark"] footer {
    color: rgba(226, 232, 240, 0.6);
}

/* ------------------------------------------------------------------ */
/* Theme toggle redesign */
/* ------------------------------------------------------------------ */

.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-card);
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.theme-toggle__track {
    position: relative;
    width: 56px;
    height: 28px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    padding: 4px;
    transition: background 0.3s ease;
}

.theme-toggle__thumb {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease, background 0.2s ease;
}

.theme-toggle__thumb .theme-icon {
    position: absolute;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.theme-toggle__thumb .icon-sun {
    opacity: 1;
}

.theme-toggle__label {
    display: none;
}

.theme-toggle.is-dark .theme-toggle__track {
    background: rgba(15, 23, 42, 0.5);
}

.theme-toggle.is-dark .theme-toggle__thumb {
    transform: translateX(28px);
    color: var(--color-warning);
    box-shadow: 0 6px 18px rgba(14, 116, 144, 0.35);
}

.theme-toggle.is-dark .theme-toggle__thumb .icon-sun {
    opacity: 0;
}

.theme-toggle.is-dark .theme-toggle__thumb .icon-moon {
    opacity: 1;
}

[data-theme="dark"] .theme-toggle {
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(17, 24, 39, 0.75);
    color: rgba(226, 232, 240, 0.85);
}

[data-theme="dark"] .theme-toggle__track {
    background: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .theme-toggle__thumb {
    background: rgba(30, 41, 59, 0.9);
}

[data-theme="dark"] .theme-toggle__label {
    color: rgba(226, 232, 240, 0.65);
}

/* Hamburger Toggle Button */
.hamburger-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-toggle__bar {
    width: 24px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-toggle.active .hamburger-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-toggle.active .hamburger-toggle__bar:nth-child(2) {
    opacity: 0;
}

.hamburger-toggle.active .hamburger-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* ------------------------------------------------------------------ */
/* Mobile Header User Info & Theme Toggle */
/* ------------------------------------------------------------------ */

.mobile-header-right {
    display: none;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 12px;
}

.mobile-user-info__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    overflow: hidden;
}

.mobile-user-info__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-user-info__details {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mobile-user-info__email {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-user-info__balance {
    font-size: 0.7rem;
    color: var(--color-success);
    font-weight: 600;
}

.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

/* Mobile notifications button */
.mobile-notif-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
    color: var(--color-primary);
}

.mobile-notif-btn:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
}

.mobile-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border: 2px solid var(--color-card);
    line-height: 1;
}

.mobile-theme-toggle:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
}

.mobile-theme-toggle .fa-sun {
    color: #f59e0b;
    font-size: 0.95rem;
}

.mobile-theme-toggle .fa-moon {
    color: #6366f1;
    font-size: 0.95rem;
    display: none;
}

[data-theme="dark"] .mobile-theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .mobile-theme-toggle .fa-moon {
    display: block;
}

.mobile-header-right--guest {
    margin-right: 8px;
}

/* Mobile User Dropdown */
.mobile-user-dropdown {
    position: relative;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 6px 10px 6px 6px;
    background: var(--color-background);
    border-radius: 999px;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

.mobile-user-info__arrow {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.mobile-user-dropdown.open .mobile-user-info__arrow {
    transform: rotate(180deg);
}

.mobile-user-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1100;
}

.mobile-user-dropdown.open .mobile-user-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-user-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.mobile-user-dropdown__item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.mobile-user-dropdown__item i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.mobile-user-dropdown__item:hover i {
    color: var(--color-primary);
}

.mobile-user-dropdown__item--admin {
    color: var(--color-primary);
}

.mobile-user-dropdown__item--admin i {
    color: var(--color-primary);
}

.mobile-user-dropdown__item--logout {
    color: var(--color-danger);
}

.mobile-user-dropdown__item--logout i {
    color: var(--color-danger);
}

.mobile-user-dropdown__item--logout:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--color-danger);
}

.mobile-user-dropdown__divider {
    height: 1px;
    background: var(--color-border);
    margin: 6px 0;
}

/* ------------------------------------------------------------------ */
/* Landing page sections */
/* ------------------------------------------------------------------ */

.landing-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: clamp(80px, 12vw, 140px) clamp(32px, 6vw, 100px);
    margin: calc(-1 * clamp(40px, 6vw, 80px)) calc(50% - 50vw) 0;
    width: 100vw;
    min-height: 100vh;
    border-radius: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f1f5f9 100%);
    color: var(--color-text);
    overflow: hidden;
    position: relative;
}

/* Dark theme hero */
html[data-theme="dark"] .landing-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
}

@media (max-width: 1024px) {
    .landing-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding: 80px 24px;
    }
    .landing-hero__content {
        align-items: center;
    }
}

/* Background Effects */
.landing-hero__bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.landing-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

html[data-theme="dark"] .landing-hero__orb {
    opacity: 0.6;
}

.landing-hero__orb--1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    top: -150px;
    left: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.landing-hero__orb--2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    bottom: -100px;
    right: -50px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.landing-hero__orb--3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #22c55e, #10b981);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 30px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -30px) scale(1.15); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.landing-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

/* BOG Badge */
.landing-hero__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.3s ease;
}

html[data-theme="dark"] .landing-hero__badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 1024px) {
    .landing-hero__badge {
        align-self: center;
    }
}

.landing-hero__badge:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

html[data-theme="dark"] .landing-hero__badge:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.landing-hero__badge-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

/* Title */
.landing-hero__title {
    font-family: "BPG Arial Caps", sans-serif;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

html[data-theme="dark"] .landing-hero__title {
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Tagline */
.landing-hero__tagline {
    font-family: "BPG Arial Caps", sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: -8px 0 8px;
    min-height: 1.2em;
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cursorBlink 0.7s infinite;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Subtitle */
.landing-hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #64748b;
    max-width: 520px;
}

html[data-theme="dark"] .landing-hero__subtitle {
    color: rgba(226, 232, 240, 0.8);
}

@media (max-width: 1024px) {
    .landing-hero__subtitle {
        max-width: 100%;
    }
}

/* Action Buttons */
.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

@media (max-width: 1024px) {
    .landing-hero__actions {
        justify-content: center;
    }
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.btn-hero-primary i {
    font-size: 1.1rem;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Features Pills */
.landing-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .landing-hero__features {
        justify-content: center;
    }
}

.landing-hero__feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: var(--color-text);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    transition: all 0.3s ease;
}

html[data-theme="dark"] .landing-hero__feature {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-hero__feature:hover {
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
}

html[data-theme="dark"] .landing-hero__feature:hover {
    background: rgba(255, 255, 255, 0.1);
}

.landing-hero__feature i {
    font-size: 1rem;
}

/* Database feature - cyan/blue */
.landing-hero__feature--database {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}
html[data-theme="dark"] .landing-hero__feature--database {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}
.landing-hero__feature--database:hover {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}
html[data-theme="dark"] .landing-hero__feature--database:hover {
    background: rgba(59, 130, 246, 0.25);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}
.landing-hero__feature--database i {
    color: #3b82f6;
}
html[data-theme="dark"] .landing-hero__feature--database i {
    color: #60a5fa;
}

/* Email feature - purple */
.landing-hero__feature--email {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
}
html[data-theme="dark"] .landing-hero__feature--email {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}
.landing-hero__feature--email:hover {
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}
html[data-theme="dark"] .landing-hero__feature--email:hover {
    background: rgba(139, 92, 246, 0.25);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}
.landing-hero__feature--email i {
    color: #8b5cf6;
}
html[data-theme="dark"] .landing-hero__feature--email i {
    color: #a78bfa;
}

/* SMS feature - green */
.landing-hero__feature--sms {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
}
html[data-theme="dark"] .landing-hero__feature--sms {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}
.landing-hero__feature--sms:hover {
    background: rgba(34, 197, 94, 0.2);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}
html[data-theme="dark"] .landing-hero__feature--sms:hover {
    background: rgba(34, 197, 94, 0.25);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
}
.landing-hero__feature--sms i {
    color: #16a34a;
}
html[data-theme="dark"] .landing-hero__feature--sms i {
    color: #4ade80;
}

/* Visual Section */
.landing-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    perspective: 1000px;
    will-change: transform, opacity;
    transition: transform 0.15s ease-out, opacity 0.1s ease-out;
}

.decision-board {
    display: grid;
    gap: 20px;
    width: min(520px, 100%);
}

.decision-board__title {
    font-family: "BPG Arial Caps", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.9);
}

.decision-board__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hero-card--compact {
    width: 100%;
}

.hero-card__title {
    font-family: "BPG Arial Caps", sans-serif;
    letter-spacing: 0.04em;
}

.landing-hero__visual::before,
.landing-hero__visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
}

html[data-theme="dark"] .landing-hero__visual::before,
html[data-theme="dark"] .landing-hero__visual::after {
    opacity: 0.4;
}

.landing-hero__visual::before {
    width: 220px;
    height: 220px;
    background: rgba(34, 197, 94, 0.5);
    inset: auto auto 0 -60px;
}

.landing-hero__visual::after {
    width: 180px;
    height: 180px;
    background: rgba(59, 130, 246, 0.4);
    inset: -20px -40px auto auto;
}

.hero-card {
    width: min(360px, 100%);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    padding: 28px;
    color: var(--color-text);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(24px);
    display: grid;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

html[data-theme="dark"] .hero-card {
    background: rgba(8, 47, 73, 0.58);
    color: rgba(240, 253, 255, 0.95);
    box-shadow: 0 30px 80px rgba(2, 12, 27, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-card:hover {
    transform: translateY(-4px) rotate(-0.3deg);
    box-shadow: 0 40px 90px rgba(99, 102, 241, 0.18);
}

html[data-theme="dark"] .hero-card:hover {
    box-shadow: 0 40px 90px rgba(2, 12, 27, 0.55);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    pointer-events: none;
}

html[data-theme="dark"] .hero-card::after {
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.hero-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
}

.hero-card__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
    font-weight: 600;
}

.hero-card__balance {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 800;
}

.hero-card__meta {
    display: grid;
    gap: 10px;
}

.hero-card__label {
    display: block;
    font-size: 0.83rem;
    color: rgba(226, 232, 240, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-card__value {
    font-weight: 600;
}

.hero-card__value--success {
    color: #bef264;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-card__cta {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.9), rgba(245, 158, 11, 0.9));
    color: #1f2937;
}

.landing-section {
    margin-top: clamp(48px, 6vw, 80px);
    padding: clamp(32px, 6vw, 64px);
    border-radius: 32px;
    box-shadow: var(--shadow-md);
    background: var(--color-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.landing-cta {
    min-height: 95vh;
}

.landing-section + .landing-section {
    margin-top: clamp(48px, 6vw, 80px);
}

.landing-section--light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(238, 242, 255, 0.95));
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.landing-plans--full {
    margin: calc(-1 * clamp(40px, 6vw, 80px)) calc(50% - 50vw) 0;
    width: 100vw;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 255, 0.9));
}

.landing-plans--full::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(79, 70, 229, 0.12), transparent 55%),
        radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.12), transparent 50%),
        linear-gradient(120deg, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.8;
}

.landing-plans--full .landing-section__header,
.landing-plans--full .plans-grid {
    position: relative;
    z-index: 1;
}

.landing-section--dark {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 58, 138, 0.9));
    color: rgba(226, 232, 240, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.landing-section__header {
    text-align: center;
    display: grid;
    gap: 18px;
    max-width: 720px;
    margin: 0 auto;
}

.landing-section__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.4rem;
}

.landing-section--dark .landing-section__icon {
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
}

.landing-section__header h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 700;
}

.landing-section__header p {
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

.landing-section--dark .landing-section__header p {
    color: rgba(226, 232, 240, 0.75);
}

/* Quick Links */
.quick-links {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.quick-link-card__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--border-radius-md);
    color: #fff;
    font-size: 1.3rem;
}

.quick-link-card__content {
    flex: 1;
}

.quick-link-card__content h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.quick-link-card__content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.quick-link-card > i:last-child {
    color: var(--color-primary);
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.quick-link-card:hover > i:last-child {
    opacity: 1;
    transform: translateX(4px);
}

.topup-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.topup-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 28px;
    display: grid;
    gap: 16px;
    box-shadow: 0 18px 40px rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.08);
    position: relative;
}

.topup-card__label {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(99, 102, 241, 0.8));
    color: white;
    letter-spacing: 0.04em;
}

.topup-card__amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.topup-card__caption {
    color: var(--color-text-muted);
}

.topup-card--primary {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(99, 102, 241, 0.82));
    color: white;
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.topup-card--primary .topup-card__amount,
.topup-card--primary .topup-card__caption {
    color: rgba(255, 255, 255, 0.92);
}

.topup-card--dashed {
    border: 2px dashed rgba(99, 102, 241, 0.35);
    background: rgba(255, 255, 255, 0.6);
    text-align: center;
    color: var(--color-primary);
}

.plans-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.landing-metrics .metrics-grid,
.landing-how .steps-timeline,
.landing-features .feature-grid,
.landing-testimonials .testimonials-grid {
    display: grid;
    gap: 22px;
}

.metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.12);
    display: grid;
    gap: 12px;
}

.metric-card__value {
    font-size: 2.3rem;
    font-weight: 800;
    color: #000000;
}

.metric-card__label {
    font-size: 1.05rem;
    color: var(--color-text);
    font-weight: 600;
}

.metric-card__detail {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.steps-timeline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 14px;
}

.step-card__index {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
    padding: 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
    display: grid;
    gap: 12px;
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(79, 70, 229, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-card {
    padding: 30px;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.9);
    color: rgba(241, 245, 249, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.4);
    display: grid;
    gap: 18px;
}

.testimonial-card__text {
    font-size: 1.02rem;
    line-height: 1.8;
}

.testimonial-card__author {
    display: grid;
    gap: 4px;
    font-weight: 600;
}

.landing-plans .plans-grid {
    gap: 32px;
}

.plan-card--stacked {
    position: relative;
    margin-top: -24px;
    transform: translateY(18px);
    z-index: 2;
    box-shadow: 0 32px 70px rgba(79, 70, 229, 0.22);
}

@media (max-width: 960px) {
    .plan-card--stacked {
        margin-top: 0;
        transform: translateY(0);
    }
}


.plan-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 28px;
    display: grid;
    gap: 18px;
    border: 1px solid rgba(79, 70, 229, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}


.plan-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(79, 70, 229, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.plan-card__title {
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-card__price {
    font-size: 1.6rem;
    font-weight: 700;
}


.plan-card__list {
    gap: 10px;
    color: var(--color-text-muted);
}

.plan-card__list li i {
    color: #34d399;
}

.plan-card__list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}


.plan-card--accent {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(99, 102, 241, 0.18));
    box-shadow: 0 26px 60px rgba(79, 70, 229, 0.18);
    border: 1px solid rgba(79, 70, 229, 0.25);
    color: var(--color-text);
}


.plan-card--special {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(79, 70, 229, 0.22);
    box-shadow: 0 30px 80px rgba(79, 70, 229, 0.15);
}

.plan-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-card__spark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(253, 224, 71, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fde047;
}

.plan-card__custom {
    display: grid;
    gap: 16px;
}

.plan-card__field {
    display: grid;
    gap: 6px;
}


.plan-card__field label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.plan-card__balance {
    font-size: 1.4rem;
    font-weight: 700;
}

.landing-cta .cta-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    padding: clamp(28px, 5vw, 44px);
    border-radius: 30px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(224, 231, 255, 0.95));
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
    min-height: 80vh;
    align-items: center;
}

.landing-cta .cta-list {
    display: grid;
    gap: 12px;
    font-weight: 600;
    color: var(--color-text);
}

.landing-cta .cta-list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.landing-cta .cta-list i {
    color: var(--color-success);
}

.landing-hero__actions .btn-outline {
    background: transparent;
    border-color: rgba(31, 41, 55, 0.4);
    color: var(--color-text);
}

.landing-hero__actions .btn-outline:hover {
    background: rgba(31, 41, 55, 0.08);
}

.cta-card .btn-primary {
    background: var(--color-primary);
    color: white;
}

.cta-card .btn-primary:hover {
    background: var(--color-primary-dark);
}

.cta-card .btn-outline {
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--color-primary);
}

.cta-card .btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
}

@keyframes networkFloat {
    0% {
        background-position: 0 0, 30px 40px, 0 0, 0 0;
    }
    50% {
        background-position: 40px 60px, 10px 20px, -20px 10px, 20px -10px;
    }
    100% {
        background-position: 80px 120px, 60px 70px, -40px 20px, 40px -20px;
    }
}

@keyframes heroGlow {
    0%,
    100% {
        opacity: 0.5;
        transform: translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px);
    }
}

[data-theme="dark"] body,
body[data-theme="dark"] {
    background: linear-gradient(135deg, rgba(15, 23, 42, 1), rgba(14, 116, 144, 0.25));
}

[data-theme="dark"] .landing-hero {
    background: radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.22), transparent 55%),
                radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.2), transparent 50%),
                linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(12, 74, 110, 0.85));
}

[data-theme="dark"] .landing-hero__badge,
[data-theme="dark"] .landing-hero__points li {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(148, 163, 184, 0.15);
}

[data-theme="dark"] .landing-section--light {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(30, 58, 138, 0.75));
    border-color: rgba(99, 102, 241, 0.18);
    color: rgba(226, 232, 240, 0.88);
}

[data-theme="dark"] .landing-section__header p {
    color: rgba(203, 213, 225, 0.8);
}

[data-theme="dark"] .topup-card {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(99, 102, 241, 0.2);
    color: rgba(226, 232, 240, 0.88);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.45);
}

[data-theme="dark"] .topup-card__caption {
    color: rgba(148, 163, 184, 0.85);
}

[data-theme="dark"] .topup-card--dashed {
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.7);
}

[data-theme="dark"] .metric-card {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 26px 60px rgba(2, 6, 23, 0.45);
}

[data-theme="dark"] .metric-card__value {
    color: rgba(226, 232, 240, 0.95);
}

[data-theme="dark"] .metric-card__label {
    color: rgba(226, 232, 240, 0.92);
}

[data-theme="dark"] .metric-card__detail {
    color: rgba(148, 163, 184, 0.9);
}

[data-theme="dark"] .btn-outline {
    border-color: rgba(148, 163, 184, 0.4);
    color: rgba(191, 219, 254, 0.95);
}

[data-theme="dark"] .btn-outline:hover {
    background: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .plan-card {
    background: rgba(8, 47, 73, 0.45);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 28px 70px rgba(8, 47, 73, 0.35);
}

[data-theme="dark"] .plan-card__list {
    color: rgba(226, 232, 240, 0.75);
}

[data-theme="dark"] .plan-card--accent {
    border-color: rgba(99, 102, 241, 0.35);
}

[data-theme="dark"] .plan-card--special {
    border-color: rgba(148, 163, 184, 0.35);
}

[data-theme="dark"] footer,
body[data-theme="dark"] footer {
    color: rgba(226, 232, 240, 0.6);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hamburger-toggle {
        display: flex;
        order: 3;
    }

    .mobile-header-right {
        display: flex;
        order: 2;
    }

    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 12px 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
        order: 1;
    }

    .navbar-center {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 4;
        background: var(--color-card);
        border-radius: var(--border-radius-md);
        padding: 16px;
        box-shadow: var(--shadow-md);
        margin-top: 10px;
        border: 1px solid var(--color-border);
    }

    .navbar-center.mobile-open {
        display: flex;
    }

    .navbar-center__link {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
        border-radius: var(--border-radius-sm);
    }

    .navbar-center__link:hover {
        background: rgba(99, 102, 241, 0.1);
    }

    .navbar-dropdown {
        width: 100%;
    }

    .navbar-dropdown__menu {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
        margin-top: 4px;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .navbar-dropdown.open .navbar-dropdown__menu {
        display: block;
        transform: none;
    }

    /* Hide navbar-actions on mobile - moved to hamburger menu */
    .navbar-actions {
        display: none;
        order: 5;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding-top: 16px;
        margin-top: 12px;
        border-top: 1px solid var(--color-border);
    }

    .navbar-center.mobile-open + .navbar-actions,
    .navbar-actions.mobile-open {
        display: flex;
    }
    
    /* Hide desktop theme toggle and user-dropdown in mobile menu */
    .navbar-actions .theme-toggle,
    .navbar-actions .user-dropdown {
        display: none !important;
    }

    .navbar-nav {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .nav-link-button {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .theme-toggle {
        width: 100%;
        justify-content: center;
    }

    body {
        padding-top: 70px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-center__link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .nav-link-button {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* ------------------------------------------------------------------ */
/* Mobile Filter Sidebar */
/* ------------------------------------------------------------------ */

.mobile-filter-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-caps);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
    transition: all 0.3s ease;
    align-items: center;
    gap: 10px;
}

.mobile-filter-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.45);
}

.mobile-filter-toggle i {
    font-size: 1rem;
}

.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-overlay.active {
    display: block;
    opacity: 1;
}

.filters-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filters-card__header h2 {
    margin-bottom: 0;
}

.filters-card__close {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--color-border);
    color: var(--color-text);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.filters-card__close:hover {
    background: var(--color-danger);
    color: #fff;
}

@media (max-width: 1024px) {
    .mobile-filter-toggle {
        display: flex;
    }

    .filters-card__close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .filters-card {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 90vw;
        height: 100vh;
        z-index: 1002;
        border-radius: 0;
        overflow-y: auto;
        transition: right 0.3s ease;
        padding-top: 20px;
    }

    .filters-card.mobile-open {
        right: 0;
    }
}

[data-theme="dark"] .landing-hero__badge,
[data-theme="dark"] .landing-hero__points li {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(148, 163, 184, 0.15);
}

[data-theme="dark"] .landing-section--light {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(30, 58, 138, 0.75));
    border-color: rgba(99, 102, 241, 0.18);
    color: rgba(226, 232, 240, 0.88);
}

[data-theme="dark"] .landing-section__header p {
    color: rgba(203, 213, 225, 0.8);
}

[data-theme="dark"] .topup-card {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(99, 102, 241, 0.2);
    color: rgba(226, 232, 240, 0.88);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.45);
}

[data-theme="dark"] .topup-card__caption {
    color: rgba(148, 163, 184, 0.85);
}

[data-theme="dark"] .topup-card--dashed {
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.7);
}

[data-theme="dark"] .metric-card {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 26px 60px rgba(2, 6, 23, 0.45);
}

[data-theme="dark"] .metric-card__value {
    color: rgba(226, 232, 240, 0.95);
}

[data-theme="dark"] .metric-card__label {
    color: rgba(226, 232, 240, 0.92);
}

[data-theme="dark"] .metric-card__detail {
    color: rgba(148, 163, 184, 0.9);
}

[data-theme="dark"] .btn-outline {
    border-color: rgba(148, 163, 184, 0.4);
    color: rgba(191, 219, 254, 0.95);
}

[data-theme="dark"] .btn-outline:hover {
    background: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .plan-card {
    background: rgba(8, 47, 73, 0.45);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 28px 70px rgba(8, 47, 73, 0.35);
}

[data-theme="dark"] .plan-card__list {
    color: rgba(226, 232, 240, 0.75);
}

[data-theme="dark"] .plan-card--accent {
    border-color: rgba(99, 102, 241, 0.35);
}

[data-theme="dark"] .plan-card--special {
    border-color: rgba(148, 163, 184, 0.35);
}

[data-theme="dark"] footer,
body[data-theme="dark"] footer {
    color: rgba(226, 232, 240, 0.6);
}

/* Additional Responsive - Landing Pages */
@media (max-width: 768px) {
    .landing-hero {
        padding: 32px;
    }

    .landing-hero__visual::before,
    .landing-hero__visual::after {
        display: none;
    }

    .landing-section {
        padding: 32px 24px;
    }

    .landing-connect {
        grid-template-columns: 1fr;
    }

    .step-card,
    .feature-card,
    .metric-card,
    .testimonial-card,
    .plan-card,
    .cta-card {
        padding: 24px;
    }

    .form-card {
        margin: 40px auto 80px;
        padding: 28px 24px;
    }

    footer {
        margin-top: 40px;
    }
}

/* ------------------------------------------------------------------ */
/* New Landing Page Components - Unified Design System */
/* ------------------------------------------------------------------ */

/* Hero Action Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: #4338ca;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-hero-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.btn-hero-primary:hover::before {
    transform: translateX(100%);
}
.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.8);
}

.btn-hero-secondary {
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Hero Stats Wrapper for sliding grids */
.hero-stats-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    min-height: 400px;
}

/* Hero Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 520px;
    transform: rotateY(-5deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease, opacity 0.8s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.hero-stats-grid--active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    animation: heroGridFadeIn 0.8s ease forwards;
}

@keyframes heroGridFadeIn {
    0% {
        opacity: 0;
        transform: rotateY(-15deg) rotateX(10deg) translateX(50px);
    }
    100% {
        opacity: 1;
        transform: rotateY(-5deg) rotateX(5deg) translateX(0);
    }
}

@keyframes heroGridFadeOut {
    0% {
        opacity: 1;
        transform: rotateY(-5deg) rotateX(5deg) translateX(0);
    }
    100% {
        opacity: 0;
        transform: rotateY(5deg) rotateX(-5deg) translateX(-50px);
    }
}

.hero-stats-grid:hover {
    transform: rotateY(0) rotateX(0);
}

.hero-stat-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.04));
    backdrop-filter: blur(24px);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

html[data-theme="dark"] .hero-stat-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.05) 0%, transparent 50%);
    pointer-events: none;
}

html[data-theme="dark"] .hero-stat-card::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(99,102,241,0.15);
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.06));
}

html[data-theme="dark"] .hero-stat-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
}

.hero-stat-card--main {
    grid-column: span 2;
    padding: 32px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.06));
}

html[data-theme="dark"] .hero-stat-card--main {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
}

.hero-stat-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-stat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(99,102,241,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #6366f1;
    box-shadow: 0 8px 24px rgba(99,102,241,0.1);
}

html[data-theme="dark"] .hero-stat-card__icon {
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.hero-stat-card__icon--success { 
    background: linear-gradient(135deg, rgba(34,197,94,0.25), rgba(22,163,74,0.15)); 
    color: #16a34a;
    box-shadow: 0 8px 24px rgba(34,197,94,0.15);
}
html[data-theme="dark"] .hero-stat-card__icon--success { 
    background: linear-gradient(135deg, rgba(34,197,94,0.5), rgba(22,163,74,0.3)); 
    color: #86efac;
    box-shadow: 0 8px 24px rgba(34,197,94,0.3);
}

.hero-stat-card__icon--info { 
    background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(37,99,235,0.15)); 
    color: #2563eb;
    box-shadow: 0 8px 24px rgba(59,130,246,0.15);
}
html[data-theme="dark"] .hero-stat-card__icon--info { 
    background: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(37,99,235,0.3)); 
    color: #93c5fd;
    box-shadow: 0 8px 24px rgba(59,130,246,0.3);
}

.hero-stat-card__icon--warning { 
    background: linear-gradient(135deg, rgba(251,191,36,0.25), rgba(245,158,11,0.15)); 
    color: #d97706;
    box-shadow: 0 8px 24px rgba(251,191,36,0.15);
}
html[data-theme="dark"] .hero-stat-card__icon--warning { 
    background: linear-gradient(135deg, rgba(251,191,36,0.5), rgba(245,158,11,0.3)); 
    color: #fde047;
    box-shadow: 0 8px 24px rgba(251,191,36,0.3);
}

/* Purple icon for email */
.hero-stat-card__icon--purple { 
    background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(124,58,237,0.15)); 
    color: #7c3aed;
    box-shadow: 0 8px 24px rgba(139,92,246,0.15);
}
html[data-theme="dark"] .hero-stat-card__icon--purple { 
    background: linear-gradient(135deg, rgba(139,92,246,0.5), rgba(124,58,237,0.3)); 
    color: #a78bfa;
    box-shadow: 0 8px 24px rgba(139,92,246,0.3);
}

/* Service-specific icon colors */
.hero-stat-card__icon--database { 
    background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(37,99,235,0.15)); 
    color: #2563eb;
    box-shadow: 0 8px 24px rgba(59,130,246,0.15);
}
html[data-theme="dark"] .hero-stat-card__icon--database { 
    background: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(37,99,235,0.3)); 
    color: #60a5fa;
    box-shadow: 0 8px 24px rgba(59,130,246,0.3);
}

.hero-stat-card__icon--email { 
    background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(124,58,237,0.15)); 
    color: #7c3aed;
    box-shadow: 0 8px 24px rgba(139,92,246,0.15);
}
html[data-theme="dark"] .hero-stat-card__icon--email { 
    background: linear-gradient(135deg, rgba(139,92,246,0.5), rgba(124,58,237,0.3)); 
    color: #a78bfa;
    box-shadow: 0 8px 24px rgba(139,92,246,0.3);
}

.hero-stat-card__icon--sms { 
    background: linear-gradient(135deg, rgba(34,197,94,0.25), rgba(22,163,74,0.15)); 
    color: #16a34a;
    box-shadow: 0 8px 24px rgba(34,197,94,0.15);
}
html[data-theme="dark"] .hero-stat-card__icon--sms { 
    background: linear-gradient(135deg, rgba(34,197,94,0.5), rgba(22,163,74,0.3)); 
    color: #4ade80;
    box-shadow: 0 8px 24px rgba(34,197,94,0.3);
}

/* Service-specific card styles */
.hero-stat-card--database {
    border-color: rgba(59,130,246,0.15);
}
.hero-stat-card--database:hover {
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 20px 50px rgba(59,130,246,0.15), 0 0 0 1px rgba(59,130,246,0.1);
}
html[data-theme="dark"] .hero-stat-card--database {
    border-color: rgba(59,130,246,0.2);
}
html[data-theme="dark"] .hero-stat-card--database:hover {
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 20px 50px rgba(59,130,246,0.25), 0 0 0 1px rgba(59,130,246,0.2);
}

.hero-stat-card--email {
    border-color: rgba(139,92,246,0.15);
}
.hero-stat-card--email:hover {
    border-color: rgba(139,92,246,0.3);
    box-shadow: 0 20px 50px rgba(139,92,246,0.15), 0 0 0 1px rgba(139,92,246,0.1);
}
html[data-theme="dark"] .hero-stat-card--email {
    border-color: rgba(139,92,246,0.2);
}
html[data-theme="dark"] .hero-stat-card--email:hover {
    border-color: rgba(139,92,246,0.4);
    box-shadow: 0 20px 50px rgba(139,92,246,0.25), 0 0 0 1px rgba(139,92,246,0.2);
}

.hero-stat-card--sms {
    border-color: rgba(34,197,94,0.15);
}
.hero-stat-card--sms:hover {
    border-color: rgba(34,197,94,0.3);
    box-shadow: 0 20px 50px rgba(34,197,94,0.15), 0 0 0 1px rgba(34,197,94,0.1);
}
html[data-theme="dark"] .hero-stat-card--sms {
    border-color: rgba(34,197,94,0.2);
}
html[data-theme="dark"] .hero-stat-card--sms:hover {
    border-color: rgba(34,197,94,0.4);
    box-shadow: 0 20px 50px rgba(34,197,94,0.25), 0 0 0 1px rgba(34,197,94,0.2);
}

.hero-stat-card__badge {
    font-size: 0.8rem;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(22,163,74,0.1));
    color: #16a34a;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    border: 1px solid rgba(34,197,94,0.2);
}

html[data-theme="dark"] .hero-stat-card__badge {
    background: linear-gradient(135deg, rgba(34,197,94,0.4), rgba(22,163,74,0.2));
    color: #86efac;
    border: 1px solid rgba(34,197,94,0.3);
}

/* Popular badge for packages */
.hero-stat-card__badge--popular {
    background: linear-gradient(135deg, rgba(251,191,36,0.3), rgba(245,158,11,0.15));
    color: #d97706;
    border: 1px solid rgba(251,191,36,0.3);
}
html[data-theme="dark"] .hero-stat-card__badge--popular {
    background: linear-gradient(135deg, rgba(251,191,36,0.5), rgba(245,158,11,0.3));
    color: #fde047;
    border: 1px solid rgba(251,191,36,0.4);
}
.hero-stat-card__badge--popular i {
    animation: none;
}

.hero-stat-card__badge i { 
    font-size: 0.5rem; 
    animation: pulse 2s infinite;
}

/* Price period styling */
.hero-stat-card__period {
    font-size: 0.5em;
    font-weight: 500;
    opacity: 0.7;
    margin-left: 4px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-stat-card__label {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

html[data-theme="dark"] .hero-stat-card__label {
    color: rgba(255,255,255,0.7);
}

.hero-stat-card__value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    font-family: var(--font-bold);
    letter-spacing: -0.02em;
}

html[data-theme="dark"] .hero-stat-card__value {
    color: #fff;
}

.hero-stat-card--main .hero-stat-card__value {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .hero-stat-card--main .hero-stat-card__value {
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-stat-card__footer {
    font-size: 0.9rem;
    color: #16a34a;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

html[data-theme="dark"] .hero-stat-card__footer {
    color: #86efac;
}

.hero-stat-card__footer i { font-size: 0.8rem; }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--color-card);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 auto 16px;
}
.feature-card__icon--success { background: linear-gradient(135deg, #22c55e, #16a34a); }
.feature-card__icon--info { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.feature-card__icon--warning { background: linear-gradient(135deg, #f59e0b, #d97706); }

.feature-card__title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-card__text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: var(--color-card);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-card__number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-bold);
}

.step-card__content h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.step-card__content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-card);
    border-radius: var(--border-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    transform: scale(1.02);
}
.pricing-card--featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-warning);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    font-family: var(--font-bold);
}

.pricing-card__header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-card__title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.pricing-card__price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-bold);
    margin: 0;
}

.pricing-card__period {
    font-size: 0.85rem;
    opacity: 0.7;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}

.pricing-card__features li {
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(128,128,128,0.15);
}
.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card__features li i {
    color: var(--color-success);
}
.pricing-card--featured .pricing-card__features li i {
    color: #86efac;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Landing Section Alt */
.landing-section--alt {
    background: var(--color-background);
}

/* CTA Section */
.landing-section--cta {
    padding: 60px 24px;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--border-radius-lg);
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    color: #fff;
    box-shadow: 0 24px 60px rgba(79,70,229,0.25);
}

@media (max-width: 768px) {
    .cta-box {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

.cta-box__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.cta-box__title {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-box__text {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.6;
}

.cta-box__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #fff;
    color: var(--color-primary);
    padding: 14px 28px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.btn-cta-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 14px 28px;
}
.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.cta-box__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}
.cta-feature i {
    color: #86efac;
    font-size: 1.2rem;
}

/* Dark Mode Adjustments */
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .pricing-card:not(.pricing-card--featured) {
    background: var(--color-card);
    border: 1px solid var(--color-border);
}

html[data-theme="dark"] .landing-section--alt {
    background: rgba(15,23,42,0.5);
}

html[data-theme="dark"] .pricing-card__features li {
    border-color: var(--color-border);
}

/* User Dropdown in Navbar */
.user-dropdown {
    position: relative;
}

/* Notifications dropdown in navbar */
.notif-dropdown {
    position: relative;
}

.notif-dropdown__trigger {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--color-text-muted);
}

.notif-dropdown__trigger:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.notif-dropdown__trigger:focus-visible,
.notif-dropdown__markall:focus-visible,
.notif-dropdown__item:focus-visible,
.notif-dropdown__all:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.35);
    outline-offset: 2px;
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    border: 2px solid var(--color-card);
}

.notif-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-width: min(90vw, 360px);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
    overflow: hidden;
}

.notif-dropdown.open .notif-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-dropdown__menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
}

.notif-dropdown__markall {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.08);
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notif-dropdown__markall:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.notif-dropdown__markall:hover {
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-1px);
}

.notif-dropdown__empty {
    padding: 18px 14px;
    text-align: center;
    color: var(--color-text-muted);
}

.notif-dropdown__item {
    display: block;
    padding: 12px 14px;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    transition: background 0.15s;
}

.notif-dropdown__item:hover {
    background: rgba(99, 102, 241, 0.06);
}

.notif-dropdown__item.is-unread {
    background: rgba(99, 102, 241, 0.08);
}

.notif-dropdown__title {
    font-weight: 700;
    font-size: 0.92rem;
}

.notif-dropdown__preview {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    line-height: 1.35;
}

.notif-dropdown__meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.notif-dropdown__menu-footer {
    padding: 10px 14px;
    background: rgba(99, 102, 241, 0.04);
}

.notif-dropdown__all {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.user-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-dropdown__trigger:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.user-dropdown__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-dropdown__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-dropdown__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-size: 0.9rem;
}

.user-dropdown__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.user-dropdown__role {
    font-size: 0.7rem;
    color: #22c55e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-dropdown__email {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown__balance {
    font-size: 0.75rem;
    color: var(--color-success);
    font-weight: 600;
}

.user-dropdown__arrow {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    transition: transform 0.2s;
}

.user-dropdown.open .user-dropdown__arrow {
    transform: rotate(180deg);
}

.user-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.user-dropdown.open .user-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown__menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
}

.user-dropdown__avatar-edit {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.user-dropdown__avatar-edit img,
.user-dropdown__avatar-edit .avatar-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown__avatar-edit .avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-size: 1.2rem;
}

.avatar-edit-icon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.65rem;
    padding: 4px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.user-dropdown__avatar-edit:hover .avatar-edit-icon {
    opacity: 1;
}

.user-dropdown__menu-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-dropdown__menu-email {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.user-dropdown__menu-balance {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.user-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: background 0.15s;
}

.user-dropdown__item:hover {
    background: rgba(99, 102, 241, 0.08);
}

.user-dropdown__item i {
    width: 18px;
    text-align: center;
    color: var(--color-text-muted);
}

.user-dropdown__divider {
    height: 1px;
    background: var(--color-border);
    margin: 4px 0;
}

.user-dropdown__item--logout {
    color: var(--color-danger);
}

.user-dropdown__item--logout i {
    color: var(--color-danger);
}

/* Admin link style */
.user-dropdown__item--admin {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    font-weight: 600;
}

.user-dropdown__item--admin:hover {
    background: rgba(220, 38, 38, 0.15) !important;
    color: #dc2626;
}

.user-dropdown__item--admin i {
    color: #dc2626;
}

/* Avatar Upload Modal */
.avatar-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.avatar-modal.open {
    opacity: 1;
    visibility: visible;
}

.avatar-modal__content {
    background: var(--color-card);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.2s;
}

.avatar-modal.open .avatar-modal__content {
    transform: scale(1);
}

.avatar-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.avatar-modal__title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: var(--color-text);
}

.avatar-modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.avatar-modal__close:hover {
    color: var(--color-text);
}

.avatar-dropzone {
    border: 2px dashed var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.avatar-dropzone:hover,
.avatar-dropzone.dragover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
}

.avatar-dropzone__icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.avatar-dropzone__text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.avatar-dropzone__hint {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

.avatar-preview {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.avatar-preview.show {
    display: flex;
}

.avatar-preview__image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
}

.avatar-modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.avatar-modal__actions .btn {
    flex: 1;
}

/* Topup Packages */
.topup-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.topup-package {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-md);
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: #1f2937;
}

.topup-package:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.topup-package.active {
    background: #dbeafe;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.topup-package.popular {
    border-color: #fbbf24;
}

.topup-package__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.topup-package__name {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.topup-package__amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
}

.topup-package__bonus {
    font-size: 0.7rem;
    color: #16a34a;
    margin-top: 4px;
    font-weight: 500;
}

.topup-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.topup-custom__label {
    font-size: 0.85rem;
    color: #4b5563;
}

.topup-custom .topup-input-wrapper {
    flex: 1;
    min-width: 120px;
}

.topup-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.topup-input-wrapper input {
    width: 100%;
    padding: 10px 35px 10px 14px;
    border: 2px solid #d1d5db;
    border-radius: var(--border-radius-sm);
    background: #fff;
    color: #1f2937;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.topup-input-wrapper input::placeholder {
    color: #9ca3af;
}

.topup-input-wrapper input:focus {
    border-color: #3b82f6;
    background: #fff;
}

.topup-input-currency {
    position: absolute;
    right: 12px;
    color: #6b7280;
    font-weight: 600;
}

/* Old topup buttons - fallback */
.topup-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.topup-amount-btn {
    flex: 1;
    min-width: 60px;
    padding: 12px 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.topup-amount-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.topup-amount-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}
