/*
 * NorthStay Master Stylesheet — Dark Theme Edition
 * Premium SaaS Dark Mode Design System
 */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Colors */
  --primary: #3b82f6; /* Brighter neon blue for dark mode readability */
  --primary-hover: #60a5fa;
  --primary-light: rgba(59, 130, 246, 0.12);
  
  --secondary: #14b8a6; /* Neon Teal */
  --secondary-hover: #2dd4bf;
  --secondary-light: rgba(20, 184, 166, 0.12);

  --accent: #8b5cf6; /* Neon Violet */
  --accent-hover: #a78bfa;
  --accent-light: rgba(139, 92, 246, 0.12);
  
  --dark: #030712; /* Deep space black void */
  --dark-soft: rgba(15, 23, 42, 0.55); /* Perfect glass backdrop */
  --light: #080c18; /* Alternative dark background */
  --light-soft: rgba(30, 41, 59, 0.4); /* Softer transluscent slate */
  
  --text-main: #94a3b8; /* Cool silver/gray */
  --text-light: #ffffff; /* Crisp white for headings */
  --text-muted: #64748b; /* Muted gray */
  --text-light-muted: #475569;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #3b82f6;
  
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.15);
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-light: rgba(239, 68, 68, 0.15);

  /* Glassmorphism system */
  --glass-bg: rgba(15, 23, 42, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.45);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.45);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.25);
  --shadow-glow-teal: 0 0 25px rgba(20, 184, 166, 0.25);
  --shadow-glow-violet: 0 0 25px rgba(139, 92, 246, 0.25);

  /* Layout */
  --header-height: 80px;
  --border-radius: 20px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET & BASE STYLES ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Base background grid overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─── PREMIUM SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--dark);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ─── TYPOGRAPHY UTILITIES ─── */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }

/* Gradient text with animation shimmer */
@keyframes textShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 25%, #3b82f6 50%, #8b5cf6 75%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: textShimmer 8s linear infinite;
}

/* ─── AMBIENT GLOW BACKDROPS ─── */
.bg-glow-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

@keyframes morphBlob {
  0% { 
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: translate(0px, 0px) rotate(0deg) scale(1); 
  }
  33% { 
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
    transform: translate(40px, -60px) rotate(120deg) scale(1.15); 
  }
  66% { 
    border-radius: 30% 70% 40% 60% / 50% 60% 40% 50%;
    transform: translate(-30px, 30px) rotate(240deg) scale(0.9); 
  }
  100% { 
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: translate(0px, 0px) rotate(360deg) scale(1); 
  }
}

.bg-glow-blobs .blob {
  position: absolute;
  filter: blur(120px);
  opacity: 0.16;
  animation: morphBlob 22s infinite ease-in-out;
}

.bg-glow-blobs .blob-1 {
  width: 500px;
  height: 500px;
  background-color: var(--primary);
  top: 10%;
  right: 5%;
}

.bg-glow-blobs .blob-2 {
  width: 450px;
  height: 450px;
  background-color: var(--secondary);
  bottom: 20%;
  left: 5%;
  animation-delay: -7s;
}

/* ─── SECTION STYLING ─── */
section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section-light {
  background-color: var(--dark);
}
.section-gray {
  background-color: var(--light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-dark {
  background-color: #04060d;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}
.section-dark h2 {
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5), var(--shadow-sm); }
  70% { box-shadow: 0 0 0 12px rgba(59, 130, 246, 0), var(--shadow-sm); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0), var(--shadow-sm); }
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  animation: pulseGlow 2.2s infinite ease-in-out;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  animation: none; /* disable pulse during hover state */
}

.btn-secondary {
  background-color: var(--dark-soft);
  color: var(--text-light);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-white {
  background-color: var(--text-light);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background-color: var(--light-soft);
  transform: translateY(-2px);
}

.btn i {
  margin-left: 8px;
}

/* ─── NAVIGATION BAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border-color);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: #ffffff; /* North in white */
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  padding-top: 8px; /* leave space for the roof icon */
  white-space: nowrap;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-stay {
  color: #ff4b4b; /* Stay in red-orange */
  position: relative;
  display: inline-block;
  margin-left: 2px;
}

.logo-roof-svg {
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 20px;
  overflow: visible;
  transition: transform 0.3s ease;
}

.logo:hover .logo-roof-svg {
  transform: translateY(-2px);
}

.logo-tagline {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 4px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 50px;
  background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 65%),
              radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.05) 0%, transparent 65%);
}

