/* ========================================
   SMM Market - Premium Visual Redesign
   Vibrant Gradient | Red CTAs | White Cards
   ======================================== */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Primary Palette */
  --primary: #F0E6FF;
  --primary-dark: #D9CCE6;
  --primary-light: #FAF5FF;
  --primary-glow: rgba(240, 230, 255, 0.35);

  /* Gradient Palette */
  --gradient-purple: #8A2BE2;
  --gradient-pink: #FF69B4;
  --gradient-blue: #1E90FF;

  /* Backgrounds */
  --bg-gradient: #000000;
  --bg-gradient-dark: #000000;

  /* Cards */
  --card-bg: rgba(255, 255, 255, 0.15);
  --card-border: rgba(255, 255, 255, 0.3);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.18);
  --card-radius: 20px;

  /* Text */
  --text-dark: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);
  --text-light: rgba(255, 255, 255, 0.6);
  --text-white: #ffffff;

  /* Inputs */
  --input-bg: rgba(255, 255, 255, 0.1);
  --input-border: rgba(255, 255, 255, 0.25);
  --input-focus: #F0E6FF;
  --input-focus-glow: rgba(240, 230, 255, 0.25);
  --input-radius: 12px;

  /* Button */
  --btn-radius: 15px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #000000;
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  padding-top: 100px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

p {
  line-height: 1.6;
  color: var(--text-muted);
}

label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.4rem;
}

a {
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ========================================
   GLASS CARD (used everywhere)
   ======================================== */
.glass-container {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--card-radius);
  padding: 2rem;
  max-width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.glass-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.glass-container h2,
.glass-container h3 {
  color: var(--text-dark);
}

.glass-container p {
  color: var(--text-muted);
}

/* Rich text content overrides for glass backgrounds */
.term-content,
.term-content * {
  color: var(--text-white) !important;
  background: transparent !important;
}

.term-content a {
  color: var(--primary) !important;
}

/* ========================================
   NAVIGATION - FLOATING GLASS PILL
   ======================================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 35px;
  max-width: 150px;
  object-fit: contain;
}

/* Hamburger Button */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 5px;
  z-index: 1002;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay Plugin */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.15);
  /* Soft transparent dark */
  backdrop-filter: blur(8px);
  /* Blur the page behind the menu */
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  /* Just below the navbar (1000) */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Nav Links - HIDDEN by default on mobile */
.nav-links {
  position: fixed;
  top: 90px;
  /* Below the floating header */
  left: -100%;
  /* Hidden off-screen */
  width: 90%;
  max-width: 300px;
  /* Drawer width */
  margin-left: 5%;
  /* Center-ish alignment or match header margin */
  height: auto;
  max-height: calc(100vh - 110px);
  background: rgba(40, 30, 60, 0.45);
  /* Darker translucent background */
  backdrop-filter: blur(25px);
  /* Strong glass blur effect */
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2rem 1.5rem;
  gap: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  /* Stronger shadow to lift it off the page */
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  display: flex;
  overflow-y: auto;
}

.nav-links.active {
  left: 0;
  margin-left: 5%;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: all 0.25s ease;
  width: 100%;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Slightly more visible divider */
  font-size: 1.05rem;
  /* Slightly larger text on mobile */
  display: block;
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.03);
  /* Very subtle background */
}

.nav-links a:hover,
.nav-links a:active,
.nav-links a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.15);
  /* Glassy hover effect instead of solid primary color */
  border-bottom-color: transparent;
  transform: translateX(5px);
  /* Soft push effect */
}

.nav-links a.btn-primary {
  background: var(--primary);
  color: #2D2D2D;
  /* Match the base button styling */
  text-align: center;
  border-radius: var(--btn-radius);
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: none;
  box-shadow: 0 4px 15px var(--primary-glow);
  font-weight: 600;
}

/* Desktop nav override */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    position: static;
    height: auto;
    width: auto;
    max-width: none;
    max-height: none;
    margin-left: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    flex-direction: row;
    padding: 0;
    gap: 0.5rem;
    box-shadow: none;
    display: flex;
    align-items: center;
    overflow-y: visible;
  }

  .nav-links a {
    width: auto;
    padding: 0.5rem 0.85rem;
    border-bottom: none;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-dark);
    background: transparent;
    /* Reset mobile background */
  }

  .nav-links a:hover {
    background: rgba(240, 230, 255, 0.08);
    color: var(--primary);
  }

  .nav-links a.active {
    background: #1a1a1a;
    /* Light black for active state */
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border to define the shape against pure black */
  }

  .navbar {
    padding: 0.75rem 2rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .logo img {
    height: 40px;
    max-width: 200px;
  }
}

