/* ==========================================================================
   CARGUIDE — Premium Style Sheet
   Refactored & Organized — 2025/2026
   Sections:
   1. Fonts & Reset
   2. CSS Variables (Design Tokens)
   3. Keyframe Animations
   4. Base & Typography
   5. Layout Utilities
   6. Header & Navigation
   7. Buttons
   8. Hero Section
   9. Why Section
   10. How It Works (Steps)
   11. Services (Cards Grid)
   12. Pricing
   13. FAQ
   14. Contact Form
   15. Footer
   16. Dashboard & Admin
   17. Login Page
   18. Hero Metrics
   19. Loading Spinner
   20. Responsive
   ========================================================================== */


/* ==========================================================================
   1. FONTS & RESET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}


/* ==========================================================================
   2. CSS VARIABLES (Design Tokens)
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary:        #1d4ed8;
  --primary-dark:   #1e40af;
  --primary-light:  #3b82f6;
  --blue:           #005a9c;
  --blue-light:     #306494;
  --blue-soft:      #e6f1fb;

  /* Neutrals */
  --bg:             #eef3f9;
  --surface:        rgba(255, 255, 255, 0.78);
  --white:          #ffffff;
  --text:           #0f172a;
  --text-main:      #0f172a;
  --text-secondary: #475569;
  --text-muted:     #6b7280;
  --border:         rgba(226, 232, 240, 0.5);
  --border-soft:    #e5e7eb;

  /* Shape */
  --radius:         20px;
  --radius-lg:      22px;
  --radius-xl:      32px;

  /* Shadows */
  --shadow-sm:      0 4px 30px rgba(0, 0, 0, 0.06);
  --shadow-md:      0 16px 70px rgba(0, 0, 0, 0.08);
  --shadow-soft:    0 18px 45px rgba(15, 23, 42, 0.08);

  /* Effects */
  --blur:           blur(16px);
  --transition:     all 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* Hover lift shadows — layered for depth */
  --hover-shadow-card:    0 12px 32px -4px rgba(15, 23, 42, 0.12),
                          0 4px 16px -2px rgba(29, 78, 216, 0.08);
  --hover-shadow-button:  0 10px 28px -4px rgba(29, 78, 216, 0.35);
  --hover-shadow-strong:  0 20px 48px -6px rgba(15, 23, 42, 0.16),
                          0 8px 20px -4px rgba(29, 78, 216, 0.10);
  --hover-lift-sm:        translateY(-4px);
  --hover-lift-md:        translateY(-7px);
  --hover-lift-lg:        translateY(-10px);
}


/* ==========================================================================
   3. KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ==========================================================================
   4. BASE & TYPOGRAPHY
   ========================================================================== */

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
}

p { color: var(--text-secondary); }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img { display: block; max-width: 100%; }

ul { list-style: none; padding: 0; margin: 0; }


/* ==========================================================================
   5. LAYOUT UTILITIES
   ========================================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Standard section padding */
.section {
  padding: 7rem 0;
}

/* Alternate section background */
.section-alt {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* Centered section headings */
.section-title-center {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle-center {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

/* Two-column layout helper */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.7rem;
  align-items: flex-start;
}


/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  padding: 0;
}

.header.scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.logo:hover { color: var(--primary-dark); transform: translateY(-1px); }

.logo img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

/* Desktop nav links */
.nav.desktop-nav { display: flex; align-items: center; }

.nav a {
  margin-left: 2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* Header actions (login button area) */
.header-actions { display: flex; align-items: center; gap: 1rem; }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1.5rem 1.25rem;
  gap: 0.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(248, 250, 252, 0.98);
  animation: fadeIn 0.25s ease;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 0.45rem 0;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--primary); }

/* Hamburger toggle (visibility controlled via responsive section) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
  font-size: 1.4rem;
  transition: var(--transition);
}

.menu-toggle:hover { color: var(--primary); }


/* ==========================================================================
   7. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Primary button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.28);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  pointer-events: none;
}

.btn-primary:hover {
  transform: var(--hover-lift-sm);
  box-shadow: var(--hover-shadow-button);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-primary:hover::before { opacity: 1; }

/* Outline button */
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: var(--hover-lift-sm);
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.22);
}

