@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
  --trust-size: clamp(36px, 4.5vw, 42px);
  --card-bg: rgba(20, 20, 22, 0.72);
  --card-border: rgba(255, 255, 255, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background video container */
.bg {
  position: fixed;
  inset: 0;
  background-color: #000000;
  overflow: hidden;
  z-index: 0;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* 1 Viewport Root Page Layout */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(12px, 2.2vh, 26px) clamp(12px, 3vw, 32px);
  overflow: hidden;
}

/* Header */
.header {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.4vw, 24px);
  flex-shrink: 0;
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo */
.logo-btn {
  width: clamp(38px, 4.4vw, 46px);
  height: clamp(38px, 4.4vw, 46px);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--nav-shadow);
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-btn:hover {
  transform: scale(1.04);
}

.logo-btn img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}

/* Desktop Nav Pill */
.nav-pill {
  height: clamp(40px, 5.2vw, 48px);
  max-width: 440px;
  flex: 1;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12px, 1.35vw, 15px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  text-decoration: none;
  padding: 6px clamp(6px, 1.2vw, 12px);
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link:hover {
  opacity: 0.85;
}

.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #2e2e2e;
  box-shadow: -5px 0 0 #2e2e2e, 5px 0 0 #2e2e2e;
}

/* Sign In Pill */
.sign-in-btn {
  height: clamp(40px, 5.2vw, 48px);
  background: var(--pill-dark);
  color: var(--sign-in-text);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  padding: 0 clamp(14px, 2vw, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12px, 1.35vw, 15px);
  text-decoration: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sign-in-btn:hover {
  background: #323234;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==================== MULTI-VIEW WRAPPER ==================== */
.views-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: clamp(8px, 1.5vh, 16px);
  min-height: 0;
  overflow: hidden;
}

.view-panel {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.view-panel::-webkit-scrollbar {
  width: 5px;
}
.view-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.view-panel.active {
  display: flex;
  animation: viewFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes viewFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==================== VIEW 1: HOME ==================== */
#view-home {
  justify-content: space-between;
}

.hero {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  margin: auto 0;
}

/* Trust Row */
.trust-row {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(14px, 2.2vh, 24px);
}

.avatar-group {
  display: inline-flex;
  align-items: center;
}

.avatar-ring {
  width: var(--trust-size);
  height: var(--trust-size);
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 50%;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.35s ease;
}

.avatar-ring:not(:first-child) {
  margin-left: calc(var(--trust-size) * -0.42);
}

.avatar-ring:nth-child(1) {
  z-index: 1;
}
.avatar-ring:nth-child(2) {
  z-index: 2;
}
.avatar-ring:nth-child(3) {
  z-index: 3;
}

.avatar-ring:nth-child(1):hover {
  transform: translateY(-2px);
}
.avatar-ring:nth-child(2):hover {
  transform: translateY(-4px);
}
.avatar-ring:nth-child(3):hover {
  transform: translateY(-2px);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-size: calc(var(--trust-size) * 0.34);
}

.avatar-inner i {
  display: inline-block;
  line-height: 1;
}

.trust-pill {
  height: var(--trust-size);
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: clamp(14px, 1.8vw, 20px);
  color: var(--trust-text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}

/* Headline */
.headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 6.2vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-transform: none;
}

.headline.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

.headline .line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline .line-1 {
  animation-delay: 0.12s;
}

.headline .line-2 {
  animation-delay: 0.3s;
}

@keyframes headlineFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subhead */
.subhead {
  max-width: min(540px, 92%);
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  color: #d0d0d0;
  opacity: 0.85;
  line-height: 1.55;
  font-weight: 400;
  margin-top: clamp(14px, 2vh, 22px);
  margin-bottom: clamp(18px, 2.6vh, 26px);
}

/* CTA Group */
.cta-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.cta-btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}

.cta-btn.primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 22px rgba(255, 255, 255, 0.32), 0 0 44px rgba(255, 255, 255, 0.12);
}

