/*
Theme Name: FixPlugin
Theme URI: https://fixplugins.example.com
Author: FixPlugins
Author URI: https://fixplugins.example.com
Description: High-converting Gutenberg block theme for WordPress plugin diagnosis and repair services.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fixplugin
Tags: full-site-editing, custom-colors, custom-logo, editor-style
*/

:root {
  --fp-font-head: "Sora", "Trebuchet MS", sans-serif;
  --fp-font-body: "Manrope", "Segoe UI", sans-serif;

  --fp-bg-dark: #0a0f1c;
  --fp-bg-dark-soft: #10182e;
  --fp-bg-topbar: #0b1f3a;
  --fp-bg-surface: #ffffff;
  --fp-bg-muted: #f6f8fc;
  --fp-bg-accent: #ecfdf5;

  --fp-ink: #0f172a;
  --fp-ink-soft: #475569;
  --fp-ink-on-dark: #f8fafc;
  --fp-ink-muted-on-dark: #cbd5e1;

  --fp-primary: #2563eb;
  --fp-primary-hover: #1d4ed8;
  --fp-secondary: #10b981;
  --fp-warning: #f59e0b;
  --fp-danger: #ef4444;

  --fp-shell: 1200px;
  --fp-shell-copy: 800px;

  --fp-radius-sm: 10px;
  --fp-radius-md: 12px;
  --fp-radius-lg: 16px;
  --fp-radius-xl: 24px;

  --fp-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --fp-shadow-strong: 0 20px 50px rgba(15, 23, 42, 0.2);

  --fp-section-y: 80px;
  --fp-gutter: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--fp-ink);
  background: linear-gradient(180deg, #edf3ff 0%, #f7f9fe 45%, #ffffff 100%);
  font-family: var(--fp-font-body);
  line-height: 1.6;
}

.wp-site-blocks {
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fp-font-head);
  letter-spacing: -0.02em;
  color: var(--fp-ink);
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.1vw, 3rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2rem);
  line-height: 1.25;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.4rem);
}

p {
  margin-top: 0;
}

a {
  color: inherit;
}

.fp-shell {
  max-width: var(--fp-shell);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--fp-gutter);
  padding-right: var(--fp-gutter);
}

.fp-centered-copy {
  max-width: var(--fp-shell-copy);
  margin-left: auto;
  margin-right: auto;
}

.fp-section {
  padding-top: var(--fp-section-y);
  padding-bottom: var(--fp-section-y);
  position: relative;
}

.fp-topbar {
  min-height: 40px;
  background: var(--fp-bg-topbar);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 14px;
}

.fp-topbar p {
  margin: 0;
}

