:root {
  --bg: #eef4ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #163053;
  --muted: #5c6f8d;
  --line: rgba(22, 48, 83, 0.12);
  --primary: #2563eb;
  --primary-deep: #1947b8;
  --accent: #e6efff;
  --success: #1f8f5f;
  --shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
  --radius: 24px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.25), transparent 34%),
    linear-gradient(180deg, #f6f9ff 0%, #eef4ff 45%, #f8fbff 100%);
  line-height: 1.65;
}

a {
  color: var(--primary-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(246, 249, 255, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 16px 36px rgba(22, 65, 168, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-label span:last-child {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

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

.site-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(37, 99, 235, 0.1);
  text-decoration: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
}

.language-switcher svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary-deep);
  flex-shrink: 0;
}

.language-switcher select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
  min-width: 8rem;
  cursor: pointer;
}

main {
  flex: 1;
}

.hero {
  padding: 4rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-card,
.content-card,
.info-card,
.cta-card,
.screenshot-card,
.step-card,
.hero-showcase {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
  height: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-copy p + p {
  margin-top: 0.9rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero h1,
.page-hero h1 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2.15rem, 8vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p,
.page-hero p {
  max-width: 44rem;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}

.store-badges-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.store-badges-heading {
  font-size: 1rem;
  line-height: 1.35;
  color: var(--primary-deep);
  font-weight: 700;
}

.store-badges-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.75rem;
}

.store-badge-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
}

.store-badge-disabled {
  opacity: 0.72;
  filter: grayscale(0.12);
  cursor: default;
}

.store-badge-link img {
  height: 44px;
  width: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.button-secondary {
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-panel {
  padding: 1.5rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(230, 239, 255, 0.94) 100%);
}

.hero-showcase {
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  height: 100%;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.hero-showcase-frame {
  flex: 1;
  width: min(100%, 25rem);
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 0;
  box-shadow: 0 18px 46px rgba(17, 45, 102, 0.16);
}

.hero-showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-panel h2,
.section-heading h2,
.content-card h2,
.info-card h2,
.cta-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.hero-panel p,
.content-card p,
.info-card p,
.cta-card p,
.content-card li,
.info-card li {
  color: var(--muted);
}

.stats {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.overview-section {
  padding-top: 0;
}

.overview-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.overview-heading {
  text-align: left !important;
}

.overview-heading p {
  max-width: none;
  margin: 0;
  text-align: left !important;
}

.overview-heading h2 {
  text-align: left !important;
}

.overview-stats {
  margin-top: 1.5rem;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 48, 83, 0.08);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--text);
}

.feature-icon,
.step-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(25, 71, 184, 0.06));
  color: var(--primary-deep);
  margin-bottom: 1rem;
}

.feature-icon svg,
.step-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.problem-icon,
.use-case-icon,
.template-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(25, 71, 184, 0.06));
  color: var(--primary-deep);
  margin-bottom: 1rem;
}

.problem-icon svg,
.use-case-icon svg,
.template-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.section {
  padding: 1.2rem 0 3.2rem;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.screenshot-heading {
  position: relative;
}

.carousel-controls {
  display: none;
  gap: 0.65rem;
  margin-top: 1rem;
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(22, 48, 83, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary-deep);
  box-shadow: 0 10px 22px rgba(17, 45, 102, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.carousel-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17, 45, 102, 0.12);
}

.carousel-button:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.carousel-button svg {
  width: 1.2rem;
  height: 1.2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.info-card,
.cta-card,
.content-card {
  padding: 1.5rem;
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.problem-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card,
.screenshot-card {
  padding: 1.25rem;
}

.step-card {
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.screenshot-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  align-items: flex-start;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
}

.screenshot-card {
  flex: 0 0 320px;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 1320 / 2868;
}

.screenshot-grid.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.screenshot-grid::-webkit-scrollbar {
  display: none;
}

.screenshot-card img {
  display: block;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  transform: translate(-4%, -1%);
  pointer-events: none;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  transition: transform 0.18s ease, background 0.18s ease;
}

.carousel-dot.is-active {
  transform: scale(1.15);
  background: var(--primary);
}

.screenshot-card p:last-child,
.step-card p:last-child,
.info-card p:last-child,
.cta-card p:last-child {
  margin-bottom: 0;
}

.section-closing {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.content-wrap {
  padding: 3rem 0 4rem;
}

.page-hero {
  padding: 3.25rem 0 1.2rem;
}

.page-hero .content-card,
.legal-layout .content-card {
  background: rgba(255, 255, 255, 0.95);
}

.legal-layout {
  display: grid;
  gap: 1rem;
}

.content-card h3 {
  margin: 1.6rem 0 0.65rem;
  font-size: 1rem;
}

.content-card h3:first-of-type {
  margin-top: 0;
}

.content-card ul,
.content-card ol {
  margin: 0.6rem 0 0;
  padding-left: 1.25rem;
}

.content-card li + li {
  margin-top: 0.5rem;
}

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

.meta-item {
  padding: 1rem;
  border-radius: 1rem;
  background: #f7faff;
  border: 1px solid var(--line);
}

.meta-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.note {
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: rgba(31, 143, 95, 0.08);
  border: 1px solid rgba(31, 143, 95, 0.14);
}

.site-footer {
  border-top: 1px solid rgba(22, 48, 83, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
    gap: 1rem;
  }

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

  .legal-layout {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
    align-items: start;
  }

  .site-footer .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .screenshot-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
  }

  .carousel-controls {
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 0;
  }
}

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

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

  .language-switcher {
    align-self: flex-start;
  }

  .hero,
  .page-hero {
    padding-top: 2rem;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .screenshot-card {
    flex-basis: 260px;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
  }

  .carousel-dots {
    display: flex;
  }
}