.hero .container {
  position: relative;
  z-index: 1;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.75rem;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -1px;
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.15s;
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.45s;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-badges img {
  height: 40px;
  opacity: 0.8;
  transition: var(--transition);
}
.hero-badges img:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.hero-illustration {
  position: relative;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

/* ─── HERO FLOATING CARDS STACK ─── */
.hero-cards-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 380px;
  margin: 0 auto;
}

/* Floating Card Base */
.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.floating-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.25);
}

/* Main PG Card */
.main-pg-card {
  top: 10px;
  left: 20px;
  width: 320px;
  overflow: hidden;
  animation: float-main 7s ease-in-out infinite;
  z-index: 2;
}

.card-img-placeholder {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16, 185, 129, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-info {
  padding: 16px;
}

.card-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.card-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

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

.gender.boys {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.price {
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
}

/* Overlapping Chat/Notification Card */
.notification-card {
  bottom: 30px;
  right: 10px;
  width: 280px;
  padding: 16px;
  animation: float-notif 6s ease-in-out infinite;
  z-index: 3;
  border-color: rgba(20, 184, 166, 0.15);
}

.notif-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.user-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}

.user-info .time {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}

.notification-card .message {
  font-size: 0.75rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 50px;
}

/* Mini Floating Badge Card */
.mini-badge-card {
  top: 120px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  animation: float-mini 8s ease-in-out infinite;
  z-index: 1;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.mini-badge-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.mini-badge-card p {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin: 0;
}

/* Animations */
@keyframes float-main {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-notif {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-mini {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* 3D Container-Hover Parallax effects */
.hero-illustration:hover .floating-card {
  animation: none !important;
}

.hero-illustration:hover .property-overlay-card {
  transform: translateY(-15px) translateX(10px) rotate(2deg) scale(1.03) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(59, 130, 246, 0.35) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

.hero-illustration:hover .distance-badge-card {
  transform: translateY(-25px) translateX(-15px) rotate(-2deg) scale(1.05) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.35) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

/* Glassmorphism card light reflections */
.feature-card, .why-card, .testimonial-card, .floating-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after, .why-card::after, .testimonial-card::after, .floating-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.8s ease;
  pointer-events: none;
  z-index: 5;
}

.feature-card:hover::after, .why-card:hover::after, .testimonial-card:hover::after, .floating-card:hover::after {
  left: 150%;
}

/* ─── FEATURE CARDS ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  padding: 40px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-main);
}

/* ─── TIMELINE (HOW IT WORKS) ─── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50px;
  right: 50px;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--dark-soft);
  border: 3px solid var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 24px auto;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.timeline-step:hover .step-number {
  background-color: var(--primary);
  color: var(--text-light);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.timeline-step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.timeline-step p {
  color: var(--text-main);
  font-size: 0.95rem;
  max-width: 220px;
  margin: 0 auto;
}

/* ─── WHY CHOOSE US ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  display: flex;
  gap: 20px;
}

.why-card:hover {
  box-shadow: var(--shadow-premium), var(--shadow-glow-teal);
  border-color: rgba(20, 184, 166, 0.35);
  transform: translateY(-5px);
}

.why-icon {
  font-size: 2rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.why-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.why-info p {
  color: var(--text-main);
  font-size: 0.95rem;
}

/* ─── STATS SECTION ─── */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.stat-item p {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
}

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  padding: 40px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-premium), var(--shadow-glow-violet);
  transform: translateY(-5px);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 24px;
  font-size: 1rem;
  position: relative;
}

.testimonial-text::before {
  content: '“';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: -30px;
  left: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.author-info h4 {
  font-size: 1rem;
  color: var(--text-light);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── FAQ COMPONENT (ACCORDIONS) ─── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-light);
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-main);
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm), var(--shadow-glow);
  background-color: rgba(59, 130, 246, 0.03);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

/* ─── FINAL CTA BANNER ─── */
.final-cta {
  background: linear-gradient(135deg, #0e162d 0%, #060914 100%);
  color: var(--text-light);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.final-cta-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ─── FOOTER ─── */
.footer {
  background-color: #05070c;
  color: var(--text-main);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  transition: var(--transition);
  cursor: pointer;
}

.footer-brand h3:hover {
  filter: brightness(1.15);
  transform: translateX(2px);
}

.footer-brand h3 img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin-right: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
  transition: var(--transition);
}

.footer-brand h3:hover img {
  transform: rotate(5deg) scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}

.footer-brand p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--dark-soft);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--border-color);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--text-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* ─── ABOUT PAGE STYLING ─── */
.about-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: center;
  background-color: var(--light-soft);
  border-bottom: 1px solid var(--border-color);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.about-story h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-story p {
  color: var(--text-main);
  margin-bottom: 20px;
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 60px;
}

.vision-card, .mission-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.vision-card:hover, .mission-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
  transform: translateY(-5px);
}

