/* ShadowScan AI - Custom Overrides & Mobile-First Enhancements */

/* ============================
   COOKIE BANNER
   ============================ */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  background: #0f1424;
  color: #f0f2f8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 1rem 1.1rem;
  max-width: 720px;
  margin: 0 auto;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  justify-content: space-between;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1 1 280px;
  color: #d8dcec;
}

.cookie-banner-text a {
  color: #9bbbff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  background: transparent;
  color: #f0f2f8;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.cookie-btn:hover { background: rgba(255, 255, 255, 0.06); }
.cookie-btn:active { transform: translateY(1px); }

.cookie-btn-accept {
  background: #2d55d7;
  border-color: #2d55d7;
}
.cookie-btn-accept:hover { background: #244ac1; border-color: #244ac1; }

@media (max-width: 600px) {
  .cookie-banner { padding: 0.85rem 0.95rem; }
  .cookie-banner-actions { width: 100%; justify-content: flex-end; }
}

/* ============================
   FORM CONSENT + FINEPRINT
   ============================ */
.hero-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.6rem 0 0.4rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.hero-form-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #4ade80;
  cursor: pointer;
}

.hero-form-consent a {
  color: #d6e3ff;
  text-decoration: underline;
}

.hero-form-consent a:hover { color: #ffffff; }

.hero-form-fineprint {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}

/* ============================
   FOUNDER LINKEDIN BADGE
   ============================ */
.founder-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #d6e3ff !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

.founder-linkedin svg {
  color: #0a66c2; /* LinkedIn brand blue */
  background: #ffffff;
  border-radius: 3px;
  padding: 1px;
  flex-shrink: 0;
}

.founder-linkedin:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff !important;
}

.founder-linkedin:active { transform: translateY(1px); }

#founder .founder-connect {
  justify-content: flex-start;
}


/* ============================
   FOOTER LEGAL
   ============================ */
.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-stack .logo {
  justify-content: center;
}

.footer-stack .footer_icon-group {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.footer-legal {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.88rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 500;
}

.footer-legal a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.35);
}

.footer-copy {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  max-width: 720px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .footer-legal,
  .footer-copy {
    text-align: center;
    justify-content: center;
  }
}

/* ============================
   SMOOTH SCROLLING
   ============================ */
html {
  scroll-behavior: smooth;
}

/* ============================
   HERO SECTION — ELEGANT REDESIGN
   ============================ */
.hero-elegant {
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, #4a6cf7 0%, #2547d4 45%, #1d3bb8 100%) !important;
  padding: clamp(2.75rem, 4vw, 4rem) 0 5.5rem !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
  max-height: none !important;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(140, 180, 255, 0.35) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-elegant::before {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(120, 90, 255, 0.25) 0%, transparent 60%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-elegant .container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
}

.hero-grid {
  align-items: center;
  gap: 5rem !important;
}

/* ----- Hero Visual (image stack) ----- */
.hero-visual {
  position: relative;
  min-height: 480px;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.hero-image-card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: #1a1a2e;
}

.hero-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.hero-image-card--top {
  top: 0;
  left: 0;
  width: 70%;
  z-index: 2;
  transform: rotate(-4deg);
  animation: heroFloatA 7s ease-in-out infinite;
}

.hero-image-card--bottom {
  bottom: 0;
  right: 0;
  width: 65%;
  z-index: 1;
  transform: rotate(5deg);
  animation: heroFloatB 8s ease-in-out infinite;
}

@keyframes heroFloatA {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-10px); }
}

@keyframes heroFloatB {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-card { animation: none !important; }
}

/* Image overlay tags */
.hero-image-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 3;
}

.hero-image-tag-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.05); }
}

