/* =============================
   PitStopLog Marketing CSS
   Drop-in replacement (cleaned)
   ============================= */

/* Optional: Inter font. If you already load Inter elsewhere, you can remove this. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand / accents */
  --primarycolor: #138496;        /* teal */
  --primarycolorhover: #0f6775;
  --primarycoloractive: #1fc3d6;
  --secondarycolor: #007bff;      /* blue */
  --alertcolor: #B71C1C;          /* red */
  --highlightcolor: #F9A825;      /* yellow */

  /* Light theme */
  --background: #FFFFFF;
  --backgroundalt: #F9FAFB;
  --panelcolor: #FFFFFF;
  --bordercolor: #E5E7EB;
  --backgroundmuted: #6B7280;

  --textcolor: #374151;
  --textcolorhighlight: #111827;
  --textcolormuted: #6B7280;

  /* Buttons */
  --buttoncolor: var(--primarycolor);
  --buttoncolorhover: var(--primarycolorhover);
  --buttontextcolor: #FFFFFF;

  /* Links */
  --linkcolor: var(--primarycolor);
  --linkcolorhover: var(--primarycolorhover);

  /* Layout */
  --containermax: 1200px;
  --containerpad: 2rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* Reset / base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--textcolor);
  background-color: var(--background);
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

.container,
.nav-container,
.hero-container,
.content-container,
.footer-container {
  max-width: var(--containermax);
  margin: 0 auto;
  padding: 0 var(--containerpad);
}


/* =============================
   Header / Nav (clean + overlay menu)
   ============================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--bordercolor);
}

.nav-container {
  max-width: var(--contentwidth);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative; /* anchor for overlay menu */
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  height: 32px;
  width: auto;
}

/* Nav area */
.header nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.1rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--textcolor);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primarycolorhover);
}

.nav-links a.active {
  color: var(--primarycolor);
  border-bottom-color: var(--primarycolor);
}

/* Right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  height: 40px;
  width: 44px;
  border-radius: 12px;
  border: 1px solid var(--bordercolor);
  background: #fff;
  color: var(--textcolor);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

/* Buttons */
/* login button */
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 0.9rem;
  border-radius: 12px;
  color: var(--textcolor);
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}

.btn-login:hover {
  background: var(--backgroundalt);
  border-color: var(--bordercolor);
}

/* CTA Button */
/* ✅ Header CTA = real button look (scoped) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1rem;
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;

  background: var(--buttoncolor);
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--buttoncolor) 78%, #000);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.btn-primary:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* In-page buttons */
.btn-secondary-soft {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 128, 128, 0.08);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.btn-secondary-soft:hover {
  background: rgba(0, 128, 128, 0.14);
}

/* =============================
   Mobile nav backdrop
   ============================= */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Ensure menu panel sits above backdrop */
@media (max-width: 980px) {
  .nav-links.active {
    z-index: 1000;
  }
}


/* =============================
   Hero (default styles)
   ============================= */

.hero {
  background: linear-gradient(135deg, var(--backgroundalt) 0%, var(--background) 100%);
  padding: 4rem 0;
  text-align: center; /* default */
}

.hero h1 {
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--textcolorhighlight);
  margin-bottom: 2.5rem;
  line-height: 1.15;
}