.vision-card i, .mission-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.vision-card h3, .mission-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* ─── CONTACT PAGE STYLING ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 50px;
  box-shadow: var(--glass-shadow);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-light);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: rgba(7, 10, 19, 0.5);
  color: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background-color: rgba(7, 10, 19, 0.8);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.info-item:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-3px);
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-light);
}

.info-details p {
  color: var(--text-main);
  font-size: 0.95rem;
}

.map-placeholder {
  height: 250px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--glass-shadow);
}

.map-placeholder i {
  font-size: 2.5rem;
  color: var(--primary);
}

/* ─── LEGAL PAGES (PRIVACY, TERMS, ETC.) ─── */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 60px;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
}

.legal-title {
  text-align: center;
  margin-bottom: 40px;
}

.legal-title h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
  color: var(--text-light);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 16px 0;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
  color: var(--text-light);
}

.legal-content p {
  color: var(--text-main);
  margin-bottom: 16px;
  font-size: 1rem;
}

.legal-content ul {
  list-style-type: disc;
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.legal-content ul li {
  margin-bottom: 8px;
}

/* ─── HOST HUB PORTAL STYLES ─── */
.portal-page {
  background-color: #070a13;
  color: var(--text-main);
}

.portal-page h1, 
.portal-page h2, 
.portal-page h3 {
  color: #ffffff;
}

/* Auth Gate wrapper */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background-color: #070a13;
}

.auth-glow-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.auth-glow-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.auth-glow-blobs .blob-1 {
  width: 300px;
  height: 300px;
  background-color: var(--primary);
  top: 10%;
  left: 15%;
}

.auth-glow-blobs .blob-2 {
  width: 350px;
  height: 350px;
  background-color: var(--secondary);
  bottom: 10%;
  right: 15%;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--glass-shadow);
  z-index: 10;
}

.auth-header {
  text-align: center;
  margin-bottom: 36px;
}

.logo-circle {
  width: 64px;
  height: 64px;
  background-color: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.logo-icon {
  font-size: 1.75rem;
  color: var(--primary);
}

.auth-header h1 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.auth-header p {
  color: #7d8b9e;
  font-size: 0.95rem;
}

.portal-page form .form-group {
  margin-bottom: 20px;
}

.portal-page form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 8px;
}

.portal-page form label i {
  margin-right: 6px;
}

.portal-page form input {
  width: 100%;
  padding: 14px 18px;
  background-color: rgba(7, 10, 19, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.portal-page form input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(7, 10, 19, 0.8);
}

.password-input-wrapper {
  position: relative;
}

.btn-toggle-password {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #7d8b9e;
  cursor: pointer;
  padding: 4px;
}

.portal-page #btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.portal-page #btn-login:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  background-color: #0f1322;
  padding: 0 16px;
  font-size: 0.8rem;
  color: #7d8b9e;
  position: relative;
  z-index: 2;
}

.btn-google {
  width: 100%;
  padding: 14px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-google:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.auth-error-banner {
  margin-top: 16px;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  display: none;
}

/* App Shell View */
.app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #070a13;
}

.hub-header {
  height: 80px;
  padding: 0 40px;
  background-color: #0f1322;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.brand-text h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.user-profile i {
  font-size: 1.25rem;
  color: #7d8b9e;
}

.hub-viewport {
  flex: 1;
  padding: 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.welcome-banner {
  margin-bottom: 40px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(13, 148, 136, 0.05) 100%);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 20px;
  padding: 30px;
}

.welcome-banner h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.welcome-banner p {
  color: #7d8b9e;
}

.viewport-section {
  margin-bottom: 50px;
}

.viewport-section .section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.viewport-section .title-badge {
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.viewport-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* PG Listings Cards */
.pgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.loading-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #7d8b9e;
}

.portal-page .pg-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.portal-page .pg-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--glass-shadow);
}

.portal-page .pg-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.25), var(--glass-shadow);
  background-color: rgba(59, 130, 246, 0.05);
}

.portal-page .pg-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.portal-page .pg-card p {
  font-size: 0.85rem;
  color: #7d8b9e;
}

.portal-page .pg-card p i {
  margin-right: 4px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

.badge-active {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.badge-expired {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.badge-none {
  background-color: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.portal-page .plan-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.portal-page .plan-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow), 0 10px 20px rgba(0, 0, 0, 0.3);
}

.portal-page .plan-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.25), var(--glass-shadow);
  transform: translateY(-8px);
}

