:root {
  --primary: #001a4d;
  --secondary: #003d99;
  --accent: #4a90e2;
  --text: #2d2d2d;
  --color-dark: #001433;
  --color-bg: #f5f8ff;
  --color-light: #e6f0ff;
  --transition-speed: 0.4s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: var(--color-dark);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at top left, rgba(108, 99, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(26, 115, 232, 0.18), transparent 55%);
  scroll-behavior: smooth;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Add this to index.css */
html {
  scroll-behavior: smooth;
}

/* This prevents the sticky header from covering your section titles */
section {
  scroll-margin-top: 80px; 
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Floating global background blobs */
.bg-orbit {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(130px);
  opacity: 0.32;
  mix-blend-mode: soft-light;
  transform-origin: center;
  animation: orbitFloat 26s ease-in-out infinite alternate;
}

.bg-orbit-primary {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -160px;
  background: radial-gradient(circle at 30% 30%, #6c63ff, transparent 60%);
}

.bg-orbit-secondary {
  width: 420px;
  height: 420px;
  bottom: -80px;
  left: -120px;
  background: radial-gradient(circle at 60% 60%, #1a73e8, transparent 60%);
  animation-delay: -8s;
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  animation: fadeInDown 0.8s ease-out;
  transition: transform 0.3s ease-in-out;
}

.app-header.header-hidden {
  transform: translateY(-100%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 4px;
}

.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links > a:hover::after {
  width: 100%;
}

.nav-links > a:hover {
  color: var(--primary);
}
/* Combined Auth Button Group */
.nav-auth-group {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(0, 26, 77, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-auth-group:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 26, 77, 0.12);
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, 
    rgba(0, 26, 77, 0) 0%, 
    rgba(0, 26, 77, 0.2) 50%, 
    rgba(0, 26, 77, 0) 100%
  );
  margin: 0 2px;
}

.user-type-selector .icon .material-symbols-outlined {
  font-size: 2.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Login button has white text by default */
.nav-auth-group #loginBtn {
  color: white;
}

/* Signup button has dark text by default */
.nav-auth-group .signup-btn {
  color: var(--text);
}

.nav-auth-group .cta-btn:hover {
  transform: translateY(-1px);
}

/* When hovering signup, login text turns dark */
.nav-auth-group:has(.signup-btn:hover) #loginBtn {
  color: var(--text);
}

/* When hovering signup, signup text turns white */
.nav-auth-group .signup-btn:hover {
  color: white;
}

.nav-auth-group .cta-btn {
  background: transparent;
  color: var(--text);
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.nav-auth-group .cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
 
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 25px;
  z-index: -1;
}

.nav-auth-group .cta-btn:hover::before {
  opacity: 1;
  
}

.nav-auth-group .cta-btn:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-auth-group .cta-btn::after {
  display: none !important;
}




.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: 0.3s;
}

.menu-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero */
.hero {
  padding: 100px 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.22), rgba(10, 14, 39, 0.98)),
              radial-gradient(circle at bottom right, rgba(12, 22, 71, 0.98), rgba(5, 10, 28, 1));
  color: #f5f7ff;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45);
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 3.3rem;
  margin-bottom: 25px;
  line-height: 1.2;
  animation: fadeInLeft 1s ease-out;
  letter-spacing: -0.03em;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.9;
  animation: fadeInLeft 1.2s ease-out;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(12px);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
  animation: livePing 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-badges {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeInLeft 1.25s ease-out;
}

.hero-badge {
  padding: 12px 14px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(148, 163, 255, 0.25), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(148, 163, 255, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.badge-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(226,232,240,0.68);
  margin-bottom: 3px;
}

.badge-text {
  display: block;
  font-size: 0.9rem;
  color: rgba(241, 245, 249, 0.98);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInLeft 1.4s ease-out;
}

.hero-buttons a {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 30px;
  font-weight: 600;
  transition: all var(--transition-speed), box-shadow 0.2s ease-out, transform 0.2s ease-out;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff, #e5e7ff);
  color: #111827;
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.65),
    0 0 0 1px rgba(148, 163, 255, 0.6);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow:
    0 26px 65px rgba(15, 23, 42, 0.8),
    0 0 0 1px rgba(129, 140, 248, 0.9);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.65);
  color: rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.85);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
  animation: fadeInLeft 1.5s ease-out;
}

.metric {
  min-width: 130px;
  padding-right: 18px;
  border-right: 1px solid rgba(148, 163, 184, 0.4);
}

.metric:last-child {
  border-right: none;
}

.metric-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e5e7ff;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(203, 213, 225, 0.85);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out;
}

/* Phones Container - Dual Phone Layout */
.phones-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 40px 0;
  min-height: 550px;
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  transition: transform 0.4s ease;
}

.phone-mockup:hover {
  z-index: 10;
}

/* Phone Left - Tilted */
.phone-left {
  transform: rotate(-12deg) translateX(40px) translateY(-20px);
  z-index: 2;
  animation: floatLeft 6s ease-in-out infinite;
}

.phone-left:hover {
  transform: rotate(-8deg) translateX(40px) translateY(-30px) scale(1.02);
}

/* Phone Right - Tilted opposite */
.phone-right {
  transform: rotate(8deg) translateX(-40px) translateY(0px);
  z-index: 1;
  animation: floatRight 6s ease-in-out infinite;
  animation-delay: -3s;
}

.phone-right:hover {
  transform: rotate(4deg) translateX(-40px) translateY(-10px) scale(1.02);
}

@keyframes floatLeft {
  0%, 100% { transform: rotate(-12deg) translateX(40px) translateY(-20px); }
  50% { transform: rotate(-12deg) translateX(40px) translateY(-35px); }
}

@keyframes floatRight {
  0%, 100% { transform: rotate(8deg) translateX(-40px) translateY(0px); }
  50% { transform: rotate(8deg) translateX(-40px) translateY(-15px); }
}

.phone-frame {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

/* Phone Shadow */
.phone-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(8px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-radius: 35px;
  overflow: hidden;
  position: relative;
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #001a4d, #4a90e2);
  border-radius: 35px 0 0 35px;
}

.queue-display {
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  position: relative;
}

/* Ticket Number Section */
.queue-display .banner-ticket-number {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, rgba(0, 26, 77, 0.05), rgba(74, 144, 226, 0.08));
  border-radius: 12px;
  border: 2px solid rgba(74, 144, 226, 0.1);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.queue-display .banner-ticket-number::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: -30px;
  right: -30px;
}

