:root {
  --blue: #2a73ff;
  --navy: #0e1c40;
  --lime: #8dfe36;
  --gray: #f4f5f7;
  --charcoal: #1f1f1f;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 15px 35px rgba(14, 28, 64, 0.12);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.7;
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  z-index: 20;
  border-bottom: 1px solid rgba(14, 28, 64, 0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.25rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav li {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.8);
}

.nav-link {
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.nav-link.active {
  color: var(--navy);
}

.nav-link.active::after {
  width: 100%;
}

nav .cta {
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-outline {
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: var(--white);
  color: var(--navy);
}

.btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(141, 254, 54, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mail-icon::before,
.mail-icon::after {
  content: '';
  position: absolute;
}

.mail-icon {
  position: relative;
}

.mail-icon::before {
  width: 16px;
  height: 10px;
  border: 2px solid var(--navy);
  border-radius: 4px;
}

.mail-icon::after {
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
  top: 9px;
  left: 7px;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero {
  background: linear-gradient(135deg, rgba(42, 115, 255, 0.12), rgba(141, 254, 54, 0.12));
  padding: 7rem 0 4rem;
}

.contrast {
  background: var(--gray);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(15, 23, 42, 0.8);
}

.hero .pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(141, 254, 54, 0.2);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.75);
  font-weight: 500;
}

.fix-strip {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.fix-strip-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.65);
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.fix-strip-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.fix-strip-list li {
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding-left: 1.4rem;
}

.fix-strip-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(42, 115, 255, 0.4);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hero-card {
  background: linear-gradient(145deg, rgba(42, 115, 255, 0.1), rgba(255, 255, 255, 0.95));
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: 0 25px 60px rgba(14, 28, 64, 0.2);
  border: 1px solid rgba(42, 115, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-card h3 {
  margin: 0;
  color: var(--navy);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(42, 115, 255, 0.12);
  position: relative;
  flex-shrink: 0;
}

.icon::before,
.icon::after {
  content: '';
  position: absolute;
}

.icon-check::before {
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
  top: 12px;
  left: 9px;
}

.icon-photo::before {
  width: 18px;
  height: 12px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  top: 8px;
  left: 7px;
}

.icon-photo::after {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  top: 11px;
  left: 10px;
}

.icon-shield::before {
  width: 14px;
  height: 18px;
  border: 2px solid var(--blue);
  border-radius: 8px 8px 6px 6px;
  top: 7px;
  left: 9px;
}

.icon-flag::before {
  width: 2px;
  height: 18px;
  background: var(--blue);
  top: 7px;
  left: 9px;
}

.icon-flag::after {
  width: 14px;
  height: 10px;
  background: var(--blue);
  top: 7px;
  left: 11px;
  clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%);
}

.icon-bolt::before {
  width: 12px;
  height: 20px;
  background: var(--blue);
  top: 6px;
  left: 10px;
  clip-path: polygon(40% 0, 100% 0, 65% 45%, 95% 45%, 35% 100%, 55% 60%, 5% 60%);
}

.hero-mockup {
  background: linear-gradient(135deg, rgba(42, 115, 255, 0.2), rgba(141, 254, 54, 0.2));
  border-radius: 24px;
  padding: 0.9rem;
  box-shadow: var(--shadow);
}

.mockup-header {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

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

.mockup-body {
  background: var(--white);
  border-radius: 18px;
  padding: 0.9rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.mockup-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(42, 115, 255, 0.15);
}

.mockup-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mockup-line {
  height: 8px;
  background: rgba(15, 23, 42, 0.12);
  border-radius: 4px;
}

.mockup-line.short {
  width: 60%;
}

.mockup-line.fade {
  opacity: 0.5;
}

.mockup-card {
  margin-top: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(42, 115, 255, 0.2);
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.trust-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-align: left;
}

.trust-card strong {
  font-size: 1.6rem;
  color: var(--navy);
  display: block;
}

.trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(141, 254, 54, 0.45), rgba(42, 115, 255, 0.12));
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 18px 30px rgba(14, 28, 64, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trust-icon::before {
  content: '';
  position: absolute;
  inset: 16%;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  opacity: 0.9;
}

.trust-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(14, 28, 64, 0.25));
}

.trust-card small {
  display: block;
  color: rgba(15, 23, 42, 0.75);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

section {
  padding: var(--space-xl) 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 2.5rem 0 1.25rem;
}

.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.6rem);
}

p {
  margin: 0 0 var(--space-sm);
  color: rgba(15, 23, 42, 0.9);
}

small {
  color: rgba(15, 23, 42, 0.7);
}

li {
  margin-bottom: var(--space-xs);
  color: rgba(15, 23, 42, 0.88);
}

ul {
  margin: 0 0 var(--space-sm);
  padding-left: 1.2rem;
}

.eyebrow {
  display: inline-flex;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.65);
}

.eyebrow-sub {
  margin-bottom: 1rem;
  color: rgba(15, 23, 42, 0.72);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.9rem;
  background: var(--white);
  box-shadow: 0 10px 20px rgba(14, 28, 64, 0.05);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.card h3 {
  margin: 0;
  color: var(--navy);
}

.card h4 {
  margin: 0;
  color: var(--navy);
}

.card p {
  color: rgba(15, 23, 42, 0.85);
}

.steps {
  counter-reset: step;
}

.step-card {
  position: relative;
  padding-top: 3rem;
}

.compare-highlight {
  background: rgba(42, 115, 255, 0.05);
}

.compare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 0.6rem;
  font-weight: 700;
}

.icon-check {
  background: rgba(42, 115, 255, 0.12);
  color: var(--blue);
}

.icon-cross {
  background: rgba(15, 23, 42, 0.07);
  color: rgba(15, 23, 42, 0.6);
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

.service-highlight {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 30px 50px rgba(14, 28, 64, 0.35);
}

.service-highlight p,
.service-highlight .price-meta {
  color: rgba(255, 255, 255, 0.92);
}

.pricing-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(280px, 0.6fr);
  gap: 2rem;
  align-items: start;
  background: linear-gradient(145deg, rgba(6, 16, 46, 0.95), rgba(21, 48, 110, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 55px rgba(6, 16, 46, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-feature-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-feature-left .btn {
  align-self: flex-start;
}

.pricing-feature-left h3 {
  margin: 0;
}

.pricing-feature-left p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.pricing-feature-left .price-tag {
  margin-top: 0.5rem;
}

.pricing-feature-left .price-chip {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.pricing-feature-right ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem 1.5rem;
}

.pricing-feature-right li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.pricing-feature-right li::before {
  content: '●';
  color: var(--lime);
  font-weight: 700;
  margin-top: -0.05rem;
}

.price-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.compare-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.compare-header h3 {
  margin: 0.4rem 0 0.6rem;
  color: var(--navy);
}

.compare-header p {
  margin: 0;
  color: rgba(15, 23, 42, 0.8);
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
}

.compare-table th {
  background: transparent;
  color: rgba(15, 23, 42, 0.65);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0 0 0.5rem;
  text-align: left;
}

.compare-table td {
  background: rgba(255, 255, 255, 0.85);
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  font-size: 1rem;
  line-height: 1.5;
}
.compare-table td:nth-child(2) {
  background: rgba(15, 23, 42, 0.05);
  color: rgba(15, 23, 42, 0.75);
}

.compare-table td:nth-child(3) {
  background: rgba(42, 115, 255, 0.12);
  border: 1px solid rgba(42, 115, 255, 0.25);
  box-shadow: 0 15px 35px rgba(42, 115, 255, 0.18);
  color: var(--navy);
  font-weight: 600;
}

.compare-cta {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.compare-cta p {
  margin: 0;
  color: rgba(15, 23, 42, 0.8);
  font-weight: 600;
}

.pricing-stack {
  background: linear-gradient(180deg, #f9fbff 0%, #f2f6ff 100%);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pricing-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 0;
}

.pricing-block {
  position: relative;
  /* padding-top: 0.75rem; */
}

.pricing-block + .pricing-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 2px;
  background: rgba(42, 115, 255, 0.15);
}

.step-1 {
  margin-bottom: 1rem;
  text-align: center;
}

.boosters-intro {
  margin-bottom: 2.5rem;
  text-align: center;
}

.boosters-intro h3 {
  margin: 0.4rem 0 0.6rem;
  color: var(--navy);
}

.boosters-intro p {
  margin: 0;
  color: rgba(15, 23, 42, 0.8);
}

.why {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.testimonials .card {
  border-top: 4px solid var(--blue);
}

.faq-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--white);
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  color: rgba(15, 23, 42, 0.85);
}

.faq-item.active .faq-answer {
  padding-bottom: 1.2rem;
}

.faq-answer p {
  color: inherit;
  font-size: 1.02rem;
  line-height: 1.65;
}

.faq-question span {
  transition: transform 0.2s ease;
  display: inline-flex;
}

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

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-field label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-pill {
  margin-top: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(141, 254, 54, 0.25);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  visibility: hidden;
  max-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}

.contact-pill.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  margin-top: var(--space-sm);
  padding: 0.6rem 1rem;
  max-height: 60px;
}

.contact-pill.success {
  background: rgba(141, 254, 54, 0.4);
}

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-content small {
  color: rgba(255, 255, 255, 0.6);
}

/* Questionnaires Page */
.questionnaire-hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 3rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tab-btn {
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: var(--white);
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
}

.tab-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.form-section {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--white);
}

.form-section h3 {
  margin-top: 0;
  color: var(--navy);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.passcode-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.offline-note {
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.65);
  margin-top: 0.4rem;
}

/* Template directory */
.template-hero {
  padding: 1.2rem 0;
  background: rgba(10, 22, 50, 0.03);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-utility h1 {
  margin: 0.4rem 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.hero-utility p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.75);
  font-weight: 600;
}

.hero-link {
  font-weight: 600;
  color: var(--blue);
}

.template-directory {
  background: #f9fbff;
  padding: 1rem 0 4rem;
}

.template-controls {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(249, 251, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  padding: 1.5rem 0 1rem;
  margin-bottom: 2rem;
}

.controls-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.controls-head h2 {
  margin: 0;
}

.control-actions {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-field,
.sort-field {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

[data-template-search] {
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  min-width: 220px;
}

[data-template-sort] {
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  background: #fff;
  font-weight: 600;
}

.filter-bar {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.filter-chips.is-hidden {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  visibility: hidden;
  pointer-events: none;
}

.filter-dropdown {
  margin-top: 0;
}

.filter-dropdown select {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: #fff;
  color: rgba(15, 23, 42, 0.8);
}

.filter-chip {
  border: 2px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.filter-chip:hover {
  border-color: rgba(42, 115, 255, 0.5);
  color: var(--blue);
}

.filter-chip.is-active {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 10px 25px rgba(42, 115, 255, 0.15);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.template-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
  background: #0d0d16;
  cursor: pointer;
}

.tile-media {
  position: relative;
  padding-top: 62.5%;
  overflow: hidden;
}

.template-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: blur(12px);
  transform: scale(1.02);
}

.template-image.is-loaded {
  filter: blur(0);
}

.template-tile:hover .template-image,
.template-tile.is-active .template-image {
  transform: scale(1.03);
  filter: blur(2px);
}

.tile-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(13, 13, 22, 0) 0%, rgba(13, 13, 22, 0.85) 90%);
  color: #fff;
  transition: opacity 0.2s ease;
}

.tile-meta strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.tile-industry {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tile-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.tile-new-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.95);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.tile-overlay {
  position: absolute;
  inset: 0;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  background: linear-gradient(180deg, rgba(8, 8, 15, 0.1) 0%, rgba(8, 8, 15, 0.95) 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.tile-overlay h3,
.tile-overlay li {
  color: #fff;
}

.tile-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.overlay-btn {
  align-self: flex-start;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.template-tile:hover .tile-overlay,
.template-tile.is-active .tile-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.template-tile:hover .tile-meta,
.template-tile.is-active .tile-meta {
  opacity: 0;
}

.empty-state {
  text-align: center;
  color: rgba(15, 23, 42, 0.7);
  margin-top: 2rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .template-controls {
    position: static;
    padding-top: 0;
  }

  .control-actions {
    width: 100%;
  }

  [data-template-search] {
    flex: 1;
    min-width: auto;
  }
}

.map-placeholder {
  background: rgba(42, 115, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--navy);
}

/* Utilities */
.highlight {
  color: var(--blue);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(141, 254, 54, 0.25);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.addon-card {
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 30px rgba(14, 28, 64, 0.1);
  padding: var(--space-lg);
  border-radius: 28px;
  background: #fdfdfd;
  gap: var(--space-sm);
  position: relative;
  overflow: visible;
}

.addon-card .addon-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(42, 115, 255, 0.12);
  color: var(--navy);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.addon-card-review .addon-icon {
  background: rgba(141, 254, 54, 0.18);
  color: var(--charcoal);
}

.addon-card-messaging .addon-icon {
  background: rgba(14, 28, 64, 0.08);
  color: var(--navy);
}

.addon-card-stands .addon-icon {
  background: rgba(255, 179, 71, 0.18);
  color: #a65000;
}

.addon-role {
  margin: 0;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.85);
}

.addon-tag {
  position: absolute;
  top: -12px;
  right: 16px;
  background: rgba(141, 254, 54, 0.85);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(14, 28, 64, 0.15);
}

.addon-card.featured {
  border: 2px solid rgba(141, 254, 54, 0.4);
  box-shadow: 0 40px 60px rgba(14, 28, 64, 0.2);
}

.addon-cta {
  margin-top: auto;
}
.price-stack {
  --price-accent: var(--blue);
  --price-accent-muted: rgba(42, 115, 255, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-setup {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--price-accent-muted);
}

.price-monthly {
  font-size: 2rem;
  font-weight: 700;
  color: var(--price-accent);
  line-height: 1.1;
}

.price-helper {
  font-size: 0.95rem;
  color: var(--price-accent-muted);
}

.price-stack-landing {
  --price-accent: #2a73ff;
  --price-accent-muted: rgba(42, 115, 255, 0.65);
}

.price-stack-review {
  --price-accent: #54b000;
  --price-accent-muted: rgba(84, 176, 0, 0.7);
}

.price-stack-messaging {
  --price-accent: #0d3a8c;
  --price-accent-muted: rgba(13, 58, 140, 0.7);
}

.price-stack-stands {
  --price-accent: #f08a00;
  --price-accent-muted: rgba(240, 138, 0, 0.7);
}

.price-chip {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(42, 115, 255, 0.12);
  border-radius: var(--radius);
  padding: 0.4rem 1.2rem;
  width: fit-content;
}

.price-chip.secondary {
  background: rgba(141, 254, 54, 0.25);
}

.price-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.8);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .service-highlight ul {
    columns: 1;
  }

  .compare-table {
    font-size: 0.9rem;
  }

  .hero-card,
  .service-highlight,
  .why {
    padding: 1.5rem;
  }

  .fix-strip-list {
    flex-direction: column;
    gap: 0.8rem;
  }
}

@media print {
  body {
    color: #000;
    background: #fff;
  }
  header,
  footer,
  .form-actions,
  .tabs,
  .questionnaire-hero,
  .no-print {
    display: none !important;
  }
  .form-section {
    page-break-inside: avoid;
  }
}

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

.testimonial-card {
  border: 1px solid rgba(42, 115, 255, 0.2);
  border-top: 4px solid transparent;
  background: linear-gradient(180deg, rgba(42, 115, 255, 0.08), rgba(255, 255, 255, 0)) border-box;
  box-shadow: 0 20px 45px rgba(14, 28, 64, 0.12);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
}

.star {
  width: 18px;
  height: 18px;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: #f5c044;
  display: inline-block;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(42, 115, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.testimonial-meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.7);
}