.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #ffffff;
  color: #0f1322;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}

.plan-header {
  padding: 24px;
  text-align: center;
  color: #ffffff;
}

.plan-header h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.plan-header p {
  font-size: 0.75rem;
  opacity: 0.8;
}

.plan-features {
  padding: 24px;
  flex: 1;
}

.plan-features ul {
  list-style: none;
}

.plan-features ul li {
  font-size: 0.8rem;
  margin-bottom: 10px;
  display: flex;
  align-items: start;
  gap: 8px;
}

.plan-features ul li i {
  color: var(--success);
  margin-top: 3px;
}

/* Gold plan overrides */
.plan-card.gold.selected {
  border-color: #d97706;
  box-shadow: 0 0 25px rgba(217, 119, 6, 0.35), var(--glass-shadow);
}

.plan-card.gold .plan-features ul li i {
  color: #d97706;
}

/* Checkout Box */
.checkout-box {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--glass-shadow);
}

.promo-section {
  display: flex;
  flex-direction: column;
}

.promo-section label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 10px;
}

.promo-row {
  display: flex;
  gap: 12px;
}

.promo-row input {
  flex: 1;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #ffffff;
  text-transform: uppercase;
}

.status-msg {
  font-size: 0.8rem;
  margin-top: 8px;
  display: block;
}

.status-msg.success { color: var(--success); }
.status-msg.error { color: var(--danger); }

.summary-details {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.summary-row strong {
  color: #ffffff;
}

.summary-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
}

.summary-row.total span:last-child {
  color: var(--primary);
  font-size: 1.25rem;
}

.portal-page .btn-primary {
  width: 100%;
  padding: 14px;
}

.portal-page .btn-primary:disabled {
  background-color: rgba(255, 255, 255, 0.05);
  color: #4b5563;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  transform: translateY(20px);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-logo {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.modal-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal-body p {
  font-size: 0.95rem;
  color: #7d8b9e;
  margin-bottom: 16px;
  line-height: 1.5;
}

.sub-instructions {
  font-size: 0.85rem !important;
  color: #4b5563 !important;
}

#verification-loader {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--primary);
}

.modal-footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-footer button {
  width: 100%;
}

.btn-success {
  background-color: var(--success);
  color: #ffffff;
}
.btn-success:hover {
  background-color: #059669;
}

.btn-danger {
  background-color: transparent;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
  background-color: rgba(239, 68, 68, 0.05);
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 16px 24px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out forwards;
}

.toast.success {
  background-color: #064e3b;
  border: 1px solid #047857;
}

