/* ============================================================
   Web Development Landing Page — funnel-specific styles
   Reuses design tokens + base from styles.css
   ============================================================ */

/* --- Landing Nav (No-Navigation rule: logo + single CTA only) --- */
.lp-nav .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.nav-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.nav-linkedin svg { width: 20px; height: 20px; }
.nav-linkedin:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  color: #04121a;
  transform: translateY(-2px);
}

.nav-cta {
  background: var(--accent-secondary);
  color: #04121a;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.35);
}

/* --- Section scaffolding --- */
.lp-section {
  padding: 7rem 4vw;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-secondary);
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.lp-section > h2,
.lp-section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  max-width: 900px;
}
.lp-section-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 3.5rem;
}
.lp-center { text-align: center; }
.lp-center .lp-section-title,
.lp-center .lp-section-sub { margin-left: auto; margin-right: auto; }

/* --- Hero --- */
.lp-hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4vw 4rem;
  max-width: 1240px;
  margin: 0 auto;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.hero-contact {
  background: rgba(20, 22, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 2.6rem;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.hero-contact h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.hero-form-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.hero-contact textarea { min-height: 92px; }
.hero-contact .btn-primary { width: 100%; text-align: center; margin-top: 0.4rem; }
/* On tablet & mobile: hero copy fills the first screen (clean, no half-cut form),
   and the "Let's talk" form sits as its own complete section just below. */
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .lp-hero-copy {
    min-height: calc(100vh - 17rem);
    min-height: calc(100svh - 17rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  /* Form heading peeks a little under the CTAs as a natural scroll cue */
  .lp-hero-form { display: block; margin-top: 1.5rem; padding-bottom: 1rem; }
}
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  background: rgba(20, 22, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  color: #cfd3da;
  margin-bottom: 2rem;
}
.lp-hero-badge .stars { color: #ffc94d; letter-spacing: 2px; }
.lp-hero h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  text-wrap: balance;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 1.6rem;
  background: linear-gradient(100deg, #ffffff, #4fe9ff 55%, #b39bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  max-width: 15ch;
}
.lp-hero .lp-subhead {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.55;
  margin-bottom: 2.6rem;
}
.lp-hero-ctas {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-secondary), #00b3c4);
  color: #04121a;
  padding: 1.25rem 2.6rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 240, 255, 0.35);
}
.lp-microtrust {
  font-size: 0.95rem;
  color: #9aa0a8;
}
.lp-microtrust strong { color: #fff; }

/* --- Trust Bar --- */
.trust-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 4vw;
}
.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.trust-bar-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}
/* Placeholder logo chips — replace with real <img> client logos */
.trust-logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #c7ccd4;
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s;
}
.trust-logo:hover { opacity: 1; filter: grayscale(0); }

