@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Color Palette */
  --bg-deep-graphite: #0f1115;
  --bg-soft-navy: #151821;
  --bg-panel: #1a1e29;
  
  --primary-white: #ffffff;
  --text-muted: #8e9bb0;
  
  --brand-electric-blue: #0066ff;
  --brand-vibrant-purple: #8b5cf6;
  
  --accent-cyan: #06b6d4;
  --accent-neon-violet: #a855f7;
  --accent-orange: #f97316;
  --accent-green: #10b981;
  
  --border-color: rgba(255,255,255,0.08);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.15);
  --shadow-card: 0 20px 40px rgba(0,0,0,0.4);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-panel) var(--bg-deep-graphite);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep-graphite);
  color: var(--primary-white);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--primary-white);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--brand-electric-blue);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--brand-electric-blue), var(--brand-vibrant-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-purple {
  background: linear-gradient(135deg, var(--accent-neon-violet), var(--brand-vibrant-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-glass {
  background: rgba(21, 24, 33, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
}
.bg-panel {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
}

.btn-bravo-primary {
  background: linear-gradient(135deg, var(--brand-electric-blue), var(--brand-vibrant-purple));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-bravo-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--brand-vibrant-purple), var(--brand-electric-blue));
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}
.btn-bravo-primary:hover::before {
  opacity: 1;
}
.btn-bravo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
  color: #fff;
}

.btn-bravo-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition-smooth);
}
.btn-bravo-outline:hover {
  border-color: var(--brand-electric-blue);
  color: var(--brand-electric-blue);
  background: rgba(0, 102, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep-graphite); }
::-webkit-scrollbar-thumb { background: var(--bg-panel); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-electric-blue); }

/* Navigation */
.bravo-navbar {
  padding: 20px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}
.bravo-navbar.scrolled {
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--primary-white);
  letter-spacing: -0.5px;
}
.nav-link {
  font-weight: 500;
  color: var(--primary-white) !important;
  font-size: 15px;
  margin: 0 10px;
  position: relative;
  transition: var(--transition-smooth);
}
.nav-link.active, .nav-link:hover {
  color: var(--brand-electric-blue) !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-electric-blue);
  transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  color: var(--primary-white);
  transition: var(--transition-smooth);
  position: relative;
}
.icon-btn:hover {
  background: var(--brand-electric-blue);
  border-color: var(--brand-electric-blue);
  color: #fff;
  transform: translateY(-2px);
}
.icon-badge {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}
.hero-bg-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

/* Search Bar */
.hero-search {
  position: relative;
  max-width: 650px;
  margin-bottom: 40px;
}
.hero-search input {
  width: 100%;
  padding: 20px 30px 20px 60px;
  border-radius: 50px;
  background: rgba(26, 30, 41, 0.7);
  border: 1px solid var(--border-color);
  color: var(--primary-white);
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}
.hero-search input:focus {
  outline: none;
  border-color: var(--brand-electric-blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
  background: rgba(26, 30, 41, 0.9);
}
.hero-search i {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--text-muted);
}
.hero-search .search-btn {
  position: absolute;
  right: 8px;
  top: 8px;
  bottom: 8px;
  background: var(--brand-electric-blue);
  border: none;
  border-radius: 40px;
  color: #fff;
  padding: 0 30px;
  font-weight: 600;
  transition: var(--transition-smooth);
}
.hero-search .search-btn:hover {
  background: var(--brand-vibrant-purple);
}

.trending-tags {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.trending-tags span {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.tag {
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--primary-white);
  transition: var(--transition-smooth);
}
.tag:hover {
  background: var(--brand-electric-blue);
  border-color: var(--brand-electric-blue);
  transform: translateY(-2px);
}

/* Floating Cards Animation */
.floating-cards-wrapper {
  position: relative;
  height: 600px;
}
.float-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.1);
}
.float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.float-card:hover {
  transform: scale(1.05) translateY(-10px) !important;
  z-index: 10;
}
.fc-1 { width: 350px; height: 250px; top: 10%; right: 10%; z-index: 3; }
.fc-2 { width: 280px; height: 200px; top: 45%; right: 40%; z-index: 2; }
.fc-3 { width: 300px; height: 350px; bottom: 5%; right: 5%; z-index: 4; }

