/* Instack360 Design System - Outfit Typography & Dark Teal / Mint Glow Palette */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Brand Palette from Guidelines */
  --color-primary: #163F37;
  --color-primary-light: #1f544a;
  --color-accent: #0AF4AF;
  --color-accent-rgb: 10, 244, 175;
  --color-accent-hover: #08dc9e;
  --color-accent-soft: rgba(10, 244, 175, 0.12);
  --color-accent-glow: rgba(10, 244, 175, 0.35);
  
  /* Dark Canvas Colors */
  --bg-darkest: #071714;
  --bg-dark: #0a1f1b;
  --bg-card: rgba(16, 44, 38, 0.75);
  --bg-card-hover: rgba(22, 63, 55, 0.9);
  --bg-card-border: rgba(10, 244, 175, 0.18);
  --bg-card-border-hover: rgba(10, 244, 175, 0.55);
  
  /* Text Colors */
  --text-white: #ffffff;
  --text-muted: #9ab3ac;
  --text-dim: #6c8a82;
  --text-dark: #163F37;
  
  /* Accents & States */
  --speed-green: #0AF4AF;
  --speed-gold: #ffbe2e;
  --speed-coral: #ff5f56;
  
  /* Layout & Glassmorphism */
  --blur-card: blur(16px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 35px rgba(10, 244, 175, 0.2);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-darkest);
  color: var(--text-white);
  overflow-x: hidden;
}

.ui-icon {
  display: inline-block;
  vertical-align: -0.18em;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

body {
  background-color: var(--bg-darkest);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(22, 63, 55, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(10, 244, 175, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(22, 63, 55, 0.35) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Containers & Grid */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.accent-text {
  color: var(--color-accent);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #071c18;
  box-shadow: 0 4px 20px rgba(10, 244, 175, 0.35);
}

.btn-primary:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 244, 175, 0.5);
}

.btn-outline {
  background: rgba(22, 63, 55, 0.4);
  color: var(--text-white);
  border-color: rgba(10, 244, 175, 0.3);
  backdrop-filter: var(--blur-card);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  background: rgba(10, 244, 175, 0.12);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--bg-card-border-hover);
  box-shadow: var(--shadow-card), 0 0 30px rgba(10, 244, 175, 0.15);
  transform: translateY(-4px);
}

/* Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  background: rgba(10, 244, 175, 0.1);
  border: 1px solid rgba(10, 244, 175, 0.25);
  color: var(--color-accent);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 0 rgba(10, 244, 175, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 244, 175, 0.7);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(10, 244, 175, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 244, 175, 0);
  }
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 23, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 244, 175, 0.12);
  transition: var(--transition-smooth);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

/* Navigation Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #0d2822;
  border: 1px solid rgba(10, 244, 175, 0.25);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-dropdown-menu li a:hover {
  background: rgba(10, 244, 175, 0.1);
  color: var(--color-accent);
  padding-left: 22px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 24px;
  cursor: pointer;
}

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

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

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 20px 0;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 45px;
}

.hero-proof-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 30px;
  border-top: 1px solid rgba(10, 244, 175, 0.15);
}

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

.proof-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.proof-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Hero Developer Card */
.hero-developer-card {
  position: relative;
}

.developer-frame {
  position: relative;
  background: linear-gradient(145deg, rgba(22, 63, 55, 0.9), rgba(10, 31, 27, 0.8));
  border: 1px solid var(--bg-card-border-hover);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(10, 244, 175, 0.18);
}

.developer-headshot-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(10, 244, 175, 0.25) 0%, rgba(22, 63, 55, 0.65) 55%, #071915 100%);
  border: 1px solid rgba(10, 244, 175, 0.3);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.developer-headshot-img {
  width: 95%;
  height: 95%;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(10, 244, 175, 0.15));
}

.developer-frame:hover .developer-headshot-img {
  transform: scale(1.05) translateY(-4px);
}

