/* ==========================================================================
   AV Business Websites - Modern Design System & Stylesheet
   ========================================================================== */

:root {
  --bg-primary: #070A12;
  --bg-secondary: #0D1424;
  --bg-card: rgba(16, 24, 40, 0.75);
  --bg-card-hover: rgba(23, 34, 56, 0.85);
  --border-color: rgba(56, 189, 248, 0.15);
  --border-hover: rgba(56, 189, 248, 0.4);
  
  --primary: #00F2FE;
  --primary-glow: rgba(0, 242, 254, 0.35);
  --accent: #3B82F6;
  --accent-purple: #8B5CF6;
  --success: #10B981;
  --warning: #F59E0B;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Lighting */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00F2FE 0%, #3B82F6 100%);
  top: -150px;
  right: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8B5CF6 0%, #3B82F6 100%);
  bottom: 10%;
  left: -150px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #00F2FE 0%, #38BDF8 50%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 10, 18, 0.88);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
  z-index: 1002;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hover);
  box-shadow: 0 0 15px var(--primary-glow);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  line-height: 1.1;
  margin-top: 2px;
}

.nav-header-right {
  display: none;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

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

.nav-link:hover {
  color: var(--primary);
}

.nav-drawer-actions {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone-btn {
  border-color: rgba(0, 242, 254, 0.35);
  color: var(--primary) !important;
  font-size: 0.9rem;
  padding: 10px 18px;
}

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

.btn-primary {
  background: linear-gradient(135deg, #00F2FE 0%, #2563EB 100%);
  color: #070A12;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: blur(8px);
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

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

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px var(--success); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

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

.metric-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

/* Hero Showcase Graphic */
.hero-visual {
  position: relative;
}

.hero-mockup-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hover);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 242, 254, 0.15);
  background: var(--bg-secondary);
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.hero-mockup-frame:hover .hero-mockup-img {
  transform: scale(1.02);
}

.floating-glass-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 16px 20px;
  background: rgba(13, 20, 36, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.card-text-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.card-text-sub {
  font-size: 0.78rem;
  color: var(--success);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

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

.section-title {
  font-size: 2.6rem;
  margin-bottom: 18px;
}

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

/* Feature Cards Grid (3 Pillars) */
.features-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 242, 254, 0.1);
}

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

.feature-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.feature-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

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

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.feature-checklist li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Stack Comparison / Calculator Section */
.calculator-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-slider-wrap label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.calc-slider-val {
  color: var(--primary);
  font-weight: 700;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #1E293B;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  cursor: pointer;
}

.calc-result-card {
  background: linear-gradient(145deg, rgba(23, 34, 56, 0.9) 0%, rgba(13, 20, 36, 0.9) 100%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.calc-annual-savings {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--success);
  letter-spacing: -0.03em;
  margin: 12px 0 8px;
}

.calc-savings-note {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* Local Geo Silos / City Hubs */
.locations-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.location-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.location-snippet {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.location-link-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Instant Audit / Contact Form */
.contact-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.contact-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.contact-info h3 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.point-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* FAQ Accordion */
.faq-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item.active {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 28px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.footer {
  background: #04060A;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

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

.footer-brand-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}


/* ==========================================================================
   Blog & Article System Styles
   ========================================================================== */
.blog-section {
  padding: 80px 0 100px;
}

.blog-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.blog-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.blog-hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.article-cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.comparison-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 242, 254, 0.12);
}

.blog-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-category-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: var(--transition);
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-read-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Single Article Typography */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 32px;
}

.article-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #CBD5E1;
}

.article-body h2 {
  font-size: 1.85rem;
  margin: 44px 0 18px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 32px 0 14px;
  color: var(--text-main);
}

.article-body p {
  margin-bottom: 24px;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.callout-box {
  background: rgba(0, 242, 254, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  margin: 36px 0;
}

.callout-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.article-cta-banner {
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Architecture
   ========================================================================== */

/* Global Anti-Overflow Safeguard */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* Tablet & iPad (Portrait 768px-834px & Landscape 1024px) */
@media (max-width: 1024px) {
  /* Navbar & Header on iPad / Tablet */
  .nav-container {
    height: 72px;
    padding: 0 20px;
  }

  .brand-link {
    gap: 10px;
    min-width: 0;
    flex: 0 1 auto;
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .brand-title-wrap {
    min-width: 0;
  }

  .brand-name {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .brand-tag {
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .nav-actions {
    display: none !important;
  }

  .nav-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    z-index: 1002;
  }

  .nav-call-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
  }

  .nav-call-icon-btn:hover {
    background: rgba(0, 242, 254, 0.22);
    box-shadow: 0 0 16px var(--primary-glow);
    transform: scale(1.05);
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
  }

  .hamburger-box {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
  }

  .hamburger-box span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  }

  .mobile-toggle.active .hamburger-box span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--primary);
  }

  .mobile-toggle.active .hamburger-box span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-toggle.active .hamburger-box span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--primary);
  }

  /* Slide-down Menu Drawer */
  .nav-menu-wrapper {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 24px 24px 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
    z-index: 1001;
  }

  .navbar.nav-open .nav-menu-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .nav-link::after {
    content: '→';
    font-size: 1.1rem;
    color: var(--text-dim);
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .nav-link:hover,
  .nav-link:active {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--primary);
    padding-left: 24px;
  }

  .nav-link:hover::after,
  .nav-link:active::after {
    color: var(--primary);
    transform: translateX(4px);
  }

  .nav-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .drawer-call-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary) !important;
    border-color: rgba(0, 242, 254, 0.4);
    background: rgba(0, 242, 254, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .drawer-audit-btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .drawer-trust-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 8px;
  }

  /* Body Lock when Menu Open */
  body.nav-locked {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Sections Layout */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(2.3rem, 5.5vw, 3.2rem);
  }

  .hero-subtitle {
    margin: 0 auto 36px;
    font-size: 1.1rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .floating-glass-card {
    left: 12px;
    bottom: -16px;
  }

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

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

  .calc-box {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 36px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

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

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

  .blog-hero-title {
    font-size: 2.4rem;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Mobile Navbar */
  .nav-container {
    height: 66px;
    padding: 0 14px;
  }

  .brand-link {
    gap: 8px;
    min-width: 0;
    flex: 0 1 auto;
    max-width: calc(100% - 92px);
  }

  .brand-logo-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .brand-title-wrap {
    min-width: 0;
  }

  .brand-name {
    font-size: clamp(0.92rem, 3.8vw, 1.02rem);
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  .brand-tag {
    font-size: 0.62rem;
    white-space: nowrap;
    letter-spacing: 0.05em;
  }

  .nav-header-right {
    gap: 8px;
    flex-shrink: 0;
  }

  .nav-call-icon-btn {
    width: 38px;
    height: 38px;
  }

  .nav-call-icon-btn svg {
    width: 17px;
    height: 17px;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
  }

  .hamburger-box {
    width: 20px;
    height: 14px;
  }

  .nav-menu-wrapper {
    top: 66px;
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
    padding: 20px 18px 40px;
  }

  .hero-section {
    padding: 44px 0 64px;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
    line-height: 1.18;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 24px;
  }

  .metric-val {
    font-size: 1.45rem;
  }

  .metric-label {
    font-size: 0.78rem;
  }

  .features-section,
  .calculator-section,
  .locations-section,
  .contact-section,
  .faq-section,
  .blog-section {
    padding: 64px 0;
  }

  .section-title {
    font-size: clamp(1.85rem, 6vw, 2.3rem);
  }

  .section-desc {
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .feature-card {
    padding: 26px 20px;
  }

  .calc-box {
    padding: 28px 20px;
    gap: 28px;
  }

  .calc-box h2 {
    font-size: 1.6rem !important;
  }

  .calc-annual-savings {
    font-size: 2.2rem !important;
  }

  .calc-result-card {
    padding: 24px 18px;
  }

  .contact-wrap {
    padding: 28px 20px;
    gap: 32px;
  }

  .contact-info h3 {
    font-size: 1.75rem;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 12px 14px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.2rem);
  }

  .blog-hero-desc {
    font-size: 1rem;
  }

  .article-cta-title {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
  }

  .comparison-title {
    font-size: clamp(1.5rem, 5vw, 1.85rem);
  }

  .article-title {
    font-size: clamp(1.8rem, 6vw, 2.3rem);
  }

  .article-wrap {
    padding: 32px 18px 64px;
  }

  .article-cta-banner {
    padding: 32px 20px;
  }

  .orb-1 {
    width: 320px;
    height: 320px;
    top: -60px;
    right: -50px;
  }

  .orb-2 {
    width: 280px;
    height: 280px;
    bottom: 5%;
    left: -50px;
  }
}

/* Small Mobile Screens (<= 580px) */
@media (max-width: 580px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  .floating-glass-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metric-item {
    align-items: center;
  }

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

  .location-card {
    padding: 22px 18px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 18px 16px;
    font-size: 0.92rem;
  }

  .footer {
    padding: 48px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }

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

/* Narrowest Phones (<= 480px, e.g. iPhone SE / 375px) */
@media (max-width: 480px) {
  .nav-container {
    height: 62px;
    padding: 0 10px;
  }

  .brand-link {
    gap: 7px;
    max-width: calc(100% - 84px);
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .brand-tag {
    font-size: 0.58rem;
    white-space: nowrap;
  }

  .nav-header-right {
    gap: 6px;
  }

  .nav-call-icon-btn {
    width: 34px;
    height: 34px;
  }

  .nav-call-icon-btn svg {
    width: 15px;
    height: 15px;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
  }

  .hamburger-box {
    width: 18px;
    height: 12px;
  }

  .badge-pill {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .calc-box,
  .contact-wrap {
    padding: 20px 14px;
  }
}

/* Micro Screens (<= 360px) */
@media (max-width: 360px) {
  .brand-tag {
    display: none;
  }
  .brand-name {
    font-size: 0.82rem;
  }
}


