/* ============================================================
   VeriClad — section styles (part 2)
   ============================================================ */

/* ---------- What We Scan ---------- */
.scan-section { background: var(--paper-2); }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-2); }
.cap-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center;
  background: #eafaf7; color: var(--teal-deep);
  margin-bottom: 18px;
}
.cap-icon svg { width: 23px; height: 23px; }
.cap-card h3 { font-size: 18px; letter-spacing: -0.01em; }
.cap-card p { margin-top: 9px; font-size: 14.5px; color: var(--slate); line-height: 1.55; }
.cap-card .owasp-tag {
  display: inline-block; margin-top: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.03em;
  color: var(--teal-deep); background: #eafaf7;
  padding: 3px 9px; border-radius: 6px;
}

.scan-note {
  margin-top: 30px; text-align: center;
  font-family: var(--f-mono); font-size: 14px; color: var(--slate);
}
.scan-note b { color: var(--ink); font-weight: 600; }

/* scan types */
.types-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.type-card {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 20px; background: var(--paper);
}
.type-card .k { font-family: var(--f-mono); font-size: 12px; color: var(--teal-deep); letter-spacing: 0.06em; }
.type-card h4 { font-size: 16px; margin-top: 10px; }
.type-card p { font-size: 13.5px; color: var(--slate); margin-top: 7px; }

/* ---------- How It Works ---------- */
.how-section { background: var(--paper); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
}
.step .num {
  font-family: var(--f-mono); font-size: 13px; color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: #eafaf7; border: 1px solid #cdeee7;
  margin-bottom: 18px; font-weight: 500;
}
.step h3 { font-size: 19px; }
.step p { font-size: 14.5px; color: var(--slate); margin-top: 10px; line-height: 1.55; }
.step::after {
  content: "";
  position: absolute; top: 50px; right: -13px;
  width: 18px; height: 1px; background: var(--line-2);
}
.step:last-child::after { display: none; }

/* ---------- Pricing ---------- */
.pricing-section { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.pricing-section::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(700px 400px at 50% -10%, rgba(45,212,191,0.10), transparent 65%);
  pointer-events:none;
}
.pricing-section .section-head { margin-inline: auto; text-align: center; max-width: 720px; }

