:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg-dark: #070b12;
  --bg-card: #0e1626;
  --bg-card-hover: #142038;
  --bg-card-subtle: rgba(14, 22, 38, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #0284c7;
  --primary-light: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.18);
  --accent-teal: #0d9488;
  --accent-teal-light: #2dd4bf;
  --accent-rose: #e11d48;
  --accent-amber: #d97706;
  --accent-emerald: #059669;
  --accent-indigo: #6366f1;
  --border-color: #1e293b;
  --border-light: #334155;
  --border-accent: rgba(56, 189, 248, 0.4);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 12px 32px -6px rgba(0, 0, 0, 0.5), 0 4px 12px -2px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 45px -8px rgba(56, 189, 248, 0.35);
  --shadow-emerald: 0 0 35px -5px rgba(16, 185, 129, 0.35);
  --max-w: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------------------------------- */
/* Navigation Bar                                                             */
/* -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  display: block;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #0369a1 100%);
  color: #fff;
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-btn:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #070b12;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

/* -------------------------------------------------------------------------- */
/* Hero Section                                                               */
/* -------------------------------------------------------------------------- */
.hero {
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, rgba(13, 148, 136, 0.1) 40%, rgba(7, 11, 18, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto 24px;
}

.medical-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  color: #fde68a;
  max-width: 740px;
  margin: 0 auto 32px;
  line-height: 1.45;
  text-align: left;
}

.medical-disclaimer-banner {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 32px 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.medical-disclaimer-icon {
  color: #fbbf24;
  flex-shrink: 0;
  margin-top: 2px;
}

.medical-disclaimer-text {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.medical-disclaimer-text strong {
  color: #fef08a;
}

/* -------------------------------------------------------------------------- */
/* Official Store Badges                                                      */
/* -------------------------------------------------------------------------- */
.store-buttons-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.official-store-badge {
  display: inline-block;
  height: 50px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
}

.official-store-badge img {
  height: 50px;
  width: auto;
  display: block;
}

.official-store-badge.is-coming-soon {
  cursor: default;
  opacity: 0.9;
}

.official-store-badge.is-coming-soon:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}

/* -------------------------------------------------------------------------- */
/* Hero Card Snapshot                                                         */
/* -------------------------------------------------------------------------- */
.hero-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
  text-align: left;
}

.snapshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.snapshot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.snapshot-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
}