.hero-image-stat {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 12px 18px;
  background: rgba(15, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: right;
  z-index: 3;
}

.hero-image-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-image-stat-label {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Floating "Site Secured" badge */
.hero-floating-badge {
  position: absolute;
  bottom: 20%;
  left: -8%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  color: #16a34a;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 4;
  animation: badgeFloat 5s ease-in-out infinite;
}

.hero-floating-badge svg {
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ----- Hero Content (right column) ----- */
.hero-content {
  display: flex !important;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 540px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  align-self: flex-start;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
}

.hero-title {
  max-width: 820px;
  font-size: clamp(3rem, 5vw, 4.6rem) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  margin-bottom: 0 !important;
  color: #fff;
  text-wrap: balance;
}

.hero-title-accent {
  background: linear-gradient(135deg, #fff 0%, #c5d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  max-width: 480px;
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
}

.hero-proof-list li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  flex: none;
}

/* Form */
.hero-form-wrap {
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

#email-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.hero-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.hero-input {
  width: 100%;
  padding: 0.875rem 1rem !important;
  font-size: 0.9375rem !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #1a1a2e !important;
  border-radius: 10px !important;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  height: auto !important;
  margin: 0 !important;
}

.hero-input::placeholder {
  color: #9ca3af !important;
}

.hero-input:focus {
  outline: none !important;
  border-color: #fff !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25) !important;
}

.hero-submit {
  width: 100%;
  padding: 0.95rem 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  letter-spacing: -0.005em;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-submit:active {
  transform: translateY(0);
}

.hero-form-disclaimer {
  margin: 0.25rem 0 0 !important;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* ============================
   STICKY NAV — REDESIGNED
   ============================ */
.nav.is-accent-primary.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(26, 26, 46, 0.85);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-sticky.is-scrolled {
  background-color: rgba(26, 26, 46, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.nav-sticky .nav_container {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem !important;
  padding-bottom: 0.875rem !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.nav-sticky .nav_left {
  flex: 0 0 auto !important;
}

.nav-sticky .nav_right {
  flex: 0 0 auto !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-sticky .nav_logo {
  height: 2.25rem !important;
  gap: 0.625rem !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.nav-sticky .nav_logo:hover {
  opacity: 0.85;
  color: inherit;
}

.nav-sticky .nav_logo-icon {
  width: 2rem;
  height: 2rem;
  flex: none;
}

.nav-sticky .paragraph_large {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  background: #fff;
  color: #1a1a2e !important;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  white-space: nowrap;
  letter-spacing: -0.005em;
  line-height: 1;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.18);
  background: #f5f5f7;
  color: #1a1a2e !important;
}

.nav-cta-btn:active {
  transform: translateY(0);
}

.nav_mobile-menu-button {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  display: none;
}

.nav_mobile-menu-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================
   TRUST BADGES
   ============================ */
.trust-badges-section {
  background: #f7f7f8;
  padding: 2rem 1rem;
  border-bottom: 1px solid #e5e5e7;
}

.trust-badges-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  padding: 0.45rem 1rem;
  color: #1d3bb8;
  background: rgba(45, 85, 215, 0.10);
  border: 1px solid rgba(45, 85, 215, 0.18);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.trust-badges-section .container {
  text-align: center;
}

.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.55;
  max-width: 900px;
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a2a3a;
  transition: opacity 0.3s, transform 0.3s;
}

.trust-badge:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* ============================
   SALES FUNNEL FLOW SECTIONS
   ============================ */
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.45rem 1rem;
  color: #1d3bb8;
  background: rgba(45, 85, 215, 0.10);
  border: 1px solid rgba(45, 85, 215, 0.18);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-kicker.on-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.funnel-steps-section {
  padding: 4.75rem 1rem;
  background: #fff;
}

.funnel-section-header {
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: center;
}

.funnel-section-header .heading_h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.3rem) !important;
  line-height: 1.05 !important;
  margin-bottom: 0.75rem;
}

.funnel-section-header p:last-child {
  margin: 0 auto;
  max-width: 520px;
  color: #5f6472;
  font-size: 1.02rem;
  line-height: 1.55;
}

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

.funnel-step-card {
  padding: 1.65rem;
  border: 1px solid rgba(29, 59, 184, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 14px 34px rgba(29, 59, 184, 0.08);
}

.funnel-step-number {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: #2d55d7;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.funnel-step-card h3 {
  margin: 0 0 0.55rem;
  color: #161a2d;
  font-size: 1.15rem;
  line-height: 1.2;
}

.funnel-step-card p {
  margin: 0;
  color: #5f6472;
  font-size: 0.96rem;
  line-height: 1.55;
}

.risk-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.risk-check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.risk-check-list li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #2d55d7;
  box-shadow: 0 0 0 4px rgba(45, 85, 215, 0.12);
}

.provides {
  border-radius: 0;
}

.provides-2 {
  min-height: 0 !important;
  padding: 2.2rem 2.8rem !important;
  background: linear-gradient(135deg, #0c2c7a 0%, #0b2362 100%) !important;
  color: #fff;
}

.provides-2 .usecase-heading {
  color: #fff !important;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem) !important;
  line-height: 1.35 !important;
  padding-bottom: 0 !important;
  margin-bottom: 1.2rem;
}

.provides-section,
.problems-section {
  text-align: center;
}

.provides-section .heading_h2,
.problems-section .heading_h2,
#services .heading_h2,
.section.is-secondary .heading_h2,
#pricing .heading_h1,
#founder .heading-2 {
  margin-top: 0;
  text-wrap: balance;
}

.provides-section .heading_h2,
.problems-section .heading_h2,
#services .heading_h2,
.section.is-secondary .heading_h2,
#pricing .heading_h1,
#founder .heading-2 {
  font-size: clamp(2.25rem, 4.4vw, 4.1rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
}

.provides-2,
.usecase-card,
.card_body.is-small {
  height: 100%;
}

#services {
  padding-top: 5rem;
}

#services > .header.is-align-center {
  margin-bottom: 3.5rem;
}

#services .heading_h2 {
  margin-bottom: 0;
}

#services .flex_vertical.gap-xxlarge {
  gap: 5rem !important;
}

#services .grid_2-col.tablet-1-col.gap-large {
  align-items: center;
  margin-bottom: 0 !important;
}

#services .image {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ============================
   POPULAR PRICING BADGE
   ============================ */
.card.on-inverse.is-popular {
  position: relative;
  border: 2px solid #fff;
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: 0.95rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #1a1a2e;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

#pricing .card.on-inverse.is-popular .card_body.is-small {
  padding-top: 3.25rem !important;
}

#pricing .grid_4-col {
  align-items: stretch;
  gap: 1.25rem !important;
}

