/*
Theme Name: WP IQ Sales Page Redesigned
Theme URI: https://www.wpiq.org
Author: WP IQ
Author URI: https://www.wpiq.org
Description: A polished plugin-company homepage theme for WP IQ and its WordPress plugin suite.
Version: 0.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpiq-sales
*/

:root {
  --page: #f5f8fc;
  --surface: #ffffff;
  --surface-soft: #eef5ff;
  --ink: #102033;
  --muted: #5d6f86;
  --line: #dbe5f1;
  --blue: #1769ff;
  --blue-dark: #0d3f96;
  --blue-soft: #e8f0ff;
  --green: #17a673;
  --gold: #f2b84b;
  --purple: #7357ff;
  --shadow: 0 22px 60px rgba(16, 32, 51, 0.12);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.wpiq-site {
  overflow: hidden;
}

.top-strip {
  align-items: center;
  background: #0d3f96;
  color: #ffffff;
  display: flex;
  gap: 16px;
  justify-content: center;
  min-height: 44px;
  padding: 9px 20px;
  text-align: center;
}

.top-strip p {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.top-strip a {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 12px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  padding: 18px max(24px, calc((100vw - var(--content)) / 2));
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--blue);
}

.button,
.nav-cta {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button-primary,
.nav-cta {
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(23, 105, 255, 0.22);
  color: #ffffff;
}

.button-primary:hover,
.nav-cta:hover {
  background: var(--blue-dark);
}

.button-secondary {
  background: #ffffff;
  border-color: #cbd8e7;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  margin: 0 auto;
  max-width: var(--content);
  padding: 84px 24px 72px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 9px;
  width: 9px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 6.2vw, 78px);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
}

.hero-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
}

.hero-panel::before {
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.22), rgba(23, 166, 115, 0.22));
  border-radius: 24px;
  content: "";
  inset: -24px;
  position: absolute;
  z-index: -1;
}

.panel-toolbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  padding: 0 0 16px;
}

.panel-toolbar span {
  background: #d6dfec;
  border-radius: 999px;
  display: block;
  height: 10px;
  width: 10px;
}

.panel-toolbar span:first-child {
  background: #ff7568;
}

.panel-toolbar span:nth-child(2) {
  background: var(--gold);
}

.panel-toolbar span:nth-child(3) {
  background: var(--green);
}

.panel-toolbar strong {
  color: var(--muted);
  font-size: 13px;
  margin-left: auto;
}

.score-card {
  background: linear-gradient(135deg, #f8fbff, #edf5ff);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  margin-top: 18px;
  padding: 22px;
}

.score-card small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-card strong {
  color: var(--blue-dark);
  display: block;
  font-size: 74px;
  line-height: 0.9;
  margin-top: 8px;
}

.score-card p {
  align-self: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.audit-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  margin-top: 16px;
  overflow: hidden;
}

.audit-table div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
}

.audit-table div:last-child {
  border-bottom: 0;
}

.audit-table span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.audit-table b {
  background: var(--blue-soft);
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 12px;
  padding: 7px 10px;
}

.mini-cards {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}

.mini-cards span {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  padding: 13px 10px;
  text-align: center;
}

.metrics {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 100%;
}

.metrics div {
  background: #ffffff;
  padding: 34px 24px;
  text-align: center;
}

.metrics strong {
  color: var(--blue-dark);
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  margin-bottom: 8px;
}

.metrics span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.section,
.split-section,
.testimonial-band,
.newsletter-section,
.site-footer {
  margin: 0 auto;
  max-width: var(--content);
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-bottom: 84px;
  padding-top: 84px;
}

.section-heading {
  margin-bottom: 38px;
  max-width: 760px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.testimonial-band h2,
.newsletter-section h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 18px;
}