/* ========================================
   NAVIGATION DROPDOWN
   ======================================== */

/* Mobile: dropdown is inline in the drawer */
.nav-dropdown {
  width: 100%;
}

.nav-dropdown-toggle {
  color: var(--text-dark);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: all 0.25s ease;
  width: 100%;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.05rem;
  display: block;
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  cursor: pointer;
  text-align: left;
}

.nav-dropdown-toggle:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.15);
}

/* Dropdown menu hidden by default */
.nav-dropdown-menu {
  display: none;
  flex-direction: column;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
}

/* Mobile: children indented */
.nav-dropdown-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 0.75rem 1.25rem 0.75rem 2.5rem;
  font-size: 0.95rem;
  display: block;
  border-radius: 10px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(168, 85, 247, 0.4);
  transition: all 0.25s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}

/* Desktop: dropdown is relative, shows on hover */
@media (min-width: 769px) {
  .nav-dropdown {
    position: relative;
    width: auto;
  }

  .nav-dropdown-toggle {
    width: auto;
    padding: 0.5rem 0.85rem;
    border-bottom: none;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-dark);
    background: transparent;
  }

  .nav-dropdown-toggle:hover {
    background: rgba(240, 230, 255, 0.08);
    color: var(--primary);
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background: rgba(30, 20, 50, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 8px;
    min-width: 180px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1010;
  }

  /* Show on hover on desktop */
  .nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown-menu a {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-left: none;
    margin-bottom: 2px;
    border-radius: 8px;
    background: transparent;
  }

  .nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
  }

  .nav-dropdown-menu a.active {
    background: #1a1a1a;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  background: var(--primary);
  color: #2D2D2D;
  padding: 0.8rem 1.8rem;
  border-radius: var(--btn-radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px var(--primary-glow);
  display: inline-block;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(240, 230, 255, 0.5);
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  padding: 0.8rem 1.8rem;
  border-radius: var(--btn-radius);
  text-decoration: none;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  text-align: center;
  padding: 3rem 1rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--gradient-purple), var(--primary), var(--gradient-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  text-shadow: none;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  padding: 0 0.5rem;
}

@media (min-width: 769px) {
  .hero {
    padding: 5rem 2rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
  }
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem 1rem;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 3%;
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem 5%;
  }
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.price-tag {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin: 1rem 0;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--input-bg);
  border: 2px solid var(--input-border);
  border-radius: var(--input-radius);
  color: var(--text-dark);
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-control::placeholder {
  color: #AAAAAA;
}

.form-control:focus {
  outline: none;
  border-color: var(--input-focus);
  box-shadow: 0 0 0 4px var(--input-focus-glow), 0 2px 8px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.15);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
}