.queue-display .ticket-number-label {
  font-size: 0.65rem;
  color: #64748b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.queue-display .ticket-number-value {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #001a4d, #003d99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.queue-display .ticket-service-name {
  font-size: 0.75rem;
  color: #2d2d2d;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* Position Circle */
.queue-display .banner-position-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8faff, #ffffff);
  border: 3px solid rgba(74, 144, 226, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 26, 77, 0.1);
  animation: circleFloat 3s ease-in-out infinite;
}

.queue-display .position-number {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #001a4d, #003d99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.queue-display .position-label {
  font-size: 0.6rem;
  color: #64748b;
  margin-top: 2px;
  text-transform: lowercase;
  font-weight: 500;
}

@keyframes circleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Info Grid */
.queue-display .banner-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.queue-display .banner-info-card {
  background: linear-gradient(135deg, #f8faff, #ffffff);
  padding: 12px 8px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(74, 144, 226, 0.1);
  box-shadow: 0 2px 8px rgba(0, 26, 77, 0.05);
}

.queue-display .banner-info-icon {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #4a90e2;
}

.queue-display .banner-info-icon .material-symbols-outlined {
  font-size: 1.2rem;
}

.queue-display .banner-info-label {
  font-size: 0.55rem;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.queue-display .banner-info-value {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  color: #2d2d2d;
}

/* Status Badge */
.queue-display .banner-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #059669;
}

.queue-display .status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* Phone Screen Serving State (Green Theme) */
.phone-screen-serving {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;
}

.phone-screen-serving::before {
  background: linear-gradient(180deg, #059669, #10b981) !important;
}

.phone-screen-serving .serving-ticket {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05)) !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
}

.phone-screen-serving .serving-ticket::before {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%) !important;
}

.phone-screen-serving .ticket-number-value {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Serving Icon Circle */
.serving-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
  animation: servingPulse 2s ease-in-out infinite;
}

.serving-icon-circle .material-symbols-outlined {
  font-size: 2.2rem;
  color: white;
}

@keyframes servingPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35); }
  50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5); }
}

.phone-screen-serving .banner-info-card {
  background: linear-gradient(135deg, #f0fdf4, #ffffff) !important;
  border-color: rgba(16, 185, 129, 0.15) !important;
}

.phone-screen-serving .banner-info-icon {
  color: #10b981 !important;
}

.serving-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.1)) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #059669 !important;
}

.serving-dot {
  background: #10b981 !important;
}

/* Mobile Responsiveness for Phones */
@media (max-width: 1200px) {
  .phones-container {
    transform: scale(0.9);
  }
}

@media (max-width: 992px) {
  .phones-container {
    transform: scale(0.8);
    margin-top: -30px;
  }
}

@media (max-width: 768px) {
  .phones-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: scale(0.75);
    margin-top: -60px;
  }
  
  .phone-left {
    transform: rotate(-5deg) translateX(0) translateY(0);
    z-index: 2;
  }
  
  .phone-left:hover {
    transform: rotate(-3deg) translateY(-10px) scale(1.02);
  }
  
  .phone-right {
    transform: rotate(5deg) translateX(0) translateY(0);
    z-index: 1;
  }
  
  .phone-right:hover {
    transform: rotate(3deg) translateY(-10px) scale(1.02);
  }
  
  @keyframes floatLeft {
    0%, 100% { transform: rotate(-5deg) translateX(0) translateY(0); }
    50% { transform: rotate(-5deg) translateX(0) translateY(-15px); }
  }
  
  @keyframes floatRight {
    0%, 100% { transform: rotate(5deg) translateX(0) translateY(0); }
    50% { transform: rotate(5deg) translateX(0) translateY(-15px); }
  }
}

@media (max-width: 576px) {
  .phones-container {
    transform: scale(0.65);
    min-height: 400px;
  }
  
  /* Hide second phone on very small screens */
  .phone-right {
    display: none;
  }
  
  .phone-left {
    transform: rotate(0deg) translateX(0) translateY(0);
  }
  
  .phone-left:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.02);
  }
  
  @keyframes floatLeft {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(0deg) translateY(-15px); }
  }
}

/* Features */
.features {
  padding: 100px 0;
  background: white;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-header h2,
.how h2,
.about h2,
.faq h2 {
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: var(--color-dark);
  position: relative;
  letter-spacing: -0.02em;
}

.section-header h2::after,
.how h2::after,
.about h2::after,
.faq h2::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
}

.section-subtitle {
  font-size: 0.98rem;
  color: #64748b;
  margin-top: 28px;
  line-height: 1.8;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.card {
  background: var(--color-light);
  padding: 32px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-cards .card.scroll-animate:nth-child(2) {
  transition-delay: 0.05s;
}

.feature-cards .card.scroll-animate:nth-child(3) {
  transition-delay: 0.1s;
}

.feature-cards .card.scroll-animate:nth-child(4) {
  transition-delay: 0.15s;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #334155;
  background: rgba(148, 163, 184, 0.15);
  margin-bottom: 12px;
}

.card img {
  width: 90px;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}

.card-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px ;
  transition: transform 0.4s ease;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}


.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(108, 99, 255, 0.25);
  border-color: var(--primary);
}

.card:hover img,
.card:hover .card-icon {
  transform: scale(1.15) rotate(5deg);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.card p {
  color: #666;
  line-height: 1.7;
}

/* How It Works */
.how {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-light), #ffffff);
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: flex-start;
}

.how-copy {
  max-width: 520px;
}

.how-copy .section-subtitle {
  margin-bottom: 22px;
}

.how-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.how-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 10px;
}

.how-highlights li::before {
  content: '•';
  color: var(--secondary);
  font-size: 1.1rem;
  line-height: 1.2;
  margin-top: 1px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  background: white;
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  border-left: 5px solid transparent;
}

.steps .step.scroll-animate:nth-child(1) { transition-delay: 0.03s; }
.steps .step.scroll-animate:nth-child(2) { transition-delay: 0.08s; }
.steps .step.scroll-animate:nth-child(3) { transition-delay: 0.13s; }
.steps .step.scroll-animate:nth-child(4) { transition-delay: 0.18s; }

.step:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(108, 99, 255, 0.25);
  border-left-color: var(--primary);
}

.step span {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  transition: all 0.4s ease;
}