.tag-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.tag-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.tag-amber { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

.snapshot-val {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.snapshot-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* Section Common Styles                                                      */
/* -------------------------------------------------------------------------- */
.section {
  padding: 90px 0;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* Features Grid                                                              */
/* -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.6);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* PDF Preview & Printable Showcase (Exact PDF Replica)                       */
/* -------------------------------------------------------------------------- */
.pdf-showcase-box {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(14, 22, 38, 0.95) 0%, rgba(9, 14, 24, 0.95) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.pdf-showcase-content {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: center;
}

.pdf-showcase-text h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}

.pdf-showcase-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.pdf-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdf-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: 0.92rem;
}

/* Exact Sheet Replica */
.pdf-preview-sheet {
  background: #ffffff;
  color: #0f172a;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  border: 1px solid #cbd5e1;
  overflow-x: auto;
}

.pdf-sheet-main-header {
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.pdf-sheet-main-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.pdf-sheet-patient-meta {
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
  margin-top: 4px;
}

/* PDF Bar Chart Section */
.pdf-chart-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 16px 14px;
  margin-bottom: 16px;
}

.pdf-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.pdf-chart-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdf-chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: #334155;
  font-weight: 600;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-box {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend-box.box-d1 { background: #e11d48; }
.legend-box.box-d2 { background: #0284c7; }

.legend-line {
  width: 16px;
  height: 2px;
  background: #10b981;
}

/* Chart Canvas / Graphic (7-Day Responsive Layout) */
.pdf-chart-canvas {
  position: relative;
  height: 110px;
  border-left: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 10px;
}

.pdf-goal-line {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 2px;
  background: #10b981;
  z-index: 1;
  opacity: 0.85;
}

.pdf-day-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.pdf-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 90px;
}

.pdf-bar {
  width: 13px;
  border-radius: 2px 2px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  padding-top: 1px;
}

.pdf-bar-d1 { background: #e11d48; }
.pdf-bar-d2 { background: #0284c7; }

.pdf-day-label {
  font-size: 0.64rem;
  color: #475569;
  font-weight: 600;
}

/* PDF Table Section */
.pdf-table-wrapper {
  overflow-x: auto;
  max-height: 380px;
}

.pdf-replica-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
  border: 1px solid #cbd5e1;
}

.pdf-replica-table th {
  background: #1e293b;
  color: #ffffff;
  padding: 5px 6px;
  font-weight: 700;
  text-align: center;
  border: 1px solid #334155;
}

.pdf-replica-table td {
  padding: 5px 6px;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  vertical-align: top;
}

.pdf-cell-center {
  text-align: center;
}

.pdf-cell-right {
  text-align: right;
}

.pdf-entry-meta {
  font-size: 0.62rem;
  color: #64748b;
  margin-top: 1px;
  line-height: 1.25;
}

.pdf-fluid-maroon {
  color: #7c1d2e;
  font-weight: 600;
}

.pdf-fluid-pink {
  color: #9e2a4a;
  font-weight: 600;
}

.pdf-fluid-straw {
  color: #78560a;
  font-weight: 600;
}

.pdf-grand-total-row td {
  background: #f1f5f9;
  font-weight: 800;
  border-top: 2px solid #cbd5e1;
}

.pdf-sheet-footer {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #64748b;
}

/* -------------------------------------------------------------------------- */
/* App Screenshots Gallery Section                                            */
/* -------------------------------------------------------------------------- */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}

.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screenshot-frame {
  width: 100%;
  max-width: 280px;
  background: #000000;
  border: 7px solid #1e293b;
  border-radius: 36px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover .screenshot-frame {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.3), 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

.screenshot-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.screenshot-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* 6-Option Fluid Characteristic Guide (Exact App Colors)                    */
/* -------------------------------------------------------------------------- */
.fluid-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.fluid-interactive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.fluid-interactive-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.fluid-interactive-card.is-selected {
  border-color: var(--primary-light);
  background: var(--bg-card-hover);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.fluid-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 14px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.6);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Exact hex colors from app DRAIN_COLOR_PRESETS */
.swatch-sanguineous { background: #7c1d2e; }
.swatch-serosanguineous { background: #9e2a4a; }
.swatch-serous { background: #78560a; }
.swatch-purulent { background: #3d4a00; }
.swatch-bilious { background: #1a4208; }
.swatch-chylous { background: #b8b4a0; }

.fluid-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.fluid-brief {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.fluid-status-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
}

.tag-normal { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.tag-alert { background: rgba(225, 29, 72, 0.15); color: #fb7185; }

.fluid-detail-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
}

/* -------------------------------------------------------------------------- */
/* Security, Privacy & AI Governance Section                                  */
/* -------------------------------------------------------------------------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
}

.security-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(2, 132, 199, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-card-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.security-card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* FAQ Accordion                                                              */
/* -------------------------------------------------------------------------- */
.faq-grid {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--border-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  color: var(--text-main);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  transition: transform 0.25s ease;
  color: var(--primary-light);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  padding: 0 24px;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding: 0 24px 22px;
}

/* -------------------------------------------------------------------------- */
/* Bottom CTA Banner                                                          */
/* -------------------------------------------------------------------------- */
.cta-section {
  padding: 100px 0;
  position: relative;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(13, 148, 136, 0.15) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 36px;
}

/* -------------------------------------------------------------------------- */
/* Footer & Legal Pages                                                       */
/* -------------------------------------------------------------------------- */
.footer {
  background: #05080e;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 340px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* Subpage Legal Content */
.legal-content {
  padding: 60px 0 80px;
  max-width: 840px;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-body h2 {
  color: var(--text-main);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 36px 0 14px;
}

.legal-body h3 {
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 22px 0 8px;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul {
  margin: 0 0 18px 24px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body code {
  background: #111a2e;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-light);
  font-size: 0.9em;
}

/* -------------------------------------------------------------------------- */
/* Responsive Queries                                                         */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .fluid-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .hero-snapshot-grid { grid-template-columns: 1fr; }
  .pdf-showcase-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #090e17;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    gap: 18px;
  }

  .nav-links.is-open { display: flex; }
  .mobile-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .fluid-grid-6 { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
