/* PiraNOT Institutional Pages — v2.0.0 */

/* ========================================
   BASE
   ======================================== */
.pn-inst {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #374151;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.pn-inst *, .pn-inst *::before, .pn-inst *::after { box-sizing: border-box; }
.pn-inst a { color: #096dd2; text-decoration: none; transition: color 0.2s; }
.pn-inst a:hover { color: #0c122b; }

/* ========================================
   HERO
   ======================================== */
.pn-inst-hero {
  background: linear-gradient(135deg, #0c122b 0%, #0a1633 50%, #096dd2 100%);
  padding: 90px 24px 80px;
  text-align: center;
  color: #fff;
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.pn-inst-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(9,109,210,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.pn-inst-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
  font-weight: 800 !important;
  margin: 0 0 18px !important;
  color: #fff !important;
  letter-spacing: -1.5px !important;
  line-height: 1.08 !important;
  position: relative;
}
.pn-inst-hero .lead {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.88;
  line-height: 1.65;
  font-weight: 400;
  position: relative;
}
.pn-inst-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 7px 20px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  position: relative;
}

/* ========================================
   LAYOUT
   ======================================== */
.pn-inst-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.pn-inst-section {
  margin-bottom: 64px;
}
.pn-inst-section h2 {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #0c122b !important;
  margin: 0 0 28px !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
}
.pn-inst-section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: #096dd2;
  border-radius: 2px;
  margin-top: 12px;
}
.pn-inst-section--center { text-align: center; }
.pn-inst-section--center h2::after { margin: 12px auto 0; }
.pn-inst-section h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #0c122b !important;
  margin: 28px 0 10px !important;
}
.pn-inst-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 16px;
}
.pn-inst-section li {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 6px;
}
.pn-inst-section ul { padding-left: 20px; }

/* ========================================
   GRID & CARDS
   ======================================== */
.pn-inst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 28px 0;
}
.pn-inst-grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.pn-inst-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pn-inst-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.pn-inst-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.pn-inst-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}
.pn-inst-card--bordered { border-left: 4px solid #096dd2; }
.pn-inst-card--bordered-gold { border-left: 4px solid #f0b90b; }
.pn-inst-card--bordered-dark { border-left: 4px solid #0c122b; }

.pn-inst-card h3 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
  color: #0c122b !important;
}
.pn-inst-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.pn-inst-card .card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #096dd2;
  margin-bottom: 10px;
  display: block;
}

/* ========================================
   STATS
   ======================================== */
.pn-inst-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.pn-inst-stat {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.pn-inst-stat .number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #096dd2;
  line-height: 1;
  letter-spacing: -1px;
}
.pn-inst-stat .label {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 8px;
  display: block;
  font-weight: 500;
}

/* ========================================
   TIMELINE
   ======================================== */
.pn-inst-timeline {
  position: relative;
  padding-left: 36px;
}
.pn-inst-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, #096dd2 0%, #0c122b 100%);
  border-radius: 2px;
}
.pn-inst-timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 24px;
}
.pn-inst-timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #096dd2;
  border: 3px solid #eef4ff;
  box-shadow: 0 0 0 3px rgba(9,109,210,0.15);
}
.pn-inst-timeline-item .year {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #096dd2;
  display: block;
  margin-bottom: 4px;
}
.pn-inst-timeline-item h3 {
  margin: 0 0 6px !important;
  font-size: 1.1rem !important;
}
.pn-inst-timeline-item p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

/* ========================================
   DARK HIGHLIGHT
   ======================================== */