.hero p {
  font-size: 1.25rem;
  color: var(--textcolormuted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  margin: 0 0 14px 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  font-size: clamp(40px, 4.2vw, 64px);
}

.hero-title-line {
  display: block;
  white-space: nowrap; /* keeps each line intact */
}

.hero-title-line--accent {
  /* optional: keeps emphasis without changing brand */
}


.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-image {
  background-color: var(--bordercolor);
  height: 400px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--textcolormuted);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* =============================
   Home page hero (tight + 2-col)
   Use these classes on index.php:
   section.hero.hero--tight
   + inside: .hero-grid, .hero-copy, .hero-visual
   ============================= */

.hero--tight {
  padding: 3.25rem 0 2.5rem;
  text-align: left; /* override base */
}

.hero--tight .hero-actions { justify-content: flex-start; margin-bottom: 1.75rem; }
.hero--tight .hero-container { padding-top: 0.5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy { text-align: left; }

.hero-title {
  line-height: 1.02;
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  color: var(--textcolorhighlight);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-title__nowrap { white-space: nowrap; }

.hero-subhead {
  max-width: 44rem;
  margin-left: 0;
  margin-right: 0;
  font-size: 1.15rem;
  color: var(--textcolormuted);
}

.hero-note {
  margin-top: 0.75rem;
  color: var(--textcolormuted);
  font-size: 0.95rem;
}

.hero-bullets {
  margin-top: 1.25rem;
  padding-left: 1.1rem;
  color: var(--textcolormuted);
  max-width: 40rem;
}

.hero-bullets li { margin: 0.45rem 0; }

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-device-stack{
  position: relative;
  width: 100%;
  height:320px;
  margin: 0;
  overflow: visible;
}

.hero-device-stack--lg{
  height:auto;
}

.device-desktop{
  display: block;
  width: 95%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Mobile image overlays */
.device-mobile{
  display: block;
  width: clamp(120px, 20%, 180px);
  height: auto;
  position: absolute;
  right: 0%;
  bottom: 0%;
  border-radius: 22px;
  border: rgba(0,0,0,.6) 2px solid;
  box-shadow:
    0 25px 70px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,0.04);
  z-index: 2;
  opacity: 0.95;
  transform: translateY(2px);  
}

.hero-device-stack--lg .device-mobile{
  bottom: -8%;          
}
/* Screenshot frame + caption BELOW image */
.hero-shot {
  margin: 0;
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
  background: var(--backgroundmuted);
  opacity: 0.95;
  overflow: visible;
}

.hero-shot-caption {
  padding: 0.75rem 1rem 0.9rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  background: #0b1220;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* =============================
   Trust bar
   ============================= */

.trust-bar {
  background-color: var(--background);
  padding: 2rem 0;
  border-bottom: 1px solid var(--bordercolor);
}

.trust-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  text-align: center;
}

.trust-item { color: var(--textcolormuted); font-weight: 500; }
.trust-item strong { color: var(--primarycolor); }

/* =============================
   Page headers
   ============================= */

.page-header {
  background-color: var(--backgroundalt);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--textcolorhighlight);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--textcolormuted);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================
   Sections / typography
   ============================= */

.content-section { padding: 4rem 0; }
.content-section--alt { background-color: var(--backgroundalt); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--textcolorhighlight);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--textcolormuted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header--narrow p { max-width: 46rem; }

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

/* =============================
   Feature cards / grids
   ============================= */

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

.feature-card {
  background: var(--panelcolor);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--bordercolor);
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primarycolor);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #fff;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--textcolorhighlight);
  margin-bottom: 1rem;
}

.feature-card p { color: var(--textcolormuted); }

/* Testimonials variants */
.testimonial-card { text-align: left; }
.testimonial-quote {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--textcolor);
}


/* =============================
   Value grid (Home page)
   ============================= */

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

.value-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-card {
  background: var(--panelcolor);
  border: 1px solid var(--bordercolor);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--textcolorhighlight);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--textcolormuted);
  margin: 0;
}

/* Pricing teaser alt */
.pricing-teaser--alt {
  background-color: var(--backgroundalt);
}


/* =============================
   How it works (steps)
   ============================= */

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step-item { text-align: center; }

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primarycolor);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--textcolorhighlight);
  margin-bottom: 0.5rem;
}

.step-item p { color: var(--textcolormuted); font-size: 0.95rem; }

/* Optional card style (if you use .steps-container--cards + .step-card) */
.steps-container--cards { margin-top: 2.5rem; }
.step-card {
  background: var(--panelcolor);
  border: 1px solid var(--bordercolor);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

/* =============================
   Pricing
   ============================= */

.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.pricing-card {
  background: var(--panelcolor);
  border: 2px solid var(--bordercolor);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primarycolor);
  transform: scale(1.05);
}