.step:hover span {
  transform: rotate(360deg) scale(1.1);
}

.step h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.step p {
  color: #666;
  line-height: 1.7;
}

/* About */
.about {
  padding: 100px 0;
  background: white;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy p {
  font-size: 0.98rem;
  color: #4b5563;
  line-height: 1.9;
  margin-bottom: 14px;
}

.about-stats {
  align-self: center;
  background: radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.92));
  border-radius: 22px;
  padding: 26px 24px;
  color: #e5e7eb;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
  position: relative;
  overflow: hidden;
}

.about-stats::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.2), transparent 60%);
  opacity: 0.4;
  mix-blend-mode: screen;
  animation: slowRotate 24s linear infinite;
}

.about-stat {
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.about-stat:last-child {
  border-bottom: none;
}

.about-stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.about-stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.86);
  margin-top: 4px;
}

/* Meet the Team */
.team {
  padding: 120px 0;
  background: linear-gradient(135deg, #0a1628 0%, #0f2744 50%, #1a365d 100%);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.2) 0%, transparent 60%);
  top: -300px;
  right: -200px;
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite alternate;
}

.team::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 61, 153, 0.25) 0%, transparent 60%);
  bottom: -200px;
  left: -150px;
  pointer-events: none;
  animation: floatGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.1); }
}

.team-layout {
  position: relative;
  z-index: 1;
}

.team .section-header {
  text-align: center;
  margin-bottom: 70px;
}

.team .section-header .section-kicker {
  color: #60a5fa;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.team .section-header h2 {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team .section-header .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  perspective: 1000px;
}

.team-card-inner {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.team-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e40af, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, transparent 50%, rgba(30, 64, 175, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.team-card:hover .team-card-inner {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(59, 130, 246, 0.25),
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.team-card:hover .team-card-inner::before {
  opacity: 1;
}

.team-card:hover .team-card-inner::after {
  opacity: 1;
}

.team-avatar {
  position: relative;
  margin-bottom: 24px;
  display: inline-block;
}

.avatar-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 10px 30px rgba(59, 130, 246, 0.35),
    inset 0 2px 10px rgba(255, 255, 255, 0.3);
  transition: all 0.5s ease;
  position: relative;
}

.avatar-placeholder::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa, #1e40af);
  z-index: -1;
  animation: rotateGradient 3s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.team-card:hover .avatar-placeholder::before {
  opacity: 1;
}

.avatar-placeholder .material-symbols-outlined {
  font-size: 48px;
  color: white;
  opacity: 0.9;
}

.avatar-initials {
  font-size: 32px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 3px;
  user-select: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.team-card:hover .avatar-placeholder {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 15px 40px rgba(59, 130, 246, 0.45),
    inset 0 2px 10px rgba(255, 255, 255, 0.4);
}

.team-avatar img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
  transition: all 0.5s ease;
}

.team-card:hover .team-avatar img {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.45);
}

.team-social {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: all 0.4s ease;
}

.team-card:hover .team-social {
  opacity: 1;
  bottom: -8px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
}

.team-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.team-bio {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

/* Team section responsive */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team {
    padding: 60px 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .team-values {
    padding: 24px;
    grid-template-columns: 1fr;
  }
  
  .team-card-inner {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .team .section-header h2 {
    font-size: 1.8rem;
  }
  
  .avatar-placeholder {
    width: 100px;
    height: 100px;
  }
  
  .avatar-placeholder .material-symbols-outlined {
    font-size: 40px;
  }
}

/* FAQ */
.faq {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-light), #ffffff);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: flex-start;
}

.faq-intro .section-subtitle {
  margin-top: 18px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-item.scroll-animate:nth-child(1) { transition-delay: 0.03s; }
.faq-item.scroll-animate:nth-child(2) { transition-delay: 0.07s; }
.faq-item.scroll-animate:nth-child(3) { transition-delay: 0.11s; }
.faq-item.scroll-animate:nth-child(4) { transition-delay: 0.15s; }
.faq-item.scroll-animate:nth-child(5) { transition-delay: 0.19s; }

/* Generic scroll reveal */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.15);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--color-light);
}