.section-heading p,
.split-copy p,
.testimonial-band p,
.newsletter-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.plugin-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plugin-card,
.support-card,
.price-card,
.report-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plugin-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 28px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.plugin-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-kicker,
.plan-badge,
.report-card > span {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.plugin-card h3,
.support-card h3,
.price-card h3,
.report-card h3 {
  font-size: 27px;
  letter-spacing: 0;
  line-height: 1.14;
  margin-bottom: 14px;
}

.plugin-card p,
.support-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.card-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
}

.card-footer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.card-footer a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.split-section {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.74fr);
  padding-bottom: 92px;
  padding-top: 92px;
}

.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.check-list li {
  align-items: flex-start;
  color: var(--ink);
  display: flex;
  font-size: 16px;
  font-weight: 800;
  gap: 12px;
  line-height: 1.5;
}

.check-list li::before {
  background: var(--green);
  border-radius: 999px;
  color: #ffffff;
  content: "✓";
  display: inline-flex;
  flex: 0 0 22px;
  font-size: 13px;
  height: 22px;
  justify-content: center;
  line-height: 22px;
  margin-top: 1px;
  width: 22px;
}

.report-card {
  box-shadow: var(--shadow);
  padding: 30px;
}

.report-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  padding: 20px 0;
}

.report-row:last-child {
  padding-bottom: 0;
}

.report-row b {
  color: var(--blue);
  display: block;
  font-size: 38px;
  line-height: 1;
  min-width: 62px;
}

.report-row p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}

.support-section {
  max-width: 100%;
  padding-left: max(24px, calc((100vw - var(--content)) / 2));
  padding-right: max(24px, calc((100vw - var(--content)) / 2));
}

.support-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-card {
  padding: 28px;
}

.support-card::before {
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  content: "";
  display: block;
  height: 42px;
  margin-bottom: 24px;
  width: 42px;
}

.testimonial-band {
  align-items: center;
  background: var(--blue-dark);
  border-radius: 16px;
  color: #ffffff;
  display: grid;
  gap: 40px;
  grid-template-columns: 0.95fr 1.05fr;
  margin-bottom: 20px;
  margin-top: 22px;
  padding-bottom: 46px;
  padding-top: 46px;
}

.testimonial-band .eyebrow,
.testimonial-band .eyebrow::before {
  color: #ffffff;
}

.testimonial-band h2 {
  margin-bottom: 0;
}

.testimonial-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.pricing-section {
  padding-top: 76px;
}

.pricing-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 30px;
  position: relative;
}

.price-card-featured {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.price-line {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 22px;
}

.price-line strong {
  display: block;
  font-size: 54px;
  letter-spacing: 0;
  line-height: 1;
}

.price-line span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-top: 8px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.price-card li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.price-card li::before {
  color: var(--green);
  content: "✓ ";
  font-weight: 900;
}

.price-card .button {
  margin-top: auto;
  width: 100%;
}

.newsletter-section {
  align-items: center;
  background: linear-gradient(135deg, #eff5ff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  margin-bottom: 82px;
  padding-bottom: 38px;
  padding-top: 38px;
}

.newsletter-section h2 {
  font-size: clamp(30px, 3.4vw, 46px);
}

.newsletter-section p {
  margin-bottom: 0;
  max-width: 720px;
}

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr auto;
  padding-bottom: 50px;
  padding-top: 42px;
}

.site-footer p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 460px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split-section,
  .testimonial-band,
  .newsletter-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 640px;
  }

  .plugin-grid,
  .support-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .top-strip {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    height: 34px;
    width: 34px;
  }

  .nav-cta {
    font-size: 13px;
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    gap: 36px;
    padding: 52px 18px 54px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-actions,
  .button,
  .nav-cta {
    width: 100%;
  }

  .score-card {
    grid-template-columns: 1fr;
  }

  .mini-cards,
  .metrics {
    grid-template-columns: 1fr;
  }

  .section,
  .split-section,
  .testimonial-band,
  .newsletter-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section,
  .split-section {
    padding-bottom: 64px;
    padding-top: 64px;
  }

  .testimonial-band,
  .newsletter-section {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .plugin-card,
  .support-card,
  .price-card,
  .report-card {
    padding: 24px;
  }
}
