/* ================================================
   PRIMEFX SOLUTIONS – INNER PAGE STYLES
   (added on top of styles.css)
   ================================================ */

/* ── Page Hero banner ───────────────────────────── */
.inner-hero {
  padding: 160px 0 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(160,114,21,.1) 0%, transparent 70%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,162,39,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.inner-hero h1 .gold { color: var(--gold); }
.inner-hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}
.inner-hero .hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Restore left-align for inner-hero label (hero-split context) */
.inner-hero .section-label { text-align: left; }

/* ── Hero split (text + image) ───────────────────── */
.inner-hero .hero-split {
  display: flex;
  align-items: center;
  gap: 52px;
  flex-wrap: wrap;
  text-align: left;
}
.inner-hero .hero-split .hero-text {
  flex: 1;
  min-width: 280px;
}
.inner-hero .hero-split .hero-text p.lead {
  margin: 0 0 32px;
  max-width: 100%;
}
.inner-hero .hero-split .hero-text .hero-cta {
  justify-content: flex-start;
}
.inner-hero .hero-split .hero-img {
  flex: 1;
  min-width: 260px;
  text-align: center;
}
.inner-hero .hero-split .hero-img img {
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
@media (max-width: 768px) {
  .inner-hero .hero-split { flex-direction: column; text-align: center; }
  .inner-hero .hero-split .hero-text .hero-cta { justify-content: center; }
}

/* ── Plan card grid ─────────────────────────────── */
.sol-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
  margin-top: 40px;
}

/* ── Plan card (CRM, PROP, etc.) ────────────────── */
.sol-plan-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.sol-plan-card:hover {
  box-shadow: 0 20px 56px rgba(160,114,21,.16);
  transform: translateY(-8px);
}

/* Card header band */
.sol-plan-card .plan-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(160,114,21,.15);
  color: var(--gold-dark);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sol-plan-card .plan-header {
  background: linear-gradient(135deg, rgba(160,114,21,.08) 0%, rgba(201,162,39,.04) 100%);
  border-bottom: 1px solid rgba(160,114,21,.12);
  padding: 28px 28px 24px;
}
.sol-plan-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}
.sol-plan-card .plan-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
  margin: 0;
}

/* Card body */
.sol-plan-card .plan-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plan-features { list-style: none; margin-bottom: 28px; flex: 1; }
.plan-features li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: .875rem;
  color: var(--text);
  align-items: flex-start;
  line-height: 1.5;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li strong {
  color: var(--gold);
  flex-shrink: 0;
  min-width: fit-content;
  font-size: .95rem;
}
.plan-features li span { color: var(--text-muted); }

/* Spec table inside plan-body (market/account pages) */
table.acc-specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  flex: 1;
}
table.acc-specs tr td {
  padding: 9px 4px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .875rem;
  vertical-align: middle;
}
table.acc-specs tr:last-child td { border-bottom: none; }
table.acc-specs td:first-child { color: var(--text-muted); }
table.acc-specs td:last-child { color: var(--text); font-weight: 600; text-align: right; }

/* Push CTA to bottom of plan-body */
.plan-body .btn-gold,
.plan-body .btn-outline,
.plan-body > div[style*="display:flex"] {
  margin-top: auto;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.feature-card .feat-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* ── Info card (about, contact) ─────────────────── */
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.info-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.info-card p, .info-card a { color: var(--text-muted); font-size: .92rem; line-height: 1.6; }
.info-card a:hover { color: var(--gold); }

/* ── Two-col inner layout ───────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.two-col .section-label { text-align: left; }
.two-col h2 { text-align: left; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.two-col-img img { width: 100%; height: 360px; object-fit: cover; }

/* ── Check list (used inside two-col sections) ────── */
.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--text-light); line-height: 1.5; }
.check-list li::before { content: '✓'; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(160,114,21,.15); color: var(--gold); font-weight: 700; font-size: .75rem; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* ── About stats row ─────────────────────────────── */
.about-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 40px 0;
}
.about-stat {
  text-align: center;
  flex: 1;
  min-width: 130px;
}
.about-stat .num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}
.about-stat .lbl {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Contact form ───────────────────────────────── */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: .3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--dark3); }
.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

/* ── Account type card ──────────────────────────── */
.account-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.account-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.account-card .acc-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  font-weight: 800;
  font-size: .76rem;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.account-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.account-card .acc-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 6px;
}
.account-card .acc-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.account-card .acc-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 24px; }
.acc-specs { list-style: none; margin-bottom: 28px; }
.acc-specs li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
  font-size: .88rem;
}
.acc-specs li span:first-child { color: var(--text-muted); }
.acc-specs li span:last-child { color: var(--text); font-weight: 600; }

/* ── Pricing page extra ─────────────────────────── */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

/* ── Market page grid ───────────────────────────── */
.market-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.market-detail-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: border-color var(--transition), transform var(--transition);
}
.market-detail-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.market-detail-card .mdc-icon { font-size: 2.4rem; margin-bottom: 14px; }
.market-detail-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.market-detail-card p { color: var(--text-muted); font-size: .87rem; margin-bottom: 16px; }
.market-detail-card .mdc-specs { font-size: .8rem; color: var(--text-muted); }
.market-detail-card .mdc-specs strong { color: var(--gold); }

/* ── Inner Page Stats Row ───────────────────────── */
.stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 16px 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-width: 100px;
}
.stat-item .stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: .74rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .3px;
}

/* ── FAQ with h3/p markup (inline accordion) ──────── */
.faq-item > h3 {
  width: 100%;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
}
.faq-item > h3:hover { color: var(--gold); }
.faq-item > h3::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--gold);
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.faq-item.active > h3::after { transform: rotate(45deg); }
.faq-item > p {
  display: none;
  color: var(--text-muted);
  font-size: .95rem;
  padding-bottom: 22px;
  line-height: 1.7;
}
.faq-item.active > p { display: block; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .form-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 20px; }
  .sol-plan-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-row { gap: 20px 28px; }
  .stat-item .stat-num { font-size: 1.5rem; }

  /* Inner hero */
  .inner-hero { padding: 110px 0 56px; }
  .inner-hero .hero-split { gap: 28px; }
  .inner-hero .hero-split .hero-text .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .inner-hero .hero-split .hero-text .hero-cta a { width: 100%; justify-content: center; }

  /* Plan card padding */
  .sol-plan-card .plan-header { padding: 20px 20px 16px; }
  .sol-plan-card .plan-body { padding: 16px 20px 22px; }

  /* Contact / info forms */
  .contact-form { padding: 28px 20px; }
  .about-stat .num { font-size: 1.8rem; }
}

@media (max-width: 520px) {
  /* Inner hero tighter */
  .inner-hero { padding: 90px 0 40px; }
  .inner-hero h1 { font-size: 1.75rem; letter-spacing: -.5px; }
  .inner-hero p.lead { font-size: .92rem; }

  /* Stats row */
  .stats-row { flex-direction: column; gap: 18px; }
  .stat-item .stat-num { font-size: 1.4rem; }

  /* Plan card very tight */
  .sol-plan-card .plan-header { padding: 16px 16px 14px; }
  .sol-plan-card .plan-body { padding: 14px 16px 20px; }
  .sol-plan-grid { gap: 16px; }

  /* Forms */
  .contact-form { padding: 20px 14px; }
  .form-grid { grid-template-columns: 1fr; }

  /* Info cards */
  .info-card { padding: 20px 16px; }
}