.toast.error {
  background-color: #7f1d1d;
  border: 1px solid #b91c1c;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ─── MEDIA QUERIES (RESPONSIVENESS) ─── */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none; /* Handled via mobile menu js */
  }
  
  .nav-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }

  /* Logo — scale down for mobile */
  .logo {
    font-size: 1.45rem;
    padding-top: 6px;
  }

  .logo-stay {
    margin-left: 1px;
  }

  .logo-roof-svg {
    top: -10px;
    height: 16px;
  }

  .logo-tagline {
    font-size: 0.52rem;
    margin-top: 3px;
  }

  .navbar {
    height: 64px;
  }

  .navbar.scrolled {
    height: 58px;
  }
  
  /* Hero */
  .hero {
    padding-top: 100px;
    padding-bottom: 30px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  /* Timeline */
  .timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-step p {
    max-width: 100%;
  }
  
  /* Why Choose us */
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  /* Stats */
  .stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  /* About Page */
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .vision-mission {
    grid-template-columns: 1fr;
  }
  
  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Host Hub Checkout Box */
  .checkout-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Footer — switch to 2-column then let 480px handle 1-column */
  .footer {
    padding: 50px 0 30px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand .logo {
    font-size: 1.5rem;
  }

  .footer-brand .logo-roof-svg {
    top: -10px;
    height: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Final CTA */
  .final-cta {
    padding: 50px 24px;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  .final-cta p {
    font-size: 1rem;
  }

  .final-cta-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .final-cta-actions .btn {
    width: 100%;
  }

  /* Section headers */
  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  /* Logo — even smaller on very small phones */
  .logo {
    font-size: 1.3rem;
    padding-top: 5px;
  }

  .logo-roof-svg {
    top: -8px;
    height: 14px;
  }

  .logo-tagline {
    font-size: 0.48rem;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .final-cta h2 {
    font-size: 1.75rem;
  }

  .final-cta {
    padding: 40px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-col h4 {
    margin-bottom: 16px;
  }
  
  .legal-container {
    padding: 30px;
  }
  
  .legal-title h1 {
    font-size: 2rem;
  }
  
  /* Host Hub header compaction */
  .hub-header {
    padding: 0 16px;
  }
  
  .user-profile span {
    display: none;
  }
  
  .hub-viewport {
    padding: 16px;
  }
  
  .welcome-banner {
    padding: 20px;
  }
  
  .checkout-box {
    padding: 20px;
  }

  /* Section headers */
  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* Mobile Drawer Sidebar Menu Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: var(--transition);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-light);
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
}

/* ─── EXPLORE PG SECTION ─── */
.pg-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.explore-pg-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.explore-pg-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.pg-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.pg-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.explore-pg-card:hover .pg-image-wrapper img {
  transform: scale(1.05);
}

.pg-gender-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  z-index: 2;
}

.pg-gender-badge.male {
  background-color: rgba(59, 130, 246, 0.9);
  color: #ffffff;
}

.pg-gender-badge.female {
  background-color: rgba(244, 63, 94, 0.9);
  color: #ffffff;
}

.pg-gender-badge.unisex {
  background-color: rgba(16, 185, 129, 0.9);
  color: #ffffff;
}

.pg-verified-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: rgba(3, 7, 18, 0.85);
  color: var(--primary-hover);
  padding: 6px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  z-index: 2;
}

.pg-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pg-location {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pg-details h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.pg-details p {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.5;
  flex: 1;
}

.pg-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pg-amenities span {
  font-size: 0.75rem;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: auto;
}

.pg-price {
  display: flex;
  flex-direction: column;
}

.pg-price span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pg-price strong {
  font-size: 1.35rem;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 900;
}

.pg-price strong span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* ─── PG DETAIL MODAL STYLES ─── */
.pg-detail-modal-card {
  max-width: 960px;
  width: 100%;
  padding: 0 !important;
  overflow: hidden;
  text-align: left;
  background: rgba(10, 15, 30, 0.9) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background-color: var(--danger);
  border-color: var(--danger);
  transform: rotate(90deg);
}

.pg-modal-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.pg-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  height: 100%;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.pg-modal-left {
  position: relative;
  background-color: #030712;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pg-modal-gallery {
  height: 280px;
  width: 100%;
  position: relative;
}

.pg-modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-modal-left-details {
  padding: 30px;
  flex: 1;
  overflow-y: auto;
  border-top: 1px solid var(--border-color);
}

.pg-modal-right {
  padding: 40px;
  overflow-y: auto;
  border-left: 1px solid var(--border-color);
  max-height: 90vh;
}

.pg-modal-title-area {
  margin-bottom: 24px;
  padding-right: 40px;
}

.pg-modal-title-area h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pg-modal-gender {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pg-modal-gender.male { background-color: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.pg-modal-gender.female { background-color: rgba(244, 63, 94, 0.15); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.2); }
.pg-modal-gender.unisex { background-color: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }

.pg-modal-location {
  font-size: 0.85rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pg-modal-distance {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pg-modal-description {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.pg-modal-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg-modal-section-title i {
  color: var(--primary);
}

.pg-modal-amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.pg-modal-amenities-grid span {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.pg-modal-amenities-grid span i {
  color: var(--secondary);
  font-size: 0.95rem;
}

.pg-modal-rules {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.pg-modal-rules p {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.5;
}

.pg-modal-rules p strong {
  color: var(--text-light);
}

.pg-modal-pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.pg-modal-pricing-table th {
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.pg-modal-pricing-table td {
  padding: 12px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pg-modal-pricing-table td:last-child {
  font-weight: 700;
  color: var(--text-light);
}

.pg-modal-action-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pg-modal-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Responsiveness overrides for modal */
@media (max-width: 768px) {
  .pg-detail-modal-card {
    max-height: 85vh;
    margin: 10px;
  }
  .pg-modal-grid {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }
  .pg-modal-left-details,
  .pg-modal-right {
    max-height: none;
    overflow: visible;
  }
  .pg-modal-right {
    padding: 30px;
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
}

/* ─── ADD PG & RAZORPAY PROTOTYPE MODAL STYLES ─── */
.add-pg-modal-card {
  max-width: 600px !important;
  background: rgba(10, 15, 30, 0.95) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px;
  text-align: left !important;
  padding: 32px !important;
}

.add-pg-modal-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #ffffff;
}

.add-pg-modal-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

.add-pg-modal-card .form-group label {
  color: #cbd5e1;
  font-weight: 500;
}

.add-pg-modal-card .form-group input,
.add-pg-modal-card .form-group select {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  width: 100%;
}

.add-pg-modal-card .form-group input:focus,
.add-pg-modal-card .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.amenities-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 8px;
}

.amenities-checkboxes label {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.amenities-checkboxes input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.pg-card.add-new-card {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.01);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 140px;
}

.pg-card.add-new-card:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.03);
  transform: translateY(-4px);
}

.add-new-icon {
  font-size: 2.2rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.pg-card.add-new-card:hover .add-new-icon {
  color: var(--primary);
  transform: scale(1.1);
}

/* Razorpay Prototype Modal */
.razorpay-modal-card {
  max-width: 420px !important;
  padding: 0 !important;
  background: #0d111b !important;
  border: 1px solid rgba(19, 106, 253, 0.3) !important;
  border-radius: 16px;
  overflow: hidden;
}

.razorpay-header {
  background: #136afd;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.razorpay-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.rzp-ns-logo {
  height: 24px;
  object-fit: contain;
}

.rzp-divider {
  opacity: 0.3;
}

.rzp-brand {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.rzp-brand i {
  color: #3bfae6;
  font-size: 0.85rem;
}

.razorpay-body {
  padding: 24px;
  text-align: left;
}

.rzp-merchant-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.rzp-merchant-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.rzp-merchant-info p {
  font-size: 0.8rem;
  color: #94a3b8;
}

.rzp-amount-box {
  text-align: right;
}

.rzp-currency {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 700;
  margin-right: 4px;
}

#rzp-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.rzp-payment-modes {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 16px;
}

.rzp-mode-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rzp-simulation-help {
  font-size: 0.75rem;
  color: #a78bfa;
  margin-top: 12px;
  line-height: 1.4;
  display: flex;
  gap: 6px;
}

.rzp-simulation-help i {
  margin-top: 2px;
}

.razorpay-footer {
  padding: 16px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-rzp-pay {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  color: white;
}

.btn-rzp-pay.success {
  background: #10b981;
}

.btn-rzp-pay.success:hover {
  background: #059669;
}

.btn-rzp-pay.danger {
  background: #ef4444;
}

.btn-rzp-pay.danger:hover {
  background: #dc2626;
}

@media (max-width: 480px) {
  .amenities-checkboxes {
    grid-template-columns: 1fr 1fr;
  }
}

.add-new-card-index:hover {
  border-color: var(--primary) !important;
  background: rgba(59, 130, 246, 0.03) !important;
  transform: translateY(-8px);
}

.add-new-card-index:hover i {
  color: var(--primary) !important;
  transform: scale(1.1);
}

/* ─── GRID PATTERN BACKGROUND STYLE ─── */
.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  mask-image: radial-gradient(circle at 60% 45%, black 20%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at 60% 45%, black 20%, transparent 65%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 0.8s ease;
}
.hero:hover .hero-grid-pattern {
  opacity: 0.8;
}

/* ─── ABOUT US ULTRA-PREMIUM MODERN VIEW ─── */
.about-hero-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 50px;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.about-hero-glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-glass-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 30px 60px rgba(59, 130, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.about-story-centered {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.about-subtitle {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 16px;
}

.about-story-centered h2 {
  font-size: 2.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.about-story-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-main);
  opacity: 0.9;
  margin-bottom: 48px;
}

.about-story-text p {
  margin-bottom: 20px;
}

/* Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 48px;
}

.pillar-item {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.pillar-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  transition: all 0.4s ease;
}

.pillar-item:hover .pillar-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.pillar-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.pillar-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-hero-glass-card {
    padding: 30px 20px;
  }
  .about-story-centered h2 {
    font-size: 2rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ─── NORTHSTAY WORKFLOW PILLAR ANIMATIONS ─── */

/* 1. Verification Scanner Animation (Physical Auditing) */
.verify-work .pillar-icon {
  position: relative;
  overflow: hidden;
}
.verify-work .pillar-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  box-shadow: 0 0 8px #3b82f6;
  animation: scan-move-about 2.5s infinite ease-in-out;
}
@keyframes scan-move-about {
  0% { top: 0%; }
  50% { top: 90%; }
  100% { top: 0%; }
}
.verify-work:hover .pillar-icon i {
  transform: scale(1.15) rotate(15deg);
}
.verify-work:hover .pillar-icon {
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

/* 2. Chat Bounce & Color Animation (Direct Masked Chats) */
.chat-work .pillar-icon i {
  animation: chat-bounce-about 2s infinite ease-in-out;
}
@keyframes chat-bounce-about {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.1); color: #14b8a6; } /* transitions to teal */
}
.chat-work:hover .pillar-icon {
  box-shadow: 0 0 25px rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
}

/* 3. Booking Shield Pulsing Animation (Secure Booking) */
.booking-work .pillar-icon {
  animation: shield-pulse-about 2s infinite ease-in-out;
}
@keyframes shield-pulse-about {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); /* violet */
  }
  70% {
    box-shadow: 0 0 0 12px rgba(139, 92, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
  }
}
.booking-work:hover .pillar-icon i {
  transform: scale(1.15) rotate(10deg);
}
.booking-work:hover .pillar-icon {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}


/* ─── NEW MOCKUP UI STYLES ─── */

/* 1. Logo Badge */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  -webkit-text-fill-color: white !important;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

/* 2. Navbar actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-download {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.btn-download:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}
.btn-list-pg {
  padding: 10px 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-list-pg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45), 0 0 10px rgba(139, 92, 246, 0.3);
}

/* 3. Search Bar Container */
.search-bar-container {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 6px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
}
.search-input-group {
  display: flex;
  align-items: center;
  padding: 0 16px;
  flex: 1;
  position: relative;
}
.search-input-group input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  color: #1e293b;
  padding: 10px 0;
  font-family: inherit;
}
.search-input-group input::placeholder {
  color: #94a3b8;
}
.search-icon, .location-icon {
  font-size: 1rem;
  color: #64748b;
  margin-right: 10px;
}
.search-divider {
  width: 1px;
  height: 28px;
  background-color: #cbd5e1;
}
.dropdown-group {
  flex: 0.9;
}
.dropdown-group select {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  color: #1e293b;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
}
.btn-search {
  padding: 12px 30px;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.btn-search:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.45);
}

/* 4. Popular Searches & Pills */
.popular-searches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.popular-searches .muted-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
  margin-right: 4px;
}
.search-pill {
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.search-pill:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: white;
  transform: translateY(-1px);
}

/* 5. Stats Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 600px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  border-radius: 14px;
  transition: all 0.3s ease;
}
.stat-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.stat-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.stat-text h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 2px;
}
.stat-text p {
  font-size: 0.7rem !important;
  color: #94a3b8;
  margin: 0 !important;
}

/* Color codes for Stats */
.stat-item.purple .stat-icon-wrapper {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}
.stat-item.green .stat-icon-wrapper {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.stat-item.orange .stat-icon-wrapper {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.stat-item.blue .stat-icon-wrapper {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

/* 6. Building Render */
.hero-building-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
  object-fit: cover;
}

.hero-illustration .hero-cards-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none; /* Let pointer events pass to container hover triggers */
}

.hero-illustration .hero-cards-container .floating-card {
  pointer-events: auto; /* Re-enable pointer events on the cards themselves */
}

/* 7. Floating Card Overlays */
.property-overlay-card {
  position: absolute;
  top: 40px;
  right: -20px;
  width: 180px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  z-index: 10;
  animation: float-main 7s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, border-color 0.6s ease;
}
.overlay-card-img {
  width: 100%;
  height: 100px;
  overflow: hidden;
}
.overlay-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay-card-details {
  padding: 12px;
}
.overlay-title-row h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}
.overlay-title-row .sub-title {
  font-size: 0.65rem;
  color: #94a3b8;
  display: block;
}
.overlay-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: #f59e0b;
  margin: 6px 0;
}
.overlay-badges-row .verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 20px;
}
.overlay-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  margin: 8px 0;
}
.overlay-price .price-unit {
  font-size: 0.65rem;
  font-weight: 500;
  color: #94a3b8;
}
.overlay-location {
  font-size: 0.6rem;
  color: #94a3b8;
  margin-bottom: 8px;
}
.overlay-location i {
  color: #ef4444;
}
.btn-view-app {
  display: block;
  text-align: center;
  padding: 6px 0;
  background: #4f46e5;
  color: white;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn-view-app:hover {
  background: #4338ca;
}

.distance-badge-card {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  z-index: 10;
  animation: float-notif 6s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, border-color 0.6s ease;
}
.location-dot-icon {
  font-size: 1.1rem;
  color: #10b981;
}
.distance-text h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  margin-bottom: 2px;
}
.distance-text p {
  font-size: 0.6rem !important;
  color: #94a3b8;
  margin: 0 !important;
}

/* 8. Bottom Full-Width Features Bar */
.hero-bottom-features-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-top: 35px;
  width: 100%;
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}
.features-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.features-bar-item:last-child {
  border-right: none;
  padding-right: 0;
}
.features-bar-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.features-bar-item:hover .fb-icon-wrapper {
  transform: scale(1.15) rotate(8deg);
}
.fb-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.fb-text h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}
.fb-text p {
  font-size: 0.65rem !important;
  color: #94a3b8;
  margin: 0 !important;
  line-height: 1.2;
}

/* Feature Icon Colors */
.fb-icon-wrapper.blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.fb-icon-wrapper.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.fb-icon-wrapper.orange {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.fb-icon-wrapper.light-blue {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}
.fb-icon-wrapper.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}
.fb-icon-wrapper.dark-blue {
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-bottom-features-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .features-bar-item {
    border-right: none;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .navbar .nav-links, .navbar .nav-actions {
    display: none;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-bottom-features-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
    gap: 10px;
    border-radius: 18px;
    margin-top: 24px;
  }
  .features-bar-item {
    padding: 8px 10px;
    gap: 10px;
  }
  .fb-icon-wrapper {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .fb-text h4 {
    font-size: 0.72rem;
  }
  .fb-text p {
    font-size: 0.58rem !important;
  }
  .search-bar-container {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
    gap: 12px;
  }
  .search-divider {
    width: 100%;
    height: 1px;
  }
  .btn-search {
    width: 100%;
    border-radius: 12px;
  }
}
@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-bottom-features-bar {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 4px;
  }
  .features-bar-item {
    padding: 10px 12px;
    gap: 12px;
  }
  .fb-icon-wrapper {
    width: 34px;
    height: 34px;
  }
  .fb-text h4 {
    font-size: 0.78rem;
  }
  .fb-text p {
    font-size: 0.62rem !important;
  }
}

/* ─── CAMPUS RADAR SCANNER STYLES ─── */
.radar-container {
  position: relative;
  width: 100%;
  height: 480px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radar Circles */
.radar-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.radar-circle {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-sizing: border-box;
}

.circle-1 {
  width: 140px;
  height: 140px;
}

.circle-2 {
  width: 280px;
  height: 280px;
}

.circle-3 {
  width: 420px;
  height: 420px;
}

/* Sweep Line Animation */
.radar-sweep-line {
  position: absolute;
  width: 210px;
  height: 210px;
  background: linear-gradient(45deg, rgba(255, 75, 75, 0.15) 0%, rgba(255, 75, 75, 0) 70%);
  border-right: 2px solid rgba(255, 75, 75, 0.4);
  border-radius: 0 100% 0 0;
  transform-origin: bottom left;
  bottom: 50%;
  left: 50%;
  animation: radar-sweep 5s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes radar-sweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Center College Node */
.radar-center-node {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.college-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff4b4b 0%, #ff6b6b 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(255, 75, 75, 0.6), inset 0 2px 2px rgba(255,255,255,0.2);
  border: 2px solid white;
}

.college-icon-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 75, 75, 0.3);
  border-radius: 50%;
  animation: campus-pulse 2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes campus-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.college-tooltip {
  position: absolute;
  bottom: -32px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Stay Cards */
.radar-stay-card {
  position: absolute;
  width: 200px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.radar-stay-card:hover {
  transform: translateY(-5px) scale(1.03) !important;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
}

.card-top-right {
  top: 40px;
  right: 25px;
  animation: float-main 6s ease-in-out infinite;
}

.card-middle-left {
  top: 190px;
  left: 25px;
  animation: float-notif 7s ease-in-out infinite;
}

.card-bottom-right {
  bottom: 40px;
  right: 40px;
  animation: float-main 8s ease-in-out infinite;
}

.stay-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.pulse-dot-green {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: dot-pulse 1.5s infinite;
}

@keyframes dot-pulse {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.stay-card-body h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
}

.stay-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
}

.stay-card-meta .distance {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 3px;
}

.stay-card-meta .price {
  color: #ff4b4b;
  font-weight: 700;
}

.stay-card-meta .price .mo {
  font-size: 0.55rem;
  color: #94a3b8;
  font-weight: 400;
}

/* HUD Panel */
.radar-hud {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 75, 75, 0.25);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  z-index: 10;
  white-space: nowrap;
}

.text-red {
  color: #ff4b4b;
}

.hud-status {
  color: #94a3b8;
}

.hud-count {
  background: rgba(255, 75, 75, 0.15);
  color: #ff4b4b;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
}

@media (max-width: 992px) {
  .radar-container {
    height: 400px;
  }
  .circle-3 {
    display: none;
  }
  .radar-stay-card {
    width: 170px;
    padding: 8px;
  }
  .card-top-right {
    top: 20px;
    right: 10px;
  }
  .card-middle-left {
    top: 150px;
    left: 10px;
  }
  .card-bottom-right {
    bottom: 20px;
    right: 15px;
  }
}

