/* ============================================
   AH-CronJob - Professional Dark SaaS Theme
   Compatible with Bootstrap 5.3.3
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.1);
    --primary-glow: rgba(99, 102, 241, 0.3);

    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.1);

    --danger: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.1);

    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.1);

    --info: #3b82f6;

    --bg-body: #0f1117;
    --bg-card: #1a1d2e;
    --bg-card-hover: #1e2235;
    --bg-input: #141623;
    --bg-navbar: #12141f;

    --border: #2a2d3e;
    --border-light: #353849;

    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;

    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px var(--primary-glow);

    /* Bootstrap 5.3 override — fallback ağ rəngi söndürür */
    --bs-body-bg: #0f1117;
    --bs-body-color: #e2e8f0;
    --bs-border-color: rgba(148, 163, 184, 0.08);
}

/* Explicit dark mode (safety net for cached JS that may set data-theme="dark") */
[data-theme="dark"] {
    --bg-body: #0f1117;
    --bg-card: #1a1d2e;
    --bg-card-hover: #1e2235;
    --bg-input: #141623;
    --bg-navbar: #12141f;
    --border: #2a2d3e;
    --border-light: #353849;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px var(--primary-glow);
    --bs-body-bg: #0f1117;
    --bs-body-color: #e2e8f0;
    --bs-border-color: rgba(148, 163, 184, 0.08);
}

