/* ==========================================================================
   VORE ALOO MATRIMONIAL PLATFORM - ENHANCED DESIGN SYSTEM & STYLESHEET
   Features: Glassmorphism, Splash Loader, Account Dropdown, Mobile Drawer
   Small Screen: Icon-only My Account button
   Footer Attribution: "Made with ❤️ by Codefyn"
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Primary Color Palette */
  --primary-rose: #E11D48;
  --primary-rose-dark: #BE123C;
  --rose-light: #FFF1F2;
  --rose-glow: rgba(225, 29, 72, 0.2);

  --accent-gold: #D97706;
  --gold-light: #FEF3C7;
  
  --emerald-accent: #059669;
  --emerald-light: #ECFDF5;

  /* Neutrals & Backgrounds */
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px -6px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 48px -12px rgba(225, 29, 72, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.92);
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 70px;
}

@media (min-width: 993px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==========================================================================
   PAGE SPLASH LOADER
   ========================================================================== */

#app-loader-splash {
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#app-loader-splash.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 24px;
}

.loader-logo-img {
  width: 100%;
  height: 100%;
  animation: pulseLogo 2s infinite ease-in-out;
}

.loader-spinner-ring {
  position: absolute;
  inset: -12px;
  border: 4px solid var(--rose-light);
  border-top-color: var(--primary-rose);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.loader-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.loader-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-rose);
  margin-top: 4px;
}

/* ==========================================================================
   NAVIGATION BAR & BRANDING
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(225, 29, 72, 0.3));
}

.brand-logo span.tag {
  font-size: 10.5px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose-light), #FFE4E6);
  color: var(--primary-rose);
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(225, 29, 72, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-item {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary-rose);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 22px;
  color: var(--text-dark);
  padding: 8px;
}

/* My Account Dropdown */
.account-dropdown-wrap {
  position: relative;
}

.account-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  width: 240px;
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: none;
  overflow: hidden;
  z-index: 1300;
}

.account-dropdown-menu.show {
  display: block;
}

.dropdown-user-header {
  padding: 16px;
  background: var(--rose-light);
  border-bottom: 1px solid var(--border-light);
}

.dropdown-user-header strong {
  display: block;
  font-size: 14.5px;
  color: var(--text-dark);
}

.dropdown-user-header span {
  font-size: 12px;
  color: var(--text-muted);
}

.dropdown-item {
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: #F8FAFC;
  color: var(--primary-rose);
}

.dropdown-item i {
  color: var(--primary-rose);
  width: 18px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
}

/* Primary & Secondary Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-rose), var(--primary-rose-dark));
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.3);
}

.btn-secondary {
  background: white;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 24px;
  transition: all 0.2s ease;
}

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

.badge-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-dark);
  cursor: pointer;
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary-rose);
  color: white;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* ==========================================================================
   MOBILE SIDEBAR DRAWER & BOTTOM BAR
   ========================================================================== */

.mobile-sidebar-drawer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.mobile-sidebar-drawer.show {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
}

.drawer-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 290px;
  background: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-sidebar-drawer.show .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-links {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.drawer-link-item {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.drawer-link-item:hover, .drawer-link-item.active {
  background: var(--rose-light);
  color: var(--primary-rose);
}

.drawer-link-item i {
  color: var(--primary-rose);
  width: 20px;
}

.drawer-footer-btn {
  background: #0F172A;
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: white;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.06);
  z-index: 990;
  justify-content: space-around;
  align-items: center;
}

.bottom-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.bottom-tab-item.active, .bottom-tab-item:hover {
  color: var(--primary-rose);
}

.bottom-tab-item i {
  font-size: 18px;
}

/* Notification Popover */
.notif-popover {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  width: 340px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 1200;
}

.notif-popover.show {
  display: block;
}

.notif-header {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-list {
  max-height: 320px;
  overflow-y: auto;
}

.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  cursor: pointer;
}

.notif-item:hover {
  background: #F8FAFC;
}

.notif-item i {
  color: var(--primary-rose);
  margin-top: 3px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 60px 24px 80px;
  background: radial-gradient(circle at 10% 20%, #FFF1F2 0%, #F8FAFC 90%);
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.12;
  color: var(--text-dark);
  letter-spacing: -1.2px;
}

.hero-title span {
  color: var(--primary-rose);
  background: linear-gradient(135deg, var(--primary-rose), #991B1B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: 17.5px;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 520px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-accent);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

/* Quick Search Card */
.hero-search-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(225, 29, 72, 0.12);
  position: relative;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: #F8FAFC;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-rose);
  background: white;
}

.hero-image-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-img-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  height: 280px;
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-img-card:hover img {
  transform: scale(1.05);
}

.hero-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
  color: white;
}

.hero-img-overlay h4 {
  font-size: 15px;
  font-weight: 800;
}

.hero-img-overlay p {
  font-size: 12px;
  opacity: 0.9;
}

/* Floating Stats Badge */
.hero-float-stat {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 14px 28px;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--rose-light);
  white-space: nowrap;
}

.stat-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-rose);
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE APP DOWNLOAD BANNER SECTION
   ========================================================================== */

.app-download-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
  color: white;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  max-width: 1280px;
  margin: 60px auto;
}