.faq-question h4 {
  color: var(--color-dark);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.faq-icon {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.faq-answer p {
  color: #666;
  line-height: 1.8;
}

/* Footer */
.app-footer {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 50%, #0f1428 100%);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  color: white;
  padding: 80px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-size: 2rem;
    background: linear-gradient(135deg, #ffffff, #0067ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul  {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: white;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 4px; /* Optional: adds a little space between the text and the line */
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s;
}

.socials a img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.socials a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-bottom {
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* This pushes copyright left and links right */
  align-items: center;
}

.footer-bottom p.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal-links .divider {
  color: rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive: Stack them back up on small screens */
@media (max-width: 768px) {
  .footer-bottom-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Modal Styles */
.auth-modal, .modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease-out;
  align-items: center;
  justify-content: center;
}

.auth-modal.show, .modal.show {
  display: flex;
}

.auth-modal-content, .modal-content {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 30px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 255, 255, 0.15);
  animation: slideUp 0.4s ease-out;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(25px);
}

.modal-content {
  max-width: 700px;
  background: white;
}

.auth-modal-header, .modal-header {
  padding: 40px 30px 30px;
  color: white;
  text-align: center;
  position: relative;
  background: transparent;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.auth-modal-header h2, .modal-header h2 {
  margin: 0 0 10px;
  font-size: 2.2rem;
  font-weight: 800;
  color: #64e8ff;
}

.auth-modal-header h2 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-modal-header p {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Tab Navigation */
.auth-tabs {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.auth-tab {
  flex: 1;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.auth-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

.auth-tab.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-color: #ffffff;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

/* Auth Form Transitions */
.auth-form {
  display: none;
  animation: fadeInForm 0.4s ease-out;
}

.auth-form.active {
  display: block;
}

@keyframes fadeInForm {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-auth-modal, .close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  font-weight: 300;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.close-auth-modal:hover, .close-modal:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: #ffffff;
  transform: rotate(90deg);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.auth-modal-body, .modal-body {
  padding: 30px 35px 40px;
}

.modal-body {
  max-height: 60vh;
  overflow-y: auto;
}

.modal-body h3 {
  color: var(--color-dark);
  margin: 25px 0 15px;
  font-size: 1.3rem;
}

.modal-body p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

.modal-body ul {
  margin-left: 20px;
  color: #666;
  line-height: 1.8;
}

.modal-body ul li {
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 22px;
}

.terms-group {
  margin-bottom: 18px;
}

.terms-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.2;
}

.terms-checkbox input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #667eea;
  transition: all 0.3s ease;
}

.terms-checkbox input[type="checkbox"]:hover {
  box-shadow: 0 0 8px rgba(102, 126, 234, 0.4);
}

.terms-checkbox input[type="checkbox"]:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.terms-checkbox input[type="checkbox"]:checked {
  background-color: #667eea;
  border-color: #667eea;
}

.terms-checkbox a.terms-link,
.terms-checkbox a.privacy-link {
  color: #fff;
  text-decoration: underline;
  color: var(--secondary);
  
}

.terms-checkbox a.terms-link:hover,
.terms-checkbox a.privacy-link:hover {
  opacity: 0.9;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Override for terms checkbox label to keep inline appearance */
.terms-group .terms-checkbox {

  align-items: center;
  gap: 10px;
  margin: 0; /* remove additional spacing from .form-group label */
  text-transform: none; /* keep normal case */
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
}

.terms-group .terms-checkbox input[type="checkbox"] {
  transform: translateY(1px); /* tiny nudge for pixel-perfect centering */
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1), inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder,
.form-group select option {
  color: rgba(255, 255, 255, 0.55);
}

.form-group select {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.form-group select option {
  background: #1e293b;
  color: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25), 0 8px 25px rgba(255, 255, 255, 0.2), inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3), 0 20px 50px rgba(102, 126, 234, 0.7), 0 0 40px rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: linear-gradient(135deg, #4a5a7a 0%, #3a4a6a 50%, #4a5a7a 100%);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.submit-btn:disabled:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.auth-toggle {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.auth-toggle a {
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.auth-toggle a:hover {
  text-decoration: underline;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.5), rgba(118, 75, 162, 0.5));
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.user-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.user-type-option {
  padding: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.user-type-option:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(255, 255, 255, 0.15);
}

.user-type-option.active {
  border-color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(102, 126, 234, 0.3));
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.user-type-option input[type="radio"] {
  display: none;
}

.user-type-option .icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-type-option .icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.user-type-option:hover .icon img {
  transform: scale(1.1);
}

.user-type-option.active .icon img {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.user-type-option .label {
  font-weight: 600;
  color: white;
  font-size: 1rem;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1), inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.phone-input-wrapper:focus-within {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25), 0 8px 25px rgba(255, 255, 255, 0.2), inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.phone-input-wrapper span {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  white-space: nowrap;
  border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.phone-input-wrapper input {
  flex: 1;
  border: none !important;
  padding: 16px 20px;
  font-size: 1rem;
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
  color: white;
}

.phone-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Password Requirements Styling */
.password-requirements {
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.requirement {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  padding: 6px 8px;
  border-radius: 8px;
}

.requirement:hover {
  background: rgba(255, 255, 255, 0.08);
}

.req-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.2);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 107, 107, 0.4);
}

.requirement.valid .req-icon {
  color: #00c9a7;
  background: rgba(0, 201, 167, 0.1);
}

.req-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.requirement.valid .req-text {
  color: rgba(255, 255, 255, 0.9);
}

.password-match-error {
  margin-top: 10px;
  padding: 10px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  font-size: 0.85rem;
}

/* New Password Form Styling (Reset Password Step) */
#newPasswordForm .form-header {
  text-align: center;
  margin-bottom: 25px;
}

#newPasswordForm .form-header .icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.35);
}

#newPasswordForm .form-header .icon-circle .material-symbols-outlined {
  font-size: 32px;
  color: white;
}

#newPasswordForm .form-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

#newPasswordForm .form-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

#newPasswordForm .form-header p strong {
  color: var(--accent);
}

#newPasswordForm .form-group label {
  color: rgba(255, 255, 255, 0.9);
}

#newPasswordForm .req-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

#newPasswordForm .error-text {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 5px;
}

.success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-message.show {
  display: block;
}

.success-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: white;
  animation: scaleIn 0.5s ease-out;
}

.success-message h3 {
  color: var(--color-dark);
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.success-message p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-25px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.98); }
}

@keyframes livePing {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes orbitFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -12px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-12px, 18px, 0) scale(1.02);
  }
}

@keyframes fadeUpSoft {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes progressAnimation {
  from { stroke-dashoffset: 251; }
  to { stroke-dashoffset: 84; }
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ============================================
   ENHANCED TOAST MESSAGE SYSTEM
   ============================================ */

.toast-message {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 10002;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--color-dark);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 90%;
  min-width: 280px;
}

.toast-message::before {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.35);
}

.toast-message.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Toast with Icon (when using data-icon attribute or icon element) */
.toast-message .toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.35);
}

.toast-message .toast-icon .material-symbols-outlined {
  font-size: 22px;
  color: white;
}

/* Hide default pseudo-element when icon is present */
.toast-message:has(.toast-icon)::before {
  display: none;
}

/* Toast Variants */

/* Success Toast */
.toast-message.toast-success {
  border-left: 4px solid #10b981;
}

.toast-message.toast-success::before,
.toast-message.toast-success .toast-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Error Toast */
.toast-message.toast-error {
  border-left: 4px solid #ef4444;
}

.toast-message.toast-error::before,
.toast-message.toast-error .toast-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* Warning Toast */
.toast-message.toast-warning {
  border-left: 4px solid #f59e0b;
}

.toast-message.toast-warning::before,
.toast-message.toast-warning .toast-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* Info Toast */
.toast-message.toast-info {
  border-left: 4px solid var(--accent);
}

.toast-message.toast-info::before,
.toast-message.toast-info .toast-icon {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.35);
}

/* Dark style toast (original gradient style) */
.toast-message.toast-dark {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
}

.toast-message.toast-dark::before {
  display: none;
}

/* Toast shake animation for errors */
@keyframes toastShake {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(calc(-50% - 4px)) translateY(0); }
  20%, 40%, 60%, 80% { transform: translateX(calc(-50% + 4px)) translateY(0); }
}

.toast-message.toast-error.shake {
  animation: toastShake 0.5s ease-in-out;
}

/* Toast pulse animation for success */
@keyframes toastPulse {
  0% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(16, 185, 129, 0); }
}

.toast-message.toast-success.pulse {
  animation: toastPulse 1s ease-out;
}