/* --- Base / Body --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body) !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    color: var(--text-primary) !important;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* --- Navbar --- */
.navbar {
    background-color: var(--bg-navbar) !important;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(12px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.navbar .btn,
.navbar .nav-link {
    color: var(--text-secondary) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.25s ease;
    background: transparent;
}

.navbar .btn:hover,
.navbar .nav-link:hover {
    color: var(--text-primary) !important;
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    background: var(--primary-light);
}

.navbar .btn-outline-danger {
    color: var(--danger) !important;
    border-color: var(--border);
}

.navbar .btn-outline-danger:hover {
    color: #fff !important;
    background: var(--danger-light);
    border-color: var(--danger);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.navbar-nav {
    gap: 0.5rem;
}

/* --- Cards --- */
.card {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.card-header {
    background-color: transparent !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: transparent !important;
    border-top: 1px solid var(--border) !important;
}

/* --- Stat Cards --- */
.stat-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

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

.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.stat-card:nth-child(1)::before,
.stat-card.stat-primary::before {
    background: var(--primary);
}

.stat-card:nth-child(2)::before,
.stat-card.stat-success::before {
    background: var(--success);
}

.stat-card:nth-child(3)::before,
.stat-card.stat-warning::before {
    background: var(--warning);
}

.stat-card:nth-child(4)::before,
.stat-card.stat-danger::before {
    background: var(--danger);
}

.stat-card .stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-card .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* --- Auth Container --- */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.auth-container .auth-card,
.auth-container > .card,
.auth-container > div {
    width: 100%;
    max-width: 440px;
}

.auth-container h1,
.auth-container h2,
.auth-container .auth-heading {
    font-weight: 700;
    background: linear-gradient(135deg, #e2e8f0, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

/* --- Forms --- */
.form-control,
.form-select {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm);
    color: var(--text-primary) !important;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-text {
    color: var(--text-muted) !important;
    font-size: 0.8125rem;
}

/* Dark Checkboxes & Radios */
.form-check-input {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-light) !important;
    width: 1.15em;
    height: 1.15em;
}

.form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Input Groups */
.input-group-text {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-muted) !important;
}

/* --- Buttons --- */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1.125rem;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.btn-primary,
.btn-primary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-primary:focus {
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border: 1px solid var(--border) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--primary-light) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-outline-secondary {
    color: var(--text-secondary) !important;
    border: 1px solid var(--border) !important;
    background: transparent !important;
}

.btn-outline-secondary:hover {
    background: rgba(148, 163, 184, 0.1) !important;
    border-color: var(--text-secondary) !important;
    color: var(--text-primary) !important;
}

.btn-outline-danger {
    color: var(--danger) !important;
    border: 1px solid var(--border) !important;
    background: transparent !important;
}

.btn-outline-danger:hover {
    background: var(--danger-light) !important;
    border-color: var(--danger) !important;
    color: var(--danger) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.btn-outline-success {
    color: var(--success) !important;
    border: 1px solid var(--border) !important;
    background: transparent !important;
}

.btn-outline-success:hover {
    background: var(--success-light) !important;
    border-color: var(--success) !important;
    color: var(--success) !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.btn-outline-warning {
    color: var(--warning) !important;
    border: 1px solid var(--border) !important;
    background: transparent !important;
}

.btn-outline-warning:hover {
    background: var(--warning-light) !important;
    border-color: var(--warning) !important;
    color: var(--warning) !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    transform: translateY(-1px);
}

.btn-success {
    background-color: var(--success) !important;
    border-color: var(--success) !important;
    color: #fff !important;
}

.btn-success:hover {
    background-color: #059669 !important;
    border-color: #059669 !important;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: var(--danger) !important;
    border-color: var(--danger) !important;
    color: #fff !important;
}

.btn-danger:hover {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--radius);
}

/* --- Tables (Full Bootstrap 5.3.3 Override) --- */
.table {
    --bs-table-color: #e2e8f0;
    --bs-table-bg: #1a1d2e;
    --bs-table-border-color: rgba(148, 163, 184, 0.08);
    --bs-table-accent-bg: #1a1d2e;
    --bs-table-striped-color: #e2e8f0;
    --bs-table-striped-bg: #171a2a;
    --bs-table-hover-color: #e2e8f0;
    --bs-table-hover-bg: #1e2538;
    --bs-table-active-color: #e2e8f0;
    --bs-table-active-bg: #1e2538;
    --bs-table-color-type: #e2e8f0;
    --bs-table-bg-type: #1a1d2e;
    --bs-table-color-state: #e2e8f0;
    --bs-table-bg-state: #1a1d2e;
    color: #e2e8f0 !important;
    background-color: #1a1d2e !important;
    border-color: rgba(148, 163, 184, 0.08);
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    background-color: #1a1d2e !important;
    box-shadow: none !important;
    color: #e2e8f0 !important;
    border-bottom-color: rgba(148, 163, 184, 0.08);
    padding: 0.875rem 1rem;
}

.table thead,
.table tbody,
.table tfoot,
.table tr,
.table > thead,
.table > tbody,
.table > tfoot {
    background-color: #1a1d2e !important;
    box-shadow: none !important;
}

.table > thead > tr > th,
.table thead th {
    background-color: #131525 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08) !important;
    color: #94a3b8 !important;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: none !important;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table tbody td,
.table tbody th {
    background-color: #1a1d2e !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08) !important;
    vertical-align: middle;
    color: #e2e8f0 !important;
    font-size: 0.875rem;
    box-shadow: none !important;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table-hover > tbody > tr:hover > *,
.table tbody tr:hover > td,
.table tbody tr:hover > th {
    --bs-table-bg-state: #1e2538;
    background-color: #1e2538 !important;
    box-shadow: none !important;
    color: #e2e8f0 !important;
}

.table-responsive {
    border-radius: var(--radius);
    overflow-x: auto;
}

.table-striped > tbody > tr:nth-of-type(odd) > *,
.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
    --bs-table-bg-type: #171a2a;
    background-color: #171a2a !important;
    box-shadow: none !important;
}

.table-striped.table-hover > tbody > tr:hover > * {
    background-color: #1e2538 !important;
    box-shadow: none !important;
}

.table-sm > :not(caption) > * > * {
    background-color: #1a1d2e !important;
    box-shadow: none !important;
    padding: 0.4rem 0.6rem;
    font-size: 0.8125rem;
}

.btn-xs {
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
    line-height: 1.4;
    border-radius: 4px;
}

/* --- Status Badges --- */
.badge-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem 0.25rem 0;
    padding-left: 14px;
    position: relative;
    border-radius: var(--radius-sm);
}

.badge-status::before {
    content: '';
    position: absolute;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.badge-status-active {
    color: var(--success);
    background: var(--success-light);
}

.badge-status-active::before {
    background: var(--success);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.badge-status-passive {
    color: var(--text-muted);
    background: rgba(100, 116, 139, 0.1);
}

.badge-status-passive::before {
    background: var(--text-muted);
}

.badge-status-error {
    color: var(--danger);
    background: var(--danger-light);
}

.badge-status-error::before {
    background: var(--danger);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* --- Method Badges --- */
.badge-method {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-method-get,
.badge-method-GET {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

.badge-method-post,
.badge-method-POST {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.badge-method-send,
.badge-method-SEND {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
}

/* --- Bootstrap Badge Overrides --- */
.badge.bg-success {
    background-color: var(--success-light) !important;
    color: var(--success) !important;
}

.badge.bg-danger {
    background-color: var(--danger-light) !important;
    color: var(--danger) !important;
}

.badge.bg-warning {
    background-color: var(--warning-light) !important;
    color: var(--warning) !important;
}

.badge.bg-primary {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
}

.badge.bg-info {
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: var(--info) !important;
}

.badge {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
}

/* --- Package Cards --- */
.package-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all 0.35s ease;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-light);
    border-radius: var(--radius) var(--radius) 0 0;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.package-card.package-popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.package-card.package-popular::before {
    background: linear-gradient(90deg, var(--primary), #a78bfa);
}

/* --- OTP Input --- */
.otp-input,
input.otp {
    font-size: 2.5rem;
    text-align: center;
    letter-spacing: 16px;
    font-weight: 700;
    background: var(--bg-input) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: all 0.25s ease;
}

.otp-input:focus,
input.otp:focus {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
    outline: none;
}

/* --- Alerts --- */
.alert {
    border-radius: var(--radius-sm);
    border: 1px solid;
    font-size: 0.875rem;
}

.alert-success {
    background-color: var(--success-light) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    color: var(--success) !important;
}

.alert-danger {
    background-color: var(--danger-light) !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
    color: var(--danger) !important;
}

.alert-warning {
    background-color: var(--warning-light) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
    color: var(--warning) !important;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    color: var(--info) !important;
}

.alert-primary {
    background-color: var(--primary-light) !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
    color: var(--primary) !important;
}

/* --- Toast Container --- */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
}

.toast {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm);
    color: var(--text-primary) !important;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    animation: slideIn 0.35s ease-out;
}

.toast-header {
    background: transparent !important;
    border-bottom: 1px solid var(--border) !important;
    color: var(--text-primary) !important;
}

.toast-body {
    color: var(--text-secondary);
}

/* --- Modals --- */
.modal-content {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
}

.modal-header {
    border-bottom: 1px solid var(--border) !important;
    padding: 1.25rem 1.5rem;
}

.modal-header .modal-title {
    color: var(--text-primary);
    font-weight: 600;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-footer {
    border-top: 1px solid var(--border) !important;
    padding: 1rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-backdrop.show {
    opacity: 0.7;
}

/* --- Landing Page Hero --- */
.hero-section h1,
.hero-heading,
.landing-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff, #e2e8f0, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

/* --- Admin Panel --- */
.admin-panel h1,
.admin-panel h2,
.admin-panel h3,
.admin-heading {
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Dropdown Menus --- */
.dropdown-menu {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--text-secondary) !important;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-light) !important;
    color: var(--text-primary) !important;
}

.dropdown-divider {
    border-color: var(--border) !important;
}

/* --- Pagination --- */
.page-link {
    background-color: var(--bg-card) !important;
    border-color: var(--border) !important;
    color: var(--text-secondary) !important;
    transition: all 0.2s ease;
}

.page-link:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.page-item.disabled .page-link {
    background-color: var(--bg-input) !important;
    border-color: var(--border) !important;
    color: var(--text-muted) !important;
}

/* --- Progress Bars --- */
.progress {
    background-color: var(--bg-input) !important;
    border-radius: 999px;
    height: 6px;
}

.progress-bar {
    background-color: var(--primary) !important;
    border-radius: 999px;
}

/* --- List Groups --- */
.list-group-item {
    background-color: var(--bg-card) !important;
    border-color: var(--border) !important;
    color: var(--text-primary) !important;
}

.list-group-item:hover {
    background-color: var(--bg-card-hover) !important;
}

/* --- Breadcrumbs --- */
.breadcrumb {
    background-color: transparent !important;
}

.breadcrumb-item a {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-muted) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted) !important;
}

/* --- Misc Bootstrap Overrides --- */
.text-muted {
    color: var(--text-muted) !important;
}

.border {
    border-color: var(--border) !important;
}

.bg-light {
    background-color: var(--bg-card) !important;
}

.bg-dark {
    background-color: var(--bg-body) !important;
}

hr {
    border-color: var(--border);
    opacity: 1;
}

.shadow,
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

/* Close buttons */
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Tooltips */
.tooltip-inner {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 0.8125rem;
    padding: 0.4rem 0.75rem;
}

/* Accordion */
.accordion-item {
    background-color: var(--bg-card) !important;
    border-color: var(--border) !important;
}

.accordion-button {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-card-hover) !important;
}

.accordion-button::after {
    filter: invert(1);
}

/* Nav Tabs */
.nav-tabs {
    border-bottom-color: var(--border) !important;
}

.nav-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--border-light);
}

.nav-tabs .nav-link.active {
    color: var(--primary) !important;
    background-color: transparent !important;
    border-bottom-color: var(--primary) !important;
}

/* Nav Pills */
.nav-pills .nav-link {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* --- Keyframe Animations --- */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

/* Page content fade-in */
.page-content {
    animation: fadeInUp 0.4s ease-out;
}

.admin-content {
    animation: fadeInUp 0.35s ease-out;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .navbar-nav {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .navbar .btn,
    .navbar .nav-link {
        font-size: 0.8125rem;
        padding: 0.35rem 0.65rem;
    }

    .stat-card .stat-number {
        font-size: 1.35rem;
    }

    .auth-container {
        padding: 1rem 0.75rem;
        margin-top: 0;
    }

    .auth-container .auth-card,
    .auth-container > .card,
    .auth-container > div {
        max-width: 100%;
    }

    .hero-section h1,
    .hero-heading,
    .landing-hero h1 {
        font-size: 2rem;
    }

    .package-card {
        padding: 1.25rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.65rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .stat-card .stat-number {
        font-size: 1.15rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .hero-section h1,
    .hero-heading,
    .landing-hero h1 {
        font-size: 1.65rem;
    }

    .otp-input,
    input.otp {
        font-size: 1.75rem;
        letter-spacing: 10px;
    }
}


/* ============================================
   PROFESSIONAL UI REDESIGN - Additional Styles
   ============================================ */

/* --- New CSS Variables --- */
:root {
    --bg-sidebar: #111322;
    --sidebar-width: 260px;
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-hero: linear-gradient(135deg, #0f1117 0%, #1a1d3a 50%, #0f1117 100%);
    --glass-bg: rgba(26, 29, 46, 0.6);
    --glass-border: rgba(99, 102, 241, 0.15);
}

/* === ADMIN SIDEBAR LAYOUT === */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow-x: hidden;
    overflow-y: auto;
    backdrop-filter: blur(12px);
}

.sidebar-brand {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 64px;
}

.sidebar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.sidebar-brand .brand-icon:has(img) {
    background: none;
    width: 40px;
    height: 40px;
}
.sidebar-brand .brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-brand .brand-text {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.sidebar-nav {
    padding: 1rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-section-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 1rem 0.875rem 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.875rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.sidebar-link i {
    font-size: 1.125rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: var(--primary-light);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.sidebar-footer {
    padding: 1rem 0.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.admin-topbar {
    background: var(--bg-navbar);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(12px);
    min-height: 56px;
}

.topbar-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.admin-content {
    padding: 1.5rem;
}

.sidebar-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1035;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-main {
        margin-left: 0;
    }
    .sidebar-toggle {
        display: inline-flex;
    }
    .sidebar-overlay.show {
        display: block;
    }
}

/* === USER SIDEBAR LAYOUT === */
.user-layout {
    display: flex;
    min-height: 100vh;
}

.user-sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow-x: hidden;
    overflow-y: auto;
    backdrop-filter: blur(12px);
}

.user-sidebar .sidebar-nav {
    padding: 1rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.user-topbar {
    background: rgba(18, 20, 31, 0.85);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(16px);
    min-height: 56px;
}

.user-topbar .topbar-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.user-content {
    padding: 1.5rem;
    animation: fadeInUp 0.35s ease-out;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.3rem 0.75rem 0.3rem 0.3rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-avatar-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.user-avatar-btn .avatar-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.user-avatar-btn::after {
    display: none !important;
}

.user-sidebar-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

.user-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1035;
}

@media (max-width: 991.98px) {
    .user-sidebar {
        transform: translateX(-100%);
    }
    .user-sidebar.show {
        transform: translateX(0);
    }
    .user-main {
        margin-left: 0;
    }
    .user-sidebar-toggle {
        display: inline-flex;
    }
    .user-sidebar-overlay.show {
        display: block;
    }
}

@media (max-width: 576px) {
    .user-content {
        padding: 0.75rem;
    }
    .user-topbar {
        padding: 0.5rem 0.75rem;
    }
}

/* === ENHANCED USER NAVBAR (legacy, kept for packages page compat) === */
.user-navbar {
    background: rgba(18, 20, 31, 0.85) !important;
    border-bottom: 1px solid var(--border);
    padding: 0 1rem;
    min-height: 64px;
    backdrop-filter: blur(16px);
}

.user-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-navbar .navbar-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    -webkit-text-fill-color: #fff;
}
.user-navbar .navbar-brand .brand-icon:has(img) {
    background: none;
    width: 36px;
    height: 36px;
}
.user-navbar .navbar-brand .brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* === ENHANCED STAT CARDS === */
.stat-card-enhanced {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.stat-card-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99,102,241,0.04) 0%, transparent 70%);
    pointer-events: none;
}

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

.stat-card-enhanced .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-icon-primary { background: var(--primary-light); color: var(--primary); }
.stat-icon-success { background: var(--success-light); color: var(--success); }
.stat-icon-warning { background: var(--warning-light); color: var(--warning); }
.stat-icon-danger { background: var(--danger-light); color: var(--danger); }
.stat-icon-info { background: rgba(59,130,246,0.1); color: var(--info); }

.stat-card-enhanced .stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.stat-card-enhanced .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* === AUTH GLASSMORPHISM === */
.auth-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    overflow: hidden;
    z-index: -1;
}

.auth-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    animation: authBgFloat 20s ease-in-out infinite;
}

@keyframes authBgFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2%, -1%); }
}

.auth-glass-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    padding: 2.5rem !important;
}

.auth-logo {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* === LANDING PAGE HERO === */
.hero-section {
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}

/* === ENHANCED TABLES === */
.table-enhanced thead th {
    background: rgba(15, 17, 23, 0.5) !important;
    padding: 1rem 1.25rem;
}

.table-enhanced tbody td {
    padding: 0.875rem 1.25rem;
}

.action-group {
    display: flex;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.action-group .btn {
    padding: 0.3rem 0.5rem;
    line-height: 1;
}

/* === ENHANCED MODALS === */
.modal-content .modal-header {
    background: rgba(15, 17, 23, 0.3);
}

.modal-section {
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.modal-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* === FOOTER === */
.site-footer {
    background: var(--bg-navbar);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    margin-top: auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.site-footer a {
    color: var(--primary);
}

/* === JS-Generated Badge Classes (from utils.js) === */
.method-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.method-GET {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

.method-POST {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.method-SEND {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
}

.status-active {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    color: var(--success);
    background: var(--success-light);
}

.status-passive {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    background: rgba(100, 116, 139, 0.1);
}

.status-error {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    color: var(--danger);
    background: var(--danger-light);
}

/* === Job Row Status Colors === */
.job-row-success {
    background: rgba(16, 185, 129, 0.05) !important;
}

.job-row-error {
    background: rgba(239, 68, 68, 0.05) !important;
}

/* === Page wrapper for footer positioning === */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-wrapper .page-content {
    flex: 1;
}

/* === Responsive additions === */
@media (max-width: 768px) {
    .stat-card-enhanced {
        padding: 1rem;
    }
    .stat-card-enhanced .stat-number {
        font-size: 1.35rem;
    }
    .stat-card-enhanced .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .hero-section {
        padding: 3rem 0 2rem;
    }
    .feature-card {
        padding: 1.5rem 1rem;
    }
    .admin-content {
        padding: 1rem;
    }
    .table-enhanced thead th,
    .table-enhanced tbody td {
        font-size: 0.8rem;
        padding: 0.6rem 0.75rem;
    }
    .btn-sm {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    .d-flex.gap-2.mb-3 {
        flex-wrap: wrap;
    }
    .modal-dialog {
        margin: 0.5rem;
    }
}

@media (max-width: 576px) {
    .stat-card-enhanced {
        padding: 0.75rem;
    }
    .stat-card-enhanced .stat-number {
        font-size: 1.1rem;
    }
    .stat-card-enhanced .stat-label {
        font-size: 0.7rem;
    }
    .stat-card-enhanced .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    .admin-content {
        padding: 0.75rem;
    }
    .admin-topbar {
        padding: 0.5rem 0.75rem;
    }
    .topbar-title {
        font-size: 1rem;
    }
    .table-enhanced thead th,
    .table-enhanced tbody td {
        font-size: 0.75rem;
        padding: 0.5rem 0.6rem;
    }
    .card {
        border-radius: 8px !important;
    }
    .modal-dialog {
        margin: 0.25rem;
    }
    .modal-content {
        border-radius: 8px;
    }
    .user-navbar {
        padding: 0 0.5rem;
    }
    .user-navbar .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* ============================================
   AUTH PAGES — Consolidated Styles
   (login, register, otp, forgot-password)
   ============================================ */

/* --- Auth Background & Orbs --- */
.auth-page {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #0a0e1a;
    color: #f1f5f9;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.auth-bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(99,102,241,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139,92,246,0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(59,130,246,0.05) 0%, transparent 50%);
}

.auth-bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.auth-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: authOrbFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.auth-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(99,102,241,0.15);
    top: -100px;
    left: -50px;
}

.auth-orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(139,92,246,0.12);
    bottom: -80px;
    right: -40px;
    animation-delay: -7s;
}

.auth-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(59,130,246,0.1);
    top: 40%;
    right: 10%;
    animation-delay: -14s;
}

@keyframes authOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

/* --- Auth Card & Wrap --- */
.auth-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 24px 16px;
}

.auth-card {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 40px 32px 32px;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.03) inset;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 32px 20px 24px;
        border-radius: 16px;
    }
}

/* --- Auth Logo --- */
.auth-logo-wrap {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(99,102,241,0.3);
}
.auth-logo-icon:has(img) {
    background: none;
    box-shadow: none;
    width: 72px;
    height: 72px;
    border-radius: 0;
}
.auth-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.5px;
}

.auth-logo-sub {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 4px;
}

/* --- Auth Shield Icon (for OTP/forgot pages) --- */
.auth-shield-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1));
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #818cf8;
    margin-bottom: 20px;
}

/* --- Auth Form Elements --- */
.auth-field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.auth-field-input {
    width: 100%;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 14px;
    color: #f1f5f9;
    font-size: 0.88rem;
    font-family: inherit;
    transition: all 0.2s;
    outline: none;
}

.auth-field-input::placeholder {
    color: #64748b;
}

.auth-field-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.4);
}