/* Product Cards */
.product-card {
  border-radius: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
}
.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.product-img-wrapper {
  position: relative;
  padding-top: 66%; /* 3:2 aspect ratio */
  overflow: hidden;
}
.product-img-wrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}
.product-badges {
  position: absolute;
  top: 15px; left: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.badge-pro {
  background: linear-gradient(135deg, var(--accent-orange), #ff4d4d);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.product-actions {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 3;
}
.product-card:hover .product-actions {
  opacity: 1;
  visibility: visible;
}
.product-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 17, 21, 0.5);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}
.product-card:hover .product-img-wrapper::after {
  opacity: 1;
}
.product-content {
  padding: 25px;
}
.product-category {
  color: var(--brand-electric-blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: inline-block;
}
.product-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
}
.product-title a {
  color: var(--primary-white);
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  margin-top: 15px;
}
.author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 35px; height: 35px;
  border-radius: 50%;
  object-fit: cover;
}
.author-name {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-white);
  font-family: var(--font-heading);
}

/* Category Cards */
.category-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: var(--transition-smooth);
  display: block;
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand-vibrant-purple);
  background: rgba(139, 92, 246, 0.05);
}
.category-icon {
  width: 70px; height: 70px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--brand-electric-blue);
  transition: var(--transition-smooth);
}
.category-card:hover .category-icon {
  background: var(--brand-vibrant-purple);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}
.category-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.category-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section-padding {
  padding: 100px 0;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}

/* Creator Spotlight */
.creator-card {
  background: var(--bg-soft-navy);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}
.creator-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
}
.creator-cover {
  height: 100px;
  border-radius: 10px;
  margin-bottom: -50px;
  background: linear-gradient(135deg, var(--bg-panel), var(--bg-deep-graphite));
  overflow: hidden;
}
.creator-cover img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.5;
}
.creator-avatar-wrap {
  width: 100px; height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  padding: 5px;
  background: var(--bg-soft-navy);
  position: relative;
  z-index: 2;
}
.creator-avatar-wrap img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
}
.creator-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.stat-item h4 {
  font-size: 1.1rem; margin-bottom: 2px;
}
.stat-item p {
  font-size: 0.8rem; color: var(--text-muted); margin: 0;
}

/* Footer */
.site-footer {
  background: var(--bg-soft-navy);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
}
.footer-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.footer-links {
  list-style: none; padding: 0; margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--brand-electric-blue);
  padding-left: 5px;
}
.newsletter-form input {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
}
.newsletter-form input:focus {
  border-color: var(--brand-electric-blue);
  box-shadow: none;
  background: var(--bg-panel);
  color: #fff;
}
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title { font-size: 3rem; }
  .floating-cards-wrapper { display: none; }
  .navbar-collapse {
    background: var(--bg-panel);
    padding: 20px;
    border-radius: 15px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
  }
}
            padding: 20px;
            z-index: 10;
        }
        
        .auth-card {
            background: rgba(30, 33, 40, 0.7);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        
        .auth-brand {
            font-family: var(--font-heading);
            font-size: 2rem;
            color: #fff;
            text-align: center;
            margin-bottom: 10px;
            display: block;
            text-decoration: none;
            font-weight: 800;
        }
        
        .form-floating > .form-control {
            background-color: rgba(255,255,255,0.03);
            border: 1px solid var(--border-color);
            color: #fff;
            border-radius: 12px;
        }
        .form-floating > .form-control:focus {
            background-color: rgba(255,255,255,0.05);
            border-color: var(--brand-electric-blue);
            box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
        }
        .form-floating > label {
            color: var(--text-muted);
        }
        
        .auth-btn {
            width: 100%;
            padding: 14px;
            font-weight: 600;
            border-radius: 12px;
            font-size: 1rem;
            margin-top: 20px;
        }
        
        .social-btn {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-color);
            background: transparent;
            color: #fff;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: var(--transition-smooth);
            margin-bottom: 15px;
        }
        .social-btn:hover {
            background: rgba(255,255,255,0.05);
        }
        
        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 25px 0;
            color: var(--text-muted);
        }
        .divider::before, .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid var(--border-color);
        }
        .divider:not(:empty)::before { margin-right: .25em; }
        .divider:not(:empty)::after { margin-left: .25em; }

        .blob-1 { position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: rgba(0, 102, 255, 0.1); filter: blur(80px); border-radius: 50%; }
        .blob-2 { position: absolute; bottom: -100px; left: -100px; width: 300px; height: 300px; background: rgba(139, 92, 246, 0.1); filter: blur(80px); border-radius: 50%; }

