/* ═══════════════════════════════════════════════════════
   TayzoPrompter - Premium Marketing CSS Design System
   Inspired by Apple Pro apps and professional creator tools
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base Styles ─────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #05070c;
  --bg-deep: #090e16;
  --bg-card: rgba(15, 21, 31, 0.62);
  --bg-card-hover: rgba(19, 27, 40, 0.8);
  --border-subtle: rgba(144, 173, 208, 0.12);
  --border-hover: rgba(156, 192, 230, 0.22);
  --border-active: rgba(113, 180, 240, 0.34);

  --text-primary: #f4f7fb;
  --text-secondary: #a3adbc;
  --text-tertiary: #687589;
  --text-muted: #445064;

  --accent-cyan: #83c9fa;
  --accent-blue: #4f86f5;
  --accent-blue-rgb: 79, 134, 245;
  --accent-cyan-rgb: 131, 201, 250;
  --accent-gradient: linear-gradient(118deg, #b6e1ff 0%, #79c4fb 34%, #4f86f5 100%);
  --ambient-cyan: rgba(113, 183, 242, 0.06);
  --ambient-blue: rgba(52, 94, 175, 0.08);

  --font-title: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

  --nav-height: 72px;
  --section-pad: clamp(92px, 11vw, 148px);
  --content-max: 1120px;

  --ease-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--black);
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 62, 109, 0.22), transparent 34rem),
    var(--black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(var(--accent-cyan-rgb), 0.22);
  color: var(--text-primary);
}

/* ── Typography & Headings ───────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.title-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Custom Scrollbar ────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 5px;
  border: 2px solid var(--black);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s var(--ease-smooth);
  border-bottom: 1px solid transparent;
  background: rgba(6, 7, 10, 0.1);
}

.nav.scrolled {
  background: rgba(6, 7, 10, 0.75);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.9;
}

.nav-logo img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 18px;
  border-radius: 980px;
  border: 1px solid var(--border-subtle);
  transition: all 0.25s var(--ease-smooth);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* ── Section Scaffolding ──────────────────────────────── */
.section {
  position: relative;
  padding: var(--section-pad) 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}

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

.overline {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #000;
  background: var(--accent-gradient);
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 20px rgba(var(--accent-cyan-rgb), 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-cyan-rgb), 0.26);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 980px;
  transition: all 0.3s var(--ease-out);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* ── Feature Comparison Section ─────────────────────────── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
}

.comparison-card.pro-card {
  border-color: var(--border-active);
  background: linear-gradient(180deg, rgba(22, 26, 38, 0.6) 0%, rgba(12, 14, 20, 0.4) 100%);
}