.pn-inst-highlight {
  background: linear-gradient(135deg, #0c122b, #0a1633);
  border-radius: 24px;
  padding: 48px 40px;
  color: #fff;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.pn-inst-highlight::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(9,109,210,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.pn-inst-highlight h3 {
  color: #fff !important;
  font-size: 1.5rem !important;
  margin: 0 0 24px !important;
  position: relative;
}
.pn-inst-highlight p { color: rgba(255,255,255,0.85); position: relative; }
.pn-inst-highlight li { color: rgba(255,255,255,0.85); }
.pn-inst-highlight a { color: #f0b90b; font-weight: 600; }
.pn-inst-highlight .col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f0b90b;
  margin-bottom: 8px;
  display: block;
}

/* ========================================
   CTA SECTION
   ======================================== */
.pn-inst-cta {
  text-align: center;
  padding: 56px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
  border-radius: 24px;
  margin: 48px 0;
  border: 1px solid #e5e7eb;
}
.pn-inst-cta h2 { display: block !important; }
.pn-inst-cta h2::after { margin: 12px auto 0; }
.pn-inst-cta p { color: #6b7280; max-width: 560px; margin: 0 auto 28px; }

/* ========================================
   BUTTONS
   ======================================== */
.pn-inst-btn {
  display: inline-block;
  background: #096dd2;
  color: #fff !important;
  padding: 15px 36px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  border: 2px solid #096dd2;
  cursor: pointer;
}
.pn-inst-btn:hover {
  background: #0c122b;
  border-color: #0c122b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9,109,210,0.25);
  color: #fff !important;
}
.pn-inst-btn--outline {
  background: transparent;
  color: #096dd2 !important;
}
.pn-inst-btn--outline:hover {
  background: #096dd2;
  color: #fff !important;
}
.pn-inst-btn--gold {
  background: #f0b90b;
  border-color: #f0b90b;
  color: #0c122b !important;
}
.pn-inst-btn--gold:hover {
  background: #d4a20a;
  border-color: #d4a20a;
  color: #0c122b !important;
}
.pn-inst-btn--white {
  background: #fff;
  border-color: #fff;
  color: #096dd2 !important;
}
.pn-inst-btn--white:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
}
.pn-inst-btn--block { display: block; width: 100%; text-align: center; }
.pn-inst-btn + .pn-inst-btn { margin-left: 12px; }

/* ========================================
   LEGAL PAGE
   ======================================== */
.pn-inst-legal {
  background: #fff;
  border-radius: 24px;
  padding: 56px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.pn-inst-legal h3 {
  color: #096dd2 !important;
  margin-top: 36px !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}
.pn-inst-legal h3:first-of-type { border-top: none; padding-top: 0; }
.pn-inst-legal p { text-align: justify; }
.pn-inst-legal ul { margin-bottom: 16px; }
.pn-inst-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
}
.pn-inst-meta-tag {
  background: #eef4ff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #096dd2;
  font-weight: 600;
}

/* ========================================
   PRICING
   ======================================== */
.pn-inst-price-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  border: 2px solid #e5e7eb;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.pn-inst-price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(9,109,210,0.12);
}
.pn-inst-price-card.featured {
  border-color: #096dd2;
  box-shadow: 0 8px 40px rgba(9,109,210,0.18);
  transform: scale(1.02);
}
.pn-inst-price-card.featured:hover { transform: scale(1.02) translateY(-6px); }
.pn-inst-price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #096dd2, #0a1633);
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pn-inst-price-card .plan-name {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #6b7280 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 4px !important;
}
.pn-inst-price-card h3 {
  font-size: 1.45rem !important;
  margin: 0 0 6px !important;
  color: #0c122b !important;
}
.pn-inst-price-value {
  font-size: 3rem;
  font-weight: 800;
  color: #096dd2;
  margin: 20px 0 6px;
  line-height: 1;
  letter-spacing: -2px;
}
.pn-inst-price-value small {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0;
}
.pn-inst-price-card .plan-desc {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 24px;
}
.pn-inst-price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}
.pn-inst-price-card li {
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.93rem;
  color: #4b5563;
  position: relative;
}
.pn-inst-price-card li:last-child { border-bottom: none; }
.pn-inst-price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 18px;
  height: 18px;
  background: #eef4ff;
  border-radius: 50%;
  border: 2px solid #096dd2;
}
.pn-inst-price-card li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #096dd2;
  border-bottom: 2px solid #096dd2;
  transform: rotate(-45deg);
}

/* ========================================
   FAQ
   ======================================== */