.content-wrapper {
  min-height: calc(100vh - 200px);
  overflow-x: hidden;
  position: relative;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.text-danger {
  color: var(--primary) !important;
}

.text-success {
  color: #22c55e;
}

.text-light {
  color: var(--text-muted) !important;
}

.text-muted {
  color: var(--text-light) !important;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col {
  flex: 1;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   ALERTS / FLASH MESSAGES
   ======================================== */
.alert {
  padding: 0.9rem 1.2rem;
  border-radius: var(--input-radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.alert-danger {
  background: rgba(240, 230, 255, 0.08);
  border: 1px solid rgba(240, 230, 255, 0.25);
  color: var(--primary);
}

.alert-warning {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #b45309;
}

/* ========================================
   FLOATING SOCIAL BUTTONS
   ======================================== */
.floating-social {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-social a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-social a:hover {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ICONS (emoji/svg in features etc.)
   ======================================== */
.glass-container h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

/* Feature icon style for emoji-based headings */
.glass-container h3::first-letter {
  font-size: 1.4em;
}

/* ========================================
   BADGES
   ======================================== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
}

/* ========================================
   TABLES (user dashboard, etc.)
   ======================================== */
table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Dark theme border */
  font-size: 0.9rem;
  color: var(--text-dark);
}

table th {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  /* Dark theme header background */
}

table tr:hover {
  background: rgba(255, 255, 255, 0.05);
  /* Dark theme hover */
}

/* ========================================
   MOBILE SPECIFIC ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0.75rem;
  }

  .glass-container {
    padding: 1.25rem;
    border-radius: 15px;
    margin: 0.5rem 0;
  }

  .glass-container:hover {
    transform: none;
  }

  .btn-primary {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }

  .floating-social {
    bottom: 15px;
    right: 12px;
  }

  .floating-social a {
    width: 44px;
    height: 44px;
  }

  body::before {
    width: 300px;
    height: 300px;
  }

  body::after {
    width: 250px;
    height: 250px;
  }

  .content-wrapper::before {
    width: 200px;
    height: 200px;
  }
}

/* ========================================
   SMOOTH SCROLLING & SELECTION
   ======================================== */
html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--primary);
  color: white;
}

/* ========================================
   AUTH PAGES - HERO LAYOUT & GLASS CARD
   ======================================== */
.auth-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  min-height: calc(100vh - 300px);
}

/* Left side: welcome text on gradient background */
.auth-hero-text {
  color: #fff;
}

.auth-hero-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.auth-hero-text h1 span {
  color: var(--primary);
  display: inline;
}

.auth-hero-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.auth-hero-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.auth-hero-text .btn-primary {
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
}

/* Right side: frosted glass auth card */
.auth-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.auth-card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.auth-card-subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.auth-card label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
}

.auth-card .form-control {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.9rem;
  padding: 11px 14px;
  border-radius: 10px;
}

.auth-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.auth-card .form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.auth-card .form-group {
  margin-bottom: 1.1rem;
}

.auth-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  margin-top: 0.5rem;
  border-radius: 50px;
}

/* OR divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  gap: 1rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.auth-divider span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Google button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #333;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Footer link (sign up / sign in) */
.auth-footer-link {
  text-align: center;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.auth-footer-link a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  margin-left: 0.35rem;
  transition: all 0.2s ease;
}

.auth-footer-link a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* Password fields side-by-side on register */
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .auth-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  .auth-hero-text {
    text-align: center;
  }

  .auth-hero-text h1 {
    font-size: 1.5rem;
  }

  .auth-hero-text h2 {
    font-size: 1rem;
  }

  .auth-hero-text p {
    font-size: 0.88rem;
    margin: 0 auto 1.25rem;
  }

  .auth-card {
    padding: 1.75rem 1.25rem;
  }

  .auth-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-choose-section {
  padding: 3rem 1.5rem;
  margin-top: 2rem;
}

.why-choose-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.why-choose-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.why-choose-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2.5px solid var(--primary);
  background: rgba(240, 230, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.why-choose-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.why-choose-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-choose-header h2 {
    font-size: 1.5rem;
  }

  .why-choose-section {
    padding: 2rem 1rem;
  }
}

/* ========================================
   CUSTOMER REVIEWS SECTION
   ======================================== */
.reviews-section {
  padding: 4rem 1.5rem;
  overflow: hidden;
  position: relative;
  background: var(--bg-gradient);
  /* Ensure it sits on the main background */
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  /* White text on gradient */
}

.reviews-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.reviews-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0 2rem;
  /* space for shadows */
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 2rem;
}

.review-card {
  flex: 0 0 calc(50% - 1rem);
  /* 2 cards per view on desktop */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  min-width: 0;
  /* flex fix */
  text-align: center;
}

.review-avatar {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ccc;
}

.review-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.review-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Navigation Arrows */
.review-nav-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #fff;
  backdrop-filter: blur(5px);
  position: absolute;
  top: 50%;
  /* Center vertically relative to container */
  transform: translateY(-50%);
}

.review-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.review-prev {
  left: -20px;
}

.review-next {
  right: -20px;
}

@media (max-width: 900px) {
  .review-card {
    flex: 0 0 100%;
    /* 1 card per view on tablet/mobile */
  }

  .review-prev {
    left: 0;
  }

  .review-next {
    right: 0;
  }

  .reviews-section {
    padding: 3rem 1rem;
  }

  .reviews-carousel-container {
    padding: 0 35px;
    /* Space for arrows on mobile */
  }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: 4rem 1.5rem 6rem;
  position: relative;
  background: var(--bg-gradient);
  /* Ensure it sits on the main background */
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.faq-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  /* Pill shape for collapsed state */
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item.active {
  border-radius: 20px;
  /* Rounded rect for expanded state */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  min-height: 70px;
}

.faq-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  flex-shrink: 0;
  margin-right: 1rem;
  box-shadow: 0 4px 10px rgba(240, 230, 255, 0.3);
}

.faq-text {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(240, 230, 255, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-answer p {
  padding: 0 1rem 1.5rem 4.25rem;
  /* Indent to align with text */
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 576px) {
  .faq-question {
    padding: 1rem;
  }

  .faq-answer p {
    padding: 0 0.5rem 1.5rem 0.5rem;
  }

  .faq-text {
    font-size: 0.95rem;
  }
}