.fp-topbar a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fp-hero {
  min-height: clamp(600px, 74vh, 700px);
  background:
    radial-gradient(1200px 420px at 90% 8%, rgba(37, 99, 235, 0.25), transparent 60%),
    radial-gradient(560px 240px at 8% 82%, rgba(16, 185, 129, 0.14), transparent 70%),
    linear-gradient(135deg, #0a0f1c 0%, #10182f 54%, #162240 100%);
  color: var(--fp-ink-on-dark);
}

.fp-hero .wp-block-columns {
  gap: clamp(24px, 3vw, 48px);
}

.fp-hero-copy h1 {
  color: var(--fp-ink-on-dark);
  max-width: 720px;
  margin-bottom: 18px;
}

.fp-hero-copy p {
  color: var(--fp-ink-muted-on-dark);
  max-width: 500px;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.fp-checklist {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.fp-checklist li {
  position: relative;
  padding-left: 32px;
  margin: 8px 0;
  color: var(--fp-ink-on-dark);
  font-weight: 600;
}

.fp-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.7);
  color: var(--fp-secondary);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.fp-hero-buttons {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fp-button-primary .wp-block-button__link,
.fp-button-secondary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: center;
  min-height: 56px;
  min-width: 220px;
  border-radius: var(--fp-radius-sm);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  padding: 14px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.fp-button-primary .wp-block-button__link {
  background: var(--fp-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.fp-button-primary .wp-block-button__link:hover,
.fp-button-primary .wp-block-button__link:focus-visible {
  background: var(--fp-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.35);
}

.fp-button-secondary .wp-block-button__link {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.fp-button-secondary .wp-block-button__link:hover,
.fp-button-secondary .wp-block-button__link:focus-visible {
  color: #0a0f1c;
  background: #ffffff;
  transform: translateY(-1px);
}

.fp-muted {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 14px;
}

.fp-hero-visual {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(148, 163, 184, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--fp-radius-xl);
  padding: 22px;
  backdrop-filter: blur(4px);
  box-shadow: var(--fp-shadow-strong);
}

.fp-hero-visual h3,
.fp-hero-visual p {
  color: #e2e8f0;
}

.fp-stat-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--fp-radius-md);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.fp-stat-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.15rem;
}

.fp-problem {
  background: #f9fafb;
}

.fp-problem h2,
.fp-story h2,
.fp-objections h2,
.fp-urgency h2,
.fp-final-cta h2,
.fp-results h2 {
  text-align: center;
  margin-bottom: 22px;
}

.fp-centered-copy p,
.fp-centered-copy li {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fp-ink-soft);
}

.fp-centered-copy ul {
  margin: 22px 0;
  padding-left: 20px;
}

.fp-story {
  background: #ffffff;
}

.fp-authority {
  background: var(--fp-bg-muted);
}

.fp-authority-cards {
  margin-top: 30px;
  gap: 18px;
}

.fp-authority-card,
.fp-high-card,
.fp-core-card,
.fp-product-card,
.fp-recurring-card,
.fp-results-box,
.fp-scan-card {
  background: var(--fp-bg-surface);
  border-radius: var(--fp-radius-lg);
  box-shadow: var(--fp-shadow-soft);
  border: 1px solid #e5eaf5;
}

.fp-authority-card {
  height: 100%;
  padding: 24px;
}

.fp-card-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  font-family: var(--fp-font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--fp-primary);
  background: rgba(37, 99, 235, 0.12);
  margin-bottom: 14px;
}

.fp-authority-card ul {
  padding-left: 18px;
  margin: 14px 0 0;
}

.fp-scan {
  background: linear-gradient(135deg, #0a1327 0%, #10223f 100%);
}

.fp-scan-card {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px;
  text-align: center;
}

.fp-scan-card h2 {
  margin-bottom: 10px;
}

.fp-button-wide .wp-block-button__link {
  width: 100%;
}

.fp-quiz-section {
  background: #f8fbff;
}

.fp-quiz {
  max-width: 500px;
  margin: 26px auto 0;
  background: #ffffff;
  border-radius: var(--fp-radius-lg);
  border: 1px solid #dce5f4;
  box-shadow: var(--fp-shadow-soft);
  padding: 28px;
}

.fp-quiz-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin-bottom: 24px;
}

.fp-quiz-progress-fill {
  display: block;
  width: 16.67%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  transition: width 0.3s ease;
}

.fp-quiz-question {
  margin-bottom: 24px;
  font-size: 22px;
}

.fp-quiz-step {
  display: none;
}

.fp-quiz-step.is-active {
  display: block;
}

.fp-quiz-step .wp-block-buttons {
  margin-top: 16px;
}

.fp-quiz-options {
  width: 100%;
  display: grid;
  gap: 12px;
}

.fp-quiz-option {
  width: 100%;
}

.fp-quiz-option .wp-block-button__link {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: var(--fp-radius-sm);
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: var(--fp-ink);
  padding: 16px;
  font-weight: 600;
  box-shadow: none;
}

.fp-quiz-option .wp-block-button__link:hover,
.fp-quiz-option .wp-block-button__link:focus-visible {
  border-color: var(--fp-primary);
  background: #eff6ff;
  color: #0b1838;
}

.fp-quiz-option .wp-block-button__link.is-selected {
  border-color: var(--fp-primary);
  background: #dbeafe;
  color: #0b1838;
}

.fp-quiz-email {
  width: 100%;
  min-height: 56px;
  border: 1px solid #cbd5e1;
  border-radius: var(--fp-radius-sm);
  padding: 14px 16px;
  font-size: 16px;
  margin-bottom: 14px;
}

.fp-quiz-email.has-error {
  border-color: var(--fp-danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.fp-quiz-name {
  width: 100%;
  min-height: 56px;
  border: 1px solid #cbd5e1;
  border-radius: var(--fp-radius-sm);
  padding: 14px 16px;
  font-size: 16px;
  margin-bottom: 14px;
}

.fp-quiz-name.has-error {
  border-color: var(--fp-danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.fp-quiz-submit .wp-block-button__link {
  width: 100%;
}

.fp-results {
  background: #ffffff;
}

.fp-results-box {
  max-width: 600px;
  margin: 24px auto 0;
  padding: 32px;
}

.fp-result-state {
  display: none;
  border-radius: var(--fp-radius-md);
  padding: 26px;
}

.fp-result-state.is-active {
  display: block;
}

.fp-result-state h3 {
  margin-bottom: 10px;
}

.fp-critical {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.fp-moderate {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.fp-minor {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.fp-product {
  background: #f9fbff;
}

.fp-product-card {
  max-width: 400px;
  margin: 24px auto 0;
  padding: 32px;
}

.fp-price {
  font-family: var(--fp-font-head);
  font-size: clamp(2rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #0b1f3a;
}

.fp-core {
  background: #ffffff;
}

.fp-core-grid {
  margin-top: 24px;
  gap: 18px;
}

.fp-core-card {
  padding: 32px;
  height: 100%;
}

.fp-guarantee {
  background: linear-gradient(145deg, #091225 0%, #102543 100%);
}

.fp-guarantee h2,
.fp-guarantee p {
  color: #e2e8f0;
  text-align: center;
}

.fp-high-ticket {
  background: var(--fp-bg-muted);
}

.fp-high-ticket-grid {
  margin-top: 22px;
  gap: 18px;
}

.fp-high-card {
  padding: 24px;
  height: 100%;
}

.fp-recurring {
  background: #ffffff;
}

.fp-recurring-card {
  max-width: 500px;
  margin: 22px auto 0;
  padding: 32px;
}

.fp-objections {
  background: #f8fafc;
}

.fp-accordion-wrap {
  max-width: 800px;
  margin: 24px auto 0;
}

.fp-accordion-item {
  margin-bottom: 12px;
  border-radius: var(--fp-radius-md);
  border: 1px solid #dbe4f0;
  background: #ffffff;
  box-shadow: var(--fp-shadow-soft);
  overflow: hidden;
}

.fp-accordion-item summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0 16px;
  font-weight: 700;
}

.fp-accordion-item summary::-webkit-details-marker {
  display: none;
}

.fp-accordion-item[open] summary {
  color: var(--fp-primary-hover);
}

.fp-accordion-item p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--fp-ink-soft);
}

.fp-urgency {
  background: #fff7ed;
}

.fp-final-cta {
  background: linear-gradient(150deg, #071326 0%, #173461 100%);
}

.fp-final-cta h2,
.fp-final-cta p {
  color: #f8fafc;
  text-align: center;
}

.fp-final-cta .fp-button-secondary .wp-block-button__link {
  border-color: rgba(148, 163, 184, 0.8);
}

.fp-footer {
  min-height: 120px;
  background: #0b1426;
  color: #94a3b8;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.fp-footer .wp-block-columns {
  width: 100%;
  gap: 12px;
}

.fp-footer p {
  margin: 0;
}

.fp-footer-links {
  text-align: right;
}

.fp-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.fp-footer-links a:hover,
.fp-footer-links a:focus-visible {
  text-decoration: underline;
}

.fp-sticky-cta {
  display: none;
}

.fp-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Keep animated sections visible inside block/site editor canvases. */
.editor-styles-wrapper .fp-reveal,
.block-editor-iframe__body .fp-reveal,
.block-editor-page .fp-reveal,
.is-root-container .fp-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 1024px) {
  .fp-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .fp-hero {
    min-height: auto;
  }
}

@media (max-width: 781px) {
  :root {
    --fp-section-y: 48px;
    --fp-gutter: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  p,
  li {
    font-size: 16px;
  }

  .fp-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .fp-button-primary,
  .fp-button-secondary,
  .fp-button-primary .wp-block-button__link,
  .fp-button-secondary .wp-block-button__link {
    width: 100%;
  }

  .fp-scan-card,
  .fp-quiz,
  .fp-results-box,
  .fp-product-card,
  .fp-recurring-card {
    padding: 22px;
  }

  .fp-footer {
    text-align: center;
    padding: 18px 0;
  }

  .fp-footer-links {
    text-align: center;
  }

  .fp-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(11, 20, 38, 0.95);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(8px);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }

  .fp-sticky-cta .wp-block-button,
  .fp-sticky-cta .wp-block-button__link {
    width: 100%;
  }

  .wp-site-blocks {
    padding-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-reveal,
  .fp-button-primary .wp-block-button__link,
  .fp-button-secondary .wp-block-button__link,
  .fp-quiz-progress-fill {
    transition: none;
  }
}

/* Section-by-section premium visual overhaul */
:root {
  --fp-surface-strong: #ffffff;
  --fp-surface-deep: #f2f7ff;
  --fp-line-soft: rgba(30, 58, 138, 0.1);
  --fp-line-mid: rgba(30, 58, 138, 0.2);
  --fp-glow-blue: rgba(37, 99, 235, 0.34);
  --fp-glow-teal: rgba(20, 184, 166, 0.2);
  --fp-shadow-card: 0 24px 55px rgba(15, 23, 42, 0.1);
  --fp-shadow-pop: 0 26px 70px rgba(15, 23, 42, 0.2);
}

body {
  background:
    radial-gradient(1100px 640px at -10% -20%, rgba(191, 219, 254, 0.46), transparent 60%),
    radial-gradient(900px 500px at 106% 0%, rgba(125, 211, 252, 0.25), transparent 58%),
    linear-gradient(180deg, #eaf2ff 0%, #f7fbff 43%, #ffffff 100%);
}

.fp-page {
  position: relative;
  isolation: isolate;
}

.fp-section {
  overflow: clip;
}

.fp-section > .fp-shell {
  position: relative;
  z-index: 2;
}

.fp-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  position: relative;
}

.fp-section h2::after {
  content: "";
  display: block;
  width: clamp(86px, 14vw, 122px);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #22c55e 100%);
  margin: 15px auto 0;
}

.fp-section p {
  text-wrap: pretty;
}

.fp-topbar {
  background: linear-gradient(90deg, #081a35 0%, #102b55 52%, #0d274e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.fp-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 28%, rgba(255, 255, 255, 0.24) 50%, transparent 72%);
  transform: translateX(-130%);
  animation: fpShimmer 8.5s linear infinite;
  pointer-events: none;
}

.fp-topbar p {
  font-weight: 700;
}

.fp-topbar a {
  color: #c7e4ff;
  font-weight: 800;
  text-decoration-thickness: 1.5px;
}

.fp-hero {
  min-height: clamp(620px, 76vh, 760px);
  border-bottom-left-radius: clamp(34px, 8vw, 64px);
  border-bottom-right-radius: clamp(34px, 8vw, 64px);
  background:
    linear-gradient(112deg, rgba(37, 99, 235, 0.2) 0%, rgba(20, 184, 166, 0.09) 40%, transparent 75%),
    radial-gradient(620px 380px at 82% 12%, rgba(59, 130, 246, 0.33), transparent 60%),
    radial-gradient(520px 260px at 12% 92%, rgba(52, 211, 153, 0.16), transparent 65%),
    linear-gradient(144deg, #071024 0%, #0f2146 58%, #1c3f73 100%);
}

.fp-hero::before,
.fp-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.fp-hero::before {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  right: -90px;
  top: -130px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.38) 0%, rgba(147, 197, 253, 0) 70%);
}

.fp-hero::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.44) 0%, transparent 76%);
}

.fp-hero-copy h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  text-shadow: 0 10px 24px rgba(7, 16, 36, 0.45);
  max-width: 16ch;
}

.fp-hero-copy p {
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  color: #d7e2f4;
}

.fp-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  max-width: 550px;
}

.fp-checklist li {
  margin: 0;
  background: rgba(8, 26, 53, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 9px 14px 9px 36px;
  backdrop-filter: blur(2px);
}

.fp-checklist li::before {
  top: 8px;
  left: 10px;
}

.fp-button-primary .wp-block-button__link,
.fp-button-secondary .wp-block-button__link {
  letter-spacing: 0.01em;
  font-family: var(--fp-font-head);
}

.fp-button-primary .wp-block-button__link {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 45%, #0f56f0 100%);
  border: 1px solid rgba(191, 219, 254, 0.58);
}

.fp-button-primary .wp-block-button__link:hover,
.fp-button-primary .wp-block-button__link:focus-visible {
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.42), 0 0 0 3px rgba(125, 211, 252, 0.26);
}

.fp-button-secondary .wp-block-button__link {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.25);
}

.fp-button-secondary .wp-block-button__link:hover,
.fp-button-secondary .wp-block-button__link:focus-visible {
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.2);
}

.fp-muted {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.fp-hero-visual {
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(191, 219, 254, 0.07) 46%, rgba(255, 255, 255, 0.07) 100%);
  border: 1px solid rgba(191, 219, 254, 0.24);
}

.fp-hero-visual h3 {
  color: #f8fbff;
  font-size: clamp(1.2rem, 2.3vw, 1.5rem);
}

.fp-stat-card {
  background: linear-gradient(140deg, rgba(8, 26, 53, 0.72), rgba(14, 33, 64, 0.66));
  border: 1px solid rgba(148, 163, 184, 0.36);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.fp-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.64);
}

.fp-problem,
.fp-story,
.fp-urgency {
  position: relative;
}

.fp-problem {
  background:
    radial-gradient(780px 340px at 16% -14%, rgba(59, 130, 246, 0.12), transparent 70%),
    #f9fbff;
}

.fp-problem .fp-centered-copy,
.fp-story .fp-centered-copy,
.fp-urgency .fp-centered-copy {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--fp-line-soft);
  box-shadow: var(--fp-shadow-card);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 44px);
  backdrop-filter: blur(4px);
}

