@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --color-brand: #dc2626;
  --color-brand-dark: #b91c1c;
  --color-ink: #0f172a;
  --color-muted: #475569;
  --shadow-card: 0 4px 6px -1px rgb(15 23 42 / 0.06), 0 12px 24px -8px rgb(15 23 42 / 0.12);
  --shadow-card-hover: 0 20px 40px -12px rgb(220 38 38 / 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
}

/* Logo */
.site-logo {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.12);
}

.site-logo-footer {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 0.65rem;
  object-fit: cover;
}

.brand-lockup {
  text-decoration: none;
}

.brand-lockup:hover .brand-name {
  color: var(--color-brand-dark);
}

.brand-name {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-ink);
}

.brand-name span {
  color: var(--color-brand);
}

.brand-name--light {
  color: #fff;
}

.brand-name--light span {
  color: #fca5a5;
}

/* Header */
.site-header {
  border-bottom: 1px solid rgb(226 232 240 / 0.9);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.04), 0 8px 24px -12px rgb(15 23 42 / 0.08);
}

.site-header--dark {
  border-bottom-color: rgb(255 255 255 / 0.08);
  background: rgb(8 12 28 / 0.55);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.35), inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.site-header--dark .brand-name {
  color: #fff;
}

.site-header--dark .brand-name span {
  color: #fb7185;
}

.site-header--dark .site-nav a {
  color: rgb(226 232 240 / 0.85);
}

.site-header--dark .site-nav a:hover,
.site-header--dark .site-nav a[aria-current="page"] {
  color: #fff;
}

.site-header--dark .mobile-menu summary {
  border-color: rgb(255 255 255 / 0.15);
  color: #fff;
  background: rgb(255 255 255 / 0.06);
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-brand);
  border-radius: 2px;
}

.site-nav a[aria-current="page"] {
  color: var(--color-brand);
  font-weight: 700;
}

.btn-download-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgb(220 38 38 / 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-download-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgb(220 38 38 / 0.45);
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 0.875rem;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 220px;
  padding: 0.75rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-card);
  z-index: 60;
}

.mobile-menu-panel a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: var(--color-muted);
}

.mobile-menu-panel a:hover {
  background: #fef2f2;
  color: var(--color-brand);
}

/* Typography helpers */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 9999px;
}

.section-title {
  margin-top: 1rem;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.section-lead {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-muted);
}

/* Hero styles: see hero-cinematic.css (home page) */

/* Legacy hero helpers (other pages) */
.quick-answer {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgb(255 255 255 / 0.08);
  border-left: 4px solid #f87171;
  border-radius: 0 0.75rem 0.75rem 0;
  font-size: 1rem;
  color: #e2e8f0;
}

.quick-answer strong {
  color: #fff;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #fb7185 0%, #ef4444 45%, #dc2626 100%);
  border-radius: 1rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  box-shadow:
    0 8px 32px rgb(239 68 68 / 0.55),
    0 0 40px rgb(236 72 153 / 0.25),
    inset 0 1px 0 rgb(255 255 255 / 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgb(239 68 68 / 0.6),
    0 0 50px rgb(236 72 153 / 0.35);
}

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.06);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
  transition: background 0.15s, border-color 0.15s;
}

.btn-outline-lg:hover {
  background: rgb(255 255 255 / 0.14);
  border-color: rgb(255 255 255 / 0.45);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgb(0 0 0 / 0.2);
  border-radius: 9999px;
}

/* Stats */
.stats-bar {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 -20px 60px rgb(0 0 0 / 0.15);
}

.stats-bar--glass {
  margin-top: -1.5rem;
  border-radius: 1.5rem 1.5rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.2);
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1.2;
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
}

/* Page nav strip */
.page-nav-strip {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 4rem;
  z-index: 40;
  box-shadow: 0 4px 12px -4px rgb(15 23 42 / 0.06);
}

.page-nav-strip a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  border-radius: 9999px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.page-nav-strip a:hover {
  background: #fef2f2;
  color: var(--color-brand);
}

/* Cards */
.card-pro {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card-pro:hover {
  border-color: #fecaca;
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card-pro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-radius: 1rem;
  color: var(--color-brand);
}

.card-pro h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-ink);
}

.card-pro p {
  margin-top: 0.65rem;
  flex-grow: 1;
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.card-pro-cta {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand);
}

/* Use case cards */
.use-case-card {
  padding: 2rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--color-brand);
}

.use-case-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.use-case-card p {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* Section backgrounds */
.section-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.section-white {
  background: #fff;
}

/* Comparison table */
.compare-table th,
.compare-table td {
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.compare-table thead {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.compare-table tbody tr:hover {
  background: #fef2f2;
}

.check-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #15803d;
}

/* Reviews */
.review-card {
  width: 22rem;
  flex-shrink: 0;
  padding: 1.75rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-card);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
}

.review-card p {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-style: italic;
  color: #334155;
  line-height: 1.6;
}

.review-card footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-ink);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-track {
  animation: marquee 50s linear infinite;
}

.review-track:hover {
  animation-play-state: paused;
}

/* FAQ cards */
.faq-card {
  padding: 1.5rem 1.75rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.04);
}

.faq-card dt {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-ink);
}

.faq-card dt::before {
  content: "?";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  background: var(--color-brand);
  border-radius: 0.5rem;
}

.faq-card dd {
  margin-top: 0.75rem;
  margin-left: 2.5rem;
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* Trust block */
.trust-panel {
  display: grid;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0;
  border-radius: 1.5rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgb(255 255 255 / 0.12), transparent 50%);
}

/* Inner page hero */
.page-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}

/* Feature article blocks */
.feature-block {
  padding: 2.5rem;
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-card);
}

.feature-block h2 {
  font-size: 1.75rem;
  font-weight: 800;
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  background: var(--color-brand);
  border-radius: 0.75rem;
}

/* Accordion FAQ page */
.faq-accordion-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-accordion-item:hover {
  border-color: #fecaca;
}

.faq-accordion-item button {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: left;
  color: var(--color-ink);
}

.faq-accordion-item [id^="faq-"] {
  padding: 0 1.5rem 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-muted);
}

/* Floating download */
.floating-dl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.35rem;
  font-weight: 800;
  font-size: 0.9375rem;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 9999px;
  box-shadow: 0 8px 28px rgb(220 38 38 / 0.45);
  transition: transform 0.15s;
}

.floating-dl:hover {
  transform: scale(1.04);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0f172a, #020617);
}

.site-footer h3 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer a:hover {
  color: #fff;
}

/* Download cards */
.download-card {
  padding: 2rem;
  background: #fff;
  border-radius: 1.5rem;
  border: 2px solid #e2e8f0;
  box-shadow: var(--shadow-card);
}

.download-card-featured {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
}

/* Guide steps */
.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  color: var(--color-muted);
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
  color: #fff;
  background: var(--color-brand);
  border-radius: 0.65rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: fixed;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  z-index: 200;
}
