/* ============================================================
   MATRIMONY REDESIGN - Premium Design System v2.0
   Complete modern frontend overhaul
   ============================================================
   Design Tokens | Typography | Components | Animations | Utilities
   ============================================================ */

/* ----- DESIGN TOKENS ----- */
:root {
  /* Primary palette - Warm rose to gold gradient */
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --rose-800: #9f1239;
  --rose-900: #881337;

  /* Gold accents */
  --gold-50: #fffbeb;
  --gold-100: #fef3c7;
  --gold-200: #fde68a;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-700: #b45309;

  /* Warm neutrals */
  --warm-50: #faf8f6;
  --warm-100: #f5f2ee;
  --warm-200: #e8e3dc;
  --warm-300: #d6cfc5;
  --warm-400: #b8aea1;
  --warm-500: #9a8e7e;
  --warm-600: #7c7060;
  --warm-700: #5e5242;

  /* Brand colors */
  --brand-primary: #f43f5e;
  --brand-primary-dark: #e11d48;
  --brand-secondary: #f59e0b;
  --brand-gradient: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
  --brand-gradient-reverse: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
  --brand-gradient-soft: linear-gradient(135deg, #f43f5e33 0%, #f59e0b33 100%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --glass-blur: 12px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.03);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.04), 0 1px 2px -1px rgb(0 0 0 / 0.03);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.06), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.04);
  --shadow-soft: 0 2px 20px rgba(244, 63, 94, 0.08);
  --shadow-glow: 0 0 20px rgba(244, 63, 94, 0.15);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
}

/* ----- SCROLLBAR ----- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--warm-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--warm-400); }

/* ----- BASE RESET EXTENSIONS ----- */
body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1c1917;
  background: var(--warm-50);
  line-height: 1.6;
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1c1917;
}

.display-heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- GLASSMORPHISM ----- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ----- BUTTONS ----- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-premium:hover::before { opacity: 1; }

.btn-premium-primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-premium-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: white;
}

.btn-premium-secondary {
  background: white;
  color: var(--brand-primary);
  border: 1.5px solid var(--rose-200);
}

