
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --radius-lg: 0.9rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.2rem;
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 12px 32px rgba(2, 6, 23, 0.08);
  --ring-brand: 0 0 0 3px rgba(37, 99, 235, 0.24);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #f8fafc;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  color: #475569;
}

a {
  transition: color 140ms ease, opacity 140ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--ring-brand);
  border-radius: 0.5rem;
}

.container-max {
  max-width: 76rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-pad {
  padding-top: clamp(3.25rem, 6vw, 6rem);
  padding-bottom: clamp(3.25rem, 6vw, 6rem);
}

.card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-2xl);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.check-item svg {
  flex: 0 0 auto;
  margin-top: 0.25rem;
  color: #2563eb;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.34);
}

.btn-secondary {
  color: #1e3a8a;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.btn-secondary:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  background: #0f172a;
  color: #ffffff;
  border-radius: 0.6rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  backdrop-filter: blur(10px);
}

.nav-link {
  font-weight: 600;
  color: #334155;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-link-active {
  color: #1d4ed8;
}

.screenshot-carousel {
  position: relative;
  max-width: 900px;
  aspect-ratio: 16 / 10;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  box-shadow: var(--shadow-soft);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.24);
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.carousel-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -30deg,
    rgba(0, 0, 0, 0.05) 0px,
    rgba(0, 0, 0, 0.05) 120px,
    transparent 120px,
    transparent 240px
  );
  color: rgba(0, 0, 0, 0.08);
  font-size: 32px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .container-max {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 640px) {
  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .watermark {
    font-size: 22px;
  }
}