.fp-problem ul,
.fp-story ul,
.fp-urgency ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.fp-problem li,
.fp-story li,
.fp-urgency li {
  position: relative;
  margin: 0;
  padding: 10px 14px 10px 36px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.23);
  border-radius: 12px;
}

.fp-problem li::before,
.fp-story li::before,
.fp-urgency li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #2563eb 0%, #22c55e 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.fp-story {
  background:
    radial-gradient(600px 220px at 90% -4%, rgba(22, 163, 74, 0.1), transparent 68%),
    #ffffff;
}

.fp-authority {
  background:
    radial-gradient(640px 220px at 0% 12%, rgba(37, 99, 235, 0.12), transparent 65%),
    radial-gradient(440px 220px at 100% 100%, rgba(20, 184, 166, 0.12), transparent 68%),
    #f3f7ff;
}

.fp-authority-cards {
  gap: 20px;
}

.fp-authority-card {
  border: 1px solid var(--fp-line-mid);
  box-shadow: var(--fp-shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fp-authority-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #22d3ee 100%);
}

.fp-authority-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--fp-shadow-pop);
}

.fp-card-icon {
  width: 42px;
  height: 42px;
  font-size: 14px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.fp-scan {
  background:
    radial-gradient(700px 300px at 10% 100%, rgba(37, 99, 235, 0.26), transparent 65%),
    radial-gradient(460px 280px at 90% 0%, rgba(20, 184, 166, 0.2), transparent 66%),
    linear-gradient(130deg, #071327 0%, #0c1f3d 52%, #0f2f57 100%);
}

.fp-scan-card {
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.43);
}

.fp-scan-card::before {
  content: "";
  position: absolute;
  inset: -120%;
  background: conic-gradient(from 160deg, transparent 0deg, rgba(37, 99, 235, 0.23) 80deg, transparent 140deg);
  animation: fpRotate 10s linear infinite;
  pointer-events: none;
}

.fp-scan-card > * {
  position: relative;
  z-index: 1;
}

.fp-quiz-section {
  background:
    radial-gradient(520px 220px at 18% 0%, rgba(37, 99, 235, 0.12), transparent 65%),
    linear-gradient(180deg, #f5f9ff 0%, #f0f7ff 100%);
}

.fp-quiz {
  border-radius: 24px;
  padding: clamp(24px, 4.3vw, 36px);
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 22px 56px rgba(14, 30, 65, 0.14);
  position: relative;
}

.fp-quiz::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.fp-quiz-progress {
  height: 8px;
  background: #dbe5f4;
}

.fp-quiz-counter {
  margin: 10px 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

.fp-quiz-progress-fill {
  background: linear-gradient(90deg, #2563eb 0%, #22d3ee 100%);
  box-shadow: 0 0 22px var(--fp-glow-blue);
}

.fp-quiz-question {
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  margin-bottom: 20px;
}

.fp-quiz-option .wp-block-button__link {
  border-color: #cfddee;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fp-quiz-option .wp-block-button__link:hover,
.fp-quiz-option .wp-block-button__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
}

.fp-quiz-option .wp-block-button__link.is-selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
  background: linear-gradient(180deg, #eaf3ff 0%, #dbeafe 100%);
}

.fp-quiz-email {
  border-color: #bed2ee;
  background: #f9fbff;
}

.fp-quiz-email:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.fp-quiz-status {
  margin: 12px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  font-weight: 700;
}

.fp-quiz-status.is-pending {
  color: #1d4ed8;
}

.fp-quiz-status.is-success {
  color: #047857;
}

.fp-quiz-status.is-error {
  color: #b91c1c;
}

.fp-quiz-submit .wp-block-button__link[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.72;
  cursor: wait;
}

.fp-quiz-submit .wp-block-button__link.is-loading {
  position: relative;
  padding-right: 42px;
}

.fp-quiz-submit .wp-block-button__link.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  position: absolute;
  right: 16px;
  top: calc(50% - 7px);
  animation: fpSpin 0.9s linear infinite;
}

.fp-results {
  background: #fefefe;
}

.fp-results-box {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--fp-shadow-card);
  position: relative;
  overflow: hidden;
}

.fp-results-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0) 40%);
  pointer-events: none;
}

