/* ==========================================================================
   IMMOBILIARE PRESENTATION SITE - MEDIUM DEEP SLATE & NAVY MID-THEME
   Domain: immobiliare.archasoftware.it
   Aesthetic: Warm Slate Navy, Electric Blue & Glassmorphism (Balanced Mid-Tone)
   ========================================================================== */

:root {
  --rev-bg-mid: #0f172a;        /* Deep Warm Slate (Not pitch black, not bright white) */
  --rev-surface-mid: #1e293b;   /* Translucent Navy Slate */
  --rev-card-mid: #1e293b;      /* Slate Card Container */
  --rev-border-mid: rgba(255, 255, 255, 0.12);
  
  --rev-blue: #0075ff;
  --rev-cyan: #00d2ff;
  --rev-purple: #8b5cf6;
  --rev-emerald: #10b981;
  --rev-gold: #f59e0b;
  
  --rev-text-main: #f8fafc;
  --rev-text-muted: #cbd5e1;
  --rev-text-subtle: #94a3b8;
  
  --rev-radius-sm: 10px;
  --rev-radius-md: 16px;
  --rev-radius-lg: 24px;
  --rev-radius-full: 9999px;
  
  --rev-glow-blue: 0 0 30px rgba(0, 117, 255, 0.25);
  --rev-glow-cyan: 0 0 30px rgba(0, 210, 255, 0.25);
  --rev-glow-emerald: 0 0 30px rgba(16, 185, 129, 0.25);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--rev-bg-mid);
  color: var(--rev-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   MID-TONE GLASS HEADER & BUTTONS
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rev-border-mid);
  padding: 1rem 0;
  transition: all 0.3s;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: white;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--rev-blue), var(--rev-cyan));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(0, 117, 255, 0.35);
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  color: var(--rev-cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--rev-text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rev-blue), var(--rev-cyan));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

/* HAMBURGER / SANDWICH MENU BUTTON */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rev-border-mid);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: var(--rev-radius-md);
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-toggle:hover {
  background: rgba(0, 117, 255, 0.2);
  border-color: var(--rev-cyan);
  color: var(--rev-cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--rev-radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rev-blue) 0%, #0052ff 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 117, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 117, 255, 0.55);
}

.btn-accent {
  background: linear-gradient(135deg, var(--rev-emerald) 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   BALANCED DEEP SLATE HERO SECTION WITH BACKGROUND VIDEO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 70vh;
  padding: 3rem 0 4.5rem;
  overflow: hidden;
  background: #0f172a;
  display: flex;
  align-items: center;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: brightness(1.02) contrast(1.12) saturate(1.15);
  transform: scale(1.02);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.65) 65%, rgba(15, 23, 42, 0.98) 100%),
              radial-gradient(circle at 20% 30%, rgba(0, 117, 255, 0.18) 0%, rgba(15, 23, 42, 0) 65%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 117, 255, 0.2);
  color: var(--rev-cyan);
  border: 1px solid rgba(0, 210, 255, 0.4);
  padding: 8px 18px;
  border-radius: var(--rev-radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.25);
  animation: pulseBadge 3s infinite alternate;
}

@keyframes pulseBadge {
  0% { box-shadow: 0 0 15px rgba(0, 210, 255, 0.2); }
  100% { box-shadow: 0 0 35px rgba(0, 210, 255, 0.45); }
}

