/* Premium White & Blue Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary-blue: #0d6efd;
  --primary-blue-dark: #0a58ca;
  --primary-blue-light: #e7f1ff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-pill: 9999px;
  --success: #1DCC70;
  --warning: #FFB400;
  --danger: #FF396F;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

/* ===========================
   NAVBAR (Homepage)
   =========================== */
#header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  padding: 15px 0;
}

.nav-menu a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-muted) !important;
  transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu .active > a {
  color: var(--primary-blue) !important;
}

/* ===========================
   MODERN BUTTONS
   =========================== */
.btn-premium {
  background-color: var(--primary-blue);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39);
  border: none;
}

.btn-premium:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.23);
}

.btn-outline-premium {
  background-color: transparent;
  color: var(--text-dark) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-premium:hover {
  border-color: var(--text-dark);
  background-color: var(--bg-light);
}

/* ===========================
   HERO SECTION (Homepage)
   =========================== */
#hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-blue-light) 100%);
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

#hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

#hero h1 span {
  color: var(--primary-blue);
}

#hero h2 {
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

/* ===========================
   GLASSMORPHISM CARDS (Homepage)
   =========================== */
.glass-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue-light);
}

.glass-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.glass-card .icon i {
  font-size: 28px;
  color: var(--primary-blue);
}

.glass-card .title {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.glass-card .description {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===========================
   TICKER BAR (Homepage)
   =========================== */
.ticker-bar {
  background: var(--text-dark);
  color: var(--white);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 40px;
}

.ticker-up { color: #10b981; }
.ticker-down { color: #ef4444; }

/* ===========================
   HOMEPAGE SECTIONS
   =========================== */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.section-title h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-title h3 span {
  color: var(--primary-blue);
}

.section-title p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Asset Classes */
.asset-pill {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin: 5px;
  transition: all 0.3s;
}

.asset-pill:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.asset-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
  border: 1px solid var(--border-color);
}
.asset-card:hover { transform: translateY(-5px); }
.asset-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.asset-card-body { padding: 25px; }
.asset-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.asset-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===========================
   FOMO POPUPS
   =========================== */
.notification {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    color: var(--text-dark) !important;
    font-family: 'Inter', sans-serif !important;
    padding: 15px !important;
    border-left: 4px solid var(--primary-blue) !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

.notification-img {
    height: 50px !important;
    width: 50px !important;
    border-radius: 50%;
    background: var(--primary-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue) !important;
    font-size: 24px !important;
}

.notification-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: var(--primary-blue) !important;
    margin-bottom: 5px;
    font-size: 1rem;
}

.notification-text-block {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
}

/* ===========================
   MODAL OVERRIDES
   =========================== */
.modal-content {
    background-color: var(--white) !important;
    border-radius: var(--radius-lg) !important;
    border: none !important;
    box-shadow: var(--shadow-lg) !important;
}
.dialogbox .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0 auto;
    max-width: 400px;
}
.dialogbox .modal-content {
    padding: 20px;
    text-align: center;
}
.dialogbox .modal-icon {
    font-size: 50px;
    margin-bottom: 15px;
}
.dialogbox .btn-inline .btn {
    width: 100%;
    margin-top: 15px;
    border-radius: var(--radius-pill);
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
}

/* ===========================
   DASHBOARD SUB-PAGES
   =========================== */

/* Page Header */
.bv-page-header {
    margin-bottom: 20px;
}
.bv-page-header h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.bv-page-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Form Cards */
.bv-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 20px;
}

.bv-form-card .bv-form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bv-form-card .bv-form-title i {
    color: var(--primary-blue);
    font-size: 18px;
}

/* Styled Form Controls */
.bv-input-group {
    margin-bottom: 16px;
}
.bv-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-family: 'Space Grotesk', sans-serif;
}
.bv-input-group input,
.bv-input-group select,
.bv-input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}
.bv-input-group input:focus,
.bv-input-group select:focus,
.bv-input-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}
.bv-input-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Primary Action Button */
.bv-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-blue);
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-pill);
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3);
    text-decoration: none !important;
    width: 100%;
}
.bv-btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.bv-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--danger);
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.bv-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none !important;
}
.bv-btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue) !important;
}

/* Plan Cards Grid */
.bv-plans-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.bv-plan-card {
    flex: 1 1 calc(50% - 7px);
    min-width: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: all 0.3s ease;
}
.bv-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue-light);
}
.bv-plan-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}
.bv-plan-card .bv-plan-detail {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 4px 0;
    color: var(--text-muted);
}
.bv-plan-card .bv-plan-detail strong {
    color: var(--text-dark);
}

/* Profile List */
.bv-profile-list {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.bv-profile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    text-decoration: none !important;
    transition: background 0.2s;
    cursor: pointer;
}
.bv-profile-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f5;
}
.bv-profile-item:hover {
    background: var(--bg-light);
}
.bv-profile-item .bv-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.bv-profile-item .bv-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Data Tables */
.bv-data-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 20px;
}
.bv-data-card .bv-data-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bv-data-card .bv-data-header h5 {
    font-size: 14px;
    margin: 0;
}
.bv-data-item {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f5;
    font-size: 13px;
}
.bv-data-item:last-child {
    border-bottom: none;
}
.bv-data-item strong {
    color: var(--primary-blue);
    font-size: 12px;
}

/* Section Title (Dashboard) */
.bv-section-title {
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #958d9e;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.bv-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 14px;
    background: var(--primary-blue);
    border-radius: 4px;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Status Badges */
.bv-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
.bv-badge-success { background: #e8f9f0; color: var(--success); }
.bv-badge-warning { background: #fff8e6; color: var(--warning); }
.bv-badge-danger  { background: #ffecf1; color: var(--danger); }
.bv-badge-primary { background: var(--primary-blue-light); color: var(--primary-blue); }

/* Avatar */
.bv-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue-light);
    box-shadow: var(--shadow-md);
}

/* Alert Boxes */
.bv-alert {
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: 13px;
}
.bv-alert-warning {
    background: #fff8e6;
    border: 1px solid #ffe69c;
    color: #664d03;
}
.bv-alert-danger {
    background: #ffecf1;
    border: 1px solid #f5c2c7;
    color: #842029;
}
.bv-alert-success {
    background: #e8f9f0;
    border: 1px solid #badbcc;
    color: #0f5132;
}

/* Empty State */
.bv-empty {
    text-align: center;
    padding: 40px 20px;
}
.bv-empty i {
    font-size: 40px;
    color: #DCDCE9;
    margin-bottom: 12px;
}
.bv-empty h6 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.bv-empty p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Responsive */
@media (max-width: 576px) {
    .bv-plan-card {
        flex: 1 1 100%;
    }
    #hero h1 {
        font-size: 2.2rem;
    }
    #hero h2 {
        font-size: 1rem;
    }
}