.cta-btn.primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 0 28px rgba(255, 255, 255, 0.48), 0 0 54px rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary {
  background: rgba(40, 40, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.cta-btn.secondary:hover {
  background: rgba(55, 55, 58, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Stats Footer */
.stats-grid {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  flex-shrink: 0;
  margin-top: auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
  user-select: none;
}

.stat-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-value {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat-suffix {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.stat-label {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 12.5px);
  font-weight: 400;
  margin-top: 4px;
  white-space: nowrap;
}

/* Shared Reveal Animation */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ==================== SUBPAGES CONTENT WRAPPERS ==================== */
.content-container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 10px 10px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0e0e0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-headline {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 10px;
}

.section-sub {
  max-width: 680px;
  font-size: clamp(14px, 1.5vw, 16px);
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ==================== VIEW 2: PRODUCT GRID ==================== */
.features-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: left;
  margin-bottom: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 14px;
}

.feature-layer {
  font-size: 11px;
  font-weight: 600;
  color: #9e9e9e;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #b8b8b8;
  margin-bottom: 16px;
  flex: 1;
}

.feature-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 500;
  color: #d8d8d8;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Interactive Sandbox Card */
.interactive-sandbox-card {
  width: 100%;
  background: rgba(12, 12, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  padding: 20px 24px;
  text-align: left;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.sandbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.sandbox-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.sandbox-sub {
  font-size: 12.5px;
  color: #8e8e8e;
  margin-top: 2px;
}

.module-switcher-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c0c0c0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.tab-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.scanner-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.scan-metric {
  display: flex;
  flex-direction: column;
}

.scan-label {
  font-size: 11.5px;
  color: #8e8e8e;
  margin-bottom: 4px;
}

.scan-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.scan-val.score {
  color: #10b981;
}

.scan-val.secure {
  color: #38bdf8;
}

.demo-display-panel {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
}

.demo-card-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
}

.demo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.demo-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  text-align: left;
}

.demo-details strong {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 600;
}

.demo-details span {
  font-size: 12px;
  color: #a0a0a0;
  line-height: 1.4;
}

.demo-status-pill {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.text-success {
  color: #34d399;
}

/* ==================== VIEW 3: CASE STUDIES ==================== */
.cases-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: left;
}

.case-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
}

.case-badge {
  font-size: 11px;
  font-weight: 600;
  color: #a3a3a3;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.case-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.case-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #b8b8b8;
  margin-bottom: 20px;
  flex: 1;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.metric-num {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.metric-lbl {
  font-size: 11px;
  color: #8e8e8e;
  margin-top: 2px;
}

/* ==================== VIEW 4: CONTACT US ==================== */
.contact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
  text-align: left;
}

.contact-info-card,
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 26px 28px;
}

.contact-info-card h3,
.contact-form-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.contact-lead {
  font-size: 13.5px;
  line-height: 1.5;
  color: #b0b0b0;
  margin-bottom: 24px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  flex-shrink: 0;
}

.info-label {
  font-size: 11px;
  color: #8e8e8e;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.info-val {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}

.info-val a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-val a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: #cccccc;
}

.text-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.text-input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.select-input {
  cursor: pointer;
}

.select-input option {
  background: #18181b;
  color: #ffffff;
}

.textarea-input {
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin-top: 6px;
}

.submit-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.form-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 13px;
  text-align: center;
}

/* ==================== SIGN IN MODAL ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: overlayIn 0.25s ease forwards;
}

.modal-backdrop[hidden] {
  display: none !important;
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 30px 28px;
  position: relative;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  animation: menuIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9e9e9e;
  margin-bottom: 6px;
}

.modal-headline {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 13px;
  color: #a0a0a0;
  margin-bottom: 20px;
  line-height: 1.45;
}

.sso-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.sso-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sso-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: #666666;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
  padding: 0 10px;
}

.demo-sandbox-btn {
  width: 100%;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: #d1d5db;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.demo-sandbox-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* ==================== RESPONSIVE RULES ==================== */
@media (max-width: 820px) {
  .features-grid,
  .cases-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .scanner-body {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .header {
    gap: 8px;
    width: 100%;
  }

  .logo-btn {
    width: 36px;
    height: 36px;
  }

  .nav-pill {
    padding: 2px 4px;
    height: 38px;
  }

  .nav-link {
    font-size: 12px;
    padding: 4px 6px;
  }

  .sign-in-btn {
    height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .headline {
    letter-spacing: -0.06em;
    line-height: 1.08;
    font-size: clamp(24px, 5.8vw, 44px);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

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

  .case-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 460px) {
  .header {
    gap: 6px;
  }

  .nav-link {
    font-size: 11px;
    padding: 3px 5px;
  }

  .sign-in-btn {
    padding: 0 10px;
    font-size: 11px;
  }

  :root {
    --trust-size: 32px;
  }

  .trust-pill {
    font-size: 11.5px;
  }

  .headline {
    letter-spacing: -0.08em;
    line-height: 1.04;
  }

  .case-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Vertical Height Optimization */
@media (max-height: 720px) {
  .page {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .trust-row {
    margin-bottom: 10px;
  }

  .subhead {
    margin-top: 8px;
    margin-bottom: 12px;
  }

  .stat-icon {
    margin-bottom: 2px;
  }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }

  .anim,
  .header,
  .headline .line,
  .cta-btn,
  .view-panel.active {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .headline {
    color: #ffffff !important;
  }
}

/* ==================== SITE FOOTER & LEGAL PAGES ==================== */
.site-footer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding-top: clamp(10px, 1.8vh, 18px);
  font-size: 12px;
  color: var(--muted);
}

.site-footer a {
  color: #c8c8c8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.25);
}

.legal-body {
  width: 100%;
  max-width: 780px;
  text-align: left;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 36px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-body h2 {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin: 22px 0 8px;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body p {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-body a {
  color: #c8c8c8;
}

.legal-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