.fp-result-state {
  border-radius: 16px;
  border-width: 1px;
  border-style: solid;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.fp-result-state h3 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.fp-critical h3 {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
}

.fp-moderate h3 {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
}

.fp-minor h3 {
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
}

.fp-product {
  background:
    radial-gradient(620px 260px at 92% 16%, rgba(37, 99, 235, 0.1), transparent 70%),
    #f7faff;
}

.fp-product-card {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--fp-shadow-card);
  position: relative;
  overflow: hidden;
}

.fp-product-card::before {
  content: "SELF-SERVE";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dbeafe;
  border: 1px solid rgba(59, 130, 246, 0.42);
  color: #1e40af;
  font-size: 11px;
  letter-spacing: 0.07em;
  font-weight: 800;
}

.fp-price {
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.fp-core {
  background:
    radial-gradient(520px 300px at 10% 0%, rgba(59, 130, 246, 0.12), transparent 66%),
    #ffffff;
}

.fp-core-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  box-shadow: var(--fp-shadow-card);
  position: relative;
  overflow: hidden;
}

.fp-core-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #34d399 100%);
}

.fp-core-grid .wp-block-column:last-child .fp-core-card {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.fp-guarantee {
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(56, 189, 248, 0.24), transparent 64%),
    linear-gradient(145deg, #081227 0%, #102a4d 100%);
}

.fp-guarantee .fp-centered-copy {
  max-width: 760px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 52px);
  background: rgba(11, 28, 56, 0.58);
  box-shadow: 0 26px 64px rgba(2, 6, 23, 0.45);
}