/* Toast responsive */
@media (max-width: 480px) {
  .toast-message {
    left: 16px;
    right: 16px;
    transform: translateX(0) translateY(-20px);
    min-width: auto;
    max-width: none;
    padding: 14px 18px;
    font-size: 0.9rem;
    top: 20px;
  }

  .toast-message.show {
    transform: translateX(0) translateY(0);
  }

  .toast-message::before,
  .toast-message .toast-icon {
    width: 36px;
    height: 36px;
  }

  .toast-message .toast-icon .material-symbols-outlined {
    font-size: 20px;
  }
}

/* ============================================
   TOAST & ALERT SYSTEM
   ============================================ */

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10003;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

/* Base Toast Styles */
.toast {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 2px 10px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  min-width: 320px;
  max-width: 450px;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hiding {
  transform: translateX(120%);
  opacity: 0;
}

/* Toast Icon */
.toast-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon .material-symbols-outlined {
  font-size: 24px;
  color: white;
}

/* Toast Content */
.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.toast-text {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

/* Toast Close Button */
.toast-close {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  color: #999;
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #666;
}

.toast-close .material-symbols-outlined {
  font-size: 20px;
}

/* Toast Progress Bar */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

.toast-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* Toast Variants */

/* Success Toast */
.toast-success .toast-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.toast-success .toast-progress-bar {
  background: linear-gradient(90deg, #10b981, #059669);
}

.toast-success .toast-title {
  color: #065f46;
}

/* Error Toast */
.toast-error .toast-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.toast-error .toast-progress-bar {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.toast-error .toast-title {
  color: #991b1b;
}

/* Warning Toast */
.toast-warning .toast-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.toast-warning .toast-progress-bar {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.toast-warning .toast-title {
  color: #92400e;
}

/* Info Toast */
.toast-info .toast-icon {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.35);
}

.toast-info .toast-progress-bar {
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.toast-info .toast-title {
  color: var(--primary);
}

/* ============================================
   ALERT BOXES (Inline Alerts)
   ============================================ */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-icon .material-symbols-outlined {
  font-size: 22px;
  color: white;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.alert-text {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.85;
}

.alert-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  opacity: 0.6;
  align-self: flex-start;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.08);
}

.alert-close .material-symbols-outlined {
  font-size: 18px;
}

/* Alert Variants */

/* Success Alert */
.alert-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
  border-color: rgba(16, 185, 129, 0.25);
}

.alert-success .alert-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.alert-success .alert-title {
  color: #065f46;
}

.alert-success .alert-text {
  color: #047857;
}

.alert-success .alert-close {
  color: #065f46;
}

/* Error Alert */
.alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  border-color: rgba(239, 68, 68, 0.25);
}

.alert-error .alert-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.alert-error .alert-title {
  color: #991b1b;
}

.alert-error .alert-text {
  color: #b91c1c;
}

.alert-error .alert-close {
  color: #991b1b;
}

/* Warning Alert */
.alert-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.05));
  border-color: rgba(245, 158, 11, 0.3);
}

.alert-warning .alert-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.alert-warning .alert-title {
  color: #92400e;
}

.alert-warning .alert-text {
  color: #a16207;
}

.alert-warning .alert-close {
  color: #92400e;
}

/* Info Alert */
.alert-info {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(0, 61, 153, 0.05));
  border-color: rgba(74, 144, 226, 0.25);
}

.alert-info .alert-icon {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}

.alert-info .alert-title {
  color: var(--primary);
}

.alert-info .alert-text {
  color: var(--secondary);
}

.alert-info .alert-close {
  color: var(--primary);
}

/* ============================================
   NOTIFICATION BANNER (Top Banner Style)
   ============================================ */

.notification-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification-banner.show {
  transform: translateY(0);
}

.notification-banner-icon .material-symbols-outlined {
  font-size: 22px;
}

.notification-banner-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.notification-banner-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 12px;
}

.notification-banner-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.notification-banner-close .material-symbols-outlined {
  font-size: 18px;
  color: white;
}

/* Banner Variants */
.notification-banner-success {
  background: linear-gradient(90deg, #10b981, #059669);
  color: white;
}

.notification-banner-error {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  color: white;
}

.notification-banner-warning {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: white;
}

.notification-banner-info {
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  color: white;
}

/* ============================================
   SNACKBAR (Minimal bottom notification)
   ============================================ */

.snackbar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 10002;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--color-dark);
  color: white;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.snackbar.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.snackbar-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.snackbar-action {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.snackbar-action:hover {
  background: rgba(74, 144, 226, 0.15);
}

/* ============================================
   TOAST/ALERT RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }

  .toast {
    min-width: auto;
    max-width: none;
    width: 100%;
    padding: 14px 18px;
    transform: translateY(100px);
  }

  .toast.show {
    transform: translateY(0);
  }

  .toast.hiding {
    transform: translateY(100px);
  }

  .toast-icon {
    width: 38px;
    height: 38px;
  }

  .toast-icon .material-symbols-outlined {
    font-size: 20px;
  }

  .alert {
    padding: 14px 16px;
    gap: 12px;
  }

  .alert-icon {
    width: 36px;
    height: 36px;
  }

  .alert-icon .material-symbols-outlined {
    font-size: 18px;
  }

  .snackbar {
    left: 16px;
    right: 16px;
    transform: translateX(0) translateY(100px);
  }

  .snackbar.show {
    transform: translateX(0) translateY(0);
  }

  .notification-banner {
    padding: 12px 16px;
    flex-wrap: wrap;
    text-align: center;
  }

  .notification-banner-text {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .toast-title {
    font-size: 0.9rem;
  }

  .toast-text {
    font-size: 0.8rem;
  }

  .alert-title {
    font-size: 0.9rem;
  }

  .alert-text {
    font-size: 0.825rem;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .feature-cards, .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: left 0.4s ease;
    gap: 30px;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .menu-icon {
    display: flex;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .phone-frame {
    width: 260px;
    height: 520px;
  }

  .feature-cards, .steps {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .features h2, .how h2, .about h2, .faq h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-buttons a {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .card, .step {
    padding: 25px;
  }

  .auth-modal-content, .modal-content {
    width: 95%;
  }
}

/* Mobile: reduce spacing and font-size for terms checkbox */
@media (max-width: 480px) {
  .terms-group .terms-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    text-transform: none;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.69rem;
  }

  .terms-group .terms-checkbox input[type="checkbox"] {
    transform: translateY(1px);
    width: 16px;
    height: 16px;
  }
}


