/* ============================================================
   VISIONAL INVESTMENT — BitCurrency-Inspired Design
   ============================================================ */

/* ============ Color Schemes ============ */
:root {
    --blue-primary: #2a5298;
    --blue-secondary: #1e3c72;
    --blue-light: #4a7cc4;
    --blue-glow: rgba(42, 82, 152, 0.25);

    --green-primary: #2e7d32;
    --green-secondary: #1b5e20;
    --green-light: #4caf50;
    --green-glow: rgba(46, 125, 50, 0.25);

    --orange-primary: #e65100;
    --orange-secondary: #bf360c;
    --orange-light: #ff6d00;
    --orange-glow: rgba(230, 81, 0, 0.25);

    --purple-primary: #6a1b9a;
    --purple-secondary: #4a148c;
    --purple-light: #8e24aa;
    --purple-glow: rgba(106, 27, 154, 0.25);

    --red-primary: #c62828;
    --red-secondary: #b71c1c;
    --red-light: #e53935;
    --red-glow: rgba(198, 40, 40, 0.25);

    --teal-primary: #00695c;
    --teal-secondary: #004d40;
    --teal-light: #00897b;
    --teal-glow: rgba(0, 105, 92, 0.25);

    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-dark: #0d1b2a;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fb;

    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8888a8;
    --text-light: #ffffff;

    --border-color: #e8ecf1;
    --border-hover: #c8d0dc;

    --success: #2e7d32;
    --success-bg: rgba(46, 125, 50, 0.1);
    --danger: #c62828;
    --danger-bg: rgba(198, 40, 40, 0.1);
    --warning: #e65100;
    --warning-bg: rgba(230, 81, 0, 0.1);
    --info: #1565c0;
    --info-bg: rgba(21, 101, 192, 0.1);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px var(--blue-glow);

    --nav-height: 72px;
    --font-primary: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Active color scheme - default blue */
body {
    --primary: var(--blue-primary);
    --secondary: var(--blue-secondary);
    --light: var(--blue-light);
    --glow: var(--blue-glow);
}

body.scheme-green {
    --primary: var(--green-primary);
    --secondary: var(--green-secondary);
    --light: var(--green-light);
    --glow: var(--green-glow);
}

body.scheme-orange {
    --primary: var(--orange-primary);
    --secondary: var(--orange-secondary);
    --light: var(--orange-light);
    --glow: var(--orange-glow);
}

body.scheme-purple {
    --primary: var(--purple-primary);
    --secondary: var(--purple-secondary);
    --light: var(--purple-light);
    --glow: var(--purple-glow);
}

body.scheme-red {
    --primary: var(--red-primary);
    --secondary: var(--red-secondary);
    --light: var(--red-light);
    --glow: var(--red-glow);
}

body.scheme-teal {
    --primary: var(--teal-primary);
    --secondary: var(--teal-secondary);
    --light: var(--teal-light);
    --glow: var(--teal-glow);
}

/* Dark overlay for dark parts */
body.dark-theme {
    --bg-primary: #0d1b2a;
    --bg-secondary: #1b2838;
    --bg-card: #1b2838;
    --bg-card-hover: #243447;
    --text-primary: #e8edf3;
    --text-secondary: #9ab0cc;
    --text-muted: #5a7a9a;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body.dark-theme .logo-light {
    display: block;
}

body.dark-theme .logo-dark {
    display: none;
}

.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

/* ============ Base Reset ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ App Wrapper ============ */
.app-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.main-content {
    flex: 1;
    padding-top: var(--nav-height);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.main-content:not(.landing-page) {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 40px;
}

/* ============ Navbar ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s;
}

body.dark-theme .navbar {
    background: rgba(13, 27, 42, 0.95);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
}

.nav-brand img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(var(--primary), 0.06);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.theme-toggle .fa-sun {
    display: none;
}

.dark-theme .theme-toggle .fa-moon {
    display: none;
}

.dark-theme .theme-toggle .fa-sun {
    display: block;
}

.nav-icon-btn {
    position: relative;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.2s;
}

.nav-icon-btn:hover {
    color: var(--primary);
}

.badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--danger);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.user-btn:hover {
    border-color: var(--primary);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s;
    z-index: 100;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: all 0.15s;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.dropdown-menu a.text-danger {
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
}

/* ============ Color Switcher ============ */
.color-switcher {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: var(--shadow-md);
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.color-dot:hover {
    transform: scale(1.2);
}

.color-dot.active {
    border-color: var(--text-primary);
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--light));
    color: white;
    box-shadow: 0 4px 15px var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--glow);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary), 0.04);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.75rem;
}

.btn-xs {
    padding: 5px 14px;
    font-size: 0.7rem;
    border-radius: 20px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============ Forms ============ */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-primary);
}