.fp-high-ticket {
  background:
    radial-gradient(560px 220px at 0% 100%, rgba(37, 99, 235, 0.09), transparent 70%),
    #f4f8ff;
}

.fp-high-card {
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: var(--fp-shadow-card);
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fp-high-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--fp-shadow-pop);
}

.fp-high-card h3 {
  margin-bottom: 10px;
}

.fp-recurring {
  background:
    radial-gradient(500px 220px at 100% 10%, rgba(34, 197, 94, 0.1), transparent 70%),
    #ffffff;
}

.fp-recurring-card {
  border-radius: 24px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 56%);
  box-shadow: var(--fp-shadow-card);
}

.fp-objections {
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(59, 130, 246, 0.08), transparent 66%),
    #f8fbff;
}

.fp-accordion-item {
  border-color: rgba(37, 99, 235, 0.2);
  border-radius: 14px;
}

.fp-accordion-item summary {
  position: relative;
  padding-right: 54px;
  transition: background 0.2s ease;
}

.fp-accordion-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #2563eb;
}

.fp-accordion-item[open] summary {
  background: #eff6ff;
}

.fp-accordion-item[open] summary::after {
  content: "-";
}

.fp-accordion-item p {
  padding-bottom: 20px;
}

.fp-urgency {
  background:
    radial-gradient(540px 280px at 96% 10%, rgba(251, 146, 60, 0.18), transparent 70%),
    #fff8f1;
}

