:root {
  --bg: #0a0a0c;
  --bg-elev: #101014;
  --surface: #141418;
  --surface-2: #1c1c22;
  --line: #2c2c34;
  --text: #ffffff;
  --muted: #8e8e93;
  --accent: #ff3b30;
  --accent-dim: #c5020b;
  --ok: #34c759;
  --warn: #f9a825;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  --font: "Sora", "Noto Sans SC", "Noto Sans Devanagari", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: #ff8a82;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 12, 0.82);
  border-bottom: 1px solid rgba(255, 59, 48, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  font-size: 1.05rem;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.35), 0 0 20px rgba(255, 59, 48, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  text-decoration: none;
}

.lang-select {
  appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238e8e93' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 32px 8px 12px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Full-bleed hero */
.hero-bleed {
  position: relative;
  min-height: min(100vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bleed__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bleed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-bleed__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.55) 0%, rgba(10, 10, 12, 0.35) 35%, rgba(10, 10, 12, 0.92) 100%),
    radial-gradient(900px 420px at 70% 20%, rgba(255, 59, 48, 0.18), transparent 60%);
}

.hero-bleed__content {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 72px;
  animation: fadeUp 0.9s ease both;
}

.hero-bleed .brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-bleed .brand-lockup img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: var(--shadow), 0 0 40px rgba(255, 59, 48, 0.25);
}

.hero-bleed h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-bleed .lead {
  margin: 18px 0 28px;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: #0a0a0c;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: #f2f2f2;
}

.btn-ghost {
  background: rgba(20, 20, 24, 0.72);
  color: var(--text);
  border-color: var(--line);
}

.btn-accent {
  background: linear-gradient(180deg, #ff5248, var(--accent-dim));
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 59, 48, 0.28);
}

.section {
  padding: 72px 0;
}

.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.section .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 0 36px;
}

.setup-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.setup-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.setup-item .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.setup-item h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.setup-item p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 28px 0 56px;
}

.feature-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-media {
  order: 1;
}

.feature-media {
  overflow: hidden;
  border-radius: 0;
  min-height: 280px;
  background: var(--surface);
  position: relative;
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  animation: fadeIn 1.1s ease both;
}

.feature-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
}

.premium {
  background:
    radial-gradient(700px 280px at 20% 0%, rgba(255, 59, 48, 0.14), transparent 60%),
    linear-gradient(180deg, #101014, #0a0a0c);
  border-block: 1px solid var(--line);
}

.premium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  margin-top: 8px;
}

.premium-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.premium-item p {
  margin: 0;
  color: var(--muted);
}

.download {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: grid;
  align-items: end;
  border-block: 1px solid var(--line);
}

.download img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.download .overlay {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 12, 0.92));
}

.download h2,
.download p {
  max-width: 42ch;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
  background: #08080a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-page {
  padding: 40px 0 80px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 8px;
}

.legal-meta {
  color: var(--muted);
  margin: 0 0 28px;
}

.legal-page section {
  background: rgba(20, 20, 24, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-page ul {
  padding-inline-start: 1.2em;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, 1%, 0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .nav .hide-sm {
    display: none;
  }

  .hero-bleed {
    min-height: 88vh;
  }

  .hero-bleed__content {
    padding: 96px 0 56px;
  }

  .feature-row,
  .feature-row.reverse,
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-media {
    order: initial;
  }

  .setup-item {
    grid-template-columns: 48px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