/* Text button */
.btn-text {
  background: none;
  color: var(--primary);
  padding-inline: 0.25rem;
  box-shadow: none;
}

.btn-text:hover {
  text-decoration: underline;
  transform: none;
}

/* Active / pressed state for all buttons */
.btn:active { transform: translateY(0) scale(0.98); }


/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--bg) 0%, var(--blue-soft) 100%);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative blur blob */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Hero text */
.hero-kicker {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 1.1rem;
  animation: fadeInUp 0.7s ease-out;
}

.hero-content h1,
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-content h1 span,
.hero-title span {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: slideInLeft 0.9s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Hero visual (car image) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-card { position: relative; }

.hero-car-wrapper {
  position: relative;
  background: transparent;
  transition: transform 0.45s ease-out;
}

.hero-car-wrapper:hover { transform: translateY(-14px); }

.hero-car {
  width: 100%;
  max-width: 660px;
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.16));
  animation: fadeIn 1s ease-out 0.4s both;
}

.hero-car-glow {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(29,78,216,0.18) 0%, transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

.hero-card-tag {
  position: absolute;
  bottom: -1rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
  white-space: nowrap;
  animation: fadeInUp 1s ease-out 0.5s both;
}


/* ==========================================================================
   9. WHY SECTION
   ========================================================================== */

.why-section {
  padding: 6rem 0;
}

.why-header {
  margin-bottom: 2.8rem;
  text-align: center;
}

.why-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.8s ease-out;
}

.why-header h2 span { color: var(--primary); }

.why-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.why-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.why-cards {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  
  
}

.why-highlight {
  flex: 0 0 340px;
  background: linear-gradient(135deg, #007bff, #0056d4);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out;
}

.why-highlight:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  
}

.why-highlight .badge {
  position: absolute;
  top: -14px;
  left: 1.6rem;
  background: #00ff22;
  color: #000;
  padding: 0.4rem 0.9rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: pulse 1s infinite;
}

.why-highlight h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  animation: slideInLeft 0.8s ease-out;
}

.why-highlight ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-highlight ul li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.35;
  animation: fadeIn 1.2s ease-out;
}

.why-highlight ul li i {
  color: #ffc107;
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.why-highlight ul li:hover i {
  color: #ff9500;
}

.why-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ── Subtle pulse for badge — less aggressive than the global one ───────── */
@keyframes subtlePulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 2px 6px rgba(22,163,74,.28), 0 6px 18px rgba(22,163,74,.26); }
  50%       { transform: scale(1.03); box-shadow: 0 2px 8px rgba(22,163,74,.38), 0 8px 24px rgba(22,163,74,.34); }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  /* On tablets, highlight card goes full width below the feature cards     */
  .why-highlight {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .why-highlight {
    padding: 2.2rem 1.6rem 2rem;
  }

  .why-highlight:hover {
    transform: translateY(-5px);  /* gentler lift on small screens           */
  }
}

/* Touch devices — disable hover transform entirely */
@media (hover: none) {
  .why-highlight:hover {
    transform: none;
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.14),
      0 24px 48px rgba(29, 78, 216, 0.24);
  }

  .why-highlight ul li:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.07);
  }
}


/* ==========================================================================
   10. HOW IT WORKS (Steps)
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  position: relative;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out both;
  will-change: transform;
}

.step-card:hover {
  transform: var(--hover-lift-md);
  box-shadow: var(--hover-shadow-card);
  border-color: rgba(59, 130, 246, 0.2);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.step-card:hover .step-number {
  background: var(--primary);
  color: #fff;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.step-card:hover h3 { color: var(--primary); }

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}


/* ==========================================================================
   11. SERVICES (Cards Grid)
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out both;
  will-change: transform;
}

.card:hover {
  transform: var(--hover-lift-md);
  box-shadow: var(--hover-shadow-card);
  border-color: rgba(59, 130, 246, 0.22);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.card:hover .card-icon {
  transform: translateY(-3px) scale(1.12) rotate(6deg);
  background: var(--primary);
  color: #fff;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.card:hover h3 { color: var(--primary); }

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ==========================================================================
   12. PRICING
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out both;
  will-change: transform;
}

.pricing-card:hover {
  transform: var(--hover-lift-lg);
  box-shadow: var(--hover-shadow-strong);
  border-color: rgba(59, 130, 246, 0.28);
}

/* Featured pricing card */
.pricing-card-featured {
  border: 2px solid var(--primary-light);
  background: linear-gradient(160deg, var(--blue-soft) 0%, var(--white) 60%);
  transform: translateY(-6px);
}

