/*
   VetoSpam — additions.css
   New sections: Tech Proof, Competitor Compare, Pricing
   Extends style.css without modifying it.
   ============================================================ */

/* ══════════════════════════════════════════════════
   TECH PROOF SECTION
   ══════════════════════════════════════════════════ */

.tech-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

/* ── Data Flow Diagram ── */
.dataflow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 72px;
  max-width: 860px;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.dataflow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 180px;
}

.dataflow-node-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
  background: rgba(0, 122, 255, 0.12);
  border: 1px solid rgba(0, 122, 255, 0.25);
}

.dataflow-node-icon svg {
  width: 28px;
  height: 28px;
}

.dataflow-node-icon--muted {
  color: var(--text-3);
  background: rgba(90, 100, 120, 0.1);
  border-color: rgba(90, 100, 120, 0.2);
}

.dataflow-node--shield .dataflow-node-icon {
  background: rgba(48, 209, 88, 0.12);
  border-color: rgba(48, 209, 88, 0.25);
  color: var(--green);
}

.dataflow-node--server {
  opacity: 0.5;
}

.dataflow-node-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.dataflow-node-label--muted {
  color: var(--text-3);
}

.dataflow-node-sub {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.4;
}

.dataflow-node-sub--muted {
  color: var(--text-3);
}

.dataflow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 80px;
  padding-bottom: 28px;
}

.dataflow-arrow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, rgba(0, 122, 255, 0.6), rgba(48, 209, 88, 0.6));
  position: relative;
}

.dataflow-arrow-line::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -4px;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(48, 209, 88, 0.8);
  border-right: 2px solid rgba(48, 209, 88, 0.8);
  transform: rotate(45deg);
}

.dataflow-arrow-line--blocked {
  background: rgba(90, 100, 120, 0.3);
  position: relative;
}

.dataflow-arrow-line--blocked::before {
  content: '✕';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #FF453A;
  background: var(--surface);
  padding: 0 4px;
  line-height: 1;
}

.dataflow-arrow-line--blocked::after {
  display: none;
}

.dataflow-arrow-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.dataflow-arrow-label--blocked {
  color: #FF453A;
}

/* ── Apple Frameworks Grid ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.tech-card:hover {
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-2px);
}

.tech-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.tech-card-icon svg {
  width: 22px;
  height: 22px;
}

.tech-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.tech-card-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tech-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── Privacy Promise Banner ── */
.tech-promise {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0, 122, 255, 0.06);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 760px;
  margin: 0 auto;
}

.tech-promise-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}

.tech-promise-text {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

.tech-promise-text strong {
  color: var(--text);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   COMPETITOR COMPARISON SECTION
   ══════════════════════════════════════════════════ */

.compare-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-th {
  padding: 18px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.2px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-th--feature {
  text-align: left;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-2);
  width: 34%;
}

.compare-th--veto {
  background: rgba(0, 122, 255, 0.08);
  border-left: 1px solid rgba(0, 122, 255, 0.2);
  border-right: 1px solid rgba(0, 122, 255, 0.2);
  color: var(--text);
}

.compare-th-veto-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.compare-th-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.compare-th--competitor {
  background: var(--bg-2);
  color: var(--text-2);
}

.compare-row td {
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child td {
  border-bottom: none;
}

.compare-row--alt td {
  background: rgba(255, 255, 255, 0.015);
}

.compare-td {
  padding: 16px 20px;
  text-align: center;
  vertical-align: middle;
}

.compare-td--feature {
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent !important;
}

.compare-td--veto {
  background: rgba(0, 122, 255, 0.05) !important;
  border-left: 1px solid rgba(0, 122, 255, 0.15);
  border-right: 1px solid rgba(0, 122, 255, 0.15);
}

.compare-row--alt .compare-td--veto {
  background: rgba(0, 122, 255, 0.08) !important;
}

.compare-check {
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.compare-no {
  color: #FF453A;
  font-weight: 700;
  font-size: 13px;
}

.compare-yes {
  color: var(--text-3);
  font-size: 13px;
}

.compare-neutral {
  color: var(--text-3);
  font-size: 13px;
}

.compare-disclaimer {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  font-style: italic;
}

/* ══════════════════════════════════════════════════
   PRICING SECTION
   ══════════════════════════════════════════════════ */

.pricing-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.pricing-card-wrap {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid rgba(0, 122, 255, 0.35);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  box-shadow: 0 0 48px rgba(0, 122, 255, 0.1);
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF9F0A;
  background: rgba(255, 159, 10, 0.12);
  border: 1px solid rgba(255, 159, 10, 0.3);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pricing-amount {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 6px;
  line-height: 1;
}

.pricing-currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-top: 10px;
}

.pricing-price {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -4px;
  background: linear-gradient(135deg, #fff, #A0AABB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
}

.pricing-check {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.btn-appstore--pricing {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
}

.btn-appstore--pricing:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.pricing-fine-print {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}

.pricing-compare-note {
  flex: 0 0 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  align-self: center;
}

.pricing-compare-note-icon {
  font-size: 36px;
  line-height: 1;
}

.pricing-compare-note p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

.pricing-compare-note strong {
  color: var(--text);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
   ══════════════════════════════════════════════════ */

@media (max-width: 900px) {
  /* Tech section */
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .dataflow {
    flex-direction: column;
    gap: 16px;
    padding: 28px 20px;
  }

  .dataflow-arrow {
    width: auto;
    flex-direction: row;
    padding-bottom: 0;
    padding-right: 0;
    gap: 12px;
  }

  .dataflow-arrow-line {
    width: 40px;
    height: 2px;
  }

  .tech-promise {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  /* Compare table */
  .compare-th--competitor:nth-child(4),
  .compare-th--competitor:nth-child(5),
  .compare-td:nth-child(4),
  .compare-td:nth-child(5) {
    display: none;
  }

  /* Pricing */
  .pricing-card-wrap {
    flex-direction: column;
  }

  .pricing-compare-note {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .pricing-card {
    padding: 28px 24px;
  }

  .pricing-price {
    font-size: 56px;
  }
}