.btn-premium-secondary:hover {
  border-color: var(--brand-primary);
  background: var(--rose-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-premium-ghost {
  background: transparent;
  color: var(--warm-600);
}

.btn-premium-ghost:hover {
  background: var(--warm-100);
  color: var(--warm-800);
}

.btn-premium-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-premium-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-premium-block {
  width: 100%;
}

/* Icon buttons */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--warm-500);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-icon:hover {
  background: var(--warm-100);
  color: var(--warm-700);
}

/* ----- CARDS ----- */
.card-premium {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-200);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card-premium:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-premium-interactive {
  cursor: pointer;
}

.card-premium-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.card-gradient {
  background: var(--brand-gradient);
  color: white;
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}

/* ----- INPUTS ----- */
.input-premium {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: #1c1917;
  background: white;
  border: 1.5px solid var(--warm-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  outline: none;
}

.input-premium:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

.input-premium::placeholder {
  color: var(--warm-400);
}

.input-premium-lg {
  padding: 16px 20px;
  font-size: 16px;
}

.input-premium-sm {
  padding: 10px 14px;
  font-size: 13px;
}

.input-premium-error {
  border-color: #ef4444;
}

.input-premium-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-label-premium {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #44403c;
  margin-bottom: 6px;
}

/* Select styling */
.select-premium {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a8e7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ----- FORM GROUP ----- */
.form-group-premium {
  margin-bottom: var(--space-5);
}

.form-group-premium label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #44403c;
  margin-bottom: 6px;
}

/* ----- AVATARS ----- */
.avatar-premium {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.avatar-premium-sm {
  width: 36px;
  height: 36px;
}

.avatar-premium-lg {
  width: 64px;
  height: 64px;
}

.avatar-premium-xl {
  width: 96px;
  height: 96px;
  border-width: 3px;
}

.avatar-premium-ring {
  border: 2px solid var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

/* ----- BADGES ----- */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  line-height: 1;
}

.badge-premium-primary {
  background: var(--rose-100);
  color: var(--brand-primary);
}

.badge-premium-gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.badge-premium-success {
  background: #dcfce7;
  color: #16a34a;
}

.badge-premium-verified {
  background: #dbeafe;
  color: #2563eb;
}

.badge-premium-premium {
  background: var(--brand-gradient);
  color: white;
}

/* ----- CHIPS/TAGS ----- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--warm-100);
  color: var(--warm-600);
  transition: all var(--transition-fast);
  cursor: default;
}

.chip:hover {
  background: var(--warm-200);
}

.chip-primary {
  background: var(--rose-50);
  color: var(--brand-primary);
}

.chip-active {
  background: var(--brand-primary);
  color: white;
}

.chip-removable {
  padding-right: 8px;
}

.chip-removable .chip-remove {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,0.1);
  font-size: 10px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.chip-removable .chip-remove:hover {
  background: rgba(0,0,0,0.2);
}

/* ----- SKELETON LOADERS ----- */
.skeleton {
  background: linear-gradient(90deg, var(--warm-100) 25%, var(--warm-200) 50%, var(--warm-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text { height: 14px; width: 100%; margin-bottom: 8px; }
.skeleton-text-sm { height: 10px; width: 60%; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: var(--radius-full); }
.skeleton-thumbnail { width: 100%; height: 200px; border-radius: var(--radius-md); }
.skeleton-card { height: 300px; border-radius: var(--radius-lg); }

@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ----- EMPTY STATES ----- */
.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-6);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--warm-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--warm-400);
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1c1917;
}

.empty-state p {
  font-size: 14px;
  color: var(--warm-500);
  max-width: 320px;
  margin: 0 auto var(--space-6);
}

/* ----- NOTIFICATIONS / TOASTS ----- */
.toast-premium {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl), var(--shadow-soft);
  border-left: 4px solid var(--brand-primary);
  min-width: 300px;
  max-width: 420px;
  animation: toast-slide-in 0.3s ease-out;
}

.toast-premium-success { border-left-color: #16a34a; }
.toast-premium-error { border-left-color: #ef4444; }
.toast-premium-warning { border-left-color: #f59e0b; }

@keyframes toast-slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toast-slide-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ----- MODAL ----- */
.modal-premium-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modal-overlay-in 0.2s ease;
}

.modal-premium {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in 0.3s ease;
}

.modal-premium-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-6) 0;
}

.modal-premium-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.modal-premium-body {
  padding: var(--space-6);
}

.modal-premium-footer {
  padding: 0 var(--space-6) var(--space-6);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-premium-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: none;
  background: var(--warm-100);
  color: var(--warm-500);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-premium-close:hover {
  background: var(--warm-200);
  color: var(--warm-700);
}

@keyframes modal-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ----- TOGGLE SWITCH ----- */
.toggle-premium {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-premium input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-premium-slider {
  position: absolute;
  inset: 0;
  background: var(--warm-300);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.toggle-premium-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.toggle-premium input:checked + .toggle-premium-slider {
  background: var(--brand-gradient);
}

.toggle-premium input:checked + .toggle-premium-slider::before {
  transform: translateX(20px);
}

/* ----- PROGRESS BAR ----- */
.progress-premium {
  width: 100%;
  height: 6px;
  background: var(--warm-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-premium-bar {
  height: 100%;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

/* ----- SECTION HEADERS ----- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 15px;
  color: var(--warm-500);
  max-width: 500px;
  margin: 0 auto;
}

.section-header-left {
  text-align: left;
}

/* ----- DIVIDER ----- */
.divider-premium {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--warm-400);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* ============================================================
   LAYOUT COMPONENTS
   ============================================================ */

/* ----- NAVIGATION ----- */
.nav-premium {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-base);
}

.nav-premium.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-md);
}

.nav-premium-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--space-6);
  max-width: 1280px;
  margin: 0 auto;
}

.nav-premium-logo img {
  height: 36px;
  width: auto;
}

.nav-premium-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-premium-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-600);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-premium-link:hover {
  background: var(--warm-100);
  color: #1c1917;
  text-decoration: none;
}

.nav-premium-link.active {
  background: var(--rose-50);
  color: var(--brand-primary);
  font-weight: 600;
}

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

/* ----- MOBILE BOTTOM NAV ----- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  padding: 6px 0;
  padding-bottom: max(6px, env(safe-area-inset-bottom));
}

.mobile-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  color: var(--warm-400);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item.active {
  color: var(--brand-primary);
  text-decoration: none;
}

.mobile-bottom-nav-item .nav-icon {
  font-size: 20px;
  line-height: 1;
}

.mobile-bottom-nav-item .nav-badge {
  position: absolute;
  top: 2px;
  right: 50%;
  transform: translateX(16px);
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 700;
  background: var(--brand-gradient);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- HAMBURGER MENU ----- */
.hamburger {
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #1c1917;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ----- SIDEBAR (Member Panel) ----- */
.sidebar-premium {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 200;
  transition: left var(--transition-base);
  box-shadow: var(--shadow-2xl);
  overflow-y: auto;
  padding-bottom: 80px;
}

.sidebar-premium.open {
  left: 0;
}

.sidebar-premium-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.sidebar-premium-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-premium-header {
  padding: var(--space-6);
  text-align: center;
  border-bottom: 1px solid var(--warm-100);
}

.sidebar-premium-nav {
  padding: var(--space-3);
}

.sidebar-premium-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-600);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.sidebar-premium-item:hover {
  background: var(--warm-100);
  color: #1c1917;
  text-decoration: none;
}

.sidebar-premium-item.active {
  background: var(--rose-50);
  color: var(--brand-primary);
  font-weight: 600;
}

.sidebar-premium-item .item-icon {
  width: 20px;
  text-align: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ----- PROFILE CARD ----- */
.profile-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--warm-200);
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.profile-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.profile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.profile-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-card-actions {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.profile-card:hover .profile-card-actions {
  opacity: 1;
  transform: translateY(0);
}

.profile-card-info {
  padding: var(--space-4);
}

.profile-card-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.profile-card-details {
  font-size: 12px;
  color: var(--warm-500);
  line-height: 1.5;
}

.profile-card-match {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand-gradient);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}

/* ----- MEMBER LISTING GRID ----- */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

/* ----- CHAT UI ----- */
.chat-premium {
  display: flex;
  height: calc(100vh - 64px - 60px);
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--warm-200);
}

.chat-premium-sidebar {
  width: 340px;
  border-right: 1px solid var(--warm-200);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.chat-premium-sidebar-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--warm-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-premium-sidebar-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.chat-premium-sidebar-search {
  padding: var(--space-3);
  border-bottom: 1px solid var(--warm-100);
}

.chat-premium-list {
  flex: 1;
  overflow-y: auto;
}

.chat-premium-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--warm-100);
}

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