.hero-headline {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-headline .highlight {
  background: linear-gradient(120deg, #ffffff 0%, var(--rev-cyan) 50%, var(--rev-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subline {
  font-size: 1.2rem;
  color: var(--rev-text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.6;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-highlights-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: white;
  border-top: 1px solid var(--rev-border-mid);
  padding-top: 1.5rem;
}

.hero-highlights-row .h-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.hero-highlights-row i {
  color: var(--rev-emerald);
  margin-top: 3px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}

.preview-card-mockup {
  background: rgba(30, 41, 59, 0.88);
  border-radius: var(--rev-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 117, 255, 0.2);
  overflow: hidden;
  animation: floatMockup 6s ease-in-out infinite;
  transform-style: preserve-3d;
  backdrop-filter: blur(20px);
}

@keyframes floatMockup {
  0%, 100% { transform: translateY(0px) rotateX(2deg) rotateY(-2deg); }
  50% { transform: translateY(-12px) rotateX(-1deg) rotateY(1deg); }
}

.mockup-header {
  background: rgba(15, 23, 42, 0.6);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--rev-border-mid);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-url {
  color: var(--rev-text-subtle);
  font-size: 0.78rem;
  margin-left: 10px;
  font-family: monospace;
}

.mockup-body {
  padding: 2rem;
  position: relative;
}

.mock-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: var(--rev-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--rev-radius-full);
  margin-bottom: 1rem;
}

.mock-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.mock-specs {
  font-size: 0.9rem;
  color: var(--rev-text-muted);
  margin-bottom: 1.5rem;
}

.mock-paywall-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rev-border-mid);
  border-radius: var(--rev-radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--rev-cyan);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}

.mock-paywall-box i { font-size: 1.6rem; color: var(--rev-blue); }