/* ==========================================================================
   Customer Dashboard
   ========================================================================== */
.dashboard-container { display: flex; min-height: 100vh; }
        
        .sidebar { width: 280px; background: var(--bg-panel); border-right: 1px solid var(--border-color); padding: 30px 0; position: fixed; height: 100vh;  z-index: 100; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }
        .sidebar::-webkit-scrollbar { width: 4px; }
        .sidebar::-webkit-scrollbar-track { background: transparent; }
        .sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
        .sidebar::-webkit-scrollbar-thumb:hover { background: var(--brand-electric-blue); }
        .sidebar-brand { font-family: var(--font-heading); font-size: 1.5rem; color: #fff; font-weight: 800; padding: 0 30px; display: block; margin-bottom: 40px; text-decoration: none;}
        .sidebar-menu { list-style: none; padding: 0; margin: 0; }
        .sidebar-menu li { margin-bottom: 5px; }
        .sidebar-menu a { display: flex; align-items: center; gap: 15px; padding: 12px 30px; color: var(--text-muted); font-weight: 500; transition: var(--transition-smooth); text-decoration: none;}
        .sidebar-menu a i { font-size: 1.2rem; }
        .sidebar-menu a:hover, .sidebar-menu a.active { background: rgba(0,102,255,0.05); color: var(--brand-electric-blue); border-right: 3px solid var(--brand-electric-blue); }
        
        .main-content { flex: 1; margin-left: 280px; padding: 30px 40px; background: var(--bg-deep-graphite); }
        
        .topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
        .user-profile { display: flex; align-items: center; gap: 15px; }
        .user-profile img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
        
        .stat-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 20px; padding: 25px; display: flex; align-items: center; gap: 20px; transition: var(--transition-smooth); }
        .stat-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
        .stat-icon { width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
        .stat-icon.blue { background: rgba(0,102,255,0.1); color: var(--brand-electric-blue); }
        .stat-icon.purple { background: rgba(139,92,246,0.1); color: var(--brand-vibrant-purple); }
        .stat-icon.green { background: rgba(16,185,129,0.1); color: var(--accent-green); }
        .stat-icon.orange { background: rgba(249,115,22,0.1); color: var(--accent-orange); }
        .stat-info h3 { font-size: 1.8rem; margin: 0; font-family: var(--font-heading); color: #fff;}
        .stat-info p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
        
        .panel { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 20px; padding: 30px; margin-bottom: 30px; }
        .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
        .panel-title { font-size: 1.2rem; margin: 0; color: #fff;}
        
        .table-custom { color: var(--primary-white); margin: 0; background: transparent; }
        .table-custom th { background: transparent; border-bottom: 1px solid var(--border-color); color: var(--text-muted); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; padding: 15px; }
        .table-custom td { background: transparent; border-bottom: 1px solid rgba(255,255,255,0.02); padding: 15px; vertical-align: middle; color: #fff;}
        .table-custom tbody tr:hover { background: rgba(255,255,255,0.02); }
        
        .status-badge { padding: 5px 10px; border-radius: 30px; font-size: 0.75rem; font-weight: 600; }
        .status-active { background: rgba(16,185,129,0.1); color: var(--accent-green); }
        .status-expired { background: rgba(239,68,68,0.1); color: #ef4444; }

        .item-thumb { width: 60px; height: 45px; border-radius: 8px; object-fit: cover; margin-right: 15px; }

        /* Membership banner */
        .membership-banner {
            background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(139, 92, 246, 0.1));
            border: 1px solid rgba(0, 102, 255, 0.2);
            border-radius: 20px;
            padding: 25px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
        }
        .membership-banner h4 { color: #fff; margin-bottom: 5px; font-family: var(--font-heading); }
        .membership-banner p { color: var(--text-muted); margin: 0; }

/* ==========================================================================
   Global Form Overrides
   ========================================================================== */
::placeholder,
.form-control::placeholder,
.form-select::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1; /* Firefox override */
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #1a1e29 inset !important;
    -webkit-text-fill-color: white !important;
}

/* Lenis Scroll Resets */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
body { overscroll-behavior-y: none; }

/* Pricing Page Styles */
.pricing-header {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom, var(--bg-deep-graphite), var(--bg-soft-navy));
    text-align: center;
}

.pricing-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.1);
}

.pricing-card.popular {
    border: 2px solid var(--brand-electric-blue);
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.05) 0%, var(--bg-panel) 100%);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.15);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 10px 50px rgba(0, 102, 255, 0.25);
}