#pricing .card.on-inverse {
  display: flex;
}

#pricing .card_body.is-small {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.75rem 1.55rem !important;
}

#pricing .margin_bottom-auto {
  display: flex;
  flex-direction: column;
  min-height: 10rem;
  margin-bottom: 0 !important;
}

#pricing .heading_h4 {
  margin-bottom: 1rem;
}

#pricing .paragraph-3,
#pricing .paragraph-4,
#pricing .paragraph-5,
#pricing .paragraph-6 {
  color: rgba(0, 0, 0, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 0;
}

#pricing .heading_h2.margin-bottom_none,
#pricing .card_body.is-small > .heading_h2 {
  margin-top: auto;
  font-size: clamp(3rem, 4vw, 3.75rem) !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: -0.04em !important;
}

#pricing .text-color_secondary {
  margin-top: 0.35rem;
  margin-bottom: 1.5rem;
  color: rgba(0, 0, 0, 0.55) !important;
}

#pricing .button-group.is-vertical-stretch {
  margin-top: auto !important;
}

#founder.section.is-inverse {
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  scroll-margin-top: 84px;
  background:
    radial-gradient(circle at 16% 20%, rgba(154, 216, 61, 0.12), transparent 34%),
    radial-gradient(circle at 84% 6%, rgba(79, 108, 214, 0.26), transparent 32%),
    #101426 !important;
}

.founder-container {
  max-width: 1120px;
}