.pricing-card-featured:hover { transform: translateY(-14px); }

.badge {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: var(--blue-soft);
  color: var(--primary);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, color 0.3s ease;
}

.pricing-card:hover .badge {
  background: var(--primary);
  color: #fff;
}

.pricing-card h3 {
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

.pricing-card:hover h3 { color: var(--primary); }

.pricing-price {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-price span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checklist { display: flex; flex-direction: column; gap: 0.55rem; }

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}


/* ==========================================================================
   13. FAQ
   ========================================================================== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: var(--hover-lift-sm);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(29, 78, 216, 0.06);
  border-color: rgba(59, 130, 246, 0.18);
}

.faq-item summary {
  padding: 1.4rem 1.8rem;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary { color: var(--primary); }
.faq-item[open] summary::after { content: "–"; }

.faq-item summary:hover { color: var(--primary); padding-left: 2rem; }

.faq-item p {
  padding: 0 1.8rem 1.4rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  animation: fadeIn 0.3s ease;
}


/* ==========================================================================
   14. CONTACT FORM
   ========================================================================== */

.contact-container {
  max-width: 600px;
  margin: 1rem auto 5rem;
  padding: 0 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.contact-form {
  background: var(--white);
  padding: 2.8rem 2.4rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(29, 78, 216, 0.10);
  border: 1.5px solid rgba(29, 78, 216, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-form:hover {
  transform: var(--hover-lift-sm);
  box-shadow: 0 32px 70px rgba(29, 78, 216, 0.14), 0 8px 24px rgba(29, 78, 216, 0.08);
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.97rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.7rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.2rem 1.2rem 3rem;
  border: 1.5px solid var(--border-soft);
  border-radius: 14px;
  background: #f9fafb;
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

/* Floating label */
.form-group label {
  position: absolute;
  top: 1.1rem;
  left: 2.8rem;
  font-size: 0.9rem;
  color: #aaa;
  pointer-events: none;
  transition: all 0.25s ease;
  background: transparent;
  padding: 0 0.2rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  font-size: 0.75rem;
  color: var(--primary);
  background: var(--white);
}

/* Icon inside input */
.form-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.25s ease;
}

.form-group:focus-within .form-icon { color: var(--primary); }

/* Error message */
.error-msg {
  display: none;
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  animation: fadeIn 0.3s ease;
}

/* Submit button (full-width inside form) */
.contact-form .btn-primary {
  width: 100%;
  padding: 1.05rem;
  font-size: 1rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

/* Success popup */
.success-popup {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.17, 0.67, 0.43, 1), opacity 0.3s ease;
  z-index: 9999;
  display: none;
  white-space: nowrap;
}

.success-popup.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.footer {
  background: var(--text-main);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2.5rem;
  margin-top: 5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-left p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 340px;
}

.footer-right { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

.footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s ease;
}

.footer a:hover { color: #fff; }


/* ==========================================================================
   16. DASHBOARD & ADMIN
   ========================================================================== */

#userRequests,
#requestsList {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.user-card,
.request-card {
  background: var(--white);
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--primary);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.user-card:hover,
.request-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.request-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.request-card p  { font-size: 0.9rem; margin-bottom: 0.25rem; }

/* Status badges */
.status-მოლოდინში    { color: #d97706; font-weight: 700; }
.status-დადასტურებულია { color: #16a34a; font-weight: 700; }

/* Invoice number input */
input[type="number"] {
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--border-soft);
  border-radius: 8px;
  font-size: 0.95rem;
  width: 110px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input[type="number"]:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  outline: none;
}

/* Invoice / approve buttons inside admin cards */
.invoiceBtn,
button.approve-btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.invoiceBtn       { background: #16a34a; color: #fff; }
button.approve-btn { background: #22c55e; color: #fff; }

.invoiceBtn:hover,
button.approve-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.28);
  filter: brightness(1.05);
}

/* Logout button (top-right) */
button.logout-btn {
  background: #ef4444;
  color: #fff;
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

button.logout-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(239, 68, 68, 0.28);
}

/* Logout button positioned absolute in dashboard */
#logoutBtn {
  display: block;
  margin: 1.5rem auto 0;
  padding: 0.75rem 2rem;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

#logoutBtn:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.28);
}


/* ==========================================================================
   17. LOGIN PAGE
   ========================================================================== */

.login-container {
  max-width: 420px;
  margin: 100px auto;
  padding: 3rem 2.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow background */
.login-container::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle, rgba(0, 90, 156, 0.07), transparent 60%);
  animation: pulse 4s infinite ease-in-out;
  pointer-events: none;
}

.login-container h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-main);
  position: relative;
  z-index: 1;
}

.login-container input {
  width: 100%;
  padding: 1rem 1.2rem;
  margin-bottom: 1.1rem;
  border: 1.5px solid var(--border-soft);
  border-radius: 14px;
  font-size: 0.97rem;
  font-family: 'Inter', sans-serif;
  background: #f9fafb;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  outline: none;
}

.login-container input:focus {
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.login-container button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.28);
  position: relative;
  z-index: 1;
}

.login-container button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(29, 78, 216, 0.38);
}