.chat-premium-item.unread {
  background: var(--warm-50);
}

.chat-premium-item-avatar {
  position: relative;
  flex-shrink: 0;
}

.chat-premium-item-avatar img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.chat-premium-item-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 2px solid white;
}

.chat-premium-item-status.online { background: #22c55e; }
.chat-premium-item-status.offline { background: var(--warm-300); }

.chat-premium-item-info {
  flex: 1;
  min-width: 0;
}

.chat-premium-item-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-premium-item-message {
  font-size: 12px;
  color: var(--warm-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-premium-item-time {
  font-size: 10px;
  color: var(--warm-400);
  flex-shrink: 0;
}

.chat-premium-item-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--brand-gradient);
  color: white;
  font-size: 9px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.chat-premium-main-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--warm-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-premium-main-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-premium-message {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}

.chat-premium-message.sent {
  align-self: flex-end;
  background: var(--brand-gradient);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-premium-message.received {
  align-self: flex-start;
  background: var(--warm-100);
  color: #1c1917;
  border-bottom-left-radius: 4px;
}

.chat-premium-message-time {
  font-size: 10px;
  margin-top: 4px;
  opacity: 0.6;
}

.chat-premium-main-input {
  padding: var(--space-4);
  border-top: 1px solid var(--warm-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-premium-main-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--warm-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-premium-main-input input:focus {
  border-color: var(--brand-primary);
}

/* ----- PRICING CARDS ----- */
.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid var(--warm-200);
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 1px var(--brand-primary), var(--shadow-lg);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-card-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: white;
  padding: 4px 20px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: var(--space-4) 0;
}

.pricing-card-price .currency {
  font-size: 20px;
  font-weight: 600;
  vertical-align: super;
}

.pricing-card-price .period {
  font-size: 14px;
  font-weight: 400;
  color: var(--warm-500);
}

.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
  text-align: left;
}

.pricing-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--warm-600);
}

.pricing-card-features li .feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-size: 10px;
}