.form-group .required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-icon input {
    padding-left: 44px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* ============ Alerts ============ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.alert i {
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.alert-success {
    background: #1b3d1b;
    color: #81c784;
    border: 1px solid #2e7d32;
}

body:not(.dark-theme) .alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-error {
    background: #3d1b1b;
    color: #ef9a9a;
    border: 1px solid #c62828;
}

body:not(.dark-theme) .alert-error {
    background: #ffebee;
    color: #c62828;
}

.alert-warning {
    background: #3d2e1b;
    color: #ffcc80;
    border: 1px solid #e65100;
}

body:not(.dark-theme) .alert-warning {
    background: #fff3e0;
    color: #e65100;
}

/* ============ Cards ============ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-link {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.card-body {
    padding: 24px;
}

.card-body.p-0 {
    padding: 0;
}

/* ============ Tables ============ */
.table {
    width: 100%;
    border-collapse: collapse;
    overflow: scroll;
    scrollbar-color: red orange;
    scrollbar-width: thin;
}

.table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--border-color);
    background: var(--bg-secondary);
    font-family: var(--font-primary);
}

.table td {
    padding: 14px 20px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr {
    transition: background 0.15s;
}

.table tbody tr:hover {
    background: var(--bg-card-hover);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ============ Market Table ============ */
.market-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);

    overflow-x: auto;
}

.market-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.market-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--border-color);
    background: var(--bg-secondary);
    font-family: var(--font-primary);
}

.market-table td {
    padding: 16px 20px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-color);
}

.market-table tbody tr {
    transition: background 0.15s;
    cursor: pointer;
}

.market-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.market-table tbody tr:last-child td {
    border-bottom: none;
}

.sort-link {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sort-link:hover {
    color: var(--text-primary);
}

.coin-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-icon {
    border-radius: 50%;
    flex-shrink: 0;
}

.coin-icon-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.coin-icon-placeholder.sm {
    width: 24px;
    height: 24px;
    font-size: 0.55rem;
}

.coin-name {
    font-weight: 700;
    color: var(--text-primary);
}

.coin-symbol {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.price-cell {
    font-weight: 700;
    font-family: var(--font-primary);
}

.change-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.change-badge.up {
    background: var(--success-bg);
    color: var(--success);
}

.change-badge.down {
    background: var(--danger-bg);
    color: var(--danger);
}

/* ============ Badges ============ */
.badge-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-buy,
.badge-completed,
.badge-active {
    background: var(--success-bg);
    color: var(--success);
}

.badge-sell,
.badge-failed {
    background: var(--danger-bg);
    color: var(--danger);
}

.badge-deposit {
    background: var(--info-bg);
    color: var(--info);
}

.badge-investment {
    background: var(--success-bg);
    color: var(--success);
}

.badge-pending,
.badge-withdraw {
    background: var(--warning-bg);
    color: var(--warning);
}

.badge-cancelled {
    background: rgba(100, 100, 100, 0.12);
    color: var(--text-muted);
}

.badge-admin {
    background: var(--warning-bg);
    color: var(--warning);
}

.badge-user {
    background: var(--info-bg);
    color: var(--info);
}

.badge-suspended {
    background: var(--danger-bg);
    color: var(--danger);
}

.badge-primary {
    background: var(--glow);
    color: var(--primary);
}

.badge-inactive {
    background: rgba(100, 100, 100, 0.12);
    color: var(--text-muted);
}

/* ============ Stats Grid ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.25s;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-primary);
}

.stat-change {
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

.stat-period {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ============ Dashboard ============ */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-top: 24px;
}

.dashboard-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.portfolio-chart-card .card-body {
    height: 360px;
    position: relative;
}

.chart-timeframes {
    display: flex;
    gap: 4px;
}

.tf-btn {
    padding: 5px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-primary);
}

.tf-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tf-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============ Holdings ============ */
.holdings-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.holding-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.holding-item:hover {
    background: var(--bg-card-hover);
}

.holding-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.holding-left img,
.holding-left .coin-icon-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.holding-left strong {
    display: block;
    font-size: 0.88rem;
}

.holding-left .text-muted {
    font-size: 0.72rem;
}

.holding-right {
    text-align: right;
}

.holding-value {
    display: block;
    font-weight: 700;
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.holding-right .text-success,
.holding-right .text-danger {
    font-size: 0.78rem;
    font-weight: 600;
}

/* ============ Notification List ============ */
.notification-list {
    display: flex;
    flex-direction: column;
}

.notification-list-full {
    max-height: 500px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: rgba(var(--primary), 0.04);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.notification-icon.welcome {
    background: var(--info-bg);
    color: var(--info);
}

.notification-icon.alert {
    background: var(--warning-bg);
    color: var(--warning);
}

.notification-icon.price {
    background: var(--success-bg);
    color: var(--success);
}

.notification-icon.system {
    background: var(--info-bg);
    color: var(--info);
}

.notification-icon.trade {
    background: var(--success-bg);
    color: var(--success);
}

.notification-icon.deposit {
    background: var(--info-bg);
    color: var(--info);
}

.notification-icon.investment {
    background: var(--success-bg);
    color: var(--success);
}

.notification-icon.withdraw {
    background: var(--warning-bg);
    color: var(--warning);
}

.notification-content {
    flex: 1;
}

.notification-content strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.notification-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

/* ============ Portfolios Grid ============ */
.portfolios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);

    transition: all 0.25s;
}