.auth-field-group {
    margin-bottom: 18px;
}

.auth-field-hint {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 4px;
}

/* --- Auth OTP Input --- */
.auth-otp-input {
    width: 100%;
    background: #0f172a;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px;
    color: #818cf8;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 12px;
    text-align: center;
    outline: none;
    transition: all 0.2s;
}

.auth-otp-input::placeholder {
    color: #64748b;
    font-weight: 400;
    letter-spacing: 8px;
    font-size: 1.5rem;
}

.auth-otp-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.4);
}

@media (max-width: 480px) {
    .auth-otp-input {
        font-size: 1.6rem;
        letter-spacing: 8px;
        padding: 14px;
    }
}

/* --- Auth Button --- */
.auth-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}

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

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* --- Auth Error/Success Boxes --- */
.auth-msg {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    display: none;
}

.auth-msg.err {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #fca5a5;
}

.auth-msg.ok {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    color: #86efac;
}

.auth-msg.show {
    display: block;
}

/* --- Auth Divider --- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 20px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.auth-divider span {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Auth Links --- */
.auth-link {
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
}

.auth-link a {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
}

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

/* --- Auth Password Toggle --- */
.auth-pw-wrap {
    position: relative;
}

.auth-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.auth-pw-toggle:hover {
    color: #94a3b8;
}