.developer-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(7, 23, 20, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 244, 175, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.floating-speed-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(7, 23, 20, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(10, 244, 175, 0.35);
  z-index: 30;
  white-space: nowrap;
  pointer-events: auto;
}

/* Infinite Marquee Section for 40 Websites */
.portfolio-marquee-section {
  padding: 60px 0;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(22, 63, 55, 0.2), transparent);
  overflow: hidden;
}

.marquee-header {
  text-align: center;
  margin-bottom: 40px;
}

.marquee-track-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-row {
  display: flex;
  gap: 24px;
  width: max-content;
}

.marquee-row-left {
  animation: scroll-left 55s linear infinite;
}

.marquee-row-right {
  animation: scroll-right 55s linear infinite;
}

.marquee-track-container:hover .marquee-row {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Portfolio Card in Marquee & Grid */
.project-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--bg-card);
  backdrop-filter: var(--blur-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.project-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(10, 244, 175, 0.25);
  transform: translateY(-6px);
}

.project-card-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0d2822;
  overflow: hidden;
}

.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card-thumb img {
  transform: scale(1.05);
}

.project-speed-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 23, 20, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-category-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(22, 63, 55, 0.9);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.project-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-white);
}

.project-domain {
  font-size: 0.86rem;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 244, 175, 0.1);
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(10, 244, 175, 0.08);
  border: 1px solid rgba(10, 244, 175, 0.15);
  border-radius: 4px;
  color: #b5ded5;
}

.project-action-link {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Services Grid */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px auto;
}

.section-title-wrap h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 16px 0;
  letter-spacing: -0.5px;
}

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

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

.service-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

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

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(10, 244, 175, 0.1);
  border: 1px solid rgba(10, 244, 175, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrap {
  background: var(--color-accent);
  color: #071c18;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 25px rgba(10, 244, 175, 0.5);
}

.service-features-list {
  list-style: none;
  margin: 20px 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features-list li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Speed Audit Interactive Lead Magnet Tool */
.speed-audit-card {
  background: linear-gradient(135deg, rgba(22, 63, 55, 0.9), rgba(10, 31, 27, 0.95));
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(10, 244, 175, 0.15);
  margin-top: 40px;
}

.audit-form-wrap {
  display: flex;
  gap: 12px;
  max-width: 760px;
  margin: 30px auto 0 auto;
}

.audit-input {
  flex-grow: 1;
  background: rgba(7, 23, 20, 0.85);
  border: 1px solid rgba(10, 244, 175, 0.3);
  color: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition-smooth);
}

.audit-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(10, 244, 175, 0.3);
}

/* Comparison Table (Slow vs Instack360) */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.comparison-card {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.comparison-card.bad {
  background: rgba(40, 15, 15, 0.45);
  border: 1px solid rgba(255, 95, 86, 0.3);
}

.comparison-card.good {
  background: rgba(16, 44, 38, 0.8);
  border: 1px solid var(--color-accent);
  box-shadow: 0 0 30px rgba(10, 244, 175, 0.15);
}

/* Modals & Popups */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 14, 12, 0.85);
  backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  background: var(--bg-dark);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 40px rgba(10, 244, 175, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  padding: 40px;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(22, 63, 55, 0.5);
  border: 1px solid rgba(10, 244, 175, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--color-accent);
  color: #071c18;
}

