/* ============================================================
   Penetration Testing — Professional dark theme
   ============================================================ */

.pentest-page {
  width: min(1200px, calc(100% - 32px));
  margin: auto;
  padding: 56px 0 100px;
  color: #eaf5ef;
}

/* ---- Hero ---- */
.pt-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 52px 56px;
  margin-bottom: 72px;
  border: 1px solid rgba(53,242,122,.16);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 70% at 5% 50%, rgba(53,242,122,.055) 0%, transparent 65%),
    linear-gradient(145deg, #081410 0%, #06120d 100%);
  position: relative;
  overflow: hidden;
}
.pt-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53,242,122,.3), transparent);
}
.pt-hero-inner { flex: 1; min-width: 0; }
.pt-eyebrow {
  display: inline-block;
  color: #35f27a;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .2em;
  margin-bottom: 16px;
}
.pt-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font: 700 clamp(2.6rem, 5.5vw, 4.8rem)/1.0 "Space Grotesk", sans-serif !important;
  letter-spacing: -.04em;
}
.pt-hero h1 em { font-style: normal; color: #35f27a; }
.pt-hero p {
  max-width: 580px;
  margin: 0 0 32px;
  color: #82968b;
  font-size: .93rem;
  line-height: 1.75;
}
.pt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.pt-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pt-assurances li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9bb5aa;
  font-size: .7rem;
  font-weight: 600;
}
.pt-assurances li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #35f27a;
  flex-shrink: 0;
}
.pt-hero-stats {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(53,242,122,.14);
  border-radius: 18px;
  background: rgba(5,15,11,.6);
  align-self: center;
}
.pt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.pt-stat strong {
  color: #35f27a;
  font: 800 clamp(1.4rem, 3vw, 2rem)/1 "Space Grotesk", sans-serif !important;
  letter-spacing: -.03em;
}
.pt-stat span {
  color: #60766a;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---- Buttons ---- */
.pt-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid rgba(53,242,122,.55);
  border-bottom: 3px solid rgba(53,242,122,.38);
  background: linear-gradient(160deg, #0c2418, #112e1c);
  color: #4dff96;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none !important;
  transition: all .22s ease;
  white-space: nowrap;
}
.pt-btn-primary:hover {
  border-color: #35f27a;
  background: linear-gradient(160deg, #112e1c, #1a3d2a);
  color: #6effa4;
  box-shadow: 0 6px 24px rgba(53,242,122,.28);
  transform: translateY(-2px);
}
.pt-btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid rgba(53,242,122,.38);
  background: rgba(53,242,122,.08);
  color: #7affaa;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: all .2s ease;
}
.pt-btn-card:hover {
  border-color: #35f27a;
  background: rgba(53,242,122,.16);
  color: #6effa4;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(53,242,122,.14);
}

/* ---- Services ---- */
.pt-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr));
  gap: 28px;
  margin-bottom: 80px;
}
.pt-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(151,186,166,.13);
  border-radius: 20px;
  background: linear-gradient(160deg, #0a1611 0%, #071209 100%);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pt-card:hover {
  border-color: rgba(53,242,122,.28);
  box-shadow: 0 20px 52px rgba(0,0,0,.28);
  transform: translateY(-3px);
}

/* Card top */
.pt-card-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 28px 22px;
  border-bottom: 1px solid rgba(151,186,166,.08);
}
.pt-card-badge {
  flex: 0 0 auto;
  display: grid;
  width: 48px; height: 48px;
  place-items: center;
  border: 1px solid rgba(53,242,122,.25);
  border-radius: 12px;
  background: rgba(53,242,122,.08);
  color: #35f27a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
}
.pt-card-title-group { flex: 1; min-width: 0; }
.pt-card-title-group h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.pt-tagline {
  margin: 0;
  color: #35f27a;
  font-size: .66rem;
  font-weight: 700;
  opacity: .85;
}
.pt-description {
  margin: 0;
  padding: 20px 28px;
  color: #9bb5aa;
  font-size: .8rem;
  line-height: 1.75;
  border-bottom: 1px solid rgba(151,186,166,.07);
}

/* ---- Coverage section ---- */
.pt-vuln-section {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(151,186,166,.07);
}
.pt-vuln-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid rgba(151,186,166,.07);
}
.pt-vuln-row:last-child { border-bottom: none; }
.pt-vuln-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-right: 1px solid rgba(151,186,166,.08);
  background: rgba(53,242,122,.025);
}
.pt-vuln-label-icon { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.pt-vuln-label-text {
  color: #eaf5ef;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.pt-vuln-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 20px;
  align-items: flex-start;
}
.pt-vuln-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(151,186,166,.12);
  border-radius: 7px;
  color: #9bb5aa;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.pt-vuln-tag::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #35f27a;
  flex-shrink: 0;
}

/* Meta: methodology + deliverables */
.pt-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(151,186,166,.07);
}
.pt-meta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 24px;
}
.pt-meta-block + .pt-meta-block {
  border-left: 1px solid rgba(151,186,166,.07);
}
.pt-meta-block h4 {
  margin: 0;
  color: #b9ccc1;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pt-meta-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pt-meta-block li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #9bb5aa;
  font-size: .68rem;
  line-height: 1.4;
}
.pt-meta-block li::before {
  content: '→';
  color: #35f27a;
  font-size: .7rem;
  flex: 0 0 auto;
}

