/* =============================================
   SHANNON AI - PENTEST AI PAGE
   ============================================= */

.pentest-page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #030712;
  color: #f1f5f9;
  overflow-x: hidden;
}

.pentest-page > *:not(.landing-video-bg):not(.landing-video-overlay) {
  position: relative;
  z-index: 2;
}

/* ---- Hero (split layout: text left, experts right) ---- */
.pentest-hero {
  position: relative;
  z-index: 2;
  padding: 24px 24px 60px;
}

.pentest-hero-grid {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.pentest-hero-left {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
}

.pentest-hero-right {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

@media (max-width: 960px) {
  .pentest-hero-grid {
    flex-direction: column;
    gap: 32px;
  }

  .pentest-hero-left {
    flex: none;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .pentest-hero-right {
    flex: none;
    width: 100%;
    min-height: 350px;
  }
}

.pentest-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pentest-hero-startup-badge {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.pentest-hero-startup-badge:hover {
  opacity: 0.8;
}

.pentest-hero-startup-badge img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.pentest-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 999px;
  margin-bottom: 0;
}

.pentest-hero-badge svg {
  font-size: 18px;
  color: #f87171;
}

.pentest-hero-badge span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fca5a5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pentest-hero-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px 0;
}

.pentest-title-main {
  display: block;
  color: #ffffff;
}

.pentest-title-accent {
  display: block;
  background: linear-gradient(135deg, #f87171 0%, #fb923c 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pentest-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: rgba(203, 213, 225, 0.88);
  max-width: 700px;
  margin: 0 0 32px 0;
}

.pentest-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 36px;
}

.pentest-hero-cta .cta-primary {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pentest-hero-cta .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(220, 38, 38, 0.5);
}

.pentest-hero-cta .cta-secondary {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 12px;
  text-transform: none;
}

.pentest-hero-cta .cta-secondary:hover {
  border-color: rgba(248, 113, 113, 0.7);
  background: rgba(248, 113, 113, 0.08);
}

/* ---- Trust Badges ---- */
.pentest-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.pentest-trust-badges .trust-badge {
  height: 44px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.pentest-trust-badges .trust-badge:hover {
  opacity: 1;
}

/* ---- Stats ---- */
.pentest-stats {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  border-top: 1px solid rgba(248, 113, 113, 0.15);
  border-bottom: 1px solid rgba(248, 113, 113, 0.15);
  background: rgba(127, 29, 29, 0.06);
}

.pentest-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.pentest-stat-value {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(135deg, #f87171, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pentest-stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(203, 213, 225, 0.75);
  margin-top: 4px;
  font-weight: 500;
}

/* ---- Sections ---- */
.pentest-section {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
}

.pentest-section-alt {
  background: rgba(255, 255, 255, 0.015);
}

.pentest-section-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.pentest-section-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.82);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* ---- Feature Cards ---- */
.pentest-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pentest-feature-card {
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}

.pentest-feature-card:hover {
  border-color: rgba(248, 113, 113, 0.35);
  transform: translateY(-2px);
}

.pentest-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pentest-feature-icon svg {
  font-size: 24px;
  color: #f87171;
}

.pentest-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.pentest-feature-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.8);
  margin: 0;
}

/* ---- Use Cases ---- */
.pentest-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pentest-usecase {
  background: rgba(3, 7, 18, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.25s;
}

.pentest-usecase:hover {
  border-color: rgba(251, 146, 60, 0.3);
}

.pentest-usecase h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fb923c;
  margin: 0 0 10px 0;
}

.pentest-usecase p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(203, 213, 225, 0.78);
  margin: 0;
}

/* ---- Model Detail ---- */
.pentest-model-detail {
  max-width: 800px;
  margin: 0 auto;
}

.pentest-model-info {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  padding: 36px 32px;
}

.pentest-model-avatar {
  flex-shrink: 0;
}

.pentest-model-avatar img {
  border-radius: 16px;
}

.pentest-model-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.pentest-model-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.82);
  margin: 0 0 14px 0;
}