.comparison-card.pro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.comparison-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comparison-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.comparison-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-list .icon-bad {
  color: #ff453a;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-list .icon-good {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Three Column Features (Mini Prompter, ProRes, Secondary) ── */
.feature-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.grid-card-top h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.grid-card-top p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.grid-card-icon {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.grid-card-bottom {
  margin-top: 24px;
}

.badge-pro {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ff9500;
  border: 1px solid rgba(255, 149, 0, 0.3);
  background: rgba(255, 149, 0, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* ── Narrative Layout (ProRes, Mini Prompter Detail) ── */
.narrative-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.narrative-block.reverse {
  direction: rtl;
}

.narrative-block.reverse .narrative-text {
  direction: ltr;
}

.narrative-text h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.narrative-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.narrative-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.narrative-bullets li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.narrative-bullets li strong {
  color: var(--text-primary);
}

.bullet-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.narrative-visual-slot {
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Interactive ProRes Codec Badge Visualizer */
.prores-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80%;
  max-width: 320px;
  z-index: 2;
}

.prores-badge {
  background: rgba(6, 7, 10, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s var(--ease-smooth);
}

.prores-badge.active {
  border-color: var(--accent-cyan);
  background: rgba(var(--accent-cyan-rgb), 0.05);
  box-shadow: 0 4px 20px rgba(var(--accent-cyan-rgb), 0.1);
}

.prores-badge-info h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.prores-badge-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.prores-tag {
  font-family: var(--font-title);
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

/* ── macOS Native Specifications (Feature Grid) ──────── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.spec-card {
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.spec-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.spec-icon {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.spec-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.spec-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── CTA / Pricing Section ───────────────────────────── */
.cta-section {
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.04) 0%, transparent 60%);
  padding: 100px 24px;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px 36px;
  width: 100%;
  max-width: 380px;
  text-align: left;
  transition: all 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.studio-card {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(22, 26, 38, 0.8) 0%, rgba(12, 14, 20, 0.5) 100%);
  box-shadow: 0 4px 30px rgba(var(--accent-cyan-rgb), 0.08);
}

.pricing-tier {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-subprice {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: -18px;
  margin-bottom: 24px;
  font-weight: 500;
}

.pricing-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex: 1;
}

.pricing-bullets li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-bullets li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ── Google Data Transparency Block ──────────────────── */
.data-transparency {
  background: #090a0f;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 24px;
}

.transparency-content {
  max-width: 800px;
  margin: 0 auto;
}

.transparency-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.transparency-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.transparency-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.transparency-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.transparency-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.transparency-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  padding: 60px 24px;
  background: var(--black);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand-desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-link-group h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-link-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-group a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link-group a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: var(--content-max);
  margin: 24px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Responsive Styling ──────────────────────────────── */
@media (max-width: 960px) {
  .feature-row-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .narrative-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .narrative-block.reverse {
    direction: ltr;
  }
  .narrative-block.reverse .narrative-text {
    direction: ltr;
  }
  .narrative-visual-slot {
    height: 320px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  .nav-links {
    display: none;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .transparency-cards {
    grid-template-columns: 1fr;
  }
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}

/* -- Refined public marketing surfaces ----------------- */
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.line-icon {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 44% 30% at 50% 10%, rgba(78, 129, 201, 0.1), transparent),
    radial-gradient(ellipse 46% 32% at 80% 45%, rgba(47, 94, 153, 0.06), transparent);
}

.nav {
  height: 70px;
  background: rgba(5, 7, 12, 0.28);
}

.nav.scrolled {
  background: rgba(5, 7, 12, 0.74);
  border-color: rgba(151, 181, 218, 0.1);
}

.nav-logo {
  gap: 11px;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.nav-logo img {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(4, 8, 16, 0.48);
}

.nav-links {
  gap: 32px;
}

.nav-link {
  font-size: 0.84rem;
  color: #96a2b4;
}

.nav-cta {
  font-weight: 500;
  padding: 8px 17px;
  background: rgba(148, 177, 211, 0.07);
  border-color: rgba(151, 181, 218, 0.14);
}

.nav-cta:hover {
  background: rgba(148, 177, 211, 0.12);
  border-color: rgba(151, 181, 218, 0.24);
}

.section {
  border-bottom: 0;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: max(24px, calc((100% - var(--content-max)) / 2));
  right: max(24px, calc((100% - var(--content-max)) / 2));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 18%, var(--border-subtle) 82%, transparent);
}

.section-header {
  max-width: 700px;
  margin-bottom: 62px;
}

.overline {
  font-family: var(--font-body);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #87c5f3;
  margin-bottom: 19px;
}

.section-title {
  font-size: clamp(2.15rem, 4.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}

.section-desc {
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.72;
  color: var(--text-secondary);
}

.btn-primary,
.btn-ghost {
  font-weight: 500;
  padding: 13px 28px;
  transition:
    transform 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out),
    background 0.32s var(--ease-out),
    box-shadow 0.32s var(--ease-out);
}

.btn-primary {
  color: #06101c;
  box-shadow:
    0 12px 28px rgba(45, 94, 168, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 17px 38px rgba(48, 105, 184, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-ghost {
  border-color: rgba(151, 181, 218, 0.16);
  background: rgba(133, 162, 195, 0.035);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(151, 181, 218, 0.26);
  background: rgba(133, 162, 195, 0.08);
}

.comparison-grid {
  gap: 22px;
  margin-top: 44px;
}

.comparison-card,
.grid-card,
.spec-card,
.pricing-card,
.transparency-card {
  background:
    linear-gradient(145deg, rgba(21, 28, 39, 0.72), rgba(9, 13, 21, 0.62));
  border-color: var(--border-subtle);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.028),
    0 18px 54px rgba(0, 0, 0, 0.16);
}

.comparison-card {
  border-radius: 26px;
  padding: 42px 40px;
}

.comparison-card.pro-card {
  border-color: rgba(112, 176, 235, 0.27);
  background:
    radial-gradient(circle at 18% 0%, rgba(76, 134, 201, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(20, 29, 42, 0.84), rgba(9, 13, 21, 0.62));
}

.comparison-card.pro-card::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 201, 250, 0.75), transparent);
}

.comparison-card h3 {
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 29px;
}

.comparison-list {
  gap: 20px;
}

.comparison-list li {
  line-height: 1.62;
  gap: 14px;
}

.list-icon {
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.list-icon.positive {
  color: var(--accent-cyan);
}

.list-icon.negative {
  color: #737f90;
}

.feature-row-grid {
  gap: 18px;
}

.grid-card {
  padding: 34px 30px 31px;
  border-radius: 24px;
  min-height: 255px;
}

.grid-card:hover,
.spec-card:hover,
.transparency-card:hover {
  border-color: rgba(140, 183, 221, 0.23);
  background:
    linear-gradient(145deg, rgba(24, 33, 48, 0.78), rgba(10, 15, 24, 0.72));
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 26px 58px rgba(0, 0, 0, 0.22);
}

.grid-card-icon,
.spec-icon,
.transparency-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  border: 1px solid rgba(125, 188, 239, 0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93d1fc;
  background:
    radial-gradient(circle at 50% 20%, rgba(128, 197, 247, 0.12), transparent 68%),
    rgba(109, 171, 229, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(212, 234, 255, 0.08),
    0 13px 33px rgba(37, 80, 138, 0.12);
}

.grid-card-icon .line-icon,
.spec-icon .line-icon,
.transparency-icon .line-icon {
  width: 23px;
  height: 23px;
}

.grid-card-top h3 {
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 13px;
  letter-spacing: -0.035em;
}

.grid-card-top p {
  font-size: 0.9rem;
  line-height: 1.68;
}

.badge-pro {
  border-radius: 999px;
  color: #98cffa;
  border-color: rgba(125, 188, 239, 0.2);
  background: rgba(110, 172, 227, 0.065);
  letter-spacing: 0.13em;
  font-weight: 600;
  padding: 4px 10px;
}

.narrative-block {
  gap: clamp(48px, 7vw, 80px);
}

.narrative-text h3 {
  font-size: clamp(2rem, 3.8vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  margin-bottom: 19px;
}

.narrative-text p {
  color: var(--text-secondary);
  line-height: 1.73;
  margin-bottom: 28px;
}

.narrative-bullets {
  gap: 19px;
}

.narrative-bullets li {
  line-height: 1.58;
  gap: 14px;
}

.narrative-visual-slot {
  height: 390px;
  border-radius: 30px;
  border-color: rgba(145, 178, 214, 0.12);
  background:
    radial-gradient(ellipse at 50% 48%, rgba(62, 116, 184, 0.12), transparent 58%),
    linear-gradient(145deg, rgba(13, 19, 29, 0.68), rgba(7, 10, 17, 0.52));
  box-shadow:
    inset 0 1px 0 rgba(236, 245, 255, 0.03),
    0 30px 70px rgba(0, 0, 0, 0.14);
}

.mini-window {
  width: 84%;
  max-width: 366px;
  padding: 18px 19px 17px;
  z-index: 2;
  border: 1px solid rgba(155, 186, 222, 0.16);
  border-radius: 18px;
  background: rgba(8, 12, 19, 0.78);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(228, 241, 255, 0.05);
  backdrop-filter: blur(18px);
}

.mini-window-header,
.mini-window-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-window-header {
  border-bottom: 1px solid rgba(158, 188, 224, 0.1);
  padding-bottom: 12px;
}

.mini-window-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #91caf6;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(var(--accent-cyan-rgb), 0.62);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(156, 184, 215, 0.28);
}

.mini-window-copy {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.5;
  text-align: center;
  margin: 27px 12px;
}

.mini-window-copy span {
  color: #94d0fc;
  text-shadow: 0 0 21px rgba(var(--accent-cyan-rgb), 0.18);
}

.mini-window-footer {
  border-top: 1px solid rgba(158, 188, 224, 0.1);
  padding-top: 12px;
  color: var(--text-tertiary);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

.prores-selector {
  gap: 10px;
  width: 84%;
  max-width: 340px;
}

.prores-badge {
  padding: 18px 17px;
  border-radius: 14px;
  border-color: rgba(144, 173, 208, 0.13);
  background: rgba(8, 12, 20, 0.56);
}

.prores-badge.active {
  border-color: rgba(125, 188, 239, 0.34);
  background: rgba(48, 88, 135, 0.13);
  box-shadow: 0 14px 36px rgba(32, 72, 121, 0.18);
}

.prores-badge-info h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.prores-badge-info p {
  margin-top: 4px;
}

.prores-tag {
  font-family: var(--font-body);
  color: #8ec8f5;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.display-flow {
  position: relative;
  width: 84%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.display-node {
  padding: 15px 16px;
  border: 1px solid rgba(144, 173, 208, 0.12);
  border-radius: 15px;
  background: rgba(17, 23, 34, 0.58);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.display-node.is-active {
  border-color: rgba(125, 188, 239, 0.28);
  background: rgba(25, 43, 63, 0.48);
  box-shadow: 0 17px 40px rgba(31, 67, 111, 0.14);
}

.display-node-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
}

.display-node-title .line-icon {
  width: 22px;
  height: 22px;
  color: #8ecaf7;
}

.display-status {
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86c2f0;
  white-space: nowrap;
}

.display-connector {
  height: 15px;
  width: 1px;
  margin-left: 28px;
  background: linear-gradient(rgba(125, 188, 239, 0.34), transparent);
}

.specs-grid {
  gap: 16px;
  margin-top: 47px;
}

.spec-card {
  padding: 27px 24px 28px;
  border-radius: 21px;
}

.spec-icon {
  width: 43px;
  height: 43px;
  margin-bottom: 20px;
  border-radius: 13px;
}

.spec-icon .line-icon {
  width: 21px;
  height: 21px;
}

.spec-card h4 {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  margin-bottom: 10px;
}

.spec-card p {
  font-size: 0.83rem;
  line-height: 1.62;
}

.cta-section {
  padding: clamp(96px, 12vw, 140px) 24px;
  background:
    radial-gradient(ellipse at center, rgba(57, 108, 175, 0.11), transparent 60%);
}

.pricing-cards {
  gap: 20px;
  margin-top: 58px;
}

.pricing-card {
  border-radius: 27px;
  padding: 42px 34px 34px;
  max-width: 388px;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 183, 221, 0.22);
  box-shadow: 0 30px 62px rgba(0, 0, 0, 0.24);
}

.pricing-card.studio-card {
  border-color: rgba(125, 188, 239, 0.3);
  background:
    radial-gradient(circle at 50% 0%, rgba(80, 142, 210, 0.13), transparent 40%),
    linear-gradient(145deg, rgba(20, 28, 42, 0.82), rgba(9, 13, 21, 0.66));
  box-shadow: 0 20px 56px rgba(20, 52, 90, 0.16);
}

.pricing-tier {
  font-size: 1.27rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.pricing-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pricing-featured-header .pricing-tier {
  margin-bottom: 14px;
}

.badge-pro.recommended {
  margin-bottom: 14px;
  background: rgba(110, 172, 227, 0.07);
  border-color: rgba(125, 188, 239, 0.2);
  color: #8dc7f4;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -0.06em;
  margin-bottom: 30px;
}

.pricing-subprice {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: -24px;
  margin-bottom: 30px;
  font-weight: 500;
}

.pricing-bullets {
  gap: 17px;
  margin-bottom: 37px;
}

.pricing-bullets li {
  line-height: 1.45;
}

.pricing-action {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.data-transparency {
  position: relative;
  padding: clamp(94px, 11vw, 132px) 24px;
  border-top-color: rgba(144, 173, 208, 0.1);
  border-bottom-color: rgba(144, 173, 208, 0.1);
  background:
    radial-gradient(ellipse 44% 52% at 50% 46%, rgba(53, 100, 158, 0.12), transparent 72%),
    rgba(7, 10, 17, 0.74);
}

.transparency-content {
  max-width: 1040px;
}

.transparency-intro {
  max-width: 715px;
  margin: 0 auto 48px;
  text-align: center;
}

.transparency-intro h2 {
  font-size: clamp(2.12rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.052em;
  margin-bottom: 22px;
}

.transparency-intro p {
  color: var(--text-secondary);
  line-height: 1.73;
  font-size: 0.96rem;
  margin-bottom: 14px;
}

.transparency-intro strong {
  color: #d3dbe6;
  font-weight: 500;
}

.transparency-cards {
  gap: 17px;
  margin-top: 0;
}

.transparency-card {
  min-height: 225px;
  padding: 28px 26px;
  border-radius: 23px;
}

.transparency-card h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  margin-bottom: 10px;
}

.transparency-card p {
  font-size: 0.84rem;
  line-height: 1.62;
}

.footer {
  padding: 64px 24px 38px;
}

.footer-inner {
  border-color: rgba(144, 173, 208, 0.1);
  padding-bottom: 46px;
}

.footer-wordmark {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.26rem;
}

.footer-brand-desc,
.footer-bottom {
  color: #657287;
}

.footer-link-group h4 {
  font-size: 0.69rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.footer-link-group a {
  font-size: 0.84rem;
}

.mobile-contact {
  margin-top: 16px;
}

/* Subtle entry motion, enabled only when scripting is available. */
.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.72s var(--ease-out),
    transform 0.72s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Public legal and error pages use the same quiet material system. */
.legal-page {
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
  line-height: 1.72;
  background:
    radial-gradient(ellipse 48% 25% at 50% 0%, rgba(43, 82, 132, 0.16), transparent),
    var(--black);
}

.legal-header {
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(144, 173, 208, 0.1);
  background: rgba(5, 7, 12, 0.7);
}

.legal-header-inner {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-brand {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.legal-back {
  color: var(--text-secondary);
  font-size: 0.84rem;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--text-primary);
}

.legal-shell {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 88px) 0 92px;
}

.legal-shell h1 {
  color: var(--text-primary);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.12;
  padding-bottom: 0;
  margin-bottom: 16px;
  border-bottom: 0;
}

.legal-shell .legal-meta {
  color: var(--text-tertiary);
  margin-bottom: 46px;
  font-size: 0.88rem;
  font-style: normal;
}

.legal-shell h2 {
  color: var(--text-primary);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.032em;
  margin-top: 48px;
  margin-bottom: 14px;
}

.legal-shell h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-top: 30px;
  margin-bottom: 13px;
}

.legal-shell p {
  margin-bottom: 13px;
}

.legal-shell a {
  color: #8ecaf7;
}

.legal-shell a:hover {
  color: #bedffc;
}

.legal-shell ul,
.legal-shell ol {
  margin: 10px 0 22px;
  padding-left: 23px;
}

.legal-shell li {
  padding-left: 4px;
  margin-bottom: 5px;
}

.legal-shell hr {
  border: 0;
  border-top: 1px solid rgba(144, 173, 208, 0.1);
  margin: 36px 0;
}

.error-page {
  min-height: 100vh;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.error-page .container {
  max-width: 470px;
  width: 100%;
  text-align: center;
  padding: 54px 42px 46px;
  border-radius: 29px;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at 50% 0%, rgba(71, 129, 195, 0.12), transparent 48%),
    linear-gradient(145deg, rgba(19, 26, 38, 0.74), rgba(8, 12, 20, 0.68));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.error-icon-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  margin: 0 auto 30px;
  color: #91caf7;
  border: 1px solid rgba(125, 188, 239, 0.2);
  background: rgba(110, 172, 227, 0.06);
}

.error-icon {
  width: 29px;
  height: 29px;
}

.error-page h1 {
  font-size: 2rem;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: -0.052em;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

@media (max-width: 960px) {
  .grid-card {
    min-height: 0;
  }

  .display-node {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .transparency-intro {
    text-align: left;
    margin-bottom: 38px;
  }

  .transparency-card {
    min-height: 0;
  }

  .legal-shell,
  .legal-header-inner {
    width: min(820px, calc(100% - 38px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
  }
}
