@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');

/* --- CUSTOM VARIABLES --- */
:root {
  --primary: #3cb779;
  --primary-hover: #2fa368;
  --primary-glow: rgba(60, 183, 121, 0.15);
  --primary-glow-strong: rgba(60, 183, 121, 0.4);
  
  --bg-dark: #080c14;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(22, 34, 57, 0.85);
  --bg-nav: rgba(8, 12, 20, 0.8);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(60, 183, 121, 0.25);
  --border-glow-hover: rgba(60, 183, 121, 0.6);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px -4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px -5px rgba(60, 183, 121, 0.45);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-width: 1280px;
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button, input, textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- BACKGROUND GLOW DECORATIONS --- */
.bg-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.bg-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 183, 121, 0.08) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
}

.bg-glow-2 {
  position: absolute;
  top: 45%;
  left: -20%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(0,0,0,0) 70%);
  filter: blur(100px);
}

.bg-glow-3 {
  position: absolute;
  bottom: 5%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 183, 121, 0.06) 0%, rgba(0,0,0,0) 75%);
  filter: blur(90px);
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  transition: all var(--transition-normal);
}

header.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-svg {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo-text .brand-bold {
  color: var(--text-main);
}

.logo-text .brand-color {
  color: var(--primary);
}

.logo-text .brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--border-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
  color: var(--text-main);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.nav-btn {
  background-color: var(--primary);
  color: var(--text-inverse);
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.nav-btn:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 0 15px rgba(60, 183, 121, 0.4);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* --- CONTAINER & SECTION STYLING --- */
section {
  position: relative;
  padding: 6.5rem 2rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  background: var(--primary-glow);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(60, 183, 121, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* --- HERO SECTION --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}

.hero-content-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.hero-tag span.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-glow 2s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 750px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  width: 100%;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-num::after {
  content: '+';
  color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- HERO VISUAL / DASHBOARD WIDGET --- */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-glowing-back {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--primary-glow-strong) 0%, rgba(0,0,0,0) 70%);
  filter: blur(50px);
  z-index: -1;
  animation: float-slow 6s ease-in-out infinite alternate;
}

.widget-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  width: 100%;
  box-shadow: var(--shadow-lg), 0 0 20px -2px rgba(60, 183, 121, 0.1);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition-normal);
}

