/* 
  PrivacyReport — Semgrep-style UI
*/

:root {
  /* Colors - Semgrep style */
  --color-bg-white: #ffffff;
  --color-bg-sage: #eef3ef; /* Light sage green / mint from Semgrep */
  --color-bg-dark: #0f172a; /* Slate 900 */
  --color-text-dark: #0f172a;
  --color-text-muted: #475569;
  
  /* Primary Green (Semgrep-like) */
  --color-primary: #14b8a6; /* Teal 500 */
  --color-primary-hover: #0d9488;
  
  /* Other UI Colors */
  --color-border: #cbd5e1;
  --color-red: #ef4444;
  --color-green: #10b981;

  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Lora', serif; /* Elegant serif for headings */
  
  /* Layout */
  --container-width: 1200px;
  --section-padding: 5rem 0;
  
  /* Shadows & Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
}

h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.eyebrow {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-4 { margin-top: 2rem; }
.h-full { height: 100%; }
.text-white { color: white; }
.text-gray-400 { color: #9ca3af; }
.bg-white { background-color: white; }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.w-full { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
}

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

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-dark);
}

.btn--ghost:hover {
  background-color: rgba(0,0,0,0.05);
}

.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn--xl {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text-dark);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav__links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

.nav__links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--color-text-dark);
}

.nav__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav__ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(20,184,166,0.1));
  border: 1px solid rgba(99,102,241,0.2);
  transition: background 0.2s;
}
.nav__ai-badge:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(20,184,166,0.18));
  color: #6366f1;
}

/* Hero Section */
.hero {
  padding-top: calc(80px + 4rem);
  padding-bottom: 4rem;
  text-align: center;
  background-color: var(--color-bg-white);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* SVG circuit overlay */
.hero__circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ─── Hero floating widgets ─────────────────── */
.hw {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  z-index: 3;
  pointer-events: none;
  animation: hw-float 6s ease-in-out infinite;
  min-width: 160px;
}

.hw__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hw__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.hw__sub {
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

.hw__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hw__dot--red   { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.hw__dot--green { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,0.15); }

/* Widget positions — aligns with SVG node points */
.hw--l1 { top: 17%;  left: 2.5%; animation-delay: 0s;   animation-duration: 6s; }
.hw--l2 { top: 42%;  left: 1.5%; animation-delay: 1.1s; animation-duration: 7s; }
.hw--l3 { top: 65%;  left: 3%;   animation-delay: 0.5s; animation-duration: 5.5s; }
.hw--r1 { top: 33%;  right: 2%;  animation-delay: 0.3s; animation-duration: 6.5s; }
.hw--r2 { top: 56%;  right: 1.5%;animation-delay: 1.4s; animation-duration: 7.5s; }
.hw--r3 { top: 78%;  right: 2.5%;animation-delay: 0.8s; animation-duration: 6s; }

@keyframes hw-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.hero__headline {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

/* Animated "AI Vibe Coded" highlight */
.hero__highlight {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  background: linear-gradient(
    90deg,
    #14b8a6 0%,
    #6366f1 25%,
    #ec4899 50%,
    #f59e0b 75%,
    #14b8a6 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite, vibePulse 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

@keyframes vibePulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-3px) scale(1.02); }
}

.hero__sub {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.scan-form {
  width: 100%;
  max-width: 680px;
  margin-bottom: 2rem;
}

/* Single unified pill container */
.scan-pill {
  display: flex;
  align-items: center;
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 16px;
  gap: 0.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.scan-pill:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 4px 24px rgba(20, 184, 166, 0.15);
}

.scan-icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.scan-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  padding: 0.5rem 0;
  min-width: 0;
}

.scan-input::placeholder {
  color: #94a3b8;
}

.scan-btn {
  flex-shrink: 0;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.hero__trust {
  margin-bottom: 4rem;
}

.hero__trust p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.trust-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Sections */
.section {
  padding: var(--section-padding);
}

.section--sage {
  background-color: var(--color-bg-sage);
}

/* Infographic Placeholders */
.placeholder-graphic {
  background: var(--color-bg-white);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--color-text-muted);
}

.hero__graphic {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.placeholder-graphic--large {
  width: 100%;
  max-width: 800px;
  height: 350px;
  margin: 0 auto 3rem;
  box-shadow: var(--shadow-md);
  border: none;
}

.placeholder-graphic--dark {
  background: var(--color-bg-dark);
  border-color: #334155;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.placeholder-sub {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

/* Problem Grid (Platform Cards) */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  perspective: 1500px;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 3D Flip Card */
.flip-card {
  background-color: transparent;
  height: 380px;
  perspective: 1500px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card.is-scrolled .flip-card-inner {
  animation: scroll-flip 1.5s ease-out forwards;
}

@keyframes scroll-flip {
  0% { transform: rotateY(0); }
  50% { transform: rotateY(180deg); }
  100% { transform: rotateY(0); }
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.flip-card-front {
  background-color: white;
  color: black;
}

.flip-card-back {
  background-color: var(--color-bg-sage);
  color: var(--color-text-dark);
  transform: rotateY(180deg);
  border-color: var(--color-primary);
}

.problem-card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
  color: var(--color-primary);
  background: var(--color-bg-sage);
  padding: 1.25rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.flip-card:hover .problem-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.problem-card__icon svg {
  width: 100%;
  height: 100%;
}

.problem-card__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.problem-card__desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.problem-card__link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.1);
}

.pricing-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.pricing-card__header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.pricing-card__price {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
}

.pricing-card__price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.pricing-card__price .amount {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--color-text-dark);
  line-height: 1;
}

.pricing-card__price .period {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-left: 0.5rem;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.pricing-card__features .check {
  color: var(--color-primary);
  font-weight: bold;
}

.pricing-card__features .cross {
  color: #94a3b8;
}

.pricing-card__features .disabled {
  opacity: 0.5;
}

.btn--full {
  width: 100%;
}


/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
  }
  .split-layout--reverse .split-layout__content {
    order: 2;
  }
  .split-layout--reverse .split-layout__graphic {
    order: 1;
  }
}

/* Steps List */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 2rem;
  height: 2rem;
  background: var(--color-bg-sage);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item h4 {
  margin-bottom: 0.25rem;
}

.step-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Fixes Example */
.fix-example {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255,255,255,0.5);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.fix-problem, .fix-solution {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge--red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-red);
}

.badge--green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-green);
}