/* ============================================
   OTP VERIFICATION STYLES
   Add this to the end of your index.css file
   ============================================ */

/* OTP Verification Container */
.otp-verification-container {
    text-align: center;
    padding: 20px;
    color: white;
}

.otp-header {
    margin-bottom: 30px;
}

.otp-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.otp-header h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.otp-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.email-display {
    color: var(--accent) !important;
    font-size: 1rem !important;
    margin-top: 10px;
    font-weight: 500;
}

.email-display strong {
   
    font-weight: 700;
}

/* OTP Input Field */
.otp-input {
    font-size: 32px !important;
    letter-spacing: 12px !important;
    text-align: center !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    padding: 20px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 100%;
    max-width: 100%;
}

.otp-input:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.3) !important;
}

.otp-input::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
    letter-spacing: 12px;
}

/* Form Text (Timer) */
.form-text {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

#otpTimer {
    font-weight: bold;
    color: var(--accent);
    font-size: 1rem;
}

/* OTP Resend Section */
.otp-resend {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.otp-resend p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Resend Button Link Style */
.btn-link {
    background: none;
    border: none;
    color: var(--accent);
    text-decoration: underline;
    cursor: pointer;
    font-size: 1rem;
    padding: 8px 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
}

.btn-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Back to Signup Link */
#backToSignup {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

#backToSignup:hover {
    color: white;
    transform: translateX(-3px);
}

/* Verify Button Specific Styling */
#verifyOtpBtn {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px;
    border-radius: 15px;
}

#verifyOtpBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.6);
}

#verifyOtpBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Message Override for OTP */
.success-message {
    padding: 40px 30px;
    text-align: center;
}

.success-message .success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #00c9a7, #00a087);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-message h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-message p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1rem;
}

/* Animation for Success Icon */
@keyframes scaleIn {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
    }
}

/* Responsive Adjustments for OTP Form */
@media (max-width: 768px) {
    .otp-icon {
        font-size: 48px;
    }
    
    .otp-header h3 {
        font-size: 1.5rem;
    }
    
    .otp-input {
        font-size: 24px !important;
        letter-spacing: 8px !important;
        padding: 16px !important;
    }
    
    .success-message .success-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .success-message h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .otp-verification-container {
        padding: 15px;
    }
    
    .otp-input {
        font-size: 20px !important;
        letter-spacing: 6px !important;
        padding: 14px !important;
    }
    
    .email-display {
        font-size: 0.85rem !important;
        word-break: break-all;
    }
}

/* Forgot Password Link */
.password-reset-header {
  text-align: left;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.password-reset-header h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.forgot-password-link {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
}

.forgot-password-link a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.forgot-password-link a:hover {
  color: white;
  text-decoration: underline;
  transform: translateX(3px);
}

/* Password Reset Form - Slide Animation */
.password-reset-form {
  animation: slideInFromRight 0.4s ease-out;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================ */
/* CUSTOM SCROLLBAR STYLING - WHITE & BLUE */
/* ============================================ */

/* Webkit browsers scrollbar */
.auth-modal-content::-webkit-scrollbar,
.modal-content::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
  width: 12px;
}

.auth-modal-content::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.auth-modal-content::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(102,126,234,0.6));
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.auth-modal-content::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ffffff, #667eea);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.auth-modal-content::-webkit-scrollbar-thumb:active,
.modal-content::-webkit-scrollbar-thumb:active,
.modal-body::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #ffffff, #764ba2);
}

/* Body scrollbar */
body::-webkit-scrollbar {
  width: 14px;
}

body::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(255,255,255,0.05));
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(102,126,234,0.5), rgba(118,75,162,0.5));
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(102,126,234,0.8), rgba(118,75,162,0.8));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.4);
}

/* Firefox scrollbar */
.auth-modal-content,
.modal-content,
.modal-body {
  scrollbar-color: rgba(102, 126, 234, 0.6) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
 position: relative;
}
/* Switch background pseudo-element */
.nav-auth-group::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 6px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-size: 200% 100%;
  background-position: 0% 0;
  border-radius: 25px;
  z-index: 0;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.95;
}
.nav-auth-group .cta-btn {
  position: relative;
  z-index: 1;
}
.nav-auth-group:has(.cta-btn#loginBtn:hover)::before,
.nav-auth-group:has(.cta-btn#loginBtn:focus)::before {
  left: 4px;
  background-position: 0% 0;
}
.nav-auth-group:has(.signup-btn:hover)::before,
.nav-auth-group:has(.signup-btn:focus)::before {
  left: calc(50% + 2px);
  background-position: 100% 0;
}

.submit-btn:disabled {
    background: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none !important; /* Prevents hover lift effects */
}

.contact-item {
  display: flex;          /* Align children in a row */
  align-items: center;    /* Center them vertically */
  gap: 12px;              /* Space between icon and text */
  margin-bottom: 10px;    /* Space between the two rows */
  color: #ffffff;         /* Matches your dark theme text color */
}

.contact-item i {
  font-size: 1.2rem;      /* Adjust icon size */
  width: 20px;            /* Fixed width keeps text perfectly aligned vertically */
  text-align: center;
}

@media (max-width: 768px) {
  .how-layout {
    display: flex;
    flex-direction: column; /* Stack the intro text above the cards */
    gap: 40px;
    text-align: center; /* Center text for better balance on mobile */
  }

  .how-copy h2::after {
    left: 50%;
    transform: translateX(-50%); /* Re-center the blue underline */
  }

  .steps {
    display: grid;
    grid-template-columns: 1fr; /* Force one card per row */
    gap: 20px;
  }
  
  .step {
    padding: 30px 20px; /* Reduce padding to save screen space */
  }
}


@media (max-width: 480px) {
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center info in the footer for mobile */
    text-align: center;
  }

  .contact-item {
    justify-content: center; /* Center icon and text together */
    width: 100%;
    padding: 10px 0;
  }
  
  .contact-item span {
    font-size: 0.9rem; /* Slightly smaller text for long emails */
  }
}


@media (max-width: 768px) {
  .modal-content.glass-modal {
    width: 95%; /* Take up almost full width */
    margin: 10px auto;
    max-height: 85vh; /* Ensure it doesn't get cut off */
    padding: 20px;
  }

  .doc-content {
    padding: 15px !important; /* Tighten internal spacing */
  }

  .doc-content h3 {
    font-size: 1.1rem; /* Scale down headers */
  }
}