#toggleText {
  margin-top: 1.5rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

#toggleBtn {
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

#errorMsg {
  margin-top: 1rem;
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.2em;
  position: relative;
  z-index: 1;
}


/* ==========================================================================
   18. HERO METRICS
   ========================================================================== */

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 2.8rem;
  justify-content: flex-start;
  align-items: stretch;
}

.metric {
  flex: 0 1 260px;
  max-width: 270px;
  min-width: 230px;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.45);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.metric:hover {
  transform: var(--hover-lift-sm);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(37, 99, 235, 0.09);
  border-color: rgba(59, 130, 246, 0.22);
}

.metric-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
  transition: var(--transition);
}

.metric:hover .metric-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.metric-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-dark);
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}


/* ==========================================================================
   19. LOADING SPINNER
   ========================================================================== */

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  z-index: 9998;
  display: none;
  backdrop-filter: blur(4px);
}

.loading-overlay.active { display: block; }

.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border: 4px solid var(--blue-soft);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
  z-index: 9999;
  display: none;
}

.loading-spinner.active { display: block; }


/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */

/* Large tablets */
@media (max-width: 1024px) {
  .nav.desktop-nav { display: none; }
  .menu-toggle     { display: flex; }

  .hero-inner      { grid-template-columns: 1fr; text-align: center; }
  .hero-visual     { justify-content: center; order: -1; }
  .hero-car        { max-width: 80%; }
  .hero-kicker,
  .hero-actions    { justify-content: center; }
  .hero-subtitle   { margin-left: auto; margin-right: auto; }
  .hero-card-tag   { left: 50%; transform: translateX(-50%); right: auto; bottom: -2rem; }
  .hero-metrics    { justify-content: center; }
}

/* Tablets */
@media (max-width: 960px) {
  .steps-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-card-featured { transform: none; }

  .two-column  { grid-template-columns: 1fr; }

  .why-content { flex-direction: column; }
  .why-highlight { flex: none; }
}

