:root {
  --bg: #f5f6f8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: rgba(17, 24, 39, 0.08);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.1);
  --success: #138a36;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(10, 132, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f8fb 0%, #eff2f6 100%);
  min-height: 100vh;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(247, 248, 251, 0.78);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.topbar-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.nav-links,
.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill,
.button,
.link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.pill,
.link-chip {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.pill.is-active {
  color: #0757a5;
  background: var(--accent-soft);
  border-color: rgba(10, 132, 255, 0.35);
  font-weight: 600;
}

.button {
  border: none;
  cursor: pointer;
  font: inherit;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(10, 132, 255, 0.25);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.pill:hover,
.button:hover,
.link-chip:hover,
.card:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 64px 0 28px;
}

.hero-grid,
.split-grid,
.language-grid,
.card-grid,
.legal-grid,
.feature-grid,
.form-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

h1,
.h1 {
  font-size: clamp(2.35rem, 5vw, 4.55rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 18px 0 18px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  font-size: 1.06rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.card,
.phone-frame,
.glass,
.notice,
.stat,
.faq-item,
.form-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.card,
.form-card,
.notice,
.glass,
.stat,
.faq-item {
  padding: 28px;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.phone-frame {
  padding: 14px;
  max-width: 390px;
  justify-self: center;
}

.phone-frame img {
  border-radius: 32px;
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.section {
  padding: 32px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

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

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

.screenshot-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 24, 39, 0.35) rgba(17, 24, 39, 0.08);
  border-radius: 32px;
  cursor: pointer;
}

.screenshot-carousel img {
  width: 100%;
  scroll-snap-align: center;
  border-radius: 32px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  user-select: none;
  pointer-events: none;
}

.screenshot-carousel::-webkit-scrollbar {
  height: 8px;
}

.screenshot-carousel::-webkit-scrollbar-track {
  background: rgba(17, 24, 39, 0.08);
  border-radius: 999px;
}

.screenshot-carousel::-webkit-scrollbar-thumb {
  background: rgba(17, 24, 39, 0.3);
  border-radius: 999px;
}

.screenshot-hint {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.screenshot-hint::before,
.screenshot-hint::after {
  color: rgba(10, 132, 255, 0.8);
  animation: hint-pulse 1.25s ease-in-out infinite alternate;
}

.screenshot-hint::before {
  content: "←";
}

.screenshot-hint::after {
  content: "→";
}

.screenshot-dots {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.screenshot-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.screenshot-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

@keyframes hint-pulse {
  from {
    opacity: 0.45;
    transform: translateX(0);
  }
  to {
    opacity: 0.95;
    transform: translateX(2px);
  }
}

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

.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  align-items: center;
}

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

.tag-list,
.inline-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-list span,
.inline-list span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #0757a5;
  font-size: 0.92rem;
}

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

.list-clean li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
}

.list-clean li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(19, 138, 54, 0.12);
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

.notice {
  border-left: 5px solid var(--accent);
}

.notice strong {
  display: block;
  margin-bottom: 8px;
}

.legal-card p:last-child,
.card p:last-child,
.notice p:last-child,
.faq-item p:last-child,
.form-card p:last-child {
  margin-bottom: 0;
}

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

label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.lang-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.lang-select {
  width: auto;
  min-width: 148px;
  max-width: 196px;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 38px 0 14px;
  border-color: rgba(17, 24, 39, 0.1);
  background-color: rgba(255, 255, 255, 0.9);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5' stroke='%235f6b7a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: right 12px center;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(10, 132, 255, 0.16);
  border-color: rgba(10, 132, 255, 0.45);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.form-meta {
  font-size: 0.94rem;
}

.footer {
  padding: 28px 0 54px;
}

.footer-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.92rem;
}

.code-box {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(17, 24, 39, 0.05);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.center {
  text-align: center;
}

.hidden {
  display: none;
}

hr.soft {
  border: none;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  margin: 24px 0;
}

@media (max-width: 980px) {
  .topbar {
    position: static;
  }

  .hero-grid,
  .split-grid,
  .card-grid,
  .feature-grid,
  .language-grid,
  .legal-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    min-height: 0;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-controls {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero {
    padding-top: 40px;
  }

  .card,
  .form-card,
  .notice,
  .glass,
  .stat,
  .faq-item {
    padding: 22px;
    border-radius: 24px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .brand span,
  .nav-links {
    font-size: 0.95rem;
  }

  .lang-nav {
    width: 100%;
  }

  .lang-select {
    width: 100%;
    max-width: none;
  }
}