@media (max-width: 768px) {
  .about-layout {
    display: flex;
    flex-direction: column; /* Stacks text above the stats card */
    gap: 30px;
  }

  .about-copy h2 {
    font-size: 1.8rem; /* Scaled down for smaller screens */
    text-align: center;
  }

  .about-copy p {
    text-align: center;
  }

  .about-stats {
    width: 100%;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%; /* More width on mobile */
    margin: 10px;
    padding: 20px;
    background: #ffffff; /* Explicit background */
    color: #333333; /* Dark text for readability */
  }

  /* Adjust the blue scrollbar seen in your image */
  .modal-body::-webkit-scrollbar {
    width: 4px;
  }
}
@media (max-width: 992px) {
  /* Stacks the intro text above the cards/stats */
  .how-layout, 
  .about-layout,
  .faq-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .how-copy, .about-copy, .faq-intro {
    max-width: 100%;
    margin-bottom: 40px;
  }

  /* Centers the decorative underlines */
  .section-header h2::after,
  .how h2::after,
  .about h2::after,
  .faq h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Ensures cards take full width on small screens */
  .steps, .about-stats, .faq-container {
    width: 100%;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 992px) {
  /* Stacks the intro text above the cards/stats */
  .how-layout, 
  .about-layout,
  .faq-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .how-copy, .about-copy, .faq-intro {
    max-width: 100%;
    margin-bottom: 40px;
  }

  /* Centers the decorative underlines */
  .section-header h2::after,
  .how h2::after,
  .about h2::after,
  .faq h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Ensures cards take full width on small screens */
  .steps, .about-stats, .faq-container {
    width: 100%;
    grid-template-columns: 1fr;
  }
}


/* Password Input Wrapper with Eye Toggle */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  width: 100%;
  padding-right: 50px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.password-toggle-btn.visible {
  opacity: 1;
}

.password-toggle-btn:hover {
  opacity: 1;
}

.password-toggle-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.eye-icon {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.password-toggle-btn:hover .eye-icon {
  color: rgba(255, 255, 255, 0.9);
}

.password-toggle-btn:active .eye-icon {
  color: #667eea;
}



/* Contact Dropdown Styles */
.contact-dropdown {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
}

.contact-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.contact-dropdown-toggle:hover {
  color: var(--accent);
}

.contact-dropdown-toggle .dropdown-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  margin-left: auto;
}

.contact-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.contact-dropdown-content {
  display: none;
  flex-direction: column;
  padding-left: 32px;
  margin-top: 8px;
  gap: 8px;
  width: 100%;
  overflow: hidden;
  animation: slideDown 0.3s ease;
}

.contact-dropdown.active .contact-dropdown-content {
  display: flex;
}

.contact-dropdown-content p {
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  margin: 0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   GOOGLE SIGN-IN BUTTON STYLES
   ============================================================ */

.social-login-section {
  margin-bottom: 20px;
}

.google-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #3c4043;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.google-signin-btn:hover {
  background: #f8f9fa;
  border-color: #d0d0d0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.google-signin-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.google-signin-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.google-signin-btn .google-icon {
  flex-shrink: 0;
}

.google-signin-btn span {
  font-family: 'Poppins', sans-serif;
}

/* Divider with text */
.divider-with-text {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.divider-with-text::before,
.divider-with-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.divider-with-text span {
  padding: 0 15px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Loading spinner for Google button */
.loading-spinner-small {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-top: 2px solid #4285F4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Google Business Registration Form Styles */
.google-business-header {
  text-align: center;
  margin-bottom: 25px;
}

.google-user-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 15px;
}

.google-profile-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.google-user-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.google-user-details span:first-child {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

.google-email {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.form-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* Required field indicator */
.required {
  color: #ff6b6b;
}

/* Form text helper */
.form-text {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.form-text a {
  color: var(--accent);
  text-decoration: underline;
}

.form-text a:hover {
  color: #ffffff;
}

/* Responsive Google button */
@media (max-width: 480px) {
  .google-signin-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .google-signin-btn .google-icon {
    width: 18px;
    height: 18px;
  }
  
  .google-user-info {
    flex-direction: column;
    text-align: center;
  }
  
  .google-user-details {
    text-align: center;
  }
}

/* Business Email Validation Styles */
.business-email-warning {
  margin-top: 10px;
  padding: 12px 15px;
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.business-email-warning .warning-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.business-email-warning .warning-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Business Registration Notice */
.business-registration-notice {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  animation: fadeInNotice 0.3s ease-out;
}

.business-registration-notice .notice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.business-registration-notice .notice-content {
  flex: 1;
}

.business-registration-notice .notice-content strong {
  display: block;
  color: #a78bfa;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.business-registration-notice .notice-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

@keyframes fadeInNotice {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.email-validation-error {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  animation: fadeInError 0.3s ease-out;
}

.email-validation-error.error {
  background: rgba(255, 107, 107, 0.1);
}

.email-validation-error.success {
  background: rgba(16, 185, 129, 0.1);
}

.email-validation-error span {
  display: flex;
  align-items: center;
  gap: 6px;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================ */
/* TWO-STEP QUEUE JOIN STYLING */
/* ============================================ */

/* Queue Join Step Header */
.queue-join-step-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.queue-join-step-header h3 {
  color: white;
  font-size: 1.2rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.queue-join-step-header p {
  color: #888;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

/* Queue Code Input Group */
#queueCodeGroup {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
  }
}

/* Queue Review Section */
.queue-review-section {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.queue-review-section p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.queue-review-section strong {
  color: #fff;
  font-weight: 500;
}

.queue-review-section span {
  color: var(--accent);
  font-weight: 500;
}

/* Queue Join Button Container */
.queue-button-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.queue-button-group .submit-btn {
  transition: all 0.3s ease;
}

.queue-button-group .submit-btn:first-child {
  background: #555;
  flex: 1;
}

.queue-button-group .submit-btn:first-child:hover {
  background: #666;
  transform: translateX(-3px);
}

.queue-button-group .submit-btn:last-child {
  flex: 2;
}

.queue-button-group .submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.queue-button-group .submit-btn:disabled:hover {
  transform: none;
}

/* Step Form Transitions */
#joinQueueStep1Form,
#joinQueueStep2Form {
  animation: fadeInSlide 0.4s ease-out;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SMS Code Button Special Styling */
#sendQueueSmsCodeBtn {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

#sendQueueSmsCodeBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

#sendQueueSmsCodeBtn:hover::before {
  width: 300px;
  height: 300px;
}

#sendQueueSmsCodeBtn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Optional Field Label Styling */
.form-group label span[style*="color: #888"] {
  font-size: 0.9em;
  color: #888 !important;
  font-weight: 400;
}

/* ================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   Reduce/disable animations on mobile for better performance
   ================================ */

/* Respect user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile optimizations (768px and below) */
@media (max-width: 768px) {
  /* Disable floating background blobs - major performance hit */
  .bg-orbit {
    display: none !important;
  }
  
  /* Disable backdrop-filter on mobile - expensive operation */
  .app-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }
  
  /* Reduce/disable continuous animations */
  .hero-decor,
  .hero-decor-2,
  .eyebrow-dot,
  .progress-circle {
    animation: none !important;
  }
  
  /* Simplify hover effects - remove transforms */
  .feature-card:hover,
  .step-card:hover,
  .faq-item:hover,
  .team-card:hover,
  .team-value:hover {
    transform: none !important;
  }
  
  /* Reduce transition durations */
  *,
  *::before,
  *::after {
    transition-duration: 0.15s !important;
  }
  
  /* Disable box-shadow animations on hover */
  .feature-card,
  .step-card,
  .team-card,
  .btn-primary,
  .btn-secondary {
    transition: opacity 0.15s ease, background-color 0.15s ease !important;
  }
  
  /* Disable gradient animations */
  .cta-btn::before,
  .btn-primary::before {
    animation: none !important;
  }
  
  /* Simplify card shadows for performance */
  .feature-card,
  .step-card,
  .faq-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }
  
  .feature-card:hover,
  .step-card:hover,
  .faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  }
  
  /* Disable blur effects on mobile */
  .phone-frame::before,
  .phone-frame::after {
    filter: none !important;
    opacity: 0.5;
  }
  
  /* Disable floating phone animation */
  .phone-mockup {
    animation: none !important;
  }
  
  /* Reduce filter blur effects */
  .hero-decor,
  .hero-decor-2 {
    filter: blur(40px) !important;
    opacity: 0.15 !important;
  }
}

/* Additional optimizations for very small devices */
@media (max-width: 480px) {
  /* Remove decorative elements entirely */
  .hero-decor,
  .hero-decor-2 {
    display: none !important;
  }
  
  /* Simplify all transitions to just opacity */
  .nav-links > a::after {
    transition: none !important;
  }
  
  /* Remove complex gradients from buttons on very small screens */
  .btn-primary::before,
  .btn-secondary::before,
  .cta-btn::before {
    display: none !important;
  }
}


/* ================================
   SCROLL PROGRESS BAR
   ================================ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #1a73e8, #6c63ff);
  z-index: 99999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(26, 115, 232, 0.5);
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 28px;
  z-index: 9998;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 26, 77, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 26, 77, 0.35);
}

/* Touch-friendly active state for mobile */
.back-to-top:active {
  transform: scale(0.95);
  box-shadow: 0 2px 10px rgba(0, 26, 77, 0.3);
}

.back-to-top .material-symbols-outlined {
  font-size: 24px;
}

/* Mobile adjustments for Progress Bar & Back to Top */
@media (max-width: 768px) {
  /* Thinner progress bar on mobile */
  .scroll-progress-bar {
    height: 3px;
    box-shadow: none;
  }
  
  /* Smaller, repositioned back to top button */
  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
  
  .back-to-top .material-symbols-outlined {
    font-size: 22px;
  }
  
  /* Remove hover effects on touch devices */
  .back-to-top:hover {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 26, 77, 0.25);
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .scroll-progress-bar {
    height: 2px;
  }
  
  .back-to-top {
    bottom: 16px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  
  .back-to-top .material-symbols-outlined {
    font-size: 20px;
  }
}

/* ============================================
   QR CODE LANDING MODAL STYLES
   ============================================ */
.qr-landing-modal {
    z-index: 10000;
}

.qr-landing-content {
    max-width: 420px;
    padding: 0;
    overflow: hidden;
}

.qr-landing-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 40px 30px 30px;
    text-align: center;
    color: white;
}

.qr-scan-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: qrPulse 2s ease-in-out infinite;
}

.qr-scan-icon svg {
    stroke: white;
}

@keyframes qrPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

.qr-landing-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.qr-landing-header h2 span {
    color: #64b5f6;
}

.qr-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.qr-landing-body {
    padding: 30px;
    background: white;
}

.qr-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qr-choice-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 2px solid #e8eef5;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.qr-choice-btn:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(0, 61, 153, 0.05) 100%);
    transform: translateX(5px);
}

.qr-choice-btn:active {
    transform: translateX(5px) scale(0.98);
}

.qr-btn-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-light) 0%, #e8f4fd 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qr-btn-icon svg {
    stroke: var(--primary);
}

.qr-guest-btn:hover .qr-btn-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.qr-guest-btn:hover .qr-btn-icon svg {
    stroke: white;
}

.qr-login-btn:hover .qr-btn-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
}

.qr-login-btn:hover .qr-btn-icon svg {
    stroke: white;
}

.qr-btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.qr-btn-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
}

.qr-btn-desc {
    font-size: 0.85rem;
    color: #6b7280;
}

.qr-btn-arrow {
    font-size: 1.3rem;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.qr-choice-btn:hover .qr-btn-arrow {
    color: var(--accent);
    transform: translateX(3px);
}

.qr-landing-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.qr-landing-footer p {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

/* Mobile responsive for QR modal */
@media (max-width: 480px) {
    .qr-landing-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .qr-landing-header {
        padding: 30px 20px 25px;
    }
    
    .qr-scan-icon {
        width: 70px;
        height: 70px;
    }
    
    .qr-scan-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .qr-landing-header h2 {
        font-size: 1.3rem;
    }
    
    .qr-landing-body {
        padding: 20px;
    }
    
    .qr-choice-btn {
        padding: 15px;
        gap: 12px;
    }
    
    .qr-btn-icon {
        width: 46px;
        height: 46px;
    }
    
    .qr-btn-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .qr-btn-title {
        font-size: 0.95rem;
    }
    
    .qr-btn-desc {
        font-size: 0.8rem;
    }
}