/* Mobile */
@media (max-width: 720px) {
  .section { padding: 5rem 0; }
  .container { padding: 0 1.2rem; }

  .hero { padding: 7rem 0 4rem; }
  .hero-car { max-width: 95%; }

  .steps-grid  { grid-template-columns: 1fr; }
  .cards-grid  { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .login-container { margin: 60px auto; padding: 2.2rem 1.5rem; }

  .metric { flex: 1 1 100%; max-width: none; min-width: 0; }

  .success-popup {
    width: calc(100% - 2rem);
    max-width: 340px;
    font-size: 0.87rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .btn  { padding: 0.8rem 1.6rem; font-size: 0.93rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; }

  .metric-icon  { width: 46px; height: 46px; font-size: 1.3rem; }
  .metric-value { font-size: 1.4rem; }

  .contact-form { padding: 2rem 1.4rem; }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   21. PREMIUM HOVER SYSTEM
   Inspired by Linear, Vercel, Stripe — refined lift + shimmer + glow border.
   Three layers per element: (1) lift transform, (2) layered shadow,
   (3) inset shimmer via ::before pseudo-element.
   ========================================================================== */

/* ── 1. Easing & will-change baseline ──────────────────────────────────────
   "ease-out-back" feel on lift (slight overshoot), "ease-out" on shadow
   so depth arrives just a hair after the lift — mimics real physics.        */
.card,
.step-card,
.pricing-card,
.faq-item,
.metric,
.why-highlight,
.user-card,
.request-card,
.contact-form {
  will-change: transform, box-shadow;
  transition:
    transform   0.36s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow  0.36s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    background   0.28s ease;
}

.btn,
.btn-primary,
.btn-outline,
.invoiceBtn,
button.approve-btn,
button.logout-btn,
#logoutBtn,
.login-container button {
  will-change: transform, box-shadow;
  transition:
    transform   0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow  0.26s cubic-bezier(0.22, 1, 0.36, 1),
    background  0.26s ease,
    border-color 0.22s ease;
}

/* ── 2. Shimmer sweep on cards ──────────────────────────────────────────────
   A 45° white gradient that slides across the card on hover — the signature
   micro-detail of premium SaaS cards (seen on Linear, Vercel, Resend).      */
.card,
.step-card,
.pricing-card,
.metric,
.faq-item,
.user-card,
.request-card {
  position: relative;
  overflow: hidden;          /* keeps shimmer clipped to card bounds */
  isolation: isolate;        /* stacking context — no z-index leaks  */
}

.card::after,
.step-card::after,
.pricing-card::after,
.metric::after,
.faq-item::after,
.user-card::after,
.request-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 60%
  );
  transform: translateX(-100%) skewX(-12deg);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.card:hover::after,
.step-card:hover::after,
.pricing-card:hover::after,
.metric:hover::after,
.faq-item:hover::after,
.user-card:hover::after,
.request-card:hover::after {
  transform: translateX(140%) skewX(-12deg);
}

/* ── 3. Cards — lift + layered shadow + border brightening ─────────────── */
.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.14),       /* inset border glow */
    0 4px 8px  rgba(15, 23, 42, 0.04),         /* near shadow       */
    0 12px 24px rgba(15, 23, 42, 0.08),        /* mid shadow        */
    0 24px 48px rgba(29, 78, 216, 0.07);       /* far blue tint     */
  border-color: rgba(59, 130, 246, 0.2);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 4px 8px  rgba(15, 23, 42, 0.04),
    0 14px 28px rgba(15, 23, 42, 0.09),
    0 20px 40px rgba(29, 78, 216, 0.06);
  border-color: rgba(59, 130, 246, 0.18);
}

/* ── 4. Pricing cards ───────────────────────────────────────────────────── */
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1.5px rgba(59, 130, 246, 0.22),
    0 6px 12px  rgba(15, 23, 42, 0.06),
    0 18px 36px rgba(15, 23, 42, 0.10),
    0 32px 56px rgba(29, 78, 216, 0.09);
  border-color: rgba(59, 130, 246, 0.28);
}

.pricing-card-featured:hover {
  transform: translateY(-12px);
  box-shadow:
    0 0 0 2px rgba(59, 130, 246, 0.35),
    0 8px 16px  rgba(29, 78, 216, 0.12),
    0 24px 48px rgba(29, 78, 216, 0.16),
    0 40px 72px rgba(29, 78, 216, 0.10);
}

/* ── 5. FAQ items ───────────────────────────────────────────────────────── */
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.10),
    0 8px 20px  rgba(15, 23, 42, 0.07),
    0 16px 32px rgba(29, 78, 216, 0.05);
  border-color: rgba(59, 130, 246, 0.14);
}

/* ── 6. Metric tiles ────────────────────────────────────────────────────── */
.metric:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.14),
    0 6px 14px  rgba(15, 23, 42, 0.07),
    0 16px 32px rgba(29, 78, 216, 0.08);
  border-color: rgba(59, 130, 246, 0.22);
}

