/* LazyLoad Studio — Zero-Dependency Static Design System
 * Dark slate-navy aesthetic | 100/100 Lighthouse target | Zero trackers
 */

:root {
  --bg: #080e1a;
  --bg-elevated: #0e1729;
  --bg-card: #111c32;
  --bg-card-strong: #15223b;
  --bg-code: #091020;

  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-dark: #042419;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --emerald-border: rgba(16, 185, 129, 0.42);

  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.12);
  --cyan-border: rgba(34, 211, 238, 0.36);

  --amber: #fbbf24;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --amber-border: rgba(245, 158, 11, 0.44);

  --rose: #f87171;
  --rose-soft: rgba(239, 68, 68, 0.13);
  --rose-border: rgba(239, 68, 68, 0.36);

  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 18px 40px -24px rgba(2, 6, 23, 0.9);
  --max-w: 1120px;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 12% -6%, rgba(16, 185, 129, 0.13), transparent 60%),
    radial-gradient(820px 520px at 90% 4%, rgba(34, 211, 238, 0.1), transparent 58%);
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--emerald-bright);
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

a:hover {
  color: #6ee7b7;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--emerald);
  color: var(--emerald-dark);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 14, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-block: 10px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald-bright);
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  padding: 2px 8px;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.1);
}

.site-nav a[aria-current="page"] {
  color: var(--emerald-bright);
  background: var(--emerald-soft);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--emerald-bright);
}

/* Badges & Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--emerald-border);
  background: var(--emerald-soft);
  color: var(--emerald-bright);
}

.pill-cyan {
  border-color: var(--cyan-border);
  background: var(--cyan-soft);
  color: var(--cyan);
}

.pill-amber {
  border-color: var(--amber-border);
  background: var(--amber-soft);
  color: var(--amber);
}

.pill-rose {
  border-color: var(--rose-border);
  background: var(--rose-soft);
  color: var(--rose);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.badge-free {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald-bright);
}

.badge-pro {
  background: var(--amber-soft);
  border-color: var(--amber-border);
  color: var(--amber);
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 11px;
  font-weight: 750;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, #16cb8f 0%, #10b981 100%);
  color: var(--emerald-dark);
  box-shadow: 0 10px 26px -10px rgba(16, 185, 129, 0.7);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #27d99d 0%, #14c58b 100%);
  color: var(--emerald-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-card-strong);
  border-color: var(--cyan-border);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
  border-radius: 9px;
}

/* Hero Section */
.hero {
  padding: 52px 0 42px;
}

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

.hero-centered .btn-group,
.hero-centered .trust-strip {
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8);
}

h1 {
  margin: 14px 0 16px;
  font-size: clamp(2rem, 4.1vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 850;
  color: var(--text);
}

.hero-title-row h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}

.accent {
  color: var(--emerald-bright);
}

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

.lead {
  margin: 16px 0 24px;
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 66ch;
}

.hero-centered .lead {
  margin-inline: auto;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--emerald);
  flex-shrink: 0;
}

/* Video Embed Container */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-card);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #040812;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 6px 2px;
  font-size: 0.83rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 54px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.section-header {
  max-width: 740px;
  margin-bottom: 30px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  line-height: 1.32;
  letter-spacing: -0.015em;
  font-weight: 750;
}

.section-sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.card-highlight {
  border-color: var(--emerald-border);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-card) 45%);
}

.card-pro {
  border-color: var(--amber-border);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.09) 0%, var(--bg-card) 45%);
}

.card-danger {
  border-color: var(--rose-border);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.08) 0%, var(--bg-card) 45%);
}

.card p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Product Cards (Studio Hub) */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.product-thumb {
  display: block;
  background: #070c17;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.product-thumb:hover img {
  transform: scale(1.02);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-head .app-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
}

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

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald-bright);
  font-weight: 800;
}

.cross-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.cross-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.cross-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rose);
  font-weight: 800;
}

.product-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Step Cards */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-border);
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--bg-code);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Screenshot Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.gallery-item-wide {
  grid-column: 1 / -1;
}

.gallery-item a {
  display: block;
  overflow: hidden;
  background: #060b16;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item a:hover img {
  transform: scale(1.015);
}

.gallery-item figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.gallery-item figcaption strong {
  color: var(--text);
  display: block;
  margin-bottom: 3px;
}

/* Comparison & Data Tables */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.93rem;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table thead th {
  background: var(--bg-elevated);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 800;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: rgba(148, 163, 184, 0.04);
}

.col-ours {
  background: rgba(16, 185, 129, 0.08);
  color: var(--text);
  font-weight: 600;
}

.data-table thead th.col-ours {
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald-bright);
}

.tag-yes {
  color: var(--emerald-bright);
  font-weight: 700;
}

.tag-no {
  color: var(--rose);
  font-weight: 650;
}

.tag-warn {
  color: var(--amber);
  font-weight: 650;
}

/* Code / CSP Proof Box */
.code-block {
  margin: 14px 0;
  padding: 14px 16px;
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.55;
  color: #a7f3d0;
  overflow-x: auto;
}

.inline-code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--bg-code);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--cyan);
}

/* Pricing */
.price-tag {
  font-size: 2.15rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 8px 0 4px;
}

.price-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* FAQ Accordion (Zero JS) */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

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

.faq-item[open] {
  border-color: var(--emerald-border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 750;
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--emerald-bright);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(17, 28, 50, 0.96) 55%, rgba(34, 211, 238, 0.1) 100%);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin-bottom: 6px;
}

.cta-banner p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 56ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(5, 10, 20, 0.72);
  padding: 40px 0 46px;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-col h3 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--emerald-bright);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 680px) {
  .hero {
    padding: 36px 0 30px;
  }

  .section {
    padding: 40px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-wide {
    grid-column: auto;
  }

  .cta-banner {
    padding: 24px 20px;
  }

  .btn {
    width: 100%;
  }

  .product-actions .btn {
    width: auto;
    flex: 1 1 160px;
  }
}