.portfolio-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.portfolio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-color);
}

.portfolio-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfolio-info h3 {
    font-size: 1.05rem;
}

.portfolio-actions {
    display: flex;
    gap: 6px;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 16px 22px;
    background: var(--bg-secondary);
}

.portfolio-stat {
    text-align: center;
}

.portfolio-stat .text-muted {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    font-weight: 600;
}

.stat-num {
    font-size: 1.05rem;
    font-weight: 800;
    font-family: var(--font-primary);
}

.portfolio-holdings-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    flex-wrap: wrap;
}

.mini-holding {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
}

.portfolio-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    border-top: 1px solid var(--border-color);
}

/* ============ Hero Section ============ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;

    background: var(--bg-dark);
    padding-top: var(--nav-height);
}

.hero-bg-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #162447 50%, #1b3b6b 100%);
    z-index: 0;
}

.hero-bg-grad::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(var(--primary), 0.15), transparent 70%);
    animation: heroPulse 6s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float linear infinite;
}

.hero-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.hero-particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-duration: 10s;
    animation-delay: 1s;
    width: 6px;
    height: 6px;
}

.hero-particle:nth-child(3) {
    top: 30%;
    left: 50%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.hero-particle:nth-child(4) {
    top: 70%;
    left: 70%;
    animation-duration: 12s;
    animation-delay: 0.5s;
    width: 3px;
    height: 3px;
}

.hero-particle:nth-child(5) {
    top: 40%;
    left: 85%;
    animation-duration: 9s;
    animation-delay: 3s;
}

.hero-particle:nth-child(6) {
    top: 80%;
    left: 40%;
    animation-duration: 11s;
    animation-delay: 1.5s;
    width: 5px;
    height: 5px;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-30px) translateX(10px);
        opacity: 0.8;
    }

    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    box-shadow: 0 4px 25px var(--glow);
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.hero-actions .btn-outline:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Hero Price Ticker */
.hero-ticker {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 24px;
}

.ticker-title {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.ticker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.ticker-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ticker-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.ticker-info {
    flex: 1;
}

.ticker-symbol {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    display: block;
}

.ticker-name {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
}

.ticker-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-light);
    font-family: var(--font-primary);
    text-align: right;
}

.ticker-change {
    font-size: 0.72rem;
    font-weight: 700;
    text-align: right;
}

.ticker-change.up {
    color: var(--success);
}

.ticker-change.down {
    color: var(--danger);
}

/* ============ Sections ============ */
.section {
    padding: 20px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    padding: 5px 16px;
    background: var(--glow);
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============ Features ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px var(--glow);
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ============ Counters ============ */
.counters-section {
    background: linear-gradient(135deg, var(--bg-dark), #162447);
    padding: 80px 0;
    position: relative;

}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.counter-item {
    text-align: center;
}

.counter-num {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--blue-secondary);
    margin-bottom: 8px;
}

.counter-item .counter-num {
    display: block;
}

.counter-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ============ About Section ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0.1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ============ Steps Section ============ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 36px 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px var(--glow);
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ============ Regulated Box ============ */
.regulated-box {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 500px;
    margin: 16px auto;
}

.regulated-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.regulated-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.regulated-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============ Team Section ============ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.team-img-placeholder {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
}

.team-info {
    padding: 22px;
}

.team-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.team-info .team-role {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: all 0.2s;
}

.team-social a:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* ============ Partner Logos ============ */
.partners-section {
    background: var(--bg-secondary);
    padding: 60px 0;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    height: 40px;
    opacity: 0.4;
    transition: all 0.3s;
    filter: grayscale(1);
}

.partner-logo:hover {
    opacity: 0.8;
    filter: grayscale(0);
}

/* ============ CTA Section ============ */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08), transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 14px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.cta-content .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-light);
}

.cta-content .btn-outline:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

.cta-content .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    color: var(--secondary);
}

/* ============ Footer ============ */
.site-footer {
    background: var(--bg-dark);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-info {
    margin-bottom: 16px;
}

.footer-brand-info img {
    height: 32px;
    margin-bottom: 14px;
}

.footer-brand-info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    max-width: 300px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.footer-social a:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: var(--light);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* ============ Auth Pages ============ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 40px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 920px;
    width: 100%;
    min-height: 560px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.auth-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
    animation: authGlow 8s ease-in-out infinite alternate;
}