/* Floating Action Contact Button */
.floating-cta-panel {
  position: fixed;
  bottom: 95px;
  bottom: calc(95px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.floating-btn.wa {
  background: #25D366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.floating-btn.quote {
  background: var(--color-accent);
  color: #071c18;
  box-shadow: 0 8px 25px rgba(10, 244, 175, 0.45);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

/* Footer */
.site-footer {
  background: #051210;
  border-top: 1px solid rgba(10, 244, 175, 0.15);
  padding: 80px 0 30px 0;
  position: relative;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(10, 244, 175, 0.1);
  color: var(--text-dim);
  font-size: 14px;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  background: rgba(7, 23, 20, 0.8);
  border: 1px solid rgba(10, 244, 175, 0.25);
  color: #ffffff;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 15px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(10, 244, 175, 0.25);
  background: rgba(10, 31, 27, 0.95);
}

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

/* Responsive queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content .pill-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content h1 {
    text-align: center;
  }
  .hero-content p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
    width: 100%;
  }
  .hero-proof-bar {
    justify-content: center;
    width: 100%;
    gap: 28px;
  }
  .proof-item {
    align-items: center;
    text-align: center;
  }
  .hero-developer-card {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
  .developer-headshot-wrap {
    max-width: 450px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d2822;
    padding: 24px;
    border-bottom: 1px solid rgba(10, 244, 175, 0.2);
    box-shadow: 0 16px 32px rgba(0,0,0,0.6);
    gap: 16px;
    align-items: flex-start;
    z-index: 999;
  }
  .nav-menu.open .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 6px;
    padding: 6px 0;
    width: 100%;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: clamp(2.1rem, 7vw, 2.7rem);
    text-align: center;
  }
  .hero-content p {
    font-size: 1.05rem;
    text-align: center;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
  .hero-proof-bar {
    justify-content: space-around;
    gap: 12px;
    width: 100%;
  }
  .proof-number {
    font-size: 1.55rem;
  }
  .proof-label {
    font-size: 0.72rem;
  }
  .audit-form-wrap {
    flex-direction: column;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    width: 320px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* FAQ Accordion & GEO Rich Snippets */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(22, 63, 55, 0.4);
  border: 1px solid rgba(10, 244, 175, 0.15);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--color-accent);
  background: rgba(22, 63, 55, 0.65);
  box-shadow: 0 8px 24px -10px rgba(10, 244, 175, 0.2);
}

.faq-summary {
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

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

.faq-summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
  font-weight: 700;
  transition: transform var(--transition-fast);
  margin-left: 12px;
}

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

.faq-body {
  padding: 0 24px 22px 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  border-top: 1px solid rgba(10, 244, 175, 0.08);
  margin-top: -4px;
  padding-top: 14px;
}

/* ===========================
   AUTHOR BIO CARD
   Used on: city pages, blog posts
   =========================== */
.author-bio-card {
  background: rgba(10, 244, 175, 0.04);
  border: 1px solid rgba(10, 244, 175, 0.18);
  border-radius: 18px;
  padding: 32px;
  margin: 0;
}
.author-bio-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.author-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.author-avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--color-accent, #0AF4AF);
  object-fit: cover;
}
.author-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--color-accent, #0AF4AF);
  color: #000;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
}
.author-info {
  flex: 1;
  min-width: 0;
}
.author-meta-row {
  margin-bottom: 4px;
}
.author-written-by {
  font-size: 12px;
  color: var(--text-muted, #8a9e99);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.author-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.author-title {
  font-size: 13px;
  color: var(--color-accent, #0AF4AF);
  font-weight: 600;
  margin: 0 0 12px;
}
.author-bio-text {
  font-size: 14px;
  color: var(--text-muted, #8a9e99);
  line-height: 1.7;
  margin: 0 0 14px;
}
.author-expertise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.author-skill-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light, #c8d8d5);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.author-links-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.author-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-light, #c8d8d5);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.author-link-btn:hover {
  border-color: var(--color-accent, #0AF4AF);
  color: var(--color-accent, #0AF4AF);
}
.author-link-btn.author-link-wa {
  border-color: rgba(37,211,102,0.3);
  color: #25d366;
}
.author-link-btn.author-link-wa:hover {
  background: rgba(37,211,102,0.1);
}

/* Mobile author bio */
@media (max-width: 600px) {
  .author-bio-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-expertise-row,
  .author-links-row {
    justify-content: center;
  }
  .author-avatar-img {
    width: 80px;
    height: 80px;
  }
}