.metric:hover .metric-icon {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.32);
}

/* ── 7. Why-highlight card — see Section 9 for full definition ─────────── */

/* ── 8. Contact form ────────────────────────────────────────────────────── */
.contact-form {
  transition:
    transform   0.36s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow  0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1.5px rgba(59, 130, 246, 0.16),
    0 8px 24px  rgba(29, 78, 216, 0.08),
    0 24px 56px rgba(29, 78, 216, 0.12);
}

/* ── 9. Dashboard cards ─────────────────────────────────────────────────── */
.user-card:hover,
.request-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 6px 16px  rgba(15, 23, 42, 0.07),
    0 16px 32px rgba(29, 78, 216, 0.07);
  border-left-color: var(--primary-light);
}

/* ── 10. Buttons — micro-lift + focused glow ────────────────────────────── */

/* Primary */
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 8px   rgba(29, 78, 216, 0.18),
    0 10px 24px rgba(29, 78, 216, 0.28),
    0 0 0 3px   rgba(59, 130, 246, 0.14);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* Outline */
.btn-outline:hover {
  transform: translateY(-3px);
  background: var(--primary);
  color: #fff;
  box-shadow:
    0 4px 8px   rgba(29, 78, 216, 0.14),
    0 10px 24px rgba(29, 78, 216, 0.22);
}

/* Secondary / utility buttons */
.invoiceBtn:hover,
button.approve-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.30);
}

button.logout-btn:hover,
#logoutBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.28);
}

.login-container button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 14px  rgba(29, 78, 216, 0.22),
    0 14px 32px rgba(29, 78, 216, 0.28);
}

/* ── 11. Active / pressed — tactile push-down ───────────────────────────── */
.card:active,
.step-card:active,
.pricing-card:active,
.faq-item:active,
.metric:active,
.why-highlight:active,
.user-card:active,
.request-card:active {
  transform: translateY(-1px) scale(0.995);
  transition-duration: 0.1s;
}

.btn:active,
.btn-primary:active,
.btn-outline:active,
.invoiceBtn:active,
button.approve-btn:active,
.login-container button:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none !important;
  transition-duration: 0.08s;
}

/* ── 12. Navigation links ───────────────────────────────────────────────── */
.nav a {
  transition: color 0.22s ease, transform 0.22s ease;
}

.nav a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

/* Logo */
.logo {
  transition: color 0.22s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo:hover {
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* ── 13. Hero car — premium floating lift ───────────────────────────────── */
.hero-car-wrapper {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter    0.45s ease;
}

.hero-car-wrapper:hover {
  transform: translateY(-18px);
  filter: drop-shadow(0 40px 56px rgba(0, 0, 0, 0.20))
          drop-shadow(0 12px 20px rgba(29, 78, 216, 0.10));
}

/* ── 14. Login container — glow ring on focus-within ───────────────────── */
.login-container {
  transition:
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform  0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-container:focus-within {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 3px   rgba(59, 130, 246, 0.14),
    0 16px 40px rgba(29, 78, 216, 0.12),
    0 32px 64px rgba(29, 78, 216, 0.08);
}

/* ── 15. Mobile — gentler lifts ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .card:hover         { transform: translateY(-4px); }
  .step-card:hover    { transform: translateY(-4px); }
  .pricing-card:hover { transform: translateY(-5px); }
  .faq-item:hover     { transform: translateY(-3px); }
  .metric:hover       { transform: translateY(-3px); }
  .btn-primary:hover,
  .btn-outline:hover  { transform: translateY(-2px); }
  .hero-car-wrapper:hover { transform: translateY(-8px); }
}

/* ── 16. Touch devices — disable hover entirely ─────────────────────────── */
@media (hover: none) {
  .card:hover,
  .step-card:hover,
  .pricing-card:hover,
  .pricing-card-featured:hover,
  .faq-item:hover,
  .metric:hover,
  .why-highlight:hover,
  .user-card:hover,
  .request-card:hover,
  .contact-form:hover,
  .hero-car-wrapper:hover,
  .login-container:focus-within {
    transform: none;
    box-shadow: var(--shadow-soft);
  }
}