/* --- Auth OTP Footer --- */
.auth-otp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.auth-otp-footer a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.15s;
}

.auth-otp-footer a:hover {
    color: #94a3b8;
}

.auth-resend-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 6px 14px;
    color: #64748b;
    font-size: 0.75rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.auth-resend-btn:hover:not(:disabled) {
    color: #818cf8;
    border-color: #6366f1;
}

.auth-resend-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Auth Title/Desc (OTP/Forgot pages) --- */
.auth-page-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 6px;
}

.auth-page-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.5;
}

.auth-page-desc strong {
    color: #94a3b8;
}

/* --- Auth Footer Link --- */
.auth-footer-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.auth-footer-link a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.15s;
}

.auth-footer-link a:hover {
    color: #94a3b8;
}

/* --- Auth Step (Forgot Password) --- */
.auth-step {
    display: none;
}

.auth-step.active {
    display: block;
}

/* ============================================
   LANDING PAGE — Consolidated Styles
   ============================================ */

/* --- Landing Nav --- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(10,14,26,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #f1f5f9;
    font-weight: 800;
    font-size: 1.1rem;
}

.landing-brand-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
}
.landing-brand-icon:has(img) {
    background: none;
    width: 38px;
    height: 38px;
    border-radius: 0;
}
.landing-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.landing-nav-links {
    display: flex;
    gap: 6px;
}

.landing-nav-btn {
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.15s;
    border: none;
    cursor: pointer;
}

.landing-nav-btn-ghost {
    background: none;
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.06);
}

.landing-nav-btn-ghost:hover {
    color: #f1f5f9;
    border-color: rgba(255,255,255,0.15);
}

.landing-nav-btn-primary {
    background: #6366f1;
    color: #fff;
}

.landing-nav-btn-primary:hover {
    background: #818cf8;
    color: #fff;
}

/* --- Landing Hero --- */
.landing-hero {
    padding: 160px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #0a0e1a;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.05) 40%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #0a0e1a, transparent);
    pointer-events: none;
}

@keyframes heroGlow {
    0% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #818cf8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.landing-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e2e8f0, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .landing-hero h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }
    .landing-hero {
        padding: 120px 16px 60px;
    }
}

.landing-hero-sub {
    max-width: 520px;
    margin: 0 auto 32px;
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
}

.landing-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-btn-hero {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.landing-btn-primary {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
    box-shadow: 0 6px 20px rgba(99,102,241,0.3);
}

.landing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
    color: #fff;
}

.landing-btn-ghost {
    background: rgba(255,255,255,0.04);
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.06);
}

.landing-btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    color: #f1f5f9;
}

/* --- Landing Stats Bar --- */
.landing-stats-bar {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px 20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.landing-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #818cf8;
}

.landing-stat-lbl {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* --- Landing Sections --- */
.landing-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

.landing-section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: #f1f5f9;
}

.landing-section-sub {
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 48px;
}

/* --- Landing Feature Cards --- */
.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .landing-features-grid {
        grid-template-columns: 1fr;
    }
}

.landing-feat-card {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.2s;
}

.landing-feat-card:hover {
    border-color: rgba(99,102,241,0.2);
    transform: translateY(-2px);
}

.landing-feat-icon {
    width: 44px;
    height: 44px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #818cf8;
    margin-bottom: 16px;
}

.landing-feat-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f1f5f9;
}

.landing-feat-card p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* --- Landing Pricing --- */
.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

@media (max-width: 768px) {
    .landing-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.landing-price-card {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.2s;
    position: relative;
}

.landing-price-card:hover {
    border-color: rgba(99,102,241,0.2);
}

.landing-price-card.popular {
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 0 40px rgba(99,102,241,0.1);
}

.landing-price-card.popular::before {
    content: 'Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 14px;
    border-radius: 10px;
}

.landing-price-name {
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 12px;
}

.landing-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    margin-bottom: 4px;
}

.landing-price-amount .dollar {
    font-size: 1.2rem;
    color: #64748b;
    vertical-align: super;
}

.landing-price-duration {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 20px;
}

.landing-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.landing-price-features li {
    font-size: 0.8rem;
    color: #94a3b8;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-price-features li:last-child {
    border-bottom: none;
}

.landing-price-features .check {
    color: #22c55e;
    font-size: 0.7rem;
}

.landing-price-btn {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.15s;
}

.landing-price-btn-default {
    background: rgba(255,255,255,0.04);
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.06);
}

.landing-price-btn-default:hover {
    background: rgba(255,255,255,0.08);
    color: #f1f5f9;
}

.landing-price-btn-primary {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
}

.landing-price-btn-primary:hover {
    opacity: 0.9;
    color: #fff;
}