.pn-inst-faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s;
}
.pn-inst-faq-item:hover { border-color: #096dd2; }
.pn-inst-faq-item .question {
  color: #0c122b;
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.pn-inst-faq-item p { margin: 0; color: #6b7280; font-size: 0.95rem; }

/* ========================================
   TRUST STRIP
   ======================================== */
.pn-inst-trust {
  background: linear-gradient(135deg, #0c122b, #0a1633);
  padding: 28px 24px;
  color: #fff;
  text-align: center;
  border-radius: 16px;
  margin: 48px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 32px;
}
.pn-inst-trust span {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
  position: relative;
  padding-left: 14px;
}
.pn-inst-trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #096dd2;
  border-radius: 50%;
}

/* ========================================
   FORMS
   ======================================== */
.pn-inst-form-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
  border-radius: 24px;
  padding: 48px;
  margin: 48px 0;
  border: 1px solid #e5e7eb;
}
.pn-inst-form-section h2::after { display: none; }
.pn-inst-form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.pn-inst-form-info h2 {
  font-size: 1.6rem !important;
  margin-bottom: 16px !important;
}
.pn-inst-form-info p { color: #6b7280; }
.pn-inst-form-info .info-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.pn-inst-form-info .info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 0.95rem;
}
.pn-inst-form-info .info-list li strong { color: #0c122b; }

/* CF7 overrides inside .pn-inst */
.pn-inst .wpcf7 { width: 100%; }
.pn-inst .wpcf7-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #0c122b;
  font-size: 0.9rem;
}
.pn-inst .wpcf7-form-control {
  width: 100% !important;
  padding: 14px 18px !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #fff !important;
  margin-bottom: 16px !important;
  transition: border-color 0.2s !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
}
.pn-inst .wpcf7-form-control:focus {
  border-color: #096dd2 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(9,109,210,0.1) !important;
}
.pn-inst .wpcf7-form textarea.wpcf7-form-control {
  min-height: 120px !important;
  resize: vertical !important;
}
.pn-inst .wpcf7-submit {
  background: #096dd2 !important;
  color: #fff !important;
  width: 100% !important;
  padding: 16px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.3px !important;
  border: 2px solid #096dd2 !important;
  cursor: pointer !important;
  transition: all 0.25s !important;
  margin-top: 8px !important;
}
.pn-inst .wpcf7-submit:hover {
  background: #0c122b !important;
  border-color: #0c122b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(9,109,210,0.25) !important;
}

/* Inline email capture form */
.pn-inst-email-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 24px auto 0;
}
.pn-inst-email-form input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.pn-inst-email-form input[type="email"]:focus {
  border-color: #096dd2;
  box-shadow: 0 0 0 3px rgba(9,109,210,0.1);
}
.pn-inst-email-form button {
  padding: 15px 28px;
  background: #096dd2;
  color: #fff;
  border: 2px solid #096dd2;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  font-family: inherit;
}
.pn-inst-email-form button:hover {
  background: #0c122b;
  border-color: #0c122b;
  transform: translateY(-2px);
}

/* ========================================
   FEATURE TABLE
   ======================================== */
.pn-inst-feature-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  margin: 28px 0;
  background: #fff;
}
.pn-inst-feature-table thead th {
  background: #0c122b;
  color: #fff;
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.3px;
}
.pn-inst-feature-table thead th:first-child { text-align: left; }
.pn-inst-feature-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.93rem;
  color: #4b5563;
  text-align: center;
}
.pn-inst-feature-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: #0c122b;
}
.pn-inst-feature-table tbody tr:last-child td { border-bottom: none; }
.pn-inst-feature-table tbody tr:hover { background: #f8fafc; }
.pn-inst-feature-table .check {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #eef4ff;
  border-radius: 50%;
  border: 2px solid #096dd2;
  position: relative;
}
.pn-inst-feature-table .check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #096dd2;
  border-bottom: 2px solid #096dd2;
  transform: rotate(-45deg);
}
.pn-inst-feature-table .dash {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: #d1d5db;
  border-radius: 1px;
  vertical-align: middle;
}

/* ========================================
   STEPS / PROCESS
   ======================================== */
.pn-inst-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
  margin: 28px 0;
}
.pn-inst-step {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid #e5e7eb;
  text-align: center;
  counter-increment: step;
  position: relative;
}
.pn-inst-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #096dd2;
  opacity: 0.2;
  margin-bottom: 12px;
  line-height: 1;
}
.pn-inst-step h3 {
  font-size: 1.05rem !important;
  margin: 0 0 8px !important;
}
.pn-inst-step p { font-size: 0.9rem; color: #6b7280; margin: 0; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .pn-inst-hero { padding: 60px 20px 50px; border-radius: 0 0 24px 24px; }
  .pn-inst-hero h1 { letter-spacing: -0.5px !important; }
  .pn-inst-legal { padding: 28px 20px; }
  .pn-inst-highlight { padding: 32px 20px; }
  .pn-inst-form-section { padding: 32px 20px; }
  .pn-inst-form-split { grid-template-columns: 1fr; gap: 32px; }
  .pn-inst-grid, .pn-inst-grid--2, .pn-inst-grid--3 { grid-template-columns: 1fr; }
  .pn-inst-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pn-inst-stats { grid-template-columns: repeat(2, 1fr); }
  .pn-inst-trust { flex-direction: column; gap: 12px; }
  .pn-inst-price-card.featured { transform: none; }
  .pn-inst-price-card.featured:hover { transform: translateY(-6px); }
  .pn-inst-price-value { font-size: 2.4rem; }
  .pn-inst-email-form { flex-direction: column; }
  .pn-inst-btn + .pn-inst-btn { margin-left: 0; margin-top: 12px; }
  .pn-inst-feature-table { font-size: 0.85rem; }
  .pn-inst-feature-table thead th,
  .pn-inst-feature-table tbody td { padding: 10px 12px; }
}