.bill-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 5px; margin: 0 auto 48px; 
  position: relative; z-index: 1;
}
.bill-toggle button {
  font-family: var(--f-body); font-weight: 600; font-size: 14px;
  color: #b4c4d7; background: transparent; border: 0; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; transition: all .18s ease;
}
.bill-toggle button.on { background: var(--teal); color: #04241f; }
.bill-toggle .save { font-family: var(--f-mono); font-size: 11px; color: var(--teal); margin-left: 2px; }
.bill-wrap { text-align: center; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 1; align-items: start; }
.plan {
  background: var(--navy-700);
  border: 1px solid var(--navy-600);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.plan.popular {
  border-color: var(--teal);
  background: linear-gradient(180deg, #11304f, var(--navy-700));
  box-shadow: 0 0 0 1px var(--teal), 0 30px 60px -30px rgba(45,212,191,0.5);
  transform: translateY(-10px);
}
.plan-flag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #04241f; background: var(--teal); display: inline-block;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; font-weight: 600;
  align-self: flex-start; white-space: nowrap;
}
.plan h3 { font-size: 22px; color: #fff; }
.plan .who { font-size: 13.5px; color: #9fb1c6; margin-top: 6px; min-height: 38px; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-family: var(--f-display); font-size: 42px; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.plan .price .per { font-size: 14px; color: #9fb1c6; }
.plan .price .custom { font-family: var(--f-display); font-size: 36px; font-weight: 600; color: #fff; }
.plan .annual-note { font-family: var(--f-mono); font-size: 12px; color: var(--teal); margin-top: 8px; min-height: 18px; }
.plan .btn { margin-top: 24px; }
.plan-features { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 13px; }
.plan-features li { font-size: 14px; color: #c7d4e3; display: flex; gap: 11px; align-items: flex-start; line-height: 1.45; }
.plan-features li .ck { color: var(--teal); flex: none; margin-top: 2px; }
.plan-features li.off { color: #5f7491; }
.plan-features li.off .ck { color: #5f7491; }
.plan-features li b { color: #fff; font-weight: 600; }

/* one-time services table */
.services {
  margin-top: 72px; position: relative; z-index: 1;
  background: var(--navy-700); border: 1px solid var(--navy-600);
  border-radius: 18px; overflow: hidden;
}
.services-head { padding: 26px 30px 22px; border-bottom: 1px solid var(--navy-600); }
.services-head h3 { font-size: 22px; color: #fff; }
.services-head p { font-size: 14px; color: #9fb1c6; margin-top: 6px; }
.svc-row {
  display: grid; grid-template-columns: 1.6fr 2.4fr auto auto;
  gap: 20px; align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row .svc-name { font-family: var(--f-display); font-size: 16.5px; color: #fff; font-weight: 500; }
.svc-row .svc-desc { font-size: 13.5px; color: #9fb1c6; line-height: 1.5; }
.svc-row .svc-price { font-family: var(--f-display); font-size: 23px; font-weight: 600; color: var(--teal); text-align: right; white-space: nowrap; }
.svc-row .btn { padding: 11px 18px; font-size: 14px; }
.services-foot { padding: 18px 30px; font-size: 13px; color: #8294aa; font-style: italic; }

/* ---------- Sample Report ---------- */
.report-section { background: var(--paper-2); }
.report-shell {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-card); background: var(--paper-2);
}
.report-banner {
  background: var(--navy-800); color: #fff;
  padding: 28px 34px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.report-banner .meta { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 34px; }
.report-banner .meta div { font-size: 13px; color: #9fb1c6; font-family: var(--f-mono); }
.report-banner .meta b { color: #fff; font-weight: 500; }
.report-banner .title h3 { color: #fff; font-size: 22px; }
.report-banner .title .sub { font-size: 13px; color: var(--teal); font-family: var(--f-mono); margin-top: 5px; }
.risk-pill {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 8px; background: rgba(234,88,12,0.18);
  color: #ffb486; border: 1px solid rgba(234,88,12,0.4); font-weight: 500;
}

.report-body { padding: 34px; display: grid; grid-template-columns: 320px 1fr; gap: 36px; }
.risk-summary h4, .findings-block h4 {
  font-size: 15px; font-family: var(--f-mono); letter-spacing: 0.04em;
  color: var(--ink); text-transform: uppercase; margin-bottom: 18px;
  font-weight: 600;
}
.risk-total { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.risk-total .n { font-family: var(--f-display); font-size: 52px; font-weight: 600; line-height: 1; }
.risk-total .l { font-size: 14px; color: var(--slate); }

.risk-bars { display: flex; flex-direction: column; gap: 13px; }
.risk-bar { display: grid; grid-template-columns: 86px 1fr 24px; align-items: center; gap: 12px; }
.risk-bar .rb-label { font-size: 13px; font-family: var(--f-mono); display: flex; align-items: center; gap: 7px; }
.risk-bar .rb-label .d { width: 9px; height: 9px; border-radius: 50%; }
.risk-bar .rb-track { height: 9px; background: var(--line); border-radius: 99px; overflow: hidden; }
.risk-bar .rb-track i { display: block; height: 100%; border-radius: 99px; }
.risk-bar .rb-n { font-family: var(--f-display); font-weight: 600; font-size: 15px; text-align: right; }

.findings-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.findings-table th {
  text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--slate); font-weight: 500;
  padding: 0 12px 12px 0; border-bottom: 1px solid var(--line);
}
.findings-table td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.findings-table tr:last-child td { border-bottom: 0; }
.findings-table .fid { font-family: var(--f-mono); color: var(--slate); font-size: 12.5px; }
.findings-table .fname { color: var(--ink); font-weight: 500; }
.findings-table .fcat { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.findings-table .fcvss { font-family: var(--f-display); font-weight: 600; }

/* expanded finding */
.finding-detail {
  margin-top: 30px; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.finding-detail-head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 20px 24px; background: #fbf4f4; border-bottom: 1px solid #f1dede;
}
.finding-detail-head h4 { font-size: 18px; font-family: var(--f-display); text-transform: none; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.finding-detail-head .cvss-chip { margin-left: auto; font-family: var(--f-mono); font-size: 12.5px; color: var(--sev-critical); font-weight: 600; }
.finding-detail-body { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.fd-row { font-size: 14.5px; line-height: 1.6; }
.fd-row .fd-k { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); display: block; margin-bottom: 5px; }
.fd-row .fd-k.inline { display: inline; margin: 0; }
.code-block {
  font-family: var(--f-mono); font-size: 13px; line-height: 1.7;
  background: var(--navy-850); color: #d6e1ee;
  border-radius: 10px; padding: 16px 18px; overflow-x: auto;
  border: 1px solid var(--navy-600);
}
.code-block .cm { color: #6f86a3; }
.code-block .ar { color: var(--teal); }
.fd-row ol { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); }
.fd-row ol li { margin-bottom: 6px; }
.report-cta { text-align: center; margin-top: 44px; }
.report-cta p { font-size: 20px; font-family: var(--f-display); color: var(--ink); margin-bottom: 20px; }

/* ---------- About ---------- */
.about-section { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(40px,6vw,72px); align-items: start; }
.about-copy p { color: var(--ink-2); margin-top: 18px; font-size: 16.5px; line-height: 1.7; }
.about-copy p:first-child { margin-top: 0; }
.about-copy b { color: var(--ink); font-weight: 600; }
.about-why {
  background: var(--navy-800); color: #fff; border-radius: 18px; padding: 34px 32px;
}
.about-why h3 { color: #fff; font-size: 20px; margin-bottom: 22px; }
.about-why ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.about-why li { display: flex; gap: 14px; }
.about-why li .ck { color: var(--teal); flex: none; margin-top: 2px; }
.about-why li b { color: #fff; display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 3px; }
.about-why li span.t { color: #aebfd2; font-size: 14px; line-height: 1.5; }
.stat-row { display: flex; gap: 36px; margin-top: 34px; flex-wrap: wrap; }
.stat-row .stat .n { font-family: var(--f-display); font-size: 40px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.stat-row .stat .n .u { color: var(--teal-deep); }
.stat-row .stat .t { font-size: 13.5px; color: var(--slate); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-section { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.contact-section::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(700px 500px at 15% 0%, rgba(45,212,191,0.10), transparent 60%);
  pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px,6vw,72px); align-items: start; position: relative; z-index: 1; }
.contact-intro h2 { color: #fff; font-size: clamp(30px,4vw,46px); margin-top: 18px; }
.contact-intro p { color: #aebfd2; margin-top: 18px; font-size: 17px; line-height: 1.65; }
.contact-intro .reassure { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.contact-intro .reassure div { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: #c7d4e3; }
.contact-intro .reassure .ck { color: var(--teal); flex: none; }

.form-card {
  background: var(--paper-2); border-radius: 18px; padding: 34px;
  box-shadow: var(--shadow-pop);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--sev-critical); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 9px; padding: 12px 13px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #93a3b6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); outline: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field.check { flex-direction: row; align-items: flex-start; gap: 11px; }
.field.check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--teal-deep); }
.field.check label { font-weight: 400; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.form-submit { margin-top: 24px; }
.form-foot { font-size: 12.5px; color: var(--slate); text-align: center; margin-top: 14px; }

.form-success {
  display: none;
  text-align: center; padding: 50px 30px;
}
.form-success.show { display: block; }
.form-success .ico {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  background: #eafaf7; color: var(--teal-deep); display: grid; place-items: center;
}
.form-success h3 { font-size: 24px; color: var(--ink); }
.form-success p { font-size: 16px; color: var(--ink-2); margin-top: 12px; max-width: 380px; margin-inline: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #8ea1b8; padding: 56px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer .brand small { color: #5f7491; }
.footer-slogan {
  font-family: var(--f-display); font-weight: 600; font-size: 19px;
  color: #fff; margin-top: 16px; letter-spacing: -0.01em;
}
.footer-slogan::after {
  content: ""; display: block; width: 38px; height: 2px;
  background: var(--teal); margin-top: 12px; border-radius: 2px;
}
.footer-blurb { max-width: 340px; font-size: 14px; line-height: 1.6; margin-top: 14px; color: #7f93ab; }
.footer-blurb b { color: var(--teal); font-weight: 600; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #6f86a3; margin: 0 0 14px; font-weight: 500; }
.footer-col a { display: block; font-size: 14px; color: #aebfd2; margin-bottom: 10px; transition: color .15s ease; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 13px; color: #6f86a3;
}
.footer-bottom .meth { font-family: var(--f-mono); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .scan-card { max-width: 480px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.popular { transform: none; }
  .report-body { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { 
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-850); border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; background: transparent;
    border: 1px solid var(--navy-500); border-radius: 9px; padding: 9px;
    color: #fff; cursor: pointer;
  }
  .cap-grid, .types-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .svc-row .svc-price { text-align: left; }
  .svc-row .btn { justify-self: start; }
  .report-banner { flex-direction: column; align-items: flex-start; }
  .report-banner .meta { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}

/* ============================================================
   Decorative patterns — scan / security motif
   ============================================================ */

/* faint dot-grid texture on light content sections */
.how-section, .about-section {
  background-image: radial-gradient(rgba(13, 28, 48, 0.05) 1.1px, transparent 1.1px);
  background-size: 24px 24px;
  background-position: -6px -6px;
}
.scan-section {
  position: relative;
}
.scan-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(13, 28, 48, 0.04) 1.1px, transparent 1.1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 38%);
          mask-image: linear-gradient(180deg, #000, transparent 38%);
}
.scan-section .wrap { position: relative; z-index: 1; }

/* subtle radar concentric rings in dark sections */
.pricing-section::after,
.contact-section::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  width: 760px; height: 760px; border-radius: 50%;
  background: repeating-radial-gradient(circle,
    transparent 0 53px,
    rgba(45, 212, 191, 0.07) 53px 54px);
}
.pricing-section::after {
  right: -260px; bottom: -300px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
          mask-image: radial-gradient(circle, #000 0%, transparent 62%);
}
.contact-section::after {
  left: -280px; top: -280px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
          mask-image: radial-gradient(circle, #000 0%, transparent 62%);
}

/* corner brackets — frame the hero scan card and the report shell */
.scan-card::before,
.scan-card::after,
.report-shell {
  --bk: rgba(70, 230, 210, 0.85);
}
.scan-card { position: relative; }
.scan-card::before,
.scan-card::after {
  content: ""; position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 2;
}
.scan-card::before {
  top: -8px; left: -8px;
  border-top: 2px solid var(--bk); border-left: 2px solid var(--bk);
  border-top-left-radius: 7px;
}
.scan-card::after {
  bottom: -8px; right: -8px;
  border-bottom: 2px solid var(--bk); border-right: 2px solid var(--bk);
  border-bottom-right-radius: 7px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero .pill .dot,
  .scan-card-top .live::before { will-change: opacity; }
}
@media (max-width: 980px) {
  .scan-card::before, .scan-card::after { display: none; }
}