.pricing-card .plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--textcolorhighlight);
  margin-bottom: 0.5rem;
}

.pricing-card .plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primarycolor);
  margin-bottom: 1rem;
}

.pricing-card .plan-price .period {
  font-size: 1rem;
  color: var(--textcolormuted);
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  color: var(--textcolor);
}

.pricing-card ul li:before {
  content: "✓";
  color: var(--primarycolor);
  font-weight: 700;
  margin-right: 0.5rem;
}

.pricing-card .btn-primary { width: 100%; margin-top: 1rem; }

/* Pricing teaser */
.pricing-teaser {
  padding: 4rem 0;
  background-color: var(--background);
  text-align: center;
}

.pricing-teaser-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--containerpad);
}

.pricing-teaser h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--textcolorhighlight);
  margin-bottom: 1rem;
}

.pricing-teaser p {
  font-size: 1.1rem;
  color: var(--textcolormuted);
  margin-bottom: 2rem;
}

.pricing-preview {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.price-tag {
  background-color: var(--backgroundalt);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bordercolor);
}

.price-tag .plan-name {
  font-weight: 600;
  color: var(--textcolorhighlight);
  display: block;
}

.price-tag .price {
  color: var(--primarycolor);
  font-weight: 700;
  font-size: 1.1rem;
}

.pricing-link { margin-top: 1rem; }
.pricing-link a {
  color: var(--primarycolor);
  text-decoration: none;
  font-weight: 500;
}
.pricing-link a:hover {
  color: var(--primarycolorhover);
  text-decoration: underline;
}

.plan-badge {
  display: inline-block;
  margin: .75rem auto 1rem;
  padding: .4rem .75rem .3rem;

  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;

  color: #fff;
  background-color: var(--primarycolor);
  border-radius: 20px;

  text-align: center;
}


.pricing-card.featured .plan-badge {
  display: block;
  width: fit-content;
}


.plan-annual-note{
  text-align: center;
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--textcolormuted);
}

.cta-row{
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================
   Screenshots
   ============================= */
/* Filters */
.shot-filters{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  justify-content:center;
  margin: 1.5rem 0 2rem;
}
.shot-filter{
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: var(--textcolor);
  padding: .45rem .75rem;
  border-radius: 999px;
  font-size: .95rem;
  cursor: pointer;
}
.shot-filter.is-active{
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.18);
  font-weight: 600;
}

/* Grid */
.shot-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 980px){
  .shot-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .shot-grid{ grid-template-columns: 1fr; }
}

.shot-card{
  text-align:left;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background:#fff;
  padding:0;
  cursor:pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.shot-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
}
.shot-card img{
  display:block;
  width:100%;
  height:auto;
}
.shot-meta{
  padding: .9rem 1rem 1rem;
}
.shot-title{
  font-weight: 700;
  margin-bottom: .25rem;
}
.shot-caption{
  color: var(--textcolormuted);
  font-size: .95rem;
  line-height: 1.35;
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 9999;
}
.lightbox.is-open{ display:block; }

.lightbox-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.75);
}

.lightbox-dialog{
  position: relative;
  width: min(1100px, calc(100vw - 2rem));
  margin: 4vh auto;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}

.lightbox-close{
  position:absolute;
  right: .75rem;
  top: .65rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 22px;
  cursor:pointer;
  z-index: 2;
}

.lightbox-body{
  padding: 1rem;
}
.lightbox-body img{
  display:block;
  width:100%;
  height:auto;
  border-radius: 12px;
}

.lightbox-footer{
  padding: .85rem 1rem 1.1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
}
.lightbox-title{ font-weight: 700; margin-bottom: .25rem; }
.lightbox-caption{ color: rgba(255,255,255,.72); }

/* thumbnails */
.screenshot-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
}

.screenshot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}


/* =============================
   FAQs
   ============================= */