.app-download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.app-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.app-title span {
  color: #F43F5E;
}

.app-subtitle {
  font-size: 16px;
  color: #94A3B8;
  margin-top: 14px;
  line-height: 1.6;
}

.app-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.app-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #E2E8F0;
}

.app-feature-item i {
  color: #F43F5E;
  font-size: 16px;
}

.store-buttons-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.store-badge-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: 16px;
  color: white;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.store-badge-btn:hover {
  background: var(--primary-rose);
  border-color: var(--primary-rose);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4);
}

.store-badge-btn i {
  font-size: 28px;
}

.store-badge-btn div span {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.store-badge-btn div strong {
  font-size: 16px;
  font-weight: 800;
}

/* App Mockup Visual */
.app-mockup-wrapper {
  position: relative;
  text-align: center;
}

.app-mockup-frame {
  width: 280px;
  height: 520px;
  background: #000;
  border-radius: 44px;
  border: 8px solid #334155;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.app-mockup-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-code-box {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 12px;
  border-radius: 16px;
  color: var(--text-dark);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.qr-code-box img {
  width: 70px;
  height: 70px;
}

.qr-code-box span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  margin-top: 4px;
  color: var(--text-muted);
}

/* ==========================================================================
   PROFILE CARDS & DIRECTORY
   ========================================================================== */

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.6px;
}

.section-subtitle {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.profile-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(225, 29, 72, 0.25);
}

.card-image-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge-verified {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(5, 150, 105, 0.92);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-badge-compat {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(225, 29, 72, 0.92);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 12px;
}

.card-content {
  padding: 20px;
}

.card-name {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--text-dark);
}

.card-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

.card-details-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dark);
}

.card-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-detail-item i {
  color: var(--primary-rose);
  width: 16px;
}

.card-actions {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAFAFA;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.btn-icon:hover, .btn-icon.active {
  background: var(--rose-light);
  color: var(--primary-rose);
  border-color: var(--primary-rose);
}

/* ==========================================================================
   ADVANCED SEARCH & FILTER PAGE
   ========================================================================== */

.search-page-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
}

.filter-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.filter-header h3 {
  font-size: 17px;
  font-weight: 800;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-section h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
}

.checkbox-label input {
  accent-color: var(--primary-rose);
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   DETAILED PROFILE MODAL VIEW
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.show {
  display: flex;
}

.modal-container {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.profile-detail-header {
  position: relative;
  height: 320px;
  background: var(--text-dark);
}

.profile-detail-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.profile-header-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.profile-detail-body {
  padding: 32px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.detail-section {
  margin-bottom: 28px;
}

.detail-section h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section h3 i {
  color: var(--primary-rose);
}

.info-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: #F8FAFC;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
}

.info-item {
  font-size: 13.5px;
}

.info-item span.label {
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.info-item span.val {
  color: var(--text-dark);
  font-weight: 800;
}

/* ==========================================================================
   USER DASHBOARD & CHAT INTERFACE
   ========================================================================== */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.dash-stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
}

.dash-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--rose-light);
  color: var(--primary-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* Chat Layout */
.chat-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  height: 600px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.chat-sidebar {
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.chat-user-item {
  padding: 16px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.chat-user-item:hover, .chat-user-item.active {
  background: var(--rose-light);
}

.chat-user-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
}

.chat-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald-accent);
  border: 2px solid white;
}

.chat-main {
  display: flex;
  flex-direction: column;
}

.chat-main-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-messages-area {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #F8FAFC;
}

.msg-bubble {
  max-width: 65%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.msg-bubble.them {
  background: white;
  color: var(--text-dark);
  align-self: flex-start;
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
}

.msg-bubble.me {
  background: var(--primary-rose);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input-area {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   PRICING & SUCCESS STORIES
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 40px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--primary-rose);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-rose);
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
}

.price-val {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-dark);
  margin: 16px 0;
}

.price-val span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li i {
  color: var(--emerald-accent);
}

/* ==========================================================================
   FOOTER (With Codefyn Attribution)
   ========================================================================== */

.footer {
  background: #0F172A;
  color: white;
  padding: 80px 24px 32px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1E293B;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  color: white;
}

.footer-brand-title img {
  width: 36px;
  height: 36px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 14px;
  max-width: 320px;
}

.footer-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--primary-rose);
}

.footer-bottom {
  max-width: 1280px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #64748B;
  font-size: 13.5px;
}

.codefyn-badge {
  font-weight: 700;
  color: #E2E8F0;
}

.codefyn-badge span {
  color: #F43F5E;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Small Screens, Tablets & Phones)
   ========================================================================== */

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-bottom-bar {
    display: flex;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .app-download-grid {
    grid-template-columns: 1fr;
  }
  
  .search-page-layout {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  /* Small Screen Account Button: Icon Only */
  .account-btn {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
  }
  
  .account-btn .btn-text,
  .account-btn .btn-arrow {
    display: none !important;
  }

  .hero-title {
    font-size: 34px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .search-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-detail-body {
    grid-template-columns: 1fr;
  }
  
  .chat-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .store-buttons-wrap {
    flex-direction: column;
  }
  
  .store-badge-btn {
    width: 100%;
    justify-content: center;
  }
}
