/* ==========================================================================
   PixelUp — Official Marketing Website Styles
   Theme: Native Windows Desktop Dark / Fluent Design
   Typography: System Segoe UI (Zero external CDN fonts)
   Accent: Turquoise #2DD4BF / Dark Mark #06231F
   ========================================================================== */

:root {
  --bg-app: #0d0f12;
  --bg-surface: #14171c;
  --bg-surface-raised: #1b1f26;
  --bg-card: #202530;
  --bg-card-hover: #262c39;
  --bg-callout: #162424;
  --bg-callout-border: #1f3b39;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(45, 212, 191, 0.35);

  --accent-primary: #2dd4bf;
  --accent-hover: #26bba8;
  --accent-active: #1f9d8d;
  --accent-dim: rgba(45, 212, 191, 0.12);
  --accent-text: #06231f;

  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-inverse: #06231f;

  --color-success: #10b981;
  --color-info: #38bdf8;
  --color-warning: #f59e0b;

  --font-family-base: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-mono: Consolas, "Cascadia Code", "Courier New", monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.65);
  --shadow-window: 0 18px 48px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);

  --container-max: 1200px;
  --container-pad: 24px;
}

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

html {
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-primary);
  background-color: var(--bg-app);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-app);
  overflow-x: hidden;
  width: 100%;
}

/* Accessibility Focus */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #5eead4;
  text-decoration: underline;
}

code, kbd, pre {
  font-family: var(--font-family-mono);
  font-size: 0.9em;
}

img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 20px;
  background: var(--accent-primary);
  color: var(--accent-text);
  padding: 10px 18px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 9999;
}
.skip-link:focus {
  top: 20px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}
.brand-link:hover {
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--accent-text);
  border-color: var(--accent-primary);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-text);
}

.btn-secondary {
  background-color: var(--bg-surface-raised);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background-color: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.0625rem;
}

/* CTA "Available Soon" State */
.btn-cta-soon {
  background: var(--bg-surface-raised);
  color: var(--accent-primary);
  border: 1px solid var(--border-highlight);
  cursor: default;
}

.btn-cta-soon .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: inline-block;
}

/* ==========================================================================
   Badges & Tags
   ========================================================================== */
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  max-width: 100%;
}

.badge-accent {
  background-color: var(--accent-dim);
  color: var(--accent-primary);
  border-color: rgba(45, 212, 191, 0.25);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 72px 0 60px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  margin-bottom: 48px;
}

.hero-showcase {
  margin-top: 12px;
  position: relative;
}

.showcase-window {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  position: relative;
}

.showcase-window img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Value Pillars (5-second comprehension)
   ========================================================================== */
.value-pillars-section {
  padding: 48px 0 72px;
  border-bottom: 1px solid var(--border-subtle);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.15s ease;
}

.pillar-card:hover {
  border-color: var(--border-medium);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.pillar-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Feature Showcase Sections (Upscale & Remove Background)
   ========================================================================== */
.feature-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.feature-grid.reverse {
  grid-template-columns: 1.15fr 1fr;
}

.feature-meta {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.feature-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  overflow-wrap: break-word;
}

.feature-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-bottom: 32px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

.benefits-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* Accessible HTML Callout Encarts */
.callout-box {
  background: var(--bg-callout);
  border: 1px solid var(--bg-callout-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-wrap: break-word;
}

.callout-primary {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-primary);
  font-family: var(--font-family-mono);
  letter-spacing: 0.02em;
}

.callout-secondary {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Feature Media & Thumbnails */
.feature-media-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  position: relative;
}

.media-window img {
  width: 100%;
  height: auto;
  display: block;
}

.media-interactive-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  position: relative;
}

.zoom-overlay-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(6, 35, 31, 0.88);
  backdrop-filter: blur(8px);
  color: var(--accent-primary);
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.media-interactive-btn:hover .zoom-overlay-hint {
  background: rgba(6, 35, 31, 0.98);
  border-color: var(--accent-primary);
}

.secondary-thumbnail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.15s ease;
}

.secondary-thumbnail-card:hover {
  border-color: var(--border-medium);
}