.fp-final-cta {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(56, 189, 248, 0.25), transparent 66%),
    radial-gradient(520px 200px at 8% 100%, rgba(52, 211, 153, 0.18), transparent 64%),
    linear-gradient(155deg, #071325 0%, #0f2b50 56%, #18457a 100%);
  border-top-left-radius: clamp(30px, 7vw, 58px);
  border-top-right-radius: clamp(30px, 7vw, 58px);
}

.fp-final-cta .fp-button-primary .wp-block-button__link {
  min-width: 260px;
}

.fp-footer {
  background:
    linear-gradient(90deg, #0a1324 0%, #10213c 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.fp-footer-links a {
  position: relative;
}

.fp-footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.fp-footer-links a:hover::after,
.fp-footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.fp-sticky-cta {
  background: linear-gradient(90deg, rgba(7, 22, 42, 0.96), rgba(15, 45, 80, 0.96));
  box-shadow: 0 -18px 34px rgba(2, 6, 23, 0.35);
}

.fp-sticky-cta .fp-button-primary .wp-block-button__link {
  min-height: 60px;
}

.fp-reveal {
  transform: translate3d(0, 30px, 0);
}

@keyframes fpShimmer {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes fpRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fpSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.fp-hero-copy h1.fp-typing {
  position: relative;
  display: block;
  white-space: pre-wrap;
}

.fp-hero-copy h1.fp-typing .fp-typing-text {
  display: inline;
}

.fp-hero-copy h1.fp-typing .fp-typing-caret {
  display: inline-block;
  width: 0.12em;
  height: 1em;
  margin-left: 0.08em;
  border-radius: 2px;
  background: #e2e8f0;
  box-shadow: 0 0 12px rgba(191, 219, 254, 0.65);
  transform: translateY(0.08em);
  animation: fpCaretBlink 0.9s steps(1, end) infinite;
}

.fp-hero-copy h1.fp-typing.fp-typing-done .fp-typing-caret {
  animation-duration: 1.2s;
  opacity: 0.8;
}

.fp-hero-visual {
  position: relative;
  animation: fpFloat 9s ease-in-out infinite;
}

.fp-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  background:
    radial-gradient(180px 120px at 20% 20%, rgba(125, 211, 252, 0.25), transparent 60%),
    radial-gradient(220px 140px at 80% 80%, rgba(52, 211, 153, 0.18), transparent 65%);
  opacity: 0.65;
  animation: fpGlowPulse 6.5s ease-in-out infinite;
  pointer-events: none;
}

.fp-hero-visual > * {
  position: relative;
  z-index: 1;
}

@keyframes fpCaretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes fpFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fpGlowPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}

