/* MuniTrak Corporate Marketing Design System - Civic Trust & Government Clean Theme */

:root {
  /* Palette - Civic Clean (Light Mode) */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --bg-header: #0f172a;
  --bg-input: #ffffff;
  
  --primary: #059669;
  --primary-hover: #047857;
  --primary-glow: rgba(5, 150, 105, 0.2);
  
  --accent: #1e3a8a;
  --accent-hover: #1e40af;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-light: #f8fafc;
  
  --border-light: #e2e8f0;
  --border-highlight: #059669;
  
  --success: #10b981;
  --warning: #d97706;
  --danger: #dc2626;
  
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::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(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.small-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, #059669 0%, #0d9488 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-sm { font-size: 0.875rem; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.btn-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: var(--text-main);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.btn-glass:hover {
  background: #ffffff;
  border-color: var(--primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 0.75rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: var(--bg-header);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.brand-highlight {
  color: #10b981;
}

.badge-enterprise {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001; /* Keep above mobile menu */
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition);
}

/* Mobile Nav Open State */
.nav-container.mobile-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-container.mobile-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-container.mobile-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 150px;
  padding-bottom: 90px;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 24px;
}

.pun-tag {
  font-size: 0.48em;
  font-weight: 500;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  font-family: var(--font-body);
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-light);
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
}

.hero-card-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.live-activity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-header);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
}

/* Section Common Headers */
.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-bullets {
  list-style: none;
}

.feature-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Interactive Demo Box */
.demo-section {
  background-color: var(--bg-body);
}

.demo-interactive-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.demo-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-light);
}

.demo-tab {
  flex: 1;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.demo-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.5);
}

.demo-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #ffffff;
}

.demo-viewport {
  padding: 36px;
}

.demo-view {
  display: none;
}

.demo-view.active {
  display: block;
}

.demo-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.demo-form-side h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.demo-form-side p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* Form inputs */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-input);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.demo-preview-side img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.tracking-result {
  margin-top: 20px;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 16px;
  border-radius: var(--radius-sm);
  color: #065f46;
}

.alert-success h4 {
  color: #047857;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

/* Admin Table Mock */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.tenant-host-tag {
  display: inline-block;
  font-size: 0.8rem;
  background: #ecfdf5;
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
  font-weight: 600;
}

.admin-table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.data-table th {
  background: #f1f5f9;
  color: var(--text-muted);
  font-weight: 600;
}

.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pending { background: #fef3c7; color: #b45309; }
.status-progress { background: #e0f2fe; color: #0369a1; }
.status-resolved { background: #d1fae5; color: #047857; }

/* Tenant Cards */
.tenant-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.tenant-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.tenant-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.badge-active {
  font-size: 0.7rem;
  background: #d1fae5;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.tenant-stats {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
}

/* Architecture Section */
.architecture-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.arch-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.arch-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.arch-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.arch-icon {
  font-size: 1.8rem;
  padding: 10px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.arch-feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.arch-feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Calculator Section */
.calculator-section {
  background-color: var(--bg-body);
}

.calculator-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.calc-control-group {
  margin-bottom: 28px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calc-label-row label {
  font-weight: 600;
  font-size: 0.95rem;
}

.calc-value-display {
  color: var(--primary);
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 8px var(--primary-glow);
}

.result-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.result-card.highlight {
  border-color: var(--border-highlight);
  background: #ecfdf5;
}

.result-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.result-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.result-subtext {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.results-grid .result-value {
  font-size: 1.5rem;
}

/* Pricing Section */
.pricing-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

/* Early Adopter Pilot Banner */
.pilot-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 2px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin-bottom: 48px;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.12);
  position: relative;
}

.pilot-banner-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pilot-banner-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.pilot-banner-text h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #065f46;
}

.pilot-banner-text p {
  color: #1f2937;
  font-size: 1.05rem;
  max-width: 720px;
}

@media (max-width: 868px) {
  .pilot-banner-body {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.12);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price-display {
  font-family: var(--font-heading);
  margin-bottom: 32px;
}

.price-display .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 4px;
}

.price-display .amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-main);
}

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

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
}

.pricing-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* FAQ Accordion */
.faq-section {
  background-color: var(--bg-body);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-hover);
}

.cta-box h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-box p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: #34d399;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 0.85rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 500px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.modal-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #d1fae5;
  color: var(--primary);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .arch-grid,
  .calculator-box {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .tenant-cards-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  /* Mobile Navigation Adjustments */
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-header);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Hidden by default */
    transition: clip-path 0.3s ease-in-out;
  }

  .nav-container.mobile-open .nav-links {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); /* Revealed when open */
  }

  .nav-actions {
    display: none; /* Hide buttons on very small screens, or we can move them inside nav-links */
  }

  .nav-container.mobile-open .nav-actions {
    display: flex;
    position: absolute;
    top: 320px; /* Below the nav links */
    left: 0;
    width: 100%;
    padding: 0 24px 24px 24px;
    background: var(--bg-header);
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  .demo-view-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-buttons {
    flex-direction: column;
  }
}