.pricing-card-features li .feature-icon.check {
  background: #dcfce7;
  color: #16a34a;
}

.pricing-card-features li .feature-icon.cross {
  background: #fee2e2;
  color: #ef4444;
}

/* ============================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

.fade-in-down {
  animation: fadeInDown 0.5s ease-out;
}

.scale-in {
  animation: scaleIn 0.3s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.3s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.3s ease-out;
}

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Heartbeat animation for premium CTAs */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
  75% { transform: scale(1.05); }
}

.heartbeat {
  animation: heartbeat 2s ease-in-out infinite;
}

/* Shimmer effect for premium elements */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Float animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Pulse ring */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.pulse-ring {
  animation: pulse-ring 2s infinite;
}

/* ============================================================
   UTILITIES
   ============================================================ */

/* Containers */
.container-premium {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-premium-sm {
  max-width: 800px;
}

.container-premium-xs {
  max-width: 480px;
}

/* Section spacing */
.section-premium {
  padding: var(--space-16) 0;
}

.section-premium-sm {
  padding: var(--space-10) 0;
}

/* Flex utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-gap-1 { gap: 4px; }
.flex-gap-2 { gap: 8px; }
.flex-gap-3 { gap: 12px; }
.flex-gap-4 { gap: 16px; }
.flex-gap-5 { gap: 20px; }
.flex-gap-6 { gap: 24px; }

/* Truncation */
.truncate-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Text sizes */
.text-xs { font-size: 12px; }
.text-sm { font-size: 13px; }
.text-base { font-size: 14px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 18px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }

/* Font weights */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Colors */
.text-warm-500 { color: var(--warm-500); }
.text-warm-600 { color: var(--warm-600); }
.text-warm-700 { color: var(--warm-700); }

/* Subtle border */
.border-subtle {
  border: 1px solid var(--warm-200);
}

/* Bento grid layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}

.bento-item {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-200);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.bento-item:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* Hover lift */
.hover-lift {
  transition: all var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Responsive helpers */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .container-premium { padding: 0 var(--space-4); }
  .section-premium { padding: var(--space-10) 0; }
  .member-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-3); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .section-header h2 { font-size: 24px; }
  
  .chat-premium-sidebar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 50;
    width: 100%;
    border-right: none;
  }

  .chat-premium-sidebar.hide {
    display: none;
  }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard nav */
*:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   PREMIUM FOOTER v2.0
   Complete footer design system
   ============================================================ */

/* ----- FOOTER CTA SECTION ----- */
.footer-premium-cta {
  background: linear-gradient(135deg, #1c1917 0%, #292524 50%, #1c1917 100%);
  position: relative;
  overflow: hidden;
}

.footer-premium-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(244,63,94,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(245,158,11,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.footer-premium-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244,63,94,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-premium-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-12) 0;
  gap: var(--space-6);
}

.footer-premium-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(244,63,94,0.15);
  border: 1px solid rgba(244,63,94,0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--rose-300);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-premium-cta-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  max-width: 600px;
  margin: 0;
}

.footer-premium-cta-text {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 1.7;
  margin: 0;
}

.footer-premium-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: var(--space-2);
}

/* ----- MAIN FOOTER ----- */
.footer-premium-main {
  background: #0c0a09;
  position: relative;
}

.footer-premium-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.footer-premium-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 48px;
  padding: var(--space-12) 0;
}

.footer-premium-col-brand {
  max-width: 360px;
}

.footer-premium-logo {
  display: inline-block;
  margin-bottom: var(--space-5);
  text-decoration: none;
}

.footer-premium-logo-img {
  height: 32px;
  width: auto;
}

.footer-premium-logo-img:not([src]) {
  display: none;
}