@keyframes authGlow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-10%, -10%);
    }
}

.auth-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 36px;
}

.auth-brand h2 {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.auth-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.auth-features {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.auth-feature i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    width: 24px;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.auth-card {
    width: 100%;
    max-width: 360px;
}

.auth-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-subtitle {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.auth-form {
    margin-bottom: 16px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forgot-link {
    font-size: 0.82rem;
    color: var(--primary);
}

.auth-divider {
    text-align: center;
    margin: 16px 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--bg-card);
    padding: 0 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-footer-text {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-footer-text a {
    color: var(--primary);
    font-weight: 700;
}

/* ============ Page Header ============ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-top: 24px;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
}

/* ============ Market Tools ============ */
.market-tools {
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 450px;
}

.search-bar i {
    color: var(--text-muted);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
}

/* ============ Transaction Filters ============ */
.transaction-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 7px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--glow);
}

.transaction-summary {
    display: flex;
    gap: 32px;
    padding: 18px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ============ Manage Grid ============ */
.manage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ============ Report Periods ============ */
.report-periods {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.period-btn {
    padding: 8px 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.period-btn:hover,
.period-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============ Alert Card ============ */
.alert-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    transition: background 0.15s;
}

.alert-card:hover {
    background: var(--bg-card-hover);
}

.alert-card:last-child {
    margin-bottom: 0;
}

.alert-info {
    display: flex;
    flex-direction: column;
}

.alert-info strong {
    font-size: 0.9rem;
}

.alert-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.alert-detail .text-muted {
    font-size: 0.7rem;
    margin-top: 2px;
}

.alert-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

/* ============ Notifications Grid ============ */
.notifications-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
}

/* ============ Settings Grid ============ */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

/* ============ Admin ============ */
.admin-nav {
    display: flex;
    gap: 8px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    text-align: center;
}

.action-card:hover {
    border-color: var(--primary);
    background: var(--glow);
    color: var(--primary);
}

.action-card i {
    font-size: 1.8rem;
    color: var(--primary);
}

.action-card span {
    font-size: 0.82rem;
    font-weight: 600;
}

/* ============ Pagination ============ */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.pagination ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.2s;
}

.pagination a:hover,
.pagination .active a {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* ============ Toast ============ */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease;
    min-width: 320px;
    max-width: 450px;
    font-weight: 600;
    font-size: 0.88rem;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    pointer-events: auto;
}

.toast-success {
    background: #2e7d32;
    color: white;
}

.toast-error {
    background: #c62828;
    color: white;
}

.toast-warning {
    background: #e65100;
    color: white;
}

.toast i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast span {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.4;
}

.toast .toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.7;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============ Empty State ============ */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.empty-state p {
    margin-bottom: 16px;
}

.full-width {
    grid-column: 1 / -1;
}

/* ============ Utils ============ */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.text-info {
    color: var(--info);
}

.mt-4 {
    margin-top: 24px;
}

.mb-4 {
    margin-bottom: 24px;
}

.p-3 {
    padding: 16px;
}

.p-0 {
    padding: 0;
}

.small {
    font-size: 0.78rem;
}

.hidden {
    display: none;
}

/* ============ At a Glance ============ */
.industry-banner {
    text-align: center;
    padding: 32px 20px;
    margin-bottom: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    color: white;
}

.industry-banner-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    font-weight: 600;
    margin-bottom: 6px;
}

.industry-banner-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: var(--font-primary);
}

.counter-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.counter-box {
    text-align: center;
    padding: 36px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.counter-box:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.counter-box-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.counter-box-text {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    min-height: 1.2em;
}

.counter-box-title {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 12px;
    font-family: var(--font-primary);
}

/* ============ Specialties Tags ============ */
.specialties-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialty-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--glow);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.2s;
    cursor: default;
}

.specialty-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ============ Why Visional Stats ============ */
.why-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.why-stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.why-stat-item .counter-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-primary);
    display: block;
    margin-bottom: 4px;
}

.why-stat-item .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .manage-grid {
        grid-template-columns: 1fr;
    }

    .notifications-grid {
        grid-template-columns: 1fr;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .counter-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 2px solid var(--border-color);
        flex-direction: column;
        padding: 20px;
        display: none;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a span {
        font-size: 0.95rem;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .user-btn .user-name {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .ticker-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .why-stats-grid {
        grid-template-columns: 1fr;
    }

    .counter-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolios-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .page-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .color-switcher {
        display: none;
    }

    .partners-grid {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .industry-banner-value {
        font-size: 1.2rem;
    }

    .counter-boxes {
        grid-template-columns: 1fr;
    }

    .counter-box-value {
        font-size: 1.6rem;
    }

    .step-card {
        padding: 24px 16px;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        left: 16px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}