.widget-wrapper:hover {
  border-color: var(--border-glow-hover);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-title span.indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.widget-controls {
  display: flex;
  gap: 0.5rem;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.dot-btn.green { background: var(--primary); }
.dot-btn.blue { background: #3b82f6; }

/* Interactive widget elements */
.widget-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
}

.widget-stats-pane {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mini-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  transition: all var(--transition-fast);
}

.mini-stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.mini-stat-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.mini-stat-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 0.15rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.mini-stat-trend {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}

/* Simulated Parking Spots Map */
.parking-map-pane {
  background: rgba(8, 12, 20, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-header {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.spots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.parking-spot {
  height: 32px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.parking-spot.occupied {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.parking-spot.occupied::after {
  content: '🚗';
  font-size: 0.75rem;
}

.parking-spot.available {
  background: rgba(60, 183, 121, 0.1);
  border: 1px solid rgba(60, 183, 121, 0.4);
  color: var(--primary);
}

.parking-spot.available:hover {
  background: rgba(60, 183, 121, 0.2);
  transform: scale(1.05);
}

.map-footer {
  font-size: 0.7rem;
  display: flex;
  justify-content: space-around;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.legend-color {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.legend-color.occ { background-color: #ef4444; }
.legend-color.avl { background-color: var(--primary); }

/* --- FEATURES SECTION --- */
.features-section {
  border-top: 1px solid var(--border-color);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  transform: translateX(100%);
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(60, 183, 121, 0.15);
}

.feature-icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- INTERACTIVE PORTALS SECTION --- */
.portals-section {
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(60, 183, 121, 0.02) 50%, var(--bg-dark) 100%);
}

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

.portal-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 15, 28, 0.8) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.portal-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.portal-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow-hover);
  box-shadow: 0 12px 35px -6px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(60, 183, 121, 0.25);
}

.portal-header {
  width: 100%;
}

.portal-badge {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.portal-card.admin .portal-badge {
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.portal-card.operator .portal-badge {
  border-color: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.portal-card.client .portal-badge {
  border-color: rgba(60, 183, 121, 0.2);
  color: var(--primary);
  background: var(--primary-glow);
}

.portal-card.ai .portal-badge {
  border-color: rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.08);
}

.portal-card.ai:hover {
  box-shadow: 0 12px 35px -6px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.5);
}

.portal-card.ai:hover .portal-btn {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.portal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.portal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.portal-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  width: 100%;
}

.portal-feat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portal-feat-item svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.portal-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.portal-card:hover .portal-btn {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(60, 183, 121, 0.2);
}

.portal-card:hover .portal-btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* --- ABOUT SYSTEM SECTION --- */
.about-section {
  border-top: 1px solid var(--border-color);
}

.about-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-img-container {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.about-img-container::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -15%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 65%);
  filter: blur(40px);
}

/* Interactive dashboard panel representation */
.about-dashboard-mock {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.mock-titlebar {
  background: #111827;
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-window-dots {
  display: flex;
  gap: 0.35rem;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.mock-body {
  padding: 1.25rem;
}

.mock-graph-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
  position: relative;
}

.mock-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 11%;
  height: 100%;
  justify-content: flex-end;
}

.mock-bar {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px 4px 0 0;
  transition: height 1.5s ease-out;
  position: relative;
  overflow: hidden;
}

.mock-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(60, 183, 121, 0.2) 100%);
  opacity: 0.85;
}

.mock-bar-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

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

.mock-info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 0.5rem;
  text-align: center;
}

.mock-info-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.mock-info-lbl {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.about-bullets {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-bullet-icon {
  background: var(--primary-glow);
  color: var(--primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.about-bullet-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.about-bullet-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- CONTACT / FOOTER SECTION --- */
footer {
  border-top: 1px solid var(--border-color);
  background-color: #05080e;
  padding: 4rem 2rem 2rem;
  position: relative;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-glow);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 2px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-info-item svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- ANIMATION ACTIONS AND TRIGGERS --- */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(60, 183, 121, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(60, 183, 121, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(60, 183, 121, 0);
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-15px) scale(1.05);
  }
}

/* Scroll Animations using JavaScript Intersection Observer */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- SECURE REDIRECTING MODAL --- */
.redirect-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.redirect-modal.active .modal-content {
  transform: scale(1);
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--primary-glow);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.modal-url {
  font-family: monospace;
  color: var(--primary);
  background: rgba(60, 183, 121, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  display: inline-block;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(60, 183, 121, 0.15);
}

.modal-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

/* --- HOW IT WORKS (WORKFLOW) SECTION --- */
.workflow-section {
  border-top: 1px solid var(--border-color);
  position: relative;
}

.workflow-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 3.5rem;
}

.workflow-step-connector {
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--border-color) 0%, var(--primary-glow-strong) 50%, var(--border-color) 100%);
  z-index: 1;
}

.workflow-step-card {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 2;
}

.step-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.workflow-step-card:hover .step-badge {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-glow);
  background: var(--primary-glow);
  transform: scale(1.1);
}

.workflow-step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.workflow-step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- ROI CALCULATOR SECTION --- */
.calculator-section {
  border-top: 1px solid var(--border-color);
}

.calc-slider-group {
  margin-bottom: 2rem;
  width: 100%;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.slider-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

.calc-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #151d30;
  outline: none;
  transition: background var(--transition-fast);
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
  box-shadow: 0 0 8px rgba(60, 183, 121, 0.4);
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-hover);
}

.calc-result-card.primary-result {
  background: linear-gradient(135deg, rgba(60, 183, 121, 0.08) 0%, rgba(15, 23, 42, 0.75) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  text-align: center;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-normal);
}

.calc-result-card.primary-result:hover {
  border-color: var(--border-glow-hover);
}

.calc-result-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.calc-result-num {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0;
  text-shadow: 0 0 25px rgba(60, 183, 121, 0.35);
}

.calc-result-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.calc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  border-top: 1px solid var(--border-color);
  background: radial-gradient(circle at bottom, rgba(60, 183, 121, 0.01) 0%, var(--bg-dark) 70%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  color: #eab308;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.author-details h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.author-details span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- FAQ ACCORDION SECTION --- */
.faq-section {
  border-top: 1px solid var(--border-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item[open] {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding-top: 0.75rem;
}

/* --- COMPANION APP DOWNLOAD SECTION --- */
.download-section {
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(60, 183, 121, 0.01) 50%, var(--bg-dark) 100%);
  position: relative;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
}

.app-btn:hover {
  background: rgba(22, 34, 57, 0.95);
  border-color: var(--border-glow-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 15px rgba(60, 183, 121, 0.15);
}

.app-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.app-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.app-btn-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-btn-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.download-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Premium CSS Phone Mockup */
.phone-mockup {
  width: 250px;
  height: 460px;
  background: #020617;
  border: 10px solid #1e293b;
  border-radius: 38px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(60, 183, 121, 0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 2;
  transition: border-color var(--transition-normal);
}

.phone-mockup:hover {
  border-color: var(--primary-glow-strong);
}

.phone-screen {
  flex: 1;
  background: #090d16;
  padding: 2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.phone-header-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 18px;
  background: #1e293b;
  border-radius: 0 0 14px 14px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.phone-notch-speaker {
  width: 35px;
  height: 3px;
  background: #020617;
  border-radius: 2px;
}

.phone-notch-cam {
  width: 6px;
  height: 6px;
  background: #020617;
  border-radius: 50%;
}

.phone-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
  font-size: 0.75rem;
}

.phone-status-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary);
}

.phone-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.phone-qr-box {
  margin: 0.5rem auto;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-qr-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: qr-scan 2.5s linear infinite;
}

@keyframes qr-scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* --- ONBOARDING PHONE SCREEN --- */
.phone-screen-onboard {
  background: #3cb779;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.onboard-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 1.8rem;
}

.onboard-headline {
  padding: 0 1.1rem;
  margin-bottom: 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.onboard-title-bold {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a2e1a;
  display: block;
}

.onboard-title-light {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a2e1a;
  display: block;
}

/* Car area with decorative arc */
.onboard-car-area {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.onboard-arc {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 28px solid rgba(255, 255, 255, 0.35);
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
  pointer-events: none;
}

.onboard-car-img {
  width: 160px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}

/* Bottom footer area */
.onboard-footer {
  padding: 0.75rem 1.1rem 0.5rem;
  background: #3cb779;
}

.onboard-cta-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: #0a2e1a;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.onboard-link {
  color: #d4f542;
  font-weight: 700;
  text-decoration: none;
}

.onboard-link:hover {
  text-decoration: underline;
}

.onboard-cta-plain {
  color: #0a2e1a;
}

.onboard-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.onboard-nav-arrow {
  font-size: 1.2rem;
  color: rgba(10, 46, 26, 0.5);
  font-weight: 300;
  line-height: 1;
}

.onboard-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.onboard-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(10, 46, 26, 0.3);
  display: inline-block;
}

.onboard-dot.active {
  background: #0a2e1a;
  width: 18px;
  border-radius: 4px;
}

.onboard-skip {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(10, 46, 26, 0.6);
  cursor: pointer;
  letter-spacing: 0.3px;
}

/* =========================================================
   PAY FOR PARKING — NAV BUTTON
   ========================================================= */
.nav-btn-pay {
  background: linear-gradient(135deg, #3cb779, #2563eb) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.82rem !important;
  padding: 8px 14px !important;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(60, 183, 121, 0.35);
  transition: box-shadow 0.25s, transform 0.2s;
}
.nav-btn-pay:hover {
  box-shadow: 0 0 30px rgba(60, 183, 121, 0.6);
  transform: translateY(-1px);
}

/* =========================================================
   PAY FOR PARKING — LANDING SECTION
   ========================================================= */
.pay-parking-section {
  padding: 100px 5% 100px;
  position: relative;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.07) 0%, rgba(60, 183, 121, 0.04) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pay-parking-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-parking-cta-row {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.pay-parking-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 960px;
}

.pay-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
}
.pay-info-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.pay-info-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(60, 183, 121, 0.18), rgba(37, 99, 235, 0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 1px solid var(--border-glow);
}
.pay-info-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}
.pay-info-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.pay-info-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn-pay-parking-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #3cb779, #2563eb);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(60, 183, 121, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.btn-pay-parking-main:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(60, 183, 121, 0.6);
}

/* =========================================================
   PAY FOR PARKING — MODAL OVERLAY & CONTAINER
   ========================================================= */
.pp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4, 8, 18, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ppFadeIn 0.25s ease;
}
.pp-overlay.active {
  display: flex;
}

@keyframes ppFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pp-modal {
  background: linear-gradient(160deg, #0d1628 0%, #0a1220 100%);
  border: 1px solid rgba(60, 183, 121, 0.22);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(60, 183, 121, 0.12);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 0;
  animation: ppSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 183, 121, 0.3) transparent;
}

@keyframes ppSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   MODAL HEADER
   ========================================================= */
.pp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.pp-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}
.pp-modal-title svg {
  stroke: var(--primary);
}
.pp-close-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.pp-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

/* =========================================================
   STEP INDICATOR
   ========================================================= */
.pp-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0.4;
  transition: opacity 0.3s;
  min-width: 60px;
}
.pp-step.active { opacity: 1; }
.pp-step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s;
}
.pp-step.active .pp-step-circle {
  background: linear-gradient(135deg, #3cb779, #2563eb);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 18px rgba(60, 183, 121, 0.5);
}
.pp-step span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pp-step.active span { color: var(--primary); }
.pp-step-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06));
  border-radius: 2px;
  max-width: 60px;
}

/* =========================================================
   STEP CONTENT
   ========================================================= */
.pp-step-content {
  padding: 28px 28px 24px;
}
.pp-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.pp-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* =========================================================
   FORM ELEMENTS
   ========================================================= */
.pp-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pp-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.pp-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pp-input::placeholder { color: rgba(148, 163, 184, 0.5); }
.pp-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(60, 183, 121, 0.12);
}

/* QR Scanner area */
.pp-scan-btn {
  background: rgba(60, 183, 121, 0.12);
  border: 1px solid rgba(60, 183, 121, 0.3);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.pp-scan-btn:hover {
  background: rgba(60, 183, 121, 0.22);
  box-shadow: 0 0 14px rgba(60, 183, 121, 0.3);
}
.pp-qr-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}
.pp-stop-scan-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px auto 0;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.pp-stop-scan-btn:hover { background: rgba(239, 68, 68, 0.2); }

/* Buttons */
.pp-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  margin-top: 8px;
  background: linear-gradient(135deg, #3cb779, #2563eb);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(60, 183, 121, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  letter-spacing: 0.02em;
}
.pp-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(60, 183, 121, 0.45);
}
.pp-primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.pp-secondary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 20px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pp-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* Spinner in buttons */
.pp-btn-loader {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ppSpin 0.7s linear infinite;
  display: inline-block;
}
@keyframes ppSpin {
  to { transform: rotate(360deg); }
}