@media (max-width: 991px) {
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-10px); }
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--brand-electric-blue);
    color: #fff;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.3);
}

.plan-name { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.plan-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; min-height: 45px; }
.plan-price { font-size: 3.5rem; font-weight: 800; font-family: var(--font-heading); color: #fff; line-height: 1; margin-bottom: 10px; }
.plan-price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 400; }

.plan-features { list-style: none; padding: 0; margin: 30px 0; }
.plan-features li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; color: var(--primary-white); font-size: 0.95rem; }
.plan-features li i { color: var(--accent-green); font-size: 1.2rem; margin-top: 2px; }
.plan-features li.disabled { color: var(--text-muted); opacity: 0.6; }
.plan-features li.disabled i { color: var(--text-muted); }

.btn-pricing { width: 100%; padding: 15px; font-weight: 600; font-size: 1rem; border-radius: 12px; }

.savings-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Trending Page Styles */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom, var(--bg-deep-graphite), var(--bg-soft-navy));
    border-bottom: 1px solid var(--border-color);
}

.trending-badge-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 20px;
}

.trend-rank {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-deep-graphite);
    color: #fff;
    border: 2px solid var(--brand-electric-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.trend-rank.rank-1 { border-color: #fbbf24; color: #fbbf24; } /* Gold */
.trend-rank.rank-2 { border-color: #94a3b8; color: #94a3b8; } /* Silver */
.trend-rank.rank-3 { border-color: #b45309; color: #b45309; } /* Bronze */

/* Dashboard Responsive */
.mobile-menu-btn { display: none; }
.sidebar-overlay { display: none; }
@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 5px 0 25px rgba(0,0,0,0.5); }
    .sidebar.show { transform: translateX(0); }
    .main-content { margin-left: 0; padding: 20px; }
    .mobile-menu-btn { display: block; cursor: pointer; }
    .sidebar-overlay {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.7); z-index: 90;
    }
    .sidebar-overlay.show { display: block; }
}

/* Ensure offcanvas positioning is strict */
@media (max-width: 991px) {
    .sidebar { top: 0 !important; left: 0 !important; z-index: 1050 !important; }
    .sidebar.show { transform: translateX(0) !important; }
    .sidebar-overlay { z-index: 1040 !important; }
}

/* Dashboard Deep Responsive Fixes */
body { overflow-x: hidden; }
.dashboard-container { overflow-x: hidden; width: 100%; max-width: 100vw; }

@media (max-width: 768px) {
    .topbar { flex-direction: column; align-items: flex-start !important; gap: 20px; }
    .topbar .d-flex { width: 100%; }
    .user-profile { width: 100%; justify-content: flex-end; margin-top: 10px; }
    
    .membership-banner { flex-direction: column; align-items: flex-start !important; text-align: left; }
    .membership-banner > div:last-child { width: 100%; }
    .membership-banner .btn { width: 100%; }
    
    .panel { padding: 20px 15px; }
    .stat-card { padding: 20px; }
}

/* Dropdown Hover Settings */
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
.dropdown-menu {
  transition: all 0.3s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: rgba(0, 102, 255, 0.1) !important;
  color: var(--brand-electric-blue) !important;
}


/* Page Header Styles */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(to bottom, var(--bg-deep-graphite), var(--bg-soft-navy));
  border-bottom: 1px solid var(--border-color);
}
.page-header-center {
  text-align: center;
}

/* ==========================================================================
   Authentication Pages
   ========================================================================== */
.auth-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-deep-graphite), var(--bg-soft-navy));
    position: relative;
    overflow: hidden;
}
.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 10;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
}
.auth-container::-webkit-scrollbar {
    display: none;
}