.faq-section{
  background: var(--backgroundalt);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  margin-bottom: 2.5rem;
}

.faq-section-title{
  margin: 0 2rem 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--textcolor);
  letter-spacing: .01em;
}

/* tighten spacing inside a section */
.faq-section .faq-container{
  gap: .65rem;
}

.faq-item{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-question{
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

.faq-icon{
  font-weight: 700;
  opacity: 0.7;
}

.faq-answer{
  padding: 0 1rem 1rem;
  color: var(--textcolormuted);
}

.faq-container{
  display: grid;
  gap: .75rem;
}


/* =============================
   Contact form
   ============================= */
/* =============================
   Contact page layout polish
   ============================= */

.contact-top-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 0 auto 3rem;
  max-width: 900px;
}

@media (max-width: 900px){
  .contact-top-grid{
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Left/Right blocks */
.contact-block{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 1.25rem 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.contact-block h2{
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--textcolorhighlight);
}

.contact-item{
  padding: 0.9rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.contact-item:first-of-type{
  border-top: 0;
  padding-top: 0;
}

.contact-item h3{
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--textcolorhighlight);
}

.contact-item p{
  margin: 0;
  color: var(--textcolor);
  opacity: 0.9;
}

.contact-link{
  color: var(--linkcolor);
  font-weight: 600;
  text-decoration: none;
}

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

/* Contact form container: make it feel like a “card” */
/* =============================
   Contact Form Layout
   ============================= */

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form form {
  display: grid;
  gap: 1.5rem;
}

/* =============================
   Form Groups
   ============================= */

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

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--textcolorhighlight);
}

/* =============================
   Inputs / Select / Textarea
   ============================= */

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid var(--bordercolor);
  background: #fff;
  color: var(--textcolor);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--textcolormuted);
}

/* Focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primarycolor);
  box-shadow: 0 0 0 2px rgba(93, 63, 211, 0.15);
}

/* =============================
   Submit Button
   ============================= */

.contact-form .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
}

/* =============================
   Form Messages
   ============================= */

.form-success,
.form-error {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.form-success {
  background-color: #D1FAE5;
  color: #065F46;
}

.form-error {
  background-color: #FEE2E2;
  color: var(--alertcolor);
}

/* =============================
   Honeypot (defensive)
   ============================= */

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.content-container a {
  color: var(--linkcolor);
  text-decoration: none;
  font-weight: 900;
  transition: color 0.2s ease;
}
.content-container a:hover {
  color: var(--linkcolorhover);
  text-decoration: none;
  font-weight: 1000;  
  transition: color 0.2s ease;
}
.content-container .btn-primary {
  color: var(--buttontextcolor);
}

@media (max-width: 600px){
  .contact-form{
    padding: 1.1rem 1rem;
  }
}

/* Tighten spacing between form and next section */
.content-section + .content-section{
  padding-top: 3rem;
}

/* =============================
   FAQ
   ============================= */

.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--bordercolor);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1rem;
  background-color: var(--backgroundalt);
  cursor: pointer;
  font-weight: 500;
  color: var(--textcolorhighlight);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primarycolor);
}

.faq-question.active::after { content: "−"; }

.faq-answer {
  padding: 1rem;
  color: var(--textcolor);
  border-top: 1px solid var(--bordercolor);
  display: none;
  background: #fff;
}

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

/* =============================
   Terms & Privacy
   ============================= */
/* =============================
   Legal pages (Terms / Privacy)
   ============================= */

.page-header--legal .page-header-sub{
  max-width: 70ch;
  margin: .75rem auto 0;
  color: var(--textcolormuted);
}

.legal-meta{
  margin-top: .75rem;
  font-size: .95rem;
  color: var(--textcolormuted);
}

.legal-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.legal-toc{
  position: sticky;
  top: 96px; /* adjust if header height differs */
}

.legal-toc-card{
  background: #fff;
  border: 1px solid var(--bordercolor);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  margin-bottom: 1rem;
}