/* Card footer */
.pt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 28px;
  margin-top: auto;
}
.pt-turnaround {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #60766a;
  font-size: .67rem;
  font-weight: 600;
}
.pt-turnaround svg {
  width: 14px; height: 14px;
  flex: 0 0 auto;
}

/* ---- Process section ---- */
.pt-process { margin-bottom: 80px; }
.pt-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.pt-section-header span {
  display: inline-block;
  color: #35f27a;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .2em;
  margin-bottom: 14px;
}
.pt-section-header h2 {
  margin: 0 0 12px;
  color: #fff;
  font: 700 clamp(1.8rem, 4vw, 3rem)/1.1 "Space Grotesk", sans-serif !important;
  letter-spacing: -.03em;
}
.pt-section-header p { margin: 0; color: #82968b; font-size: .88rem; }
.pt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pt-step {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
  border: 1px solid rgba(151,186,166,.11);
  border-radius: 16px;
  background: linear-gradient(160deg, #0a1611, #071209);
  position: relative;
  overflow: hidden;
}
.pt-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #35f27a, transparent);
  opacity: 0;
  transition: opacity .3s;
}
.pt-step:hover::before { opacity: 1; }
.pt-step-num {
  display: grid;
  width: 46px; height: 46px;
  place-items: center;
  border: 1px solid rgba(53,242,122,.22);
  border-radius: 11px;
  background: rgba(53,242,122,.07);
  color: #35f27a;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
}
.pt-step-content { display: flex; flex-direction: column; gap: 9px; }
.pt-step-content strong {
  display: block;
  color: #eaf5ef;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.3;
}
.pt-step-content p { margin: 0; color: #82968b; font-size: .72rem; line-height: 1.65; }

/* ---- Frameworks section ---- */
.pt-frameworks { margin-bottom: 80px; }
.pt-framework-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.pt-framework-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 14px;
  border: 1px solid rgba(151,186,166,.12);
  border-radius: 14px;
  background: linear-gradient(160deg, #0a1611, #071209);
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.pt-framework-card:hover {
  border-color: rgba(53,242,122,.28);
  transform: translateY(-2px);
}
.pt-framework-card svg { width: 36px; height: 36px; }
.pt-framework-card strong {
  color: #eaf5ef;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.3;
}
.pt-framework-card small {
  color: #60766a;
  font-size: .59rem;
  line-height: 1.3;
}

/* ---- CTA section ---- */
.pt-cta {
  border: 1px solid rgba(53,242,122,.18);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(53,242,122,.055) 0%, transparent 70%),
    linear-gradient(145deg, #081410, #06120d);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pt-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53,242,122,.4), transparent);
}
.pt-cta-inner { max-width: 580px; margin: 0 auto; }
.pt-cta h2 {
  margin: 0 0 14px;
  color: #fff;
  font: 700 clamp(1.9rem, 4vw, 3rem)/1.1 "Space Grotesk", sans-serif !important;
  letter-spacing: -.03em;
}
.pt-cta p { margin: 0 0 32px; color: #82968b; font-size: .9rem; }
.pt-cta-actions { display: flex; justify-content: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .pt-framework-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .pt-hero { flex-direction: column; padding: 36px 28px 40px; }
  .pt-hero-stats { flex-direction: row; width: 100%; justify-content: center; }
  .pt-steps { grid-template-columns: repeat(2, 1fr); }
  .pt-framework-grid { grid-template-columns: repeat(3, 1fr); }
  .pt-coverage { grid-template-columns: repeat(2, 1fr); }
  .pt-cov-group:nth-child(3n) { border-right: 1px solid rgba(151,186,166,.07); }
  .pt-cov-group:nth-child(2n) { border-right: none; }
  .pt-cov-group:nth-last-child(-n+3) { border-bottom: 1px solid rgba(151,186,166,.07); }
  .pt-cov-group:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 700px) {
  .pentest-page { padding-top: 32px; }
  .pt-services { grid-template-columns: 1fr; }
  .pt-meta { grid-template-columns: 1fr; }
  .pt-meta-block + .pt-meta-block { border-left: none; border-top: 1px solid rgba(151,186,166,.07); }
  .pt-framework-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-cta { padding: 48px 28px; }
}

@media (max-width: 520px) {
  .pt-hero { padding: 28px 18px 32px; }
  .pt-hero h1 { font-size: 2.2rem; }
  .pt-hero-stats { gap: 14px; padding: 18px; }
  .pt-stat strong { font-size: 1.4rem; }
  .pt-card-top { padding: 20px 18px 16px; gap: 14px; }
  .pt-description { padding: 16px 18px; }
  .pt-coverage { grid-template-columns: 1fr; }
  .pt-cov-group { border-right: none !important; }
  .pt-cov-group:nth-last-child(-n+2) { border-bottom: 1px solid rgba(151,186,166,.07); }
  .pt-cov-group:last-child { border-bottom: none; }
  .pt-meta-block { padding: 14px 18px; }
  .pt-card-footer { padding: 16px 18px; flex-direction: column; align-items: stretch; }
  .pt-card-footer .pt-btn-card { text-align: center; }
  .pt-steps { grid-template-columns: 1fr; }
  .pt-framework-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-cta { padding: 36px 20px; }
  .pt-cta-actions { flex-direction: column; align-items: stretch; }
  .pt-cta-actions .pt-btn-primary { justify-content: center; }
}