.mock-savings {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(0, 210, 255, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: white;
  padding: 1rem;
  border-radius: var(--rev-radius-md);
  font-size: 0.95rem;
  text-align: center;
  font-weight: 600;
}

/* ==========================================================================
   SECTIONS & MEDIUM NAVY SLATE CARDS
   ========================================================================== */

.section {
  padding: 6rem 0;
  position: relative;
}

.bg-dark-alt {
  background-color: #1e293b;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--rev-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: white;
}

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

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

/* DEDICATED MISSION BANNER STYLES */
.mission-banner {
  background: linear-gradient(135deg, rgba(0, 117, 255, 0.15) 0%, rgba(0, 210, 255, 0.08) 100%);
  border: 2px solid var(--rev-cyan);
  border-radius: var(--rev-radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  box-shadow: var(--rev-glow-cyan);
}

.mission-badge {
  position: absolute;
  top: -14px;
  left: 3rem;
  background: linear-gradient(135deg, var(--rev-blue), var(--rev-cyan));
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--rev-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .mission-banner {
    padding: 2.5rem 1.25rem 1.75rem !important;
  }
  .mission-badge {
    left: 1rem !important;
    font-size: 0.7rem !important;
    padding: 4px 12px !important;
    max-width: 90% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .mission-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
  .mission-banner h2 {
    font-size: 1.6rem !important;
  }
}

.comp-card {
  background: #1e293b;
  border-radius: var(--rev-radius-lg);
  border: 1px solid var(--rev-border-mid);
  padding: 3rem 2.5rem;
  position: relative;
  transition: all 0.3s;
}

.comp-card.featured {
  border: 2px solid var(--rev-blue);
  box-shadow: var(--rev-glow-blue);
  background: linear-gradient(180deg, #1e293b 0%, #172033 100%);
}

.comp-badge {
  position: absolute;
  top: -14px;
  right: 2.5rem;
  background: linear-gradient(135deg, var(--rev-blue), var(--rev-cyan));
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: var(--rev-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(0, 117, 255, 0.4);
}

.comp-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rev-border-mid);
}

.comp-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: white;
}

.comp-header p {
  font-size: 0.9rem;
  color: var(--rev-text-muted);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 0.98rem;
}

.comp-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.comp-list i {
  margin-top: 4px;
  font-size: 1.1rem;
}

.traditional i { color: #ef4444; }
.saas i { color: var(--rev-emerald); }

.calculator-card {
  background: #1e293b;
  border-radius: var(--rev-radius-lg);
  border: 1px solid var(--rev-border-mid);
  padding: 3.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.calc-input-group {
  margin-bottom: 3rem;
  text-align: center;
}

.calc-input-group label {
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
  color: white;
}

.calc-input-group input[type="range"] {
  width: 100%;
  max-width: 650px;
  height: 10px;
  border-radius: var(--rev-radius-full);
  background: #334155;
  outline: none;
  accent-color: var(--rev-blue);
  cursor: pointer;
}

.range-value-display {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--rev-cyan);
  margin-top: 1rem;
  letter-spacing: -0.03em;
  text-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.calc-box {
  padding: 1.75rem;
  border-radius: var(--rev-radius-md);
  border: 1px solid var(--rev-border-mid);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.calc-box.danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}
.calc-box.danger .box-val { color: #f87171; }

.calc-box.saas {
  background: rgba(0, 117, 255, 0.1);
  border-color: rgba(0, 117, 255, 0.3);
}
.calc-box.saas .box-val { color: var(--rev-cyan); }

.calc-box.highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(0, 210, 255, 0.15) 100%);
  border: 2px solid var(--rev-emerald);
  box-shadow: var(--rev-glow-emerald);
}
.calc-box.highlight .box-val { color: var(--rev-emerald); font-size: 2.4rem; }

.box-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--rev-text-subtle);
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.05em;
}

.box-val {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.box-sub {
  font-size: 0.78rem;
  color: var(--rev-text-subtle);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.role-card {
  background: #1e293b;
  border-radius: var(--rev-radius-lg);
  border: 1px solid var(--rev-border-mid);
  padding: 2.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.role-btn {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
  font-size: 0.88rem;
  padding: 0.65rem 1.25rem;
}

#prezzi-venditori, #prezzi-acquirenti, #prezzi-professionisti, #ruoli, #mission, #modello, #prezzi, #calcolatore, #faq {
  scroll-margin-top: 90px;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rev-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.role-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 117, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--rev-glow-blue);
}

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

.role-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--rev-radius-md);
  background: rgba(0, 117, 255, 0.15);
  color: var(--rev-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.role-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: white;
}

.role-card p {
  font-size: 0.92rem;
  color: var(--rev-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PRICING SECTIONS IN MEDIUM SLATE NAVY
   ========================================================================== */

.pricing-section-block {
  margin-bottom: 4.5rem;
  background: #1e293b;
  border: 1px solid var(--rev-border-mid);
  border-radius: var(--rev-radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.pricing-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rev-border-mid);
}

.pricing-block-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pricing-block-title i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 117, 255, 0.18);
  color: var(--rev-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.pricing-block-title h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
}

.pricing-block-title p {
  font-size: 0.88rem;
  color: var(--rev-text-muted);
}

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pricing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.price-card-mini {
  background: #0f172a;
  border-radius: var(--rev-radius-md);
  border: 1px solid var(--rev-border-mid);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card-mini:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 117, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.price-card-mini.featured {
  border: 2px solid var(--rev-blue);
  box-shadow: var(--rev-glow-blue);
  background: linear-gradient(180deg, #172033 0%, #0f172a 100%);
}

.mini-badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--rev-emerald), #059669);
  color: white;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 3px 12px;
  border-radius: var(--rev-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mini-duration {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rev-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.mini-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.mini-price span {
  font-size: 0.9rem;
  color: var(--rev-text-muted);
  font-weight: 600;
}

.mini-subtext {
  font-size: 0.8rem;
  color: var(--rev-text-muted);
  margin-bottom: 1.25rem;
}

.mini-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.mini-features li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mini-features i {
  color: var(--rev-emerald);
}

.credit-callout-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(0, 210, 255, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--rev-radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 1.75rem;
  color: white;
}

.credit-callout-box i {
  font-size: 2rem;
  color: var(--rev-emerald);
}

.agent-special-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid var(--rev-cyan);
  box-shadow: var(--rev-glow-cyan);
  border-radius: var(--rev-radius-lg);
  padding: 3rem;
  position: relative;
}

.agent-badge-tag {
  position: absolute;
  top: -15px;
  left: 3rem;
  background: linear-gradient(135deg, var(--rev-blue), var(--rev-cyan));
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 18px;
  border-radius: var(--rev-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.agent-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.agent-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.agent-info p {
  color: var(--rev-text-muted);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.agent-fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.88rem;
}

.agent-fee-table th {
  background: rgba(0, 117, 255, 0.2);
  color: var(--rev-cyan);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid var(--rev-border-mid);
}

.agent-fee-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.agent-fee-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: #1e293b;
  border-radius: var(--rev-radius-md);
  border: 1px solid var(--rev-border-mid);
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(0, 117, 255, 0.4);
}

.faq-q {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
  display: flex;
  gap: 12px;
  align-items: center;
}

.faq-q i {
  color: var(--rev-cyan);
}

.faq-a {
  font-size: 0.95rem;
  color: var(--rev-text-muted);
  line-height: 1.6;
  padding-left: 2.1rem;
}

.footer {
  background: #090d16;
  color: white;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--rev-border-mid);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--rev-border-mid);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--rev-text-subtle);
}

/* ==========================================================================
   INTERACTIVE POPUP MODALS SYSTEM
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rev-radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 117, 255, 0.25);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2.5rem;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--rev-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.1rem;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.4rem;
}

.modal-header p {
  color: var(--rev-text-muted);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.1rem;
  background: #0f172a;
  border: 1px solid var(--rev-border-mid);
  border-radius: var(--rev-radius-md);
  color: white;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--rev-blue);
  box-shadow: 0 0 15px rgba(0, 117, 255, 0.3);
}

.role-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.role-option-card {
  background: #0f172a;
  border: 2px solid var(--rev-border-mid);
  border-radius: var(--rev-radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
}

.role-option-card:hover, .role-option-card.selected {
  border-color: var(--rev-cyan);
  background: rgba(0, 117, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.role-option-card i {
  font-size: 1.5rem;
  color: var(--rev-cyan);
}

.role-option-card strong {
  display: block;
  font-size: 0.95rem;
  color: white;
}

.role-option-card span {
  font-size: 0.78rem;
  color: var(--rev-text-muted);
}

.plan-picker-box {
  background: #0f172a;
  border: 1px solid var(--rev-border-mid);
  border-radius: var(--rev-radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.plan-picker-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rev-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.plan-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-radio-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--rev-border-mid);
  border-radius: var(--rev-radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  background: #1e293b;
}

.plan-radio-item:hover, .plan-radio-item.selected {
  border-color: var(--rev-blue);
  background: rgba(0, 117, 255, 0.15);
}

.plan-radio-item input {
  accent-color: var(--rev-blue);
}

.demo-access-link-box {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rev-border-mid);
  text-align: center;
}

.demo-access-link-box a {
  color: var(--rev-cyan);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.demo-access-link-box a:hover {
  text-decoration: underline;
  color: white;
}

/* ==========================================================================
   FULL MOBILE ADAPTIVE RESPONSIVE STYLES WITH SANDWICH HAMBURGER DRAWER
   ========================================================================== */

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100vw;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--rev-border-mid);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .hero {
    padding: 1.75rem 0 3rem !important;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 0.5rem;
  }

  .hero-headline {
    font-size: 2.6rem;
  }

  .hero-subline {
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-highlights-row {
    flex-direction: column;
    gap: 0.85rem;
  }

  .comparison-grid, .calc-results-grid, .grid-3, .pricing-grid-3, .pricing-grid-2, .agent-layout-grid, .footer-grid, .role-select-grid {
    grid-template-columns: 1fr;
  }

  .calculator-card {
    padding: 1.75rem;
  }

  .range-value-display {
    font-size: 2.4rem;
  }

  .agent-special-card {
    padding: 1.75rem;
  }

  .agent-fee-table {
    display: block;
    overflow-x: auto;
  }

  .modal-dialog {
    padding: 1.5rem;
  }
}