.footer-premium-logo-text {
  display: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-premium-logo-img[src=""] ~ .footer-premium-logo-text,
.footer-premium-logo-img.error ~ .footer-premium-logo-text {
  display: block;
}

.footer-premium-about {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  margin: 0 0 var(--space-6);
}

/* ----- TRUST BADGES ----- */
.footer-premium-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-6);
}

.footer-premium-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-premium-trust-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(244,63,94,0.1);
  color: var(--rose-400);
  font-size: 14px;
  flex-shrink: 0;
}

.footer-premium-trust-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-premium-trust-text strong {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}

.footer-premium-trust-text span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.3;
}

/* ----- SOCIAL LINKS ----- */
.footer-premium-social {
  margin-top: var(--space-2);
}

.footer-premium-social-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.25);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.footer-premium-social-icons {
  display: flex;
  gap: 8px;
}

.footer-premium-social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.06);
}

.footer-premium-social-icon:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-premium-social-icon.facebook:hover {
  background: #1877F2;
  color: white;
  border-color: #1877F2;
}

.footer-premium-social-icon.instagram:hover {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
  color: white;
  border-color: transparent;
}

.footer-premium-social-icon.twitter:hover {
  background: #1DA1F2;
  color: white;
  border-color: #1DA1F2;
}

.footer-premium-social-icon.youtube:hover {
  background: #FF0000;
  color: white;
  border-color: #FF0000;
}

.footer-premium-social-icon.linkedin:hover {
  background: #0A66C2;
  color: white;
  border-color: #0A66C2;
}

/* ----- FOOTER COLUMN HEADINGS ----- */
.footer-premium-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ----- FOOTER LINK LISTS ----- */
.footer-premium-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-premium-links li {
  margin: 0;
}

.footer-premium-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-premium-link:hover {
  color: white;
  text-decoration: none;
  padding-left: 4px;
}

.footer-premium-link-icon {
  font-size: 10px;
  opacity: 0;
  transition: all 0.25s ease;
  color: var(--rose-400);
}

.footer-premium-link:hover .footer-premium-link-icon {
  opacity: 1;
  transform: translateX(2px);
}

/* ----- APP BADGES ----- */
.footer-premium-apps {
  margin-bottom: var(--space-5);
}

.footer-premium-app-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-premium-app-badge {
  display: inline-block;
  transition: all 0.25s ease;
  text-decoration: none;
  max-width: 140px;
}

.footer-premium-app-badge:hover {
  transform: scale(1.03);
  text-decoration: none;
}

.footer-premium-app-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ----- CONTACT INFO ----- */
.footer-premium-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--space-4);
}

.footer-premium-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-premium-contact-item:hover {
  color: white;
  text-decoration: none;
}

.footer-premium-contact-item i {
  font-size: 14px;
  color: var(--rose-400);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* ----- COPYRIGHT / BOTTOM BAR ----- */
.footer-premium-bottom {
  background: #090807;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-premium-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: var(--space-5) 0;
}

.footer-premium-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

.footer-premium-copyright a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-premium-copyright a:hover {
  color: white;
  text-decoration: none;
}

.footer-premium-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-premium-bottom-link {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-premium-bottom-link:hover {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

/* ----- RESPONSIVE FOOTER ----- */
@media (max-width: 1024px) {
  .footer-premium-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-premium-col-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-premium-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-premium-cta-inner {
    padding: var(--space-8) 0;
  }

  .footer-premium-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .footer-premium-cta-actions .btn-premium {
    width: 100%;
    justify-content: center;
  }

  .footer-premium-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-premium-bottom-links {
    justify-content: center;
  }

  .footer-premium-social-icons {
    justify-content: center;
  }

  .footer-premium-trust {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-premium-app-badges {
    flex-direction: row;
    gap: 10px;
  }

  .footer-premium-app-badge {
    max-width: 120px;
  }
}

/* ----- PULSE GLOW ANIMATION (for CTA button) ----- */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(244,63,94,0.4);
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(244,63,94,0.2);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ----- Adjust mobile bottom nav padding for safe area ----- */
.mobile-bottom-nav {
  padding-bottom: max(6px, env(safe-area-inset-bottom, 6px));
}