.secondary-thumbnail-preview {
  width: 140px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  position: relative;
  background: #000;
}

.secondary-thumbnail-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Transparency Checkerboard Pattern for Remove Background */
.checkerboard-bg {
  background-color: #1a1d24;
  background-image: 
    linear-gradient(45deg, #242932 25%, transparent 25%),
    linear-gradient(-45deg, #242932 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #242932 75%),
    linear-gradient(-45deg, transparent 75%, #242932 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}

/* ==========================================================================
   Batch Processing Section
   ========================================================================== */
.batch-section {
  padding: 88px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: #fff;
  overflow-wrap: break-word;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.batch-feature-card {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}

.batch-feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: #fff;
}

.batch-feature-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   Local Processing & Privacy Section
   ========================================================================== */
.local-privacy-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-spec-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
}

.privacy-spec-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}

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

/* ==========================================================================
   System Requirements Section
   ========================================================================== */
.requirements-section {
  padding: 88px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.req-table-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.req-table th,
.req-table td {
  padding: 16px 24px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.req-table th {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  width: 28%;
  white-space: nowrap;
}

.req-table td {
  color: var(--text-secondary);
  overflow-wrap: break-word;
}

.req-table tr:last-child th,
.req-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Availability & CTA Box
   ========================================================================== */
.cta-banner-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cta-banner-card {
  background: linear-gradient(135deg, #1b2528 0%, #15181e 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

.cta-banner-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item[open] {
  border-color: rgba(45, 212, 191, 0.3);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-answer p + p {
  margin-top: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  padding: 60px 0 36px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-wrap {
  max-width: 320px;
}

.footer-brand-wrap p {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-nav-groups {
  display: flex;
  gap: 56px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Subpages
   ========================================================================== */
.subpage-header {
  padding: 60px 0 36px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.subpage-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.subpage-meta {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.subpage-content {
  padding: 56px 0 88px;
  max-width: 840px;
  margin: 0 auto;
}

.prose {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #fff;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.prose p {
  margin-bottom: 18px;
}

.prose ul, .prose ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text-primary);
}

.prose .draft-notice {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 32px;
  color: #fcd34d;
  font-size: 0.9375rem;
}

code {
  font-family: Consolas, "Cascadia Code", "Courier New", monospace;
  font-size: 0.875em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.license-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
}

.license-block pre {
  background: var(--bg-surface-raised);
  padding: 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.85rem;
  color: #d1d5db;
  margin-top: 12px;
  border: 1px solid var(--border-subtle);
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 100%;
}

/* ==========================================================================
   Accessible Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 10, 14, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.15s ease;
}

.lightbox-close-btn:hover {
  background: var(--accent-primary);
  color: var(--accent-text);
  border-color: var(--accent-primary);
}

.lightbox-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-medium);
  background: #000;
}

.lightbox-image-wrap img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ==========================================================================
   Responsive Breakpoints
   - 1024px (Tablets / small desktops)
   - 768px (Tablets portrait)
   - 480px / 390px (Mobile phones)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --container-pad: 20px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .feature-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-content {
    order: 1;
  }

  .feature-media-wrap {
    order: 2;
  }

  .batch-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
  }

  .footer-nav-groups {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    padding: 20px var(--container-pad);
    gap: 16px;
    display: none;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .hero-section {
    padding: 48px 0;
  }

  .badge-group {
    justify-content: center;
  }

  .hero-cta-wrap {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-wrap .btn {
    width: 100%;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .batch-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav-groups {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .req-table th,
  .req-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .req-table th {
    background: var(--bg-card);
    padding-bottom: 6px;
    border-bottom: none;
    color: var(--accent-primary);
  }

  .req-table td {
    padding-top: 2px;
  }

  .cta-banner-card {
    padding: 36px 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
  }

  .nav-actions .btn-cta-soon {
    display: none;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .feature-title {
    font-size: 1.45rem;
  }

  .callout-primary {
    font-size: 0.95rem;
  }

  .secondary-thumbnail-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .secondary-thumbnail-preview {
    width: 100%;
    height: 140px;
  }
}