.founder-section-header {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

#founder .heading-2 {
  margin-bottom: 0;
  font-size: clamp(3.4rem, 6vw, 5.25rem) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
}

.founder-panel {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.founder-media {
  position: relative;
  display: grid;
  justify-items: center;
}

.founder-media img {
  display: block;
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.founder-credential-card {
  width: min(88%, 280px);
  margin-top: -2.8rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(13, 19, 42, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.founder-credential-card span {
  display: block;
  color: #9ad83d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.founder-credential-card strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.3;
}

.founder-bio {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1rem !important;
  line-height: 1.62 !important;
  text-align: left;
}

.founder-bio p {
  margin-bottom: 1rem;
}

.founder-bio .bold-text,
.founder-bio .bold-text-2,
.founder-bio .bold-text-3,
.founder-bio .bold-text-4 {
  display: block;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: clamp(1.05rem, 1.7vw, 1.34rem) !important;
  line-height: 1.28 !important;
  letter-spacing: 0;
}

.founder-lede .bold-text {
  font-size: clamp(1.45rem, 3vw, 2.35rem) !important;
  line-height: 1.05 !important;
}

.founder-expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.2rem 0;
}

.founder-expertise-grid span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.founder-independence-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid rgba(154, 216, 61, 0.85);
  border-radius: 8px;
  background: rgba(154, 216, 61, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.founder-bio a,
.founder-bio a strong {
  color: #9fbeff !important;
}

.founder-bio a:hover,
.founder-bio a:hover strong {
  color: #c7d8ff !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #9fbeff;
  outline-offset: 3px;
}

.is-popular-btn {
  background: #fff !important;
  color: #1a1a2e !important;
  font-weight: 700 !important;
}

.is-popular-btn:hover {
  background: #f0f0f0 !important;
}

/* ============================
   FLOATING MOBILE CTA
   ============================ */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background: #1a1a2e;
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  z-index: 900;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.floating-cta.is-visible {
  display: inline-flex;
}

.floating-cta.is-hidden-context {
  display: none !important;
}

/* ============================
   CONCIERGE CARD (dark gradient banner under tier grid)
   ============================ */
.concierge-card .button.is-secondary {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
}

.concierge-card .button.is-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 0 0 2px #fff !important;
}

@media screen and (max-width: 767px) {
  .concierge-card {
    grid-template-columns: 1fr !important;
    padding: 20px 18px !important;
    gap: 16px !important;
    text-align: left;
  }

  .concierge-card .button.is-secondary {
    width: 100%;
    margin: 0 !important;
    padding: 14px 16px;
    white-space: nowrap;
  }
}

/* ============================
   FOUNDER BIO COLLAPSIBLE
   ============================ */
.founder-bio p {
  margin-bottom: 0.75rem;
}

.founder-bio-expandable {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}

.founder-bio-expandable.is-expanded {
  max-height: 800px;
}

.founder-read-more {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.founder-read-more:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

#founder .founder-read-more {
  margin-top: 0.25rem;
}

/* ============================
   MOBILE NAV OVERLAY
   ============================ */
.nav_mobile-menu-button {
  cursor: pointer;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav-overlay.is-open {
  display: flex;
}

.mobile-nav-overlay a {
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-nav-overlay a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================
   FORM BASE
   ============================ */
.w-form {
  max-width: 100%;
}

/* ============================
   SMOOTH TRANSITIONS / ANIMATIONS
   ============================ */
.usecase-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card.on-inverse {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.on-inverse:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.text-button {
  transition: opacity 0.2s;
}

.text-button:hover {
  opacity: 0.8;
}

.image {
  transition: transform 0.4s ease;
}

.image:hover {
  transform: scale(1.02);
}

/* Fade-in on scroll */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   FOUNDER SECTION IMPROVEMENTS
   ============================ */
.founder img {
  border-radius: 12px;
  max-width: 300px;
  width: 100%;
  height: auto;
}

/* ============================
   MOBILE-FIRST ENHANCEMENTS
   ============================ */

/* Touch target minimums */
a, button, .w-button, input[type="submit"] {
  min-height: 44px;
}

/* Better tap targets for footer icons */
.footer_icon-link {
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile breakpoints */
@media screen and (max-width: 991px) {
  /* Show mobile menu button on tablet/mobile */
  .nav_mobile-menu-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  .trust-badges-label {
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
    letter-spacing: 0.05em;
  }

  .section-kicker {
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
    letter-spacing: 0.05em;
  }

  /* Floating CTA visible on mobile */
  .floating-cta.is-visible {
    display: inline-flex;
  }

  /* Hide nav CTA on very small screens (floating CTA handles it) */
  .nav-cta-btn {
    display: none;
  }

  /* Tighten nav on mobile */
  .nav-sticky .nav_container {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .nav-sticky .nav_logo {
    height: 1.85rem !important;
  }

  .nav-sticky .nav_logo-icon {
    width: 1.55rem;
    height: 1.55rem;
  }

  .nav-sticky .paragraph_large {
    font-size: 0.94rem;
  }

  /* Hero spacing on mobile */
  .hero-elegant {
    padding: 1.35rem 0 2.75rem !important;
  }

  .hero-grid {
    gap: 2.5rem !important;
  }

  .hero-content {
    gap: 1.125rem;
    max-width: 100%;
  }

  .hero-eyebrow {
    display: none;
  }

  .hero-title {
    font-size: 2.18rem !important;
    line-height: 1.05 !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-proof-list {
    display: none;
  }

  .hero-form-fields {
    grid-template-columns: 1fr;
  }

  .hero-form-wrap {
    padding: 1rem;
  }

  /* Mobile-first: keep the scan form high priority and move imagery out of the way. */
  .hero-visual {
    display: none;
  }

  /* Put hero content first on mobile */
  .hero-content {
    order: 1;
  }

  /* Popular card: reset scale on mobile */
  .card.on-inverse.is-popular {
    transform: scale(1);
  }

  /* Trust badges smaller on mobile */
  .trust-badges-row {
    gap: 1.5rem;
  }

  .trust-badge svg {
    width: 90px;
    height: 30px;
  }

  /* Typography scaling */
  .heading_h1 {
    font-size: 2rem !important;
    line-height: 1.15 !important;
  }

  .hero-elegant .hero-title {
    font-size: 2.18rem !important;
    line-height: 1.05 !important;
  }

  .heading_h2 {
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
  }

  .heading_h4 {
    font-size: 1.125rem !important;
  }

  .paragraph_large {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  /* Hero section mobile */
  .section.max-height_100vh_desktop {
    max-height: none !important;
    min-height: auto;
  }

  /* (rotate_-12deg now visible & restyled above) */

  /* Stack grids on mobile */
  .grid_2-col,
  .grid_3-col {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Pricing cards: stack vertically */
  .grid_4-col {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .funnel-steps-section {
    padding: 2.75rem 1rem;
  }

  .funnel-section-header {
    margin-bottom: 1.4rem;
  }

  .funnel-section-header p:last-child {
    font-size: 0.96rem;
  }

  .funnel-steps-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .funnel-step-card {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .risk-check-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 1rem;
  }

  /* Use-case cards */
  .usecase-cards-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .usecase-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Section padding (excludes hero which has its own override above) */
  .section:not(.is-accent-primary),
  .provides-section,
  .problems-section {
    padding: 2.75rem 1rem !important;
  }

  .container,
  .container-2 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Images full width on mobile */
  .image {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Footer mobile */
  .footer .flex_vertical {
    text-align: center;
    align-items: center !important;
  }

  .footer_icon-group {
    justify-content: center;
  }

  /* Founder section */
  .founder img {
    max-width: 250px;
  }

  .founder .subheading,
  .founder-bio {
    font-size: 0.95rem !important;
    text-align: center;
  }

  /* Founder bio: collapsed by default on mobile (JS handles) */
  .founder-bio-expandable {
    max-height: 0;
  }

  /* Extra padding at bottom for floating CTA */
  .footer {
    padding-bottom: 5rem !important;
  }

  /* Form mobile */
  #email-form .w-button {
    width: 100%;
  }

  /* Service sections: image after text on mobile */
  .grid_2-col.tablet-1-col .image {
    order: 2;
  }

  .grid_2-col.tablet-1-col .header {
    order: 1;
  }
}

@media screen and (max-width: 479px) {
  .heading_h1 {
    font-size: 1.65rem !important;
  }

  .hero-elegant .hero-title {
    font-size: 2rem !important;
  }

  .heading_h2 {
    font-size: 1.38rem !important;
  }

  .section:not(.hero-elegant),
  .provides-section,
  .problems-section,
  .funnel-steps-section {
    padding: 2.35rem 0.75rem !important;
  }

  .hero-elegant {
    padding: 1.15rem 0 2.35rem !important;
  }

  .card_body.is-small {
    padding: 1.25rem !important;
  }

  /* Pricing card text */
  .paragraph-3,
  .paragraph-4,
  .paragraph-5,
  .paragraph-6 {
    font-size: 0.9rem !important;
  }
}

/* ============================
   TABLET ADJUSTMENTS
   ============================ */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .grid_4-col {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .grid_3-col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Desktop: founder bio always expanded */
@media screen and (min-width: 768px) {
  .founder-bio-expandable {
    max-height: none !important;
  }

  .founder-read-more {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  #founder.section.is-inverse {
    padding-top: 4.25rem;
  }

  #founder .heading-2 {
    max-width: 640px;
    margin-inline: auto;
    font-size: clamp(1.95rem, 8.2vw, 2.65rem) !important;
    line-height: 1.08 !important;
  }

  .founder-panel {
    grid-template-columns: 1fr;
    padding: 1rem 1rem 1.25rem;
    border-radius: 14px;
  }

  .founder-section-header {
    margin-bottom: 1rem;
  }

  #founder .section-kicker {
    max-width: calc(100% - 2rem);
    margin-inline: auto;
    font-size: 0.72rem;
    line-height: 1.28;
    padding: 0.45rem 0.9rem;
  }

  .founder-media img {
    width: min(100%, 200px);
    max-height: 260px;
  }

  .founder-credential-card {
    width: min(92%, 220px);
    margin-top: -1.45rem;
    padding: 0.78rem 0.85rem;
  }

  .founder-credential-card strong {
    font-size: 0.88rem;
  }

  .founder-bio {
    text-align: left !important;
    font-size: 0.96rem !important;
  }

  .founder-expertise-grid {
    grid-template-columns: 1fr;
  }

  #founder .founder-connect {
    justify-content: flex-start;
  }
}

/* ===== ShadowScan widget override (when mounted inside the dark hero glass card) ===== */
.hero-form-wrap.ssw-root,
.hero-form-wrap .ssw-root {
  color: #fff;
}
.hero-form-wrap .ssw-input {
  background: rgba(255,255,255,.92);
  color: #1a1a2e;
  border-color: rgba(255,255,255,.5);
}
.hero-form-wrap .ssw-input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}
.hero-form-wrap .ssw-btn-primary {
  background: #fff;
  color: #1d3bb8;
}
.hero-form-wrap .ssw-btn-primary:hover {
  background: #f0f4ff;
}
.hero-form-wrap .ssw-btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.hero-form-wrap .ssw-consent,
.hero-form-wrap .ssw-fineprint { color: rgba(255,255,255,.85); }
.hero-form-wrap .ssw-consent a { color: #fff; text-decoration: underline; }
.hero-form-wrap .ssw-error { background: rgba(255,255,255,.95); color: #991b1b; }

/* When the widget swaps form for results, drop the glass background so the
   colorful result hero/sample/paywall cards aren't double-bordered. */
.hero-form-wrap:has(.ssw-result-hero),
.hero-form-wrap:has(.ssw-progress) {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