@media (max-width: 781px) {
  .fp-section h2::after {
    margin-top: 11px;
  }

  .fp-hero {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  .fp-checklist {
    grid-template-columns: 1fr;
  }

  .fp-problem .fp-centered-copy,
  .fp-story .fp-centered-copy,
  .fp-urgency .fp-centered-copy,
  .fp-guarantee .fp-centered-copy {
    border-radius: 16px;
    padding: 22px;
  }

  .fp-problem ul,
  .fp-story ul,
  .fp-urgency ul {
    grid-template-columns: 1fr;
  }

  .fp-product-card::before {
    top: 12px;
    right: 12px;
  }

  .fp-final-cta {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  .fp-accordion-item summary {
    padding-right: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-topbar::before,
  .fp-scan-card::before,
  .fp-hero-visual,
  .fp-hero-visual::after,
  .fp-typing-caret {
    animation: none;
  }

  .fp-checklist li,
  .fp-authority-card,
  .fp-high-card,
  .fp-stat-card,
  .fp-quiz-option .wp-block-button__link {
    transition: none;
  }
}

/* Spec lock overrides to match required wireframe values exactly. */
:root {
  --fp-shell: 1200px;
  --fp-shell-copy: 800px;
  --fp-section-y: 80px;
  --fp-gutter: 24px;
}

.fp-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.fp-topbar {
  min-height: 40px;
  height: 40px;
  background: #0b1f3a;
  font-size: 14px;
}

.fp-hero {
  min-height: clamp(600px, 72vh, 700px);
  background-color: #0a0f1c;
}

.fp-hero-copy h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
}

.fp-hero-copy p {
  font-size: 20px;
  color: #cbd5e1;
  max-width: 500px;
}

.fp-checklist li {
  margin: 8px 0;
}

.fp-checklist li::before {
  color: #10b981;
}

.fp-button-primary .wp-block-button__link,
.fp-button-secondary .wp-block-button__link {
  min-width: 220px;
  width: 220px;
  min-height: 56px;
  height: 56px;
  border-radius: 10px;
}

.fp-button-primary .wp-block-button__link {
  background: #2563eb;
}

.fp-button-secondary .wp-block-button__link {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.fp-problem {
  background: #f9fafb;
}

.fp-centered-copy p,
.fp-centered-copy li {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.fp-authority {
  background: #f3f4f6;
}

.fp-authority-card,
.fp-high-card {
  padding: 24px;
  border-radius: 12px;
}

.fp-card-icon {
  width: 32px;
  height: 32px;
}

.fp-scan {
  background: #0a0f1c;
}

.fp-scan-card {
  max-width: 600px;
  width: 100%;
  padding: 40px;
  border-radius: 16px;
  background: #ffffff;
}

.fp-quiz {
  max-width: 500px;
}

.fp-quiz-progress {
  height: 6px;
}

.fp-quiz-question {
  font-size: 22px;
  margin-bottom: 24px;
}

.fp-quiz-option .wp-block-button__link {
  min-height: 56px;
  height: 56px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
}

.fp-quiz-option .wp-block-button__link:hover,
.fp-quiz-option .wp-block-button__link:focus-visible {
  border-color: #2563eb;
}

.fp-quiz-option .wp-block-button__link.is-selected {
  border-color: #2563eb;
  background: #dbeafe;
}

.fp-results-box {
  max-width: 600px;
  padding: 32px;
  border-radius: 16px;
}

.fp-critical {
  background: #fef2f2;
}

.fp-moderate {
  background: #fffbeb;
}

.fp-minor {
  background: #ecfdf5;
}

.fp-product-card {
  max-width: 400px;
  padding: 32px;
  border-radius: 16px;
}

.fp-core-card {
  padding: 32px;
  border-radius: 16px;
}

.fp-guarantee .fp-centered-copy {
  max-width: 700px;
}

.fp-recurring-card {
  max-width: 500px;
}

.fp-accordion-item summary {
  min-height: 60px;
}

.fp-final-cta {
  background: #0a0f1c;
}

.fp-final-cta .fp-button-primary .wp-block-button__link,
.fp-final-cta .fp-button-secondary .wp-block-button__link {
  min-width: 260px;
  width: 260px;
  min-height: 60px;
  height: 60px;
}

.fp-footer {
  min-height: 120px;
}

@media (max-width: 781px) {
  :root {
    --fp-section-y: 48px;
    --fp-gutter: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  p,
  li {
    font-size: 16px;
  }

  .fp-hero .wp-block-columns {
    flex-direction: column;
  }

  .fp-hero .wp-block-column {
    flex-basis: 100% !important;
  }

  .fp-button-primary,
  .fp-button-secondary,
  .fp-button-primary .wp-block-button__link,
  .fp-button-secondary .wp-block-button__link,
  .fp-final-cta .fp-button-primary .wp-block-button__link,
  .fp-final-cta .fp-button-secondary .wp-block-button__link {
    min-width: 100%;
    width: 100%;
  }

  .fp-sticky-cta {
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    padding: 0 16px;
    z-index: 1000;
  }

  .fp-sticky-cta .wp-block-buttons,
  .fp-sticky-cta .wp-block-button,
  .fp-sticky-cta .wp-block-button__link {
    width: 100%;
  }

  .fp-sticky-cta .wp-block-button__link {
    min-height: 44px;
    height: 44px;
  }

  .wp-site-blocks {
    padding-bottom: 72px;
  }
}

@media (min-width: 782px) {
  .fp-sticky-cta {
    display: none !important;
  }
}