/* Features Grid */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-row ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-row li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
}

.check {
  color: var(--color-primary);
  font-weight: bold;
}

/* Comparison Box */
.comparison-box {
  background: var(--color-bg-sage);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.comparison-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .comparison-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.comp-col {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.comp-col h4 {
  margin-bottom: 1rem;
  text-align: center;
}

.comp-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.comp-col li {
  font-size: 0.875rem;
  padding-left: 1.5rem;
  position: relative;
}

.comp-col--others li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--color-red);
}

.comp-col--us {
  border: 2px solid var(--color-primary);
}

.comp-col--us li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
}

/* Social Proof */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.cta-box {
  background: white;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  color: white;
  padding: 5rem 0 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer__links {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
}

.footer-col h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

/* ─── Logo Marquee Strip ─────────────────────── */
.logo-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-white);
  overflow: hidden;
}

.logo-strip__label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  white-space: nowrap;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.logo-item:hover {
  color: var(--color-text-dark);
}

.logo-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.logo-item:hover img {
  opacity: 1;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Comparison Table */
.comparison-section {
  margin-top: 5rem;
}

.comparison-table-wrapper {
  width: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: white;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
  table-layout: fixed;
}

.comparison-table th, 
.comparison-table td {
  padding: 1rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.comparison-table thead th {
  background: #f8fafc;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-text-dark);
}

.comparison-table .feature-col {
  width: 14%;
  font-weight: 600;
  color: var(--color-text-dark);
}



.comparison-table .us-col {
  width: 16%;
  font-weight: 500;
  text-align: left;
}

.comparison-table thead th.us-col {
  background: transparent;
}

.comparison-table td {
  color: var(--color-text-muted);
}

.feature-name {
  color: var(--color-text-dark) !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.table-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.4;
  text-align: left;
}

.table-cell span {
  font-size: 0.85rem;
}

/* Responsive Table Columns */
@media (max-width: 1200px) {
  /* Hide Veracode & Checkmarx */
  .comparison-table th:nth-child(8), .comparison-table td:nth-child(8),
  .comparison-table th:nth-child(9), .comparison-table td:nth-child(9) {
    display: none;
  }
}

@media (max-width: 992px) {
  /* Hide Aikido & OWASP */
  .comparison-table th:nth-child(6), .comparison-table td:nth-child(6),
  .comparison-table th:nth-child(7), .comparison-table td:nth-child(7) {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Hide SonarQube & Semgrep - only Feature, Us, and Snyk remain */
  .comparison-table th:nth-child(4), .comparison-table td:nth-child(4),
  .comparison-table th:nth-child(5), .comparison-table td:nth-child(5) {
    display: none;
  }
  
  .comparison-table .feature-col {
    width: 28%;
  }
  .comparison-table .us-col {
    width: 36%;
  }
}

.icon-check {
  width: 20px;
  height: 20px;
  color: #10b981; /* Green */
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-cross {
  width: 20px;
  height: 20px;
  color: #9ca3af; /* Grey */
  flex-shrink: 0;
  margin-top: 2px;
}

.comp-logo-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.comp-logo {
  height: 28px;
  width: auto;
  opacity: 0.8;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s;
}

.comp-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.table-logo {
  width: 44px;
  height: 44px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.comp-text {
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

.aikido-text {
  font-weight: 800;
  color: #1e293b;
  font-size: 1rem;
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

.semgrep-text {
  color: #5bb5b5; /* Semgrep brand teal */
}

.snyk-text {
  color: #4b1189; /* Snyk brand purple */
}

.sonarqube-text {
  color: #e55a00; /* SonarQube brand orange */
}

.owasp-text {
  color: #000000; /* OWASP black */
}

.checkmarx-text {
  color: #8cc63f; /* Checkmarx green */
}

.veracode-text {
  color: #00b3e6; /* Veracode blue */
}

.mt-1 { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 0.5rem; }

/* ── Nav Dropdowns ─────────────────────────────── */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.nav-dropdown:hover .nav-dropdown-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(15,23,42,0.12), 0 2px 8px rgba(15,23,42,0.06);
  min-width: 240px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 999;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid #e8eaf0;
  border-top: 1px solid #e8eaf0;
  border-radius: 2px 0 0 0;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 9px;
  text-decoration: none;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
  line-height: 1.3;
}
.nav-dropdown-menu a:hover {
  background: #f8fafc;
  color: #4f46e5;
}
.nav-dropdown-menu a .dd-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.nav-dropdown-menu a .dd-text strong {
  display: block;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.875rem;
  margin-bottom: 1px;
}
.nav-dropdown-menu a .dd-text span {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 400;
}
.nav-dropdown-menu a:hover .dd-text strong {
  color: #4f46e5;
}
.dd-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0.35rem 0.75rem;
}

/* Product page feature card icons */
.feature-card .icon svg {
  display: block;
  width: 32px;
  height: 32px;
}

/* Stripe-style Header */
.stripe-header {
  background-color: white;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.stripe-nav-links {
  display: none;
}

@media (min-width: 992px) {
  .stripe-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.stripe-nav-links a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.stripe-nav-links svg {
  opacity: 0.5;
  transition: transform 0.2s;
}

.stripe-nav-links a:hover svg {
  opacity: 1;
  transform: rotate(180deg);
}

.stripe-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn--text {
  color: var(--color-text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: transparent;
}

.btn--text:hover {
  color: var(--color-primary);
}

.stripe-btn {
  border-radius: 9999px; /* Pill shape like Stripe/modern buttons */
  background-color: #6366f1; /* Stripe-ish purple, or use var(--color-primary) */
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.stripe-btn:hover {
  background-color: #4f46e5;
  transform: translateY(-1px);
}

/* Runway-style Footer */
.runway-footer {
  background-color: #fafafa;
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 2rem;
  color: #52525b; /* Zinc 600 */
  font-family: var(--font-sans);
  overflow: hidden; /* For the huge watermark text */
}

.runway-footer__top {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .runway-footer__top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.runway-footer__brand {
  max-width: 320px;
}

.runway-logo-box {
  width: 56px;
  height: 56px;
  background-color: #f59e0b; /* Yellow/Orange like Runway */
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.runway-footer__desc {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #3f3f46;
}

.runway-footer__ai {
  font-size: 0.875rem;
  color: #71717a;
}

.runway-footer__ai-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 1.25rem;
}

.runway-footer__ai-icons span {
  background: white;
  border: 1px solid var(--color-border);
  padding: 4px;
  border-radius: 6px;
  display: inline-flex;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.runway-footer__links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 4rem;
  flex: 1;
  max-width: 800px;
}

@media (min-width: 768px) {
  .runway-footer__links-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.runway-footer-col h4 {
  font-size: 0.875rem;
  color: #a1a1aa;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.runway-footer-col a {
  display: block;
  font-size: 0.875rem;
  color: #3f3f46;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}

.runway-footer-col a:hover {
  color: #09090b;
}

.hiring-badge {
  background-color: #fde68a;
  color: #d97706;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}

.runway-footer__watermark {
  margin: 6rem 0 4rem;
  font-size: clamp(2rem, 8.5vw, 10rem);
  font-weight: 900;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px #e4e4e7;
  letter-spacing: -0.02em;
  font-family: var(--font-sans);
  line-height: 0.8;
  white-space: nowrap;
  user-select: none;
}

.runway-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #e4e4e7;
  font-size: 0.875rem;
  color: #a1a1aa;
}

@media (min-width: 768px) {
  .runway-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.runway-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.runway-footer__legal a {
  color: #a1a1aa;
  transition: color 0.2s;
}

.runway-footer__legal a:hover {
  color: #3f3f46;
}

.cta-box {
  margin-top: 4rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 4rem 2rem 0; /* Removing bottom padding to let the image touch the bottom */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* Ensure the image gets clipped nicely at the bottom */
}

.cta-image-wrapper {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.cta-dashboard-img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

  .comparison-table th, 
  .comparison-table td {
    padding: 1rem;
  }
}

/* ── Mobile Layout Optimizations ─────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav__actions .btn--text {
    display: none; /* Hide Sign in text to save space */
  }
  .nav__actions .stripe-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .nav__logo img {
    height: 36px !important;
  }
  
  /* Hero */
  .hero {
    padding-top: 100px;
    padding-bottom: 2rem;
  }
  .hero__headline {
    font-size: 2.2rem !important;
    line-height: 1.2;
    padding: 0 1rem;
  }
  .hero__sub {
    font-size: 1.05rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Hide desktop-only floating elements */
  .hero__circuit,
  .hw {
    display: none !important;
  }
  
  /* Scan Form Pill */
  .scan-form {
    padding: 0 1rem;
  }
  .scan-pill {
    flex-direction: column;
    padding: 12px;
    border-radius: 16px;
    gap: 12px;
  }
  .scan-icon {
    display: none;
  }
  .scan-input {
    width: 100%;
    text-align: center;
    padding: 0.5rem;
  }
  .scan-btn {
    width: 100%;
    border-radius: 12px;
    padding: 0.85rem;
  }

  /* Trust Logos */
  .trust-logos {
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
  }
  
  /* Sections */
  .section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .section-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Footer */
  .runway-footer__top {
    flex-direction: column;
    gap: 3rem;
  }
  .runway-footer__links-grid {
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
  }
  .runway-footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .runway-footer__legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .runway-footer__links-grid {
    grid-template-columns: 1fr;
  }
}
