:root {
  color-scheme: light;
  --bg-top: #f7fbff;
  --bg-bottom: #d6e6ff;
  --ink-strong: #102443;
  --ink-body: #415978;
  --line-soft: rgba(124, 157, 211, 0.26);
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.58);
  --primary: #1767e8;
  --primary-deep: #0f4ab7;
  --primary-soft: rgba(23, 103, 232, 0.14);
  --shadow-lg: 0 32px 80px rgba(37, 78, 150, 0.18);
  --shadow-md: 0 18px 36px rgba(49, 83, 137, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "SF Pro Display", "Apple SD Gothic Neo", "Helvetica Neue", sans-serif;
  color: var(--ink-strong);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 34%),
    radial-gradient(circle at bottom right, rgba(131, 177, 255, 0.38), transparent 32%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
  opacity: 0.45;
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 24px 0 44px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 18px 32px rgba(18, 73, 160, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-copy span:last-child {
  color: var(--ink-body);
  font-size: 0.92rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--ink-body);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
}

.lang-button.is-active {
  color: white;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
}

.text-link {
  font-weight: 600;
  color: var(--primary-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  gap: 32px;
  align-items: center;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(28px);
}

.hero-copy {
  padding: 36px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.info-card h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.hero-description,
.info-card p,
.faq-item p,
.feature-list span,
.support-row span {
  color: var(--ink-body);
}

.hero-description {
  margin: 18px 0 0;
  max-width: 54ch;
  font-size: 1.06rem;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  color: white;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  box-shadow: 0 16px 28px rgba(23, 103, 232, 0.3);
}

.secondary-button {
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.primary-button:hover,
.secondary-button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.feature-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.feature-list strong {
  font-size: 1rem;
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 400px);
  padding: 18px;
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(231, 240, 255, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 40px 60px rgba(35, 71, 140, 0.2);
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 34%;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: rgba(18, 34, 67, 0.92);
}

.phone-frame img,
.phone-frame video {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 14px 32px rgba(22, 49, 99, 0.14);
}

.app-demo-video {
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.95), rgba(226, 234, 247, 0.95));
}

.preview-badge {
  position: absolute;
  top: 46px;
  right: 28px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 36, 67, 0.72);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px rgba(16, 36, 67, 0.2);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.info-card {
  padding: 28px;
}

.info-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.info-card > p {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.7;
}

.support-list,
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.support-row,
.faq-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.support-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.support-row span {
  font-weight: 600;
}

.support-row a,
.faq-item h3 {
  color: var(--ink-strong);
  font-weight: 700;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.02rem;
}

.faq-item p {
  margin: 8px 0 0;
  line-height: 1.65;
}

.footer {
  margin-top: 26px;
  padding: 14px 0 0;
  color: var(--ink-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(65, 89, 120, 0.55);
}

@media (max-width: 980px) {
  .hero,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(100%, 360px);
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--content-width));
    padding-top: 18px;
  }

  .topbar,
  .topbar-actions,
  .support-row,
  .footer {
    flex-direction: column;
  }

  .topbar,
  .topbar-actions {
    align-items: flex-start;
  }

  .hero-copy,
  .info-card {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .support-row {
    align-items: flex-start;
  }

  .footer {
    align-items: flex-start;
    gap: 8px;
  }

  .footer-dot {
    display: none;
  }
}