/* Error / success messages */
.pp-error {
  font-size: 0.87rem;
  color: #f87171;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 8px;
  margin-bottom: 4px;
}
.pp-success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.2);
}

/* =========================================================
   STEP 2 — TICKET CARD
   ========================================================= */
.pp-ticket-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
}
.pp-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pp-ticket-row:last-child { border-bottom: none; }
.pp-ticket-row.highlight {
  background: rgba(60, 183, 121, 0.07);
}
.pp-ticket-label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pp-ticket-value {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-main);
}
.pp-ticket-row.highlight .pp-ticket-value {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Payment method cards */
.pp-payment-methods { margin-bottom: 20px; }
.pp-method-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp-method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.pp-method-card:hover {
  border-color: rgba(60, 183, 121, 0.35);
  background: rgba(60, 183, 121, 0.05);
}
.pp-method-card.selected {
  border-color: var(--primary);
  background: rgba(60, 183, 121, 0.08);
  box-shadow: 0 0 16px rgba(60, 183, 121, 0.15);
}
.pp-method-icon {
  width: 42px;
  height: 42px;
  background: rgba(60, 183, 121, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pp-method-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
}
.pp-method-card > div:nth-child(2) {
  flex: 1;
}
.pp-method-card > div:nth-child(2) strong {
  display: block;
  font-size: 0.97rem;
  color: var(--text-main);
  margin-bottom: 2px;
}
.pp-method-card > div:nth-child(2) p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.pp-method-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.pp-method-card.selected .pp-method-radio {
  border-color: var(--primary);
  background: radial-gradient(circle at center, var(--primary) 45%, transparent 50%);
}

/* Scratch applied badge */
.pp-scratch-applied {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 10px;
  padding: 9px 14px;
  margin-bottom: 12px;
}
.pp-scratch-applied svg { stroke: #4ade80; flex-shrink: 0; }

/* Step 2 action row */
.pp-step2-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  margin-top: 4px;
}

/* =========================================================
   STEP 3 — SUCCESS SCREEN
   ========================================================= */
.pp-success-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 14px;
}
.pp-success-icon {
  margin-bottom: 16px;
  animation: ppBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes ppBounceIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
.pp-success-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #4ade80;
  margin-bottom: 8px;
}
.pp-success-msg {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
}

.pp-qr-display {
  margin: 22px auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  width: fit-content;
}
.pp-qr-display .pp-label { color: #0f172a; }
.pp-qr-display img {
  display: block;
  margin: 0 auto;
}

.pp-bank-redirect {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 0.87rem;
  color: #93c5fd;
  line-height: 1.55;
  max-width: 420px;
}
.pp-bank-redirect svg { stroke: #60a5fa; flex-shrink: 0; margin-top: 2px; }

/* =========================================================
   RESPONSIVE — MODAL & SECTION
   ========================================================= */
@media (max-width: 768px) {
  .pay-parking-info-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .pay-parking-section {
    padding: 70px 5% 70px;
  }
  .pp-modal {
    border-radius: 18px;
  }
  .pp-step-content {
    padding: 22px 18px 18px;
  }
  .pp-modal-header {
    padding: 18px 18px;
  }
  .pp-steps {
    padding: 14px 18px;
  }
  .pp-step2-actions {
    grid-template-columns: 1fr;
  }
  .pp-method-cards {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .btn-pay-parking-main {
    font-size: 0.95rem;
    padding: 14px 26px;
  }
}


/* --- RESPONSIVENESS MEDIA QUERIES --- */

/* Tablets and below (max-width: 1024px) */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  section {
    padding: 5rem 1.5rem 4rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .hero-section {
    padding-top: 6.5rem;
    min-height: auto;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 4rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-brand {
    grid-column: span 2;
    align-items: center;
    text-align: center;
  }
  
  .footer-desc {
    max-width: 500px;
  }

  .download-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .download-buttons {
    justify-content: center;
  }

  .workflow-steps {
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2.5rem;
  }
  
  .workflow-step-connector {
    display: none;
  }
  
  .workflow-step-card {
    padding: 0;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  /* Navigation */
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: #090d16;
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-section {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }

  .hero-desc {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
    gap: 1.5rem;
    justify-content: space-around;
  }

  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .widget-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .portals-grid {
    grid-template-columns: 1fr;
  }
  
  .portals-grid .portal-card:last-child {
    grid-column: span 1;
  }
  
  .about-bullets {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.85rem;
  }

  .app-btn {
    width: 100%;
    max-width: 240px;
    justify-content: center;
  }
  
  .phone-mockup {
    margin-top: 1.5rem;
  }

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