/* --- Problem / Solution --- */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.ps-card {
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 28, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.ps-card.problem { border-color: rgba(255, 90, 90, 0.22); }
.ps-card.solution { border-color: rgba(0, 240, 255, 0.25); }
.ps-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ps-list { list-style: none; }
.ps-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: #b9bec6;
  font-size: 1.05rem;
  line-height: 1.5;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.ps-list li:first-child { border-top: none; }
.ps-list .mark { flex-shrink: 0; font-weight: 800; }
.problem .mark { color: #ff6b6b; }
.solution .mark { color: #37e6b0; }

/* Full-width third card — "we build scalable SaaS" */
.ps-card-wide { grid-column: 1 / -1; }
.ps-card.saas {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  border-color: rgba(0, 240, 255, 0.35);
  background:
    linear-gradient(120deg, rgba(0, 240, 255, 0.07), rgba(82, 0, 255, 0.07)),
    rgba(20, 22, 28, 0.5);
}
.saas-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
}
.saas-icon svg { width: 28px; height: 28px; }
.ps-card.saas h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.ps-card.saas p { color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; font-size: 1.05rem; }
.saas-link {
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.saas-link .arrow { transition: transform 0.3s; }
.saas-link:hover .arrow { transform: translateX(6px); }
@media (max-width: 560px) {
  .ps-card.saas { flex-direction: column; gap: 1.1rem; }
}

/* --- Case Studies --- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.case-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 28, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1), border-color 0.4s;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.3);
}
.case-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Framed "browser window on dark" for flat screenshots so they match the
   mockup-style cards. Applied to cards using .shot wrapper. */
.shot {
  position: relative;
  height: 200px;
  padding: 24px 16px 0;
  background: linear-gradient(180deg, #15171c, #0c0e12);
  overflow: hidden;
}
.shot::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 14px 0 0 #ffbd2e, 28px 0 0 #27c93f;
}
.shot .case-thumb {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  object-position: top center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
/* Placeholder thumb — swap for a real screenshot when available */
.case-thumb-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
}
.case-thumb-ph.ph-autoprofile { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.case-thumb-ph.ph-agentcsx { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.case-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.case-body .tag { margin-bottom: 0.6rem; }
.case-body h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.case-body p { color: var(--text-muted); line-height: 1.55; margin-bottom: 1.5rem; }
.case-metric {
  margin-top: auto;
  display: flex;
  gap: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.case-metric .num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-secondary);
  line-height: 1;
}
.case-metric .lbl { font-size: 0.8rem; color: var(--text-muted); }

/* --- Testimonials --- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.testi-card {
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 28, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.testi-card .stars { color: #ffc94d; letter-spacing: 2px; margin-bottom: 1.2rem; display: block; }
.testi-quote { font-size: 1.15rem; line-height: 1.6; color: #e6e8ec; margin-bottom: 1.8rem; }
.testi-person { display: flex; align-items: center; gap: 1rem; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; flex-shrink: 0;
  object-fit: cover;
}
.testi-name { font-weight: 700; }
.testi-role { font-size: 0.85rem; color: var(--text-muted); }

/* --- Value Pillars --- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.pillar {
  padding: 2.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 28, 0.35);
  transition: transform 0.3s, border-color 0.3s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(0,240,255,0.25); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(0, 240, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.4rem;
}
.pillar h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.pillar p { color: var(--text-muted); line-height: 1.55; font-size: 1rem; }

/* ---- Inline SVG icons (replacing emoji) ---- */
.pillar-icon svg { width: 26px; height: 26px; color: var(--accent-secondary); }
.h3-icon { width: 24px; height: 24px; flex-shrink: 0; }
.ps-card.problem h3 .h3-icon { color: #ff6b6b; }
.ps-card.solution h3 .h3-icon { color: var(--accent-secondary); }
.ps-list .mark { display: flex; align-items: center; }
.ps-list .mark svg { width: 20px; height: 20px; margin-top: 1px; }
.book-assurances .tick { display: inline-flex; }
.book-assurances .tick svg { width: 18px; height: 18px; }
.stars { display: inline-flex; align-items: center; gap: 3px; }
.stars svg { width: 15px; height: 15px; }
.testi-card .stars svg { width: 17px; height: 17px; }
.lp-hero-badge .stars svg { width: 13px; height: 13px; }
.footer-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer-badge .star-icon { color: #ffc94d; }

/* ---- Icon animations (disabled for reduced-motion users) ---- */
@media (prefers-reduced-motion: no-preference) {
  /* Value-pillar feature icons — a distinct loop each */
  .pillar-grid .pillar:nth-child(1) .pillar-icon svg { animation: iconZap 2.4s ease-in-out infinite; }
  .pillar-grid .pillar:nth-child(2) .pillar-icon svg { animation: iconThrob 2.6s ease-in-out infinite; }
  .pillar-grid .pillar:nth-child(3) .pillar-icon svg polyline { stroke-dasharray: 46; animation: iconDraw 2.8s ease-in-out infinite; }
  .pillar-grid .pillar:nth-child(4) .pillar-icon svg { animation: iconWiggle 2.8s ease-in-out infinite; }
  .pillar:hover .pillar-icon svg { animation-duration: 0.9s; }

  /* Problem / solution header icons */
  .ps-card.problem h3 .h3-icon { animation: iconWobble 3.2s ease-in-out infinite; }
  .ps-card.solution h3 .h3-icon { animation: iconFloat 2.8s ease-in-out infinite; }

  /* Checklist marks — gentle breathe, offset odd/even so they don't pulse in unison */
  .ps-list li:nth-child(odd) .mark svg { animation: iconBreathe 2.6s ease-in-out infinite; }
  .ps-list li:nth-child(even) .mark svg { animation: iconBreathe 2.6s ease-in-out infinite 1.3s; }
  .book-assurances .tick svg { animation: iconBreathe 2.6s ease-in-out infinite; }

  /* Star ratings — staggered twinkle */
  .stars svg { animation: iconTwinkle 2.2s ease-in-out infinite; }
  .stars svg:nth-child(2) { animation-delay: 0.18s; }
  .stars svg:nth-child(3) { animation-delay: 0.36s; }
  .stars svg:nth-child(4) { animation-delay: 0.54s; }
  .stars svg:nth-child(5) { animation-delay: 0.72s; }
  .footer-badge .star-icon { animation: iconTwinkle 2.4s ease-in-out infinite; }
  .footer-badge svg:not(.star-icon) { animation: iconFloat 3s ease-in-out infinite; }

  /* Popup avatar reveal already pulses via .booking-modal-status */
}

@keyframes iconZap {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 240, 255, 0)); }
  50% { transform: scale(1.16); filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6)); }
}
@keyframes iconThrob { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.13); } }
@keyframes iconDraw { 0% { stroke-dashoffset: 46; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes iconWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
@keyframes iconWobble {
  0%, 90%, 100% { transform: rotate(0); }
  93% { transform: rotate(-9deg); } 96% { transform: rotate(9deg); } 98% { transform: rotate(-5deg); }
}
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes iconBreathe { 0%, 100% { transform: scale(1); opacity: 0.82; } 50% { transform: scale(1.16); opacity: 1; } }
@keyframes iconTwinkle { 0%, 100% { transform: scale(1); opacity: 0.72; } 50% { transform: scale(1.18); opacity: 1; } }

/* --- Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.process-step { position: relative; padding-top: 1rem; }
.process-step .step-num {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 240, 255, 0.45);
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.process-step p { color: var(--text-muted); line-height: 1.55; }

/* --- FAQ --- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 1rem;
  background: rgba(20, 22, 28, 0.35);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: inherit;
  padding: 1.5rem 1.8rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q .icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--accent-secondary);
  transition: transform 0.3s;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 1.8rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

/* --- Booking / Final CTA + Form --- */
.book-section {
  padding: 6rem 4vw;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.book-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.book-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.book-copy p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.6; margin-bottom: 2rem; }
.book-assurances { list-style: none; }
.book-assurances li {
  display: flex; gap: 0.7rem; align-items: center;
  color: #c7ccd4; padding: 0.6rem 0; font-size: 1.05rem;
}
.book-assurances .tick { color: #37e6b0; font-weight: 800; }

/* Booking widget wrapper */
.booking-widget {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 1.6rem;
}

/* ---- Custom booking calendar ---- */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.cal-title { font-weight: 700; font-size: 1.1rem; }
.cal-nav {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.cal-nav:hover { background: rgba(0, 240, 255, 0.12); border-color: rgba(0, 240, 255, 0.4); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-weekdays {
  margin-bottom: 6px;
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.cal-day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: #e6e8ec;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.cal-day:hover:not(:disabled) { background: rgba(0, 240, 255, 0.14); border-color: rgba(0, 240, 255, 0.4); }
.cal-day.is-empty { background: none; cursor: default; }
.cal-day:disabled {
  color: #4a4d55;
  background: none;
  cursor: not-allowed;
}
.cal-day.selected {
  background: var(--accent-secondary);
  color: #04121a;
  font-weight: 700;
  border-color: var(--accent-secondary);
}
.cal-day.today:not(.selected) { border-color: rgba(255, 255, 255, 0.25); }

/* Time slots */
.cal-slots { margin-top: 1.5rem; }
.cal-slots-label { font-size: 0.9rem; color: #c7ccd4; margin-bottom: 0.9rem; }
.cal-slots-label em { color: var(--text-muted); font-style: normal; }
.cal-slot-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}
.cal-slot {
  padding: 0.6rem 0.4rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 7, 7, 0.5);
  color: #e6e8ec;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cal-slot:hover { border-color: var(--accent-secondary); background: rgba(0, 240, 255, 0.1); }
.cal-slot.selected {
  background: var(--accent-secondary);
  color: #04121a;
  font-weight: 700;
  border-color: var(--accent-secondary);
}

/* Booking confirm form */
.cal-form { margin-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1.5rem; }
.cal-form-summary {
  font-size: 0.95rem;
  color: #fff;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
}
.cal-form-summary strong { color: var(--accent-secondary); }
.cal-form .btn-primary { width: 100%; text-align: center; margin-top: 0.4rem; }

/* Popup modal action buttons */
.booking-modal-actions {
  padding: 0.5rem 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.booking-modal-actions .btn-primary { width: 100%; text-align: center; }
.booking-modal-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}
.booking-modal-dismiss:hover { color: #fff; }

/* Secondary "prefer email" form block */
.book-alt {
  max-width: 640px;
  margin: 4rem auto 0;
  text-align: center;
}
.book-alt-label {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.6rem;
}
.book-alt .lead-form { text-align: left; }

.lead-form {
  background: rgba(20, 22, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 2.5rem;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.lead-form h3 { font-size: 1.4rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: #c7ccd4;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(7, 7, 7, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; cursor: pointer; }

/* Intent selector (audit vs new project vs other) */
.pill-choice { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.pill span {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 7, 7, 0.5);
  color: #c7ccd4;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover span { border-color: var(--accent-secondary); }
.pill input:checked + span {
  background: var(--accent-secondary);
  color: #04121a;
  font-weight: 700;
  border-color: var(--accent-secondary);
}
.pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.25); }
/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-form .btn-primary { width: 100%; text-align: center; margin-top: 0.5rem; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; text-align: center; }
.form-status { font-size: 0.95rem; margin-top: 1rem; text-align: center; min-height: 1.2em; }
.form-status.success { color: #37e6b0; }
.form-status.error { color: #ff6b6b; }

/* --- Instant booking modal (auto-opens 4s after load) --- */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.booking-modal.open { display: flex; }
.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 8, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modalFade 0.3s ease;
}
.booking-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.booking-modal-head {
  padding: 2.4rem 2.2rem 0.5rem;
  text-align: center;
}
.booking-modal-avatar {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 1.1rem;
}
.booking-modal-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 240, 255, 0.5);
  box-shadow: 0 8px 26px rgba(0, 240, 255, 0.25);
}
.booking-modal-status {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #37e6b0;
  border: 3px solid var(--bg-card);
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(55, 230, 176, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(55, 230, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 230, 176, 0); }
}
.booking-modal-head h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.7rem;
}
.booking-modal-head p {
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 460px;
  margin: 0 auto;
}
.booking-modal-cal {
  height: 600px;
  padding: 1rem 1rem 1.5rem;
}
.booking-modal-cal .booking-modal-fallback {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.booking-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(20, 22, 28, 0.85);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.booking-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(90deg);
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  .booking-modal { padding: 0; }
  .booking-modal-card {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
  .booking-modal-cal { height: 65vh; }
}

/* --- Footer badges --- */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #c7ccd4;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 0.4rem 0.9rem;
}
.footer-badge .star { color: #ffc94d; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .ps-grid { grid-template-columns: 1fr; }
  .book-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  /* ===== Compact, app-like scale on mobile ===== */
  /* Shrink the root unit so all rem-based sizing scales down together */
  html { font-size: 14.5px; }
  .lp-section { padding: 3rem 5vw; }
  .showcase-content, .lp-section > h2 { max-width: 100%; }

  /* Hero */
  .lp-hero { padding: 5.25rem 5vw 2.5rem; min-height: auto; }
  .lp-hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.1rem);
    background-image: linear-gradient(92deg, #ffffff, #5eeaff);
  }
  .lp-hero-badge { font-size: 0.72rem; padding: 0.35rem 0.85rem; margin-bottom: 1rem; }
  .lp-hero .lp-subhead { font-size: 0.98rem; margin-bottom: 1.6rem; }
  .lp-microtrust { font-size: 0.82rem; }
  .lp-hero-ctas { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .lp-hero-ctas .btn-primary,
  .lp-hero-ctas .btn-outline { font-size: 0.9rem; padding: 0.72rem 1.3rem; text-align: center; }
  .hero-contact { padding: 1.5rem; }
  .hero-contact h3 { font-size: 1.25rem; }

  /* Nav — compact */
  .nav-cta { padding: 0.55rem 1rem; font-size: 0.8rem; }
  .nav-linkedin { width: 38px; height: 38px; }
  .nav-linkedin svg { width: 17px; height: 17px; }

  /* Section headings & text */
  .lp-eyebrow { font-size: 0.7rem; margin-bottom: 0.75rem; }
  .lp-section-title, .lp-section > h2 { font-size: clamp(1.45rem, 5.5vw, 1.85rem); margin-bottom: 0.9rem; }
  .lp-section-sub { font-size: 0.98rem; margin-bottom: 2rem; }

  /* Cards — tighter padding + smaller type */
  .ps-card, .pillar, .testi-card { padding: 1.5rem; }
  .ps-card h3, .pillar h3 { font-size: 1.2rem; }
  .ps-card.saas h3 { font-size: 1.25rem; }
  .ps-list li { font-size: 0.95rem; padding: 0.55rem 0; }
  .case-body { padding: 1.5rem; }
  .case-body h3 { font-size: 1.3rem; }
  .case-body p, .pillar p { font-size: 0.95rem; }
  .testi-quote { font-size: 1.02rem; }
  .pillar-icon { width: 46px; height: 46px; }
  .pillar-icon svg { width: 22px; height: 22px; }
  .saas-icon { width: 46px; height: 46px; }
  .saas-icon svg { width: 23px; height: 23px; }

  /* Booking */
  .book-inner { gap: 2rem; }
  .book-copy h2 { font-size: clamp(1.55rem, 6vw, 2rem); }
  .book-assurances li { font-size: 0.95rem; }
  .lead-form { padding: 1.5rem; }
  .booking-widget { padding: 0.9rem; }
  .cal-day { aspect-ratio: auto; min-height: 42px; font-size: 0.9rem; }
  .cal-nav { width: 42px; height: 42px; font-size: 1.3rem; }
  .cal-slot { padding: 0.7rem 0.4rem; font-size: 0.85rem; }
  .cal-slot-list { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }

  /* Trust bar / process / FAQ */
  .trust-logos { gap: 1.3rem; }
  .trust-logo { font-size: 1rem; }
  .process-step .step-num { font-size: 2.6rem; }
  .faq-q { font-size: 0.98rem; padding: 1.05rem 1.2rem; }

  /* Buttons — smaller everywhere */
  .btn-primary { text-align: center; padding: 0.72rem 1.4rem; font-size: 0.9rem; }
  .nav-cta { padding: 0.5rem 0.95rem; font-size: 0.78rem; }

  /* Form fields — shorter & tighter (font stays 16px to avoid iOS zoom-on-focus) */
  .field { margin-bottom: 0.85rem; }
  .field label { font-size: 0.8rem; margin-bottom: 0.35rem; }
  .field input, .field select, .field textarea { padding: 0.58rem 0.8rem; font-size: 16px; border-radius: 8px; }
  .field textarea { min-height: 76px; }
  .hero-form-sub, .book-alt-label, .form-note, .cal-slots-label, .cal-form-summary { font-size: 0.85rem; }
  .pill span { padding: 0.5rem 0.85rem; font-size: 0.82rem; }
}
