/* 
========================================================================
   Restromitra Premium Restaurant Management Software Stylesheet
   Designed for Visual Excellence, Smooth Interaction & Full Responsiveness
========================================================================
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens / Custom Properties --- */
:root {
  /* Colors */
  --primary-hue: 262; /* Violet */
  --primary: hsl(var(--primary-hue), 80%, 53%); /* #7C3AED */
  --primary-hover: hsl(var(--primary-hue), 80%, 45%);
  --primary-light: hsl(var(--primary-hue), 85%, 96%);
  --primary-glow: hsla(var(--primary-hue), 80%, 53%, 0.15);
  --primary-glow-strong: hsla(var(--primary-hue), 80%, 53%, 0.3);

  --secondary: hsl(38, 92%, 50%); /* Amber #F59E0B */
  --secondary-hover: hsl(38, 92%, 44%);
  --secondary-light: hsl(38, 92%, 96%);

  --dark: hsl(220, 15%, 12%); /* Charcoal */
  --dark-soft: hsl(220, 13%, 20%);
  --gray: hsl(220, 10%, 46%);
  --light: hsl(220, 14%, 96%);
  --white: #ffffff;
  --success: hsl(142, 70%, 45%);
  --danger: hsl(0, 84%, 60%);

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

  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Boarders & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(124, 58, 237, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 1px 10px rgba(0, 0, 0, 0.02);
  --shadow-premium: 0 30px 60px -20px rgba(124, 58, 237, 0.2), 0 10px 20px -10px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

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

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

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography Utilities --- */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-muted { color: var(--gray); }

/* --- Containers & Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow-strong);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow-strong);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.badge-primary-soft {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.badge-purple-solid {
  background-color: var(--primary);
  color: var(--white);
}

/* --- Header & Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 220, 220, 0.4);
  transition: var(--transition-smooth);
  padding: 1.25rem 0;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.95);
}

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

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

.logo-icon {
  width: 42px;
  height: 42px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px var(--primary-glow-strong);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 500;
  margin-top: -2px;
}

/* --- Hero Section --- */
.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  background:
    radial-gradient(circle at 80% 20%, hsla(var(--primary-hue), 80%, 96%, 0.6) 0%, rgba(255, 255, 255, 1) 70%),
    url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%237C3AED' fill-opacity='0.07'/%3E%3C/svg%3E");
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 500px;
}

/* Checklist */
.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--dark-soft);
  font-size: 1.05rem;
}

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

/* Alert badge mini */
.alert-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #F3E8FF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 58, 237, 0.1);
  margin-top: 0.5rem;
}

.alert-mini-icon {
  color: var(--primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-mini-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-soft);
  text-align: left;
}


.alert-mini-text span {
  color: var(--primary);
  font-weight: 700;
}

/* Hero Trust list */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 600;
  margin-top: 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item-icon {
  color: var(--primary);
  font-size: 0.9rem;
}

/* Hero Media / Dashboard Mockup */
.hero-media {
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.hero-media:hover {
  transform: translateY(-8px) scale(1.01);
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Decorative backdrop glow for Hero Media */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, hsla(var(--primary-hue), 80%, 53%, 0.15) 0%, rgba(255,255,255,0) 65%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section-line {
  height: 2px;
  flex-grow: 1;
  max-width: 150px;
  background: linear-gradient(to right, rgba(124, 58, 237, 0), var(--primary));
}

.section-line.right {
  background: linear-gradient(to left, rgba(124, 58, 237, 0), var(--primary));
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  text-align: center;
}

/* --- Features Section --- */
.features {
  padding: var(--space-lg) 0;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 L40 0' stroke='%237C3AED' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
}

.feature-card {
  background-color: var(--white);
  border: 1px solid rgba(220, 220, 220, 0.4);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.15);
}

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

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
  transition: var(--transition-smooth);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
}

/* --- Form and "Why Us" Section --- */
.offer-form-section {
  padding: var(--space-2xl) 0;
  background-color: var(--light);
}

/* Left: Why Are We Offering This? */
.why-us {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-us h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.why-us-intro {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: 10px;
}

.why-us-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-us-icon {
  width: 48px;
  height: 48px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.why-us-item-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.why-us-item-content p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

/* Accent banner */
.accent-alert-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #FEF3C7; /* Amber light */
  border: 1px solid #FDE68A;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  color: #92400E; /* Amber dark text */
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 10px;
}

.accent-alert-box svg {
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* Right: Form Card */
.form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(220, 220, 220, 0.3);
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Form Layout */
.access-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--gray);
  font-size: 1rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid #E5E7EB;
  font-size: 0.95rem;
  color: var(--dark);
  background-color: #F9FAFB;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* Form Two Column inputs */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

/* Styled custom dropdown */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 2.2rem;
}

/* Form Error States */
.form-group.has-error .form-control {
  border-color: var(--danger);
  background-color: #FEF2F2;
}

.form-group.has-error .input-icon {
  color: var(--danger);
}

.error-message {
  font-size: 0.75rem;
  color: var(--danger);
  font-weight: 600;
  display: none;
  margin-top: 2px;
}

.form-group.has-error .error-message {
  display: block;
}

/* Submit Section inside card */
.form-submit-btn {
  margin-top: 8px;
  width: 100%;
  font-size: 1.05rem;
  padding: 0.9rem;
}

.form-privacy-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
  margin-top: 12px;
}

.form-privacy-badge svg {
  color: var(--primary);
}

