:root {
  --brand-pink: #ff6b6b;
  --brand-pink-dark: #ef4444;
  --brand-teal: #4ecdc4;
  --brand-teal-dark: #0f766e;
  --ink-950: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --line: rgba(148, 163, 184, 0.28);
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --surface-strong: #e2e8f0;
  --shadow-lg: 0 22px 55px rgba(15, 23, 42, 0.13);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.1);
  --max-width: 1180px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --hero-glow: linear-gradient(135deg, rgba(255, 107, 107, 0.18), rgba(78, 205, 196, 0.16));
  --accent: var(--brand-pink);
  --accent-strong: var(--brand-pink-dark);
  --accent-soft: rgba(255, 107, 107, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink-800);
  background:
    radial-gradient(circle at top left, rgba(78, 205, 196, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 107, 107, 0.1), transparent 24%),
    var(--surface-muted);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.app-page {
  min-height: 100vh;
}

.app-page[data-theme="pdf"] {
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --hero-glow: linear-gradient(135deg, rgba(78, 205, 196, 0.22), rgba(15, 118, 110, 0.18));
}

.app-page[data-theme="watermark"] {
  --accent: #7c3aed;
  --accent-strong: #6d28d9;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --hero-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(255, 107, 107, 0.18));
}

.app-page[data-theme="card"] {
  --accent: #ea580c;
  --accent-strong: #c2410c;
  --accent-soft: rgba(234, 88, 12, 0.12);
  --hero-glow: linear-gradient(135deg, rgba(234, 88, 12, 0.14), rgba(78, 205, 196, 0.18));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.site-header__inner,
.site-footer__inner,
.section,
.hero,
.breadcrumb {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--ink-950);
}

.brand-mark__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--brand-pink);
  box-shadow: 0 0 0 8px rgba(255, 107, 107, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--ink-600);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.button--secondary {
  color: var(--ink-800);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.breadcrumb {
  padding-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-500);
}

.breadcrumb ol {
  display: flex;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.65rem;
  color: var(--ink-500);
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 0 4rem;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
  color: var(--ink-600);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: var(--accent);
}

.hero h1,
.section h2,
.section h3,
.section h4 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink-950);
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.05;
}

.hero__lede {
  margin: 1.1rem 0 0;
  max-width: 48rem;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink-600);
}

.hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero__meta {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.hero__meta-item {
  display: flex;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.hero__meta-item strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink-950);
}

.hero__visual {
  position: relative;
}

.hero__panel {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border-radius: calc(var(--radius-xl) + 0.25rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero__panel::before {
  content: "";
  position: absolute;
  inset: -15% -10% auto auto;
  width: 16rem;
  height: 16rem;
  background: var(--hero-glow);
  border-radius: 50%;
  filter: blur(28px);
  z-index: -1;
}

.hero__device {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 0.8rem;
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero__device img,
.shot-card img {
  border-radius: 1.35rem;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  width: 100%;
}

.hero__placeholder {
  display: grid;
  gap: 0.85rem;
  min-height: 30rem;
  padding: 1.35rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(226, 232, 240, 0.9)),
    linear-gradient(135deg, var(--accent-soft), transparent);
}

.hero__placeholder--ui {
  gap: 0.9rem;
  align-content: start;
}

.hero__placeholder-card {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.hero__placeholder-card--accent {
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.98));
}

.hero__ui-topbar,
.hero__ui-toolbar,
.hero__ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero__ui-topbar {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-600);
}

.hero__ui-screen {
  position: relative;
  overflow: hidden;
  min-height: 12rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 240, 0.88));
}

.hero__ui-screen--camera::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 100% 2.2rem, 2.2rem 100%;
  opacity: 0.4;
}

.hero__ui-outline {
  position: absolute;
  inset: 1.35rem;
  border: 2px solid rgba(15, 118, 110, 0.35);
  border-radius: 0.85rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.hero__ui-capture {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  border: 0.35rem solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

.hero__ui-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.hero__ui-card,
.hero__ui-mini-card {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.92);
}

.hero__ui-card p,
.hero__ui-mini-card p {
  margin: 0.3rem 0 0;
  color: var(--ink-600);
  line-height: 1.55;
  font-size: 0.9rem;
}

.hero__ui-mini-card {
  flex: 1 1 0;
}

.hero__ui-mini-card strong,
.hero__ui-card strong {
  color: var(--ink-950);
}

.hero__ui-toolbar {
  justify-content: center;
  padding-top: 0.2rem;
}

.hero__ui-toolbar span {
  width: 2.4rem;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.55);
}

.section {
  padding: 0 0 4.5rem;
}

.section__header {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__copy {
  margin: 0.85rem 0 0;
  color: var(--ink-600);
  line-height: 1.8;
}

.two-column {
  display: grid;
  gap: 1.2rem;
}

.card-grid,
.use-case-grid,
.related-grid,
.visual-grid {
  display: grid;
  gap: 1rem;
}

.content-card,
.feature-card,
.use-case,
.faq-item,
.related-card,
.shot-card,
.final-cta {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.content-card,
.feature-card,
.use-case,
.related-card,
.shot-card {
  padding: 1.3rem;
}

.content-card p,
.feature-card p,
.use-case p,
.shot-card p,
.related-card p {
  margin: 0.5rem 0 0;
  color: var(--ink-600);
  line-height: 1.75;
}

.content-card ul,
.feature-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-600);
  line-height: 1.7;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.feature-card h3,
.use-case h3,
.shot-card h3,
.related-card h3,
.content-card h3 {
  font-size: 1.08rem;
}

.feature-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.92rem;
}

.proof-note {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 1rem 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-700);
}

.shot-card {
  overflow: hidden;
}

.shot-card__placeholder {
  display: grid;
  place-items: center;
  min-height: 16rem;
  border-radius: 1.1rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.92)),
    linear-gradient(135deg, var(--accent-soft), transparent);
  text-align: center;
  color: var(--ink-500);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  color: var(--ink-950);
}

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

.faq-item[open] summary {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--ink-600);
  line-height: 1.8;
}

.final-cta {
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
}

.final-cta p {
  margin: 0;
  color: var(--ink-600);
  line-height: 1.8;
}

.final-cta__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.related-card__link {
  font-weight: 700;
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.86);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0 2.4rem;
  color: var(--ink-600);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--accent);
}

.utility-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.utility-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--ink-600);
  line-height: 1.7;
}

.utility-list li::before {
  content: "";
  flex: 0 0 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2.5rem;
  }

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

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

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

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

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

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

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }
}