.pentest-model-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
}

.pentest-model-list li {
  font-size: 0.9rem;
  color: rgba(203, 213, 225, 0.82);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.pentest-model-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f87171, #fb923c);
}

/* ---- Frameworks Grid ---- */
.pentest-frameworks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pentest-framework-card {
  background: rgba(3, 7, 18, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  transition: border-color 0.25s;
}

.pentest-framework-card:hover {
  border-color: rgba(248, 113, 113, 0.3);
}

.pentest-framework-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #f87171;
  margin: 0 0 6px 0;
}

.pentest-framework-card p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.7);
  margin: 0;
}

/* ---- Tools Chips ---- */
.pentest-tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pentest-tool-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fca5a5;
  transition: background 0.2s, border-color 0.2s;
}

.pentest-tool-chip:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
}

/* ---- FAQ ---- */
.pentest-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.pentest-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.pentest-faq-item:last-child {
  border-bottom: none;
}

.pentest-faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.pentest-faq-item p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.8);
  margin: 0;
}

/* ---- Inline Links ---- */
.pentest-inline-link {
  color: #f87171;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(248, 113, 113, 0.3);
  transition: color 0.2s, border-color 0.2s;
}

.pentest-inline-link:hover {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.5);
}

/* ---- Crosslink Section ---- */
.pentest-crosslink {
  position: relative;
  z-index: 2;
  padding: 64px 24px;
  background: rgba(127, 29, 29, 0.06);
  border-top: 1px solid rgba(248, 113, 113, 0.1);
  border-bottom: 1px solid rgba(248, 113, 113, 0.1);
}

.pentest-crosslink-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pentest-crosslink-card {
  display: block;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 14px;
  padding: 24px 20px;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.pentest-crosslink-card:hover {
  border-color: rgba(248, 113, 113, 0.4);
  transform: translateY(-2px);
  background: rgba(127, 29, 29, 0.1);
}

.pentest-crosslink-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f87171;
  margin: 0 0 6px 0;
}

.pentest-crosslink-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.7);
  margin: 0;
}

/* ---- Trust / Team Section ---- */
.pentest-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.pentest-trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
}

.pentest-trust-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(59, 130, 246, 0.3);
  margin-bottom: 14px;
}

.pentest-trust-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.pentest-trust-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.pentest-trust-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.78);
  margin: 0;
}

@media (max-width: 600px) {
  .pentest-trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---- CTA Section ---- */
.pentest-cta-section {
  position: relative;
  z-index: 2;
  padding: 80px 24px 100px;
}

.pentest-cta-card {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.2), rgba(154, 52, 18, 0.15));
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
}

.pentest-cta-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.pentest-cta-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.82);
  max-width: 520px;
  margin: 0 auto 28px;
}

.pentest-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.pentest-cta-buttons .cta-primary {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pentest-cta-buttons .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(220, 38, 38, 0.5);
}

.pentest-cta-buttons .cta-secondary {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 12px;
  text-transform: none;
}

.pentest-cta-buttons .cta-secondary:hover {
  border-color: rgba(248, 113, 113, 0.7);
  background: rgba(248, 113, 113, 0.08);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .pentest-hero-cta {
    justify-content: center;
  }

  .pentest-trust-badges {
    justify-content: center;
  }

  .pentest-features-grid {
    grid-template-columns: 1fr;
  }

  .pentest-usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pentest-frameworks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pentest-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pentest-crosslink-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pentest-hero {
    padding: 16px 16px 40px;
  }

  .pentest-section {
    padding: 56px 16px;
  }

  .pentest-usecases-grid {
    grid-template-columns: 1fr;
  }

  .pentest-frameworks-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pentest-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .pentest-model-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
  }

  .pentest-model-list li {
    text-align: left;
  }

  .pentest-cta-card {
    padding: 40px 24px;
  }

  .pentest-trust-badges .trust-badge {
    height: 36px;
  }

  .pentest-crosslink-grid {
    grid-template-columns: 1fr;
  }
}