/* --- Urgency/CTA Banner --- */
.urgency-banner {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.urgency-box {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Gradients */
.urgency-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.urgency-left {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 500px;
}

.urgency-left-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.urgency-left-text h2 {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.urgency-left-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.urgency-middle {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.95rem 2rem;
  border-radius: var(--radius-md);
  min-width: 180px;
}

.urgency-middle .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
  display: block;
}

.urgency-middle .count {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

/* Decrementing animated dynamic color spots remaining */
.spots-count-val {
  color: var(--secondary);
}

.urgency-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

.urgency-right p {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* --- Footer --- */
.footer {
  background-color: var(--light);
  border-top: 1px solid rgba(220, 220, 220, 0.5);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(220, 220, 220, 0.5);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-trust-grid {
  display: flex;
  gap: var(--space-lg);
}

.trust-badge-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(124, 58, 237, 0.1);
  flex-shrink: 0;
}

.trust-badge-content h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.trust-badge-content p {
  font-size: 0.72rem;
  color: var(--gray);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

/* --- Interactive Success Modal Overlay --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  padding: var(--space-lg);
  box-shadow: var(--shadow-premium);
  text-align: center;
  position: relative;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-icon {
  width: 72px;
  height: 72px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 20px;
  animation: pulse-glow 2s infinite;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-details {
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: left;
  margin-bottom: 24px;
  border: 1px solid rgba(220, 220, 220, 0.4);
}

.modal-details-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.875rem;
  border-bottom: 1px dashed rgba(220, 220, 220, 0.6);
}

.modal-details-row:last-child {
  border-bottom: none;
}

.modal-details-label {
  font-weight: 600;
  color: var(--gray);
}

.modal-details-val {
  font-weight: 700;
  color: var(--dark-soft);
}

.modal-details-val.highlight {
  color: var(--primary);
}

.modal-close-btn {
  width: 100%;
}

/* Close Icon Button */
.modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--gray);
  font-size: 1.25rem;
  transition: var(--transition-fast);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-x:hover {
  background-color: var(--light);
  color: var(--dark);
}

/* --- Animations --- */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(124, 58, 237, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--danger);
  animation: pulse-glow-red 2.5s infinite;
}

@keyframes pulse-glow-red {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    transform: scale(0.95);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    transform: scale(0.95);
  }
}

/* --- Responsive Media Queries --- */

/* Desktop / Large Screen Breakpoint */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .grid-2 {
    gap: var(--space-lg);
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
}

/* Tablet Breakpoint */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .navbar {
    padding: 0.85rem 0;
  }

  .navbar.scrolled {
    padding: 0.6rem 0;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .feature-card {
    padding: var(--space-sm);
  }

  .hero {
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
    margin-top: 64px;
  }

  .hero-content {
    align-items: center;
    gap: 1.25rem;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-checklist {
    display: none;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 12px 24px;
    margin: 0.75rem auto 0;
    width: max-content;
  }

  .navbar .btn {
    display: none;
  }

  .features, .offer-form-section {
    padding: var(--space-xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }

  .section-line {
    display: none; /* Hide background lines on smaller screens to maximize space */
  }

  .why-us {
    text-align: center;
    align-items: center;
  }

  .why-us-list {
    gap: var(--space-sm);
  }

  .why-us-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .urgency-box {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .urgency-left {
    flex-direction: column;
    text-align: center;
  }

  .urgency-right {
    align-items: center;
  }

  .footer {
    padding: var(--space-lg) 0 var(--space-sm);
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-trust-grid {
    flex-direction: column;
    gap: var(--space-sm);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .logo-sub {
    display: none;
  }

  .hero-media {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }

  .form-card {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
}

/* Mobile Breakpoint */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.8rem, 7.5vw, 2.3rem);
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .grid-2 {
    gap: var(--space-md);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: var(--space-lg) 0;
    margin-top: 56px;
  }

  .features, .offer-form-section {
    padding: var(--space-lg) 0;
  }

  .form-card {
    padding: var(--space-md);
  }

  .navbar .logo-title {
    font-size: 1.15rem;
  }

  .alert-mini {
    padding: 0.65rem 1rem;
    gap: 10px;
  }

  .alert-mini-text {
    font-size: 0.85rem;
  }
}

/* Very Small Mobile Breakpoint */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  .logo-icon svg {
    width: 16px;
    height: 16px;
  }

  .navbar .logo-title {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .alert-mini {
    padding: 0.5rem 0.75rem;
    gap: 8px;
  }

  .alert-mini-text {
    font-size: 0.78rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
  }

  .hero-trust {
    gap: 8px 16px;
    font-size: 0.78rem;
  }

  .grid-6 {
    gap: 10px;
  }

  .feature-card {
    padding: 12px 10px;
    gap: 8px;
  }

  .feature-icon-wrapper {
    width: 42px;
    height: 42px;
    margin-bottom: 2px;
  }

  .feature-icon-wrapper svg {
    width: 18px;
    height: 18px;
  }

  .feature-card h3 {
    font-size: 0.9rem;
  }

  .feature-card p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .form-card {
    padding: 1.25rem 1rem;
  }

  .why-us h2 {
    font-size: 1.8rem;
  }

  .why-us-intro {
    font-size: 0.95rem;
  }

  .why-us-item-content h4 {
    font-size: 1rem;
  }

  .why-us-item-content p {
    font-size: 0.85rem;
  }

  .urgency-middle {
    padding: 0.65rem 1.15rem;
    min-width: 130px;
  }

  .urgency-middle .count {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