.legal-toc-title{
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--textcolorhighlight);
}

.legal-toc-card ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-toc-card li{
  margin: .35rem 0;
}

.legal-toc-card a{
  color: var(--linkcolor);
  text-decoration: none;
}

.legal-toc-card a:hover{
  text-decoration: underline;
}

.legal-small{
  font-size: .95rem;
  color: var(--textcolormuted);
  margin: 0 0 .75rem;
}

.legal-links{
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-links li{ margin: .35rem 0; }

.legal-content{
  min-width: 0;
}

.legal-card{
  background: #fff;
  border: 1px solid var(--bordercolor);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  margin-bottom: 1rem;
}

.legal-card h2{
  margin-top: 0;
  margin-bottom: .75rem;
}

.legal-card p,
.legal-card li{
  color: var(--textcolor);
  line-height: 1.6;
}

.legal-card ul{
  margin: .5rem 0 0 1.25rem;
}

.legal-cta{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* Responsive */
@media (max-width: 900px){
  .legal-layout{
    grid-template-columns: 1fr;
  }
  .legal-toc{
    position: static;
    top: auto;
  }
}


/* =============================
   Footer
   ============================= */

.footer {
  background-color: var(--backgroundalt);
  border-top: 1px solid var(--bordercolor);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-section h4 {
  font-weight: 600;
  color: var(--textcolorhighlight);
  margin-bottom: 1rem;
}

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

.footer-section ul li { margin-bottom: 0.5rem; }

.footer-section ul li a {
  color: var(--textcolormuted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover { color: var(--linkcolor); }

.footer-section img { max-width: 160px; height: auto; display: block; }


.footer-bottom {
  border-top: 1px solid var(--bordercolor);
  padding-top: 2rem;
  text-align: center;
  color: var(--textcolormuted);
}

.footer-content--simple{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-bottom--legal{
  margin-top: 2rem;
}

.footer-bottom--legal a{
  color: var(--linkcolor);
  text-decoration: none;
}

.footer-bottom--legal a:hover{
  text-decoration: underline;
}

.footer-divider{
  margin: 0 .5rem;
  opacity: .6;
}

@media (max-width: 820px){
  .footer-content--simple{
    grid-template-columns: 1fr;
  }
}



/* =============================
   Responsive
   ============================= */

/* =============================
   Mobile: overlay dropdown panel
   ============================= */
@media (max-width: 1100px) {
  .nav-container {
    justify-content: space-between;
  }

  /* Hide desktop inline menu */
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Keep actions tight */
  .nav-actions {
    gap: 0.5rem;
  }

  .btn-login {
    display: none; /* optional, keeps header clean */
  }

  /* ✅ Overlay panel (does NOT expand header) */
  .nav-links {
    position: fixed;
    top: 72px;
    right: 16px;
    width: min(320px, calc(100vw - 32px));
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    display: none;
  }

  .nav-links.active {
    display: block;
  }

  .nav-links li {
    display: block;
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    font-size: 1rem;
  }
}






@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero--tight { text-align: center; }
  .hero--tight .hero-actions { justify-content: center; }

  .hero-copy { text-align: center; }
  .hero-subhead,
  .hero-bullets {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual { justify-content: center; }
  .hero-shot { max-width: 760px; }

  .value-grid,
  .value-grid--two {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    border-top: 1px solid var(--bordercolor);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
  }

  .nav-links.active { display: flex; }

  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }

  .trust-container { flex-direction: column; gap: 1rem; }

  .pricing-preview { flex-direction: column; align-items: center; }

  .pricing-card.featured { transform: none; }

  .section-header h2 { font-size: 2rem; }
  .page-header h1 { font-size: 2rem; }
}

/* Smaller screens: CTA can wrap if needed, but not tall */
@media (max-width: 520px) {
  .nav-actions .btn-primary {
    padding: 0 0.85rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  :root { --containerpad: 1rem; }

  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1.1rem; }
}