/* --- Landing FAQ --- */
.landing-faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landing-faq-item {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.landing-faq-item.open {
    border-color: rgba(99,102,241,0.2);
}

.landing-faq-q {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: #e2e8f0;
    transition: color 0.15s;
    user-select: none;
}

.landing-faq-q:hover {
    color: #818cf8;
}

.landing-faq-q i {
    font-size: 0.75rem;
    color: #64748b;
    transition: transform 0.2s;
}

.landing-faq-item.open .landing-faq-q i {
    transform: rotate(180deg);
    color: #818cf8;
}

.landing-faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.landing-faq-item.open .landing-faq-a {
    padding: 0 20px 18px;
    max-height: 200px;
}

.landing-faq-a p {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* --- Landing Footer --- */
.landing-footer {
    padding: 48px 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #0a0e1a;
}

.landing-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 24px;
}

.landing-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.landing-footer-desc {
    font-size: 0.78rem;
    color: #64748b;
    max-width: 280px;
    line-height: 1.5;
}

.landing-footer-links {
    display: flex;
    gap: 48px;
}

.landing-footer-col h6 {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.landing-footer-col a {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
    padding: 3px 0;
    transition: color 0.15s;
}

.landing-footer-col a:hover {
    color: #818cf8;
}

.landing-footer-copy {
    text-align: center;
    font-size: 0.72rem;
    color: #475569;
}

@media (max-width: 768px) {
    .landing-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .landing-footer-desc {
        max-width: 100%;
    }
    .landing-footer-links {
        gap: 32px;
    }
}

/* ============================================
   DESIGN IMAGE MATCH — Enhanced Visuals
   ============================================ */

/* --- Landing Hero City/Tech Background --- */
.landing-hero {
    background:
        linear-gradient(180deg, rgba(10,14,26,0.3) 0%, rgba(10,14,26,0.7) 40%, #0a0e1a 100%),
        radial-gradient(ellipse at 20% 80%, rgba(59,130,246,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139,92,246,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 60%, rgba(99,102,241,0.1) 0%, transparent 40%),
        /* City-light dot pattern */
        radial-gradient(1px 1px at 10% 70%, rgba(99,170,255,0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 15% 75%, rgba(139,92,246,0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 25% 68%, rgba(59,130,246,0.5) 50%, transparent 50%),
        radial-gradient(1px 1px at 35% 72%, rgba(99,102,241,0.4) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 45% 65%, rgba(255,255,255,0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 71%, rgba(96,165,250,0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 65% 67%, rgba(167,139,250,0.3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 75% 73%, rgba(59,130,246,0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 85% 69%, rgba(99,102,241,0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 74%, rgba(139,92,246,0.4) 50%, transparent 50%),
        /* Building silhouette shapes */
        linear-gradient(0deg, transparent 60%, rgba(15,17,35,0.9) 60%, rgba(15,17,35,0.9) 62%, transparent 62%) no-repeat 8% 100% / 3% 40%,
        linear-gradient(0deg, transparent 55%, rgba(15,17,35,0.85) 55%, rgba(15,17,35,0.85) 58%, transparent 58%) no-repeat 12% 100% / 4% 45%,
        linear-gradient(0deg, transparent 50%, rgba(13,15,30,0.9) 50%) no-repeat 18% 100% / 5% 50%,
        linear-gradient(0deg, transparent 58%, rgba(14,16,32,0.85) 58%) no-repeat 25% 100% / 3% 42%,
        linear-gradient(0deg, transparent 45%, rgba(15,17,35,0.9) 45%) no-repeat 30% 100% / 6% 55%,
        linear-gradient(0deg, transparent 52%, rgba(13,15,30,0.85) 52%) no-repeat 38% 100% / 4% 48%,
        linear-gradient(0deg, transparent 40%, rgba(15,17,35,0.9) 40%) no-repeat 44% 100% / 5% 60%,
        linear-gradient(0deg, transparent 48%, rgba(14,16,32,0.85) 48%) no-repeat 51% 100% / 3% 52%,
        linear-gradient(0deg, transparent 42%, rgba(15,17,35,0.9) 42%) no-repeat 56% 100% / 6% 58%,
        linear-gradient(0deg, transparent 55%, rgba(13,15,30,0.85) 55%) no-repeat 64% 100% / 4% 45%,
        linear-gradient(0deg, transparent 47%, rgba(15,17,35,0.9) 47%) no-repeat 70% 100% / 5% 53%,
        linear-gradient(0deg, transparent 52%, rgba(14,16,32,0.85) 52%) no-repeat 77% 100% / 3% 48%,
        linear-gradient(0deg, transparent 44%, rgba(15,17,35,0.9) 44%) no-repeat 82% 100% / 5% 56%,
        linear-gradient(0deg, transparent 58%, rgba(13,15,30,0.85) 58%) no-repeat 89% 100% / 4% 42%,
        #070a14;
    min-height: 600px;
}

/* --- Feature Card Icon Color Variants --- */
.landing-feat-icon-blue {
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.2);
    color: #60a5fa;
}

.landing-feat-icon-green {
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.2);
    color: #34d399;
}

.landing-feat-icon-orange {
    background: rgba(245,158,11,0.12);
    border-color: rgba(245,158,11,0.2);
    color: #fbbf24;
}

.landing-feat-icon-purple {
    background: rgba(139,92,246,0.12);
    border-color: rgba(139,92,246,0.2);
    color: #a78bfa;
}

/* --- Pricing Card Mini Chart Bars --- */
.pricing-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 50px;
    margin: 16px auto 20px;
    width: 80%;
    justify-content: center;
}

.pricing-mini-chart .bar {
    width: 8px;
    border-radius: 3px 3px 0 0;
    transition: height 0.6s ease;
}

.pricing-chart-blue .bar { background: linear-gradient(to top, rgba(59,130,246,0.3), #3b82f6); }
.pricing-chart-purple .bar { background: linear-gradient(to top, rgba(139,92,246,0.3), #8b5cf6); }
.pricing-chart-green .bar { background: linear-gradient(to top, rgba(16,185,129,0.3), #10b981); }

/* --- Stat Card Mini Sparkline --- */
.stat-sparkline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 45px;
    opacity: 0.4;
    pointer-events: none;
}

.stat-card-enhanced {
    position: relative;
    overflow: hidden;
}

/* --- Admin Chart Containers --- */
.chart-container {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.chart-container canvas {
    width: 100% !important;
    max-height: 280px;
}

.chart-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- System Health Table --- */
.health-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.health-status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34,197,94,0.5);
}

.health-status-dot.warning {
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245,158,11,0.5);
}

.health-status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239,68,68,0.5);
}

/* --- Circular Progress (Success Rate Gauge) --- */
.gauge-wrapper {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.gauge-wrapper svg {
    transform: rotate(-90deg);
    width: 52px;
    height: 52px;
}

.gauge-wrapper .gauge-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 5;
}

.gauge-wrapper .gauge-fill {
    fill: none;
    stroke: #22c55e;
    stroke-width: 5;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.gauge-wrapper .gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: #22c55e;
}

/* --- User Topbar Tabs --- */
.topbar-tabs {
    display: flex;
    gap: 4px;
    margin-left: 16px;
}

.topbar-tab {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.topbar-tab:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
}

.topbar-tab.active {
    color: var(--primary);
    background: var(--primary-light);
}

@media (max-width: 768px) {
    .topbar-tabs { display: none; }
    .pricing-mini-chart { height: 35px; }
}

/* ============================================
   LIGHT MODE (Night/Day Toggle)
   ============================================ */

/* Theme toggle button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Light mode overrides */
[data-theme="light"] {
    --bg-body: #f0f2f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fa;
    --bg-input: #f5f6f8;
    --bg-navbar: #ffffff;
    --bg-sidebar: #ffffff;

    --border: #e2e8f0;
    --border-light: #cbd5e1;

    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);

    --primary-light: rgba(99, 102, 241, 0.08);
    --primary-glow: rgba(99, 102, 241, 0.15);
    --success-light: rgba(16, 185, 129, 0.08);
    --danger-light: rgba(239, 68, 68, 0.08);
    --warning-light: rgba(245, 158, 11, 0.08);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(99, 102, 241, 0.12);

    --bs-body-bg: #f0f2f5;
    --bs-body-color: #1e293b;
    --bs-border-color: #e2e8f0;
}

[data-theme="light"] body,
body[data-theme="light"] {
    background-color: #f0f2f5 !important;
    color: #1e293b !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5 {
    color: #1e293b !important;
}

/* Light table overrides */
[data-theme="light"] .table {
    --bs-table-bg: #ffffff;
    --bs-table-hover-bg: #f8f9fa;
    --bs-table-border-color: #e2e8f0;
    color: #1e293b !important;
    background-color: #ffffff !important;
}

[data-theme="light"] .table > :not(caption) > * > * {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .table > thead > tr > th,
[data-theme="light"] .table thead th {
    background-color: #f8f9fa !important;
    color: #64748b !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .table > tbody > tr > td,
[data-theme="light"] .table tbody td {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .table-hover > tbody > tr:hover > *,
[data-theme="light"] .table tbody tr:hover > td {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

[data-theme="light"] .table-sm > :not(caption) > * > * {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

[data-theme="light"] .table thead,
[data-theme="light"] .table tbody,
[data-theme="light"] .table tfoot,
[data-theme="light"] .table tr,
[data-theme="light"] .table > thead,
[data-theme="light"] .table > tbody {
    background-color: #ffffff !important;
}

/* Light cards */
[data-theme="light"] .card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Light stat cards */
[data-theme="light"] .stat-card-enhanced {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

[data-theme="light"] .stat-card-enhanced:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

[data-theme="light"] .stat-card-enhanced .stat-number {
    color: #1e293b;
}

/* Light sidebar */
[data-theme="light"] .admin-sidebar,
[data-theme="light"] .user-sidebar {
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
}

[data-theme="light"] .sidebar-brand {
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .sidebar-footer {
    border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .sidebar-link {
    color: #475569;
}

[data-theme="light"] .sidebar-link:hover {
    background: rgba(99,102,241,0.06);
    color: #1e293b;
}

[data-theme="light"] .sidebar-link.active {
    background: var(--gradient-primary);
    color: #fff;
}

/* Light topbar */
[data-theme="light"] .admin-topbar,
[data-theme="light"] .user-topbar {
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid #e2e8f0;
}

/* Light forms */
[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
    background-color: #f5f6f8 !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
}

[data-theme="light"] .form-control::placeholder {
    color: #94a3b8 !important;
}

/* Light modals */
[data-theme="light"] .modal-content {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .modal-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .modal-footer {
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .modal-header .btn-close {
    filter: none;
}

/* Light dropdown */
[data-theme="light"] .dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

[data-theme="light"] .dropdown-item {
    color: #475569 !important;
}

[data-theme="light"] .dropdown-item:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

[data-theme="light"] .dropdown-divider {
    border-color: #e2e8f0 !important;
}

/* Light user avatar btn */
[data-theme="light"] .user-avatar-btn {
    border-color: #e2e8f0;
    color: #475569;
}

[data-theme="light"] .user-avatar-btn:hover {
    border-color: var(--primary);
}

/* Light badges */
[data-theme="light"] .badge.bg-success {
    background-color: rgba(16,185,129,0.12) !important;
}

[data-theme="light"] .badge.bg-danger {
    background-color: rgba(239,68,68,0.12) !important;
}

[data-theme="light"] .badge.bg-warning {
    background-color: rgba(245,158,11,0.12) !important;
}

/* Light buttons */
[data-theme="light"] .btn-outline-secondary {
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .btn-outline-secondary:hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}

[data-theme="light"] .btn-close {
    filter: none;
}

/* Light alerts */
[data-theme="light"] .alert-info {
    background-color: rgba(59,130,246,0.06) !important;
    border-color: rgba(59,130,246,0.15) !important;
    color: #2563eb !important;
}

[data-theme="light"] .alert-info code {
    color: #2563eb;
}

/* Light sidebar overlay */
[data-theme="light"] .sidebar-overlay.show,
[data-theme="light"] .user-sidebar-overlay.show {
    background: rgba(0,0,0,0.2);
}

/* Light sidebar toggle */
[data-theme="light"] .sidebar-toggle,
[data-theme="light"] .user-sidebar-toggle {
    border-color: #e2e8f0;
    color: #475569;
}

/* Light topbar tabs */
[data-theme="light"] .topbar-tab {
    color: #94a3b8;
}

[data-theme="light"] .topbar-tab:hover {
    color: #1e293b;
    background: rgba(0,0,0,0.03);
}

[data-theme="light"] .topbar-tab.active {
    color: var(--primary);
    background: rgba(99,102,241,0.08);
}

/* Light scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f0f2f5;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Light chart container */
[data-theme="light"] .chart-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* Light package card */
[data-theme="light"] .package-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* Light text-muted override */
[data-theme="light"] .text-muted {
    color: #94a3b8 !important;
}

[data-theme="light"] code {
    color: #6366f1;
}

/* Landing page light mode */
[data-theme="light"] .landing-nav {
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .landing-brand {
    color: #1e293b;
}

[data-theme="light"] .landing-nav-btn-ghost {
    color: #475569;
    border-color: #e2e8f0;
}

[data-theme="light"] .landing-nav-btn-ghost:hover {
    color: #1e293b;
}

[data-theme="light"] .landing-hamburger {
    border-color: #e2e8f0;
    color: #475569;
}
[data-theme="light"] .landing-hamburger:hover {
    border-color: #6366f1;
    color: #6366f1;
}
[data-theme="light"] .landing-mobile-menu {
    background: rgba(255,255,255,0.95);
    border-top: 1px solid #e2e8f0;
}
[data-theme="light"] .landing-mobile-menu a {
    color: #475569;
    border-bottom-color: #e2e8f0;
}
[data-theme="light"] .landing-mobile-menu a:hover {
    color: #6366f1;
}

[data-theme="light"] .landing-hero {
    background: linear-gradient(180deg, #e8ecf4 0%, #dde3ee 40%, #f0f2f5 100%) !important;
}

[data-theme="light"] .landing-hero h1 {
    background: linear-gradient(135deg, #1e293b, #4f46e5, #6366f1) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .landing-hero-sub {
    color: #64748b;
}

[data-theme="light"] .landing-hero-badge {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.15);
}

[data-theme="light"] .landing-btn-ghost {
    background: rgba(0,0,0,0.03);
    color: #475569;
    border-color: #e2e8f0;
}

[data-theme="light"] .landing-section-title {
    color: #1e293b;
}

[data-theme="light"] .landing-feat-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .landing-feat-card h4 {
    color: #1e293b !important;
}

[data-theme="light"] .landing-feat-card p {
    color: #64748b;
}

[data-theme="light"] .landing-price-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .landing-price-name {
    color: #475569;
}

[data-theme="light"] .landing-price-amount {
    color: #1e293b;
}

[data-theme="light"] .landing-price-features li {
    color: #475569;
    border-bottom-color: #f1f5f9;
}

[data-theme="light"] .landing-price-btn-default {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

[data-theme="light"] .landing-faq-item {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .landing-faq-q {
    color: #1e293b;
}

[data-theme="light"] .landing-faq-a p {
    color: #64748b;
}

[data-theme="light"] .landing-footer {
    background: #ffffff;
    border-top-color: #e2e8f0;
}

[data-theme="light"] .landing-footer-brand {
    color: #1e293b;
}

[data-theme="light"] .landing-footer-copy {
    color: #94a3b8;
}

/* Auth page light mode */
[data-theme="light"] .auth-page {
    background: #f0f2f5;
}

[data-theme="light"] .auth-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

[data-theme="light"] .auth-page-title,
[data-theme="light"] .auth-logo-title {
    color: #1e293b;
}

[data-theme="light"] .auth-field-input {
    background: #f5f6f8;
    border-color: #e2e8f0;
    color: #1e293b;
}

[data-theme="light"] .auth-otp-input {
    background: #f5f6f8;
    border-color: #e2e8f0;
}

[data-theme="light"] .auth-bg-grid {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(99,102,241,0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139,92,246,0.03) 0%, transparent 50%);
}

[data-theme="light"] .auth-bg-grid::before {
    background-image:
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
}

/* === HAMBURGER & MOBILE MENU === */
.landing-hamburger {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.2s;
    flex-shrink: 0;
}
.landing-hamburger:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.landing-mobile-menu {
    display: none;
}

/* === MOBILE RESPONSIVE (web-ə toxunmur) === */

@media (max-width: 768px) {
    /* Hamburger görünür */
    .landing-hamburger {
        display: inline-flex;
    }
    /* Mobile menu */
    .landing-mobile-menu {
        display: none;
        flex-direction: column;
        background: rgba(10,14,26,0.95);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255,255,255,0.06);
        padding: 12px 20px;
    }
    .landing-mobile-menu.open {
        display: flex;
    }
    .landing-mobile-menu a {
        color: #94a3b8;
        text-decoration: none;
        padding: 10px 0;
        font-size: 0.88rem;
        font-weight: 600;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        transition: color 0.15s;
    }
    .landing-mobile-menu a:last-child {
        border-bottom: none;
    }
    .landing-mobile-menu a:hover {
        color: #818cf8;
    }

    /* Nav: Features/Pricing/FAQ gizlənir */
    .landing-nav-link {
        display: none !important;
    }
    .landing-nav-right {
        gap: 4px !important;
    }
    .landing-nav .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .landing-nav-btn {
        font-size: 0.72rem !important;
        padding: 5px 10px !important;
        white-space: nowrap;
    }

    /* Logo */
    .landing-brand img,
    .landing-footer-brand img {
        height: 100px !important;
        margin: -30px 0 -30px -10px !important;
    }
    .sidebar-brand img,
    .navbar-brand img {
        height: 100px !important;
        margin: -30px 0 -30px -5px !important;
    }
    .auth-logo-wrap img {
        height: 100px !important;
        margin: -25px auto -25px auto !important;
    }

    /* Hero */
    .landing-hero {
        padding: 110px 16px 50px !important;
    }
    .landing-hero h1 {
        font-size: 2rem !important;
    }
    .landing-hero-sub {
        font-size: 0.9rem !important;
    }
    .landing-btn-hero {
        padding: 10px 20px !important;
        font-size: 0.82rem !important;
    }
    .landing-stats-bar {
        padding: 32px 10px 0 !important;
    }

    /* Features */
    .landing-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    /* Sections */
    .landing-section {
        padding: 50px 16px !important;
    }
    .landing-section-title {
        font-size: 1.4rem !important;
    }
    .landing-section-sub {
        font-size: 0.8rem !important;
        margin-bottom: 30px !important;
    }

    /* Pricing 1 sütun */
    .landing-pricing-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Footer */
    .landing-footer-inner {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .landing-footer-desc {
        max-width: 100% !important;
    }
    .landing-footer-links {
        gap: 24px !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    .landing-footer-brand img {
        margin: -20px auto -20px auto !important;
    }

    /* Auth */
    .auth-card {
        margin: 0 10px !important;
        padding: 24px 18px !important;
    }
    .auth-wrap {
        padding: 10px !important;
    }
}

@media (max-width: 576px) {
    /* Nav */
    .landing-nav-link {
        display: none !important;
    }
    .landing-nav-right {
        gap: 3px !important;
    }
    .landing-nav .theme-toggle {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .landing-nav-btn {
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
    }

    /* Logo */
    .landing-brand img,
    .landing-footer-brand img {
        height: 80px !important;
        margin: -22px 0 -22px -5px !important;
    }
    .sidebar-brand img,
    .navbar-brand img {
        height: 80px !important;
        margin: -22px 0 -22px -5px !important;
    }
    .auth-logo-wrap img {
        height: 80px !important;
        margin: -20px auto -20px auto !important;
    }

    /* Hero */
    .landing-hero {
        padding: 95px 14px 40px !important;
    }
    .landing-hero h1 {
        font-size: 1.6rem !important;
    }
    .landing-hero-badge {
        font-size: 0.62rem !important;
        padding: 4px 12px !important;
    }
    .landing-hero-sub {
        font-size: 0.82rem !important;
        margin-bottom: 24px !important;
    }
    .landing-hero-actions {
        flex-direction: column !important;
        gap: 8px;
        align-items: stretch;
    }
    .landing-btn-hero {
        justify-content: center;
    }
    .landing-stats-bar {
        padding: 24px 0 0 !important;
        gap: 8px;
    }
    .landing-stat-num {
        font-size: 1.2rem !important;
    }
    .landing-stat-lbl {
        font-size: 0.6rem !important;
    }

    /* Features 1 sütun */
    .landing-features-grid {
        grid-template-columns: 1fr !important;
    }

    /* Sections */
    .landing-section {
        padding: 40px 14px !important;
    }
    .landing-section-title {
        font-size: 1.2rem !important;
    }

    /* Footer */
    .landing-footer {
        padding: 32px 14px 18px !important;
    }
    .landing-footer-brand img {
        height: 70px !important;
        margin: -18px auto -18px auto !important;
    }

    /* Auth */
    .auth-card {
        margin: 0 8px !important;
        padding: 20px 14px !important;
    }
    .auth-logo-wrap img {
        height: 70px !important;
        margin: -18px auto -18px auto !important;
    }
    .auth-page .theme-toggle {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.85rem !important;
        top: 12px !important;
        right: 12px !important;
    }
}

@media (max-width: 400px) {
    .landing-brand img {
        height: 65px !important;
        margin: -18px 0 -18px -3px !important;
    }
    .landing-hero h1 {
        font-size: 1.35rem !important;
    }
    .landing-section-title {
        font-size: 1.05rem !important;
    }
}
