:root {
  --bg-dark: #0d5a43;
  --bg-deep: #18a064;
  --green: #35dc78;
  --green-dark: #16a34a;
  --lime: #d5f873;
  --mint: #f0fff7;
  --ink: #10241d;
  --muted: #64748b;
  --panel: #ffffff;
  --line: rgba(16, 185, 129, 0.18);
  --shadow: 0 24px 70px rgba(10, 92, 61, 0.13);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(47, 214, 111, 0.12), transparent 30rem),
    radial-gradient(circle at 92% 14%, rgba(213, 248, 115, 0.18), transparent 26rem),
    linear-gradient(180deg, #fcfffe 0%, #ffffff 36%, #f7fffb 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

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

a {
  color: var(--green-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(7, 31, 26, 0.06);
  backdrop-filter: blur(18px);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 18px;
  color: var(--bg-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 255, 247, 0.78));
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(7, 86, 58, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.28);
  box-shadow: 0 16px 38px rgba(7, 86, 58, 0.12);
}

.brand span {
  display: inline-block;
  font-size: 1.02rem;
  line-height: 1.1;
}

.brand img {
  width: clamp(128px, 13vw, 168px);
  height: auto;
  max-height: 56px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(213, 248, 115, 0.32), transparent 58%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(21, 128, 61, 0.16);
  object-fit: contain;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 999px;
  background: rgba(236, 253, 245, 0.72);
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #17382f;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a.active {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 8px 22px rgba(7, 31, 26, 0.08);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 31, 26, 0.06);
}

.language-switcher button {
  border: 0;
  background: transparent;
  color: var(--bg-deep);
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button.active {
  background: var(--bg-deep);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 28% 78%, rgba(255, 255, 255, 0.2), transparent 13rem),
    radial-gradient(circle at 78% 24%, rgba(213, 248, 115, 0.38), transparent 21rem),
    radial-gradient(circle at 14% 18%, rgba(47, 214, 111, 0.26), transparent 18rem),
    linear-gradient(135deg, #13664d 0%, #1aa86a 58%, #7adf89 100%);
  border-bottom: 1px solid rgba(213, 248, 115, 0.25);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 1px, transparent 1.5px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 86%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -12rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 248, 115, 0.28), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: center;
  padding: 92px 0;
}

.hero-inner::before,
.hero-inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.hero-inner::before {
  top: 12%;
  right: 31%;
  width: 170px;
  height: 170px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  filter: blur(1px);
}

.hero-inner::after {
  right: 4%;
  bottom: 13%;
  width: 240px;
  height: 84px;
  background: linear-gradient(90deg, rgba(213, 248, 115, 0.2), rgba(255, 255, 255, 0.08));
  filter: blur(22px);
  transform: rotate(-12deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 1px solid rgba(199, 244, 100, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--lime);
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5.65rem);
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.hero h1,
.hero h2,
.hero h3 {
  color: #fff;
}

.subtitle {
  margin: 18px 0 12px;
  font-size: clamp(1.28rem, 2.35vw, 1.78rem);
  color: var(--green-dark);
  font-weight: 900;
}

.hero .subtitle {
  color: #d9ffe7;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.14rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 999px;
  border: 1px solid rgba(21, 128, 61, 0.3);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(21, 128, 61, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(21, 128, 61, 0.28);
}

.button.secondary {
  background: #fff;
  color: var(--green-dark);
  border-color: rgba(21, 128, 61, 0.2);
  box-shadow: 0 16px 36px rgba(7, 31, 26, 0.08);
}

.hero .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(14px);
}

.button.disabled {
  border-color: rgba(100, 116, 139, 0.22);
  background: #eef5f1;
  color: #607268;
  box-shadow: none;
  cursor: not-allowed;
}

.app-store-button {
  background: linear-gradient(135deg, #111827, #0d5a43);
  border-color: rgba(17, 24, 39, 0.18);
}

.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.22), transparent 12rem);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 30px;
  padding: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 30px 90px rgba(8, 79, 55, 0.2);
  backdrop-filter: blur(22px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(199, 244, 100, 0.16), transparent 38%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -56px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 68%);
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card img {
  border-radius: 24px;
  margin: 4px 0 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.product-badge,
.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(199, 244, 100, 0.18);
  color: #0f5134;
  border: 1px solid rgba(21, 128, 61, 0.16);
  font-weight: 900;
  font-size: 0.84rem;
}

.hero .product-badge {
  color: #f3ffe1;
  background: rgba(199, 244, 100, 0.15);
  border-color: rgba(199, 244, 100, 0.28);
}

.status {
  margin-top: 10px;
}

.status.active {
  background: rgba(34, 197, 94, 0.13);
  color: var(--green-dark);
}

.status.soon {
  background: rgba(199, 244, 100, 0.2);
}

.status.dev {
  background: rgba(14, 165, 233, 0.1);
  color: #036987;
}

.showcase-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.mini-app-icon,
.app-icon,
.product-logo,
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: var(--bg-dark);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.2);
}

.mini-app-icon img,
.app-icon img,
.product-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mini-app-icon.has-image,
.app-icon,
.product-logo {
  padding: 5px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.app-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}

.product-logo {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(4, 120, 87, 0.18);
}

.mini-app-card h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.mini-app-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(53, 220, 120, 0.07), transparent 18rem),
    radial-gradient(circle at 88% 74%, rgba(213, 248, 115, 0.08), transparent 16rem);
  pointer-events: none;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section.alt {
  background:
    linear-gradient(rgba(16, 185, 129, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 90% 10%, rgba(213, 248, 115, 0.26), transparent 18rem),
    linear-gradient(180deg, var(--mint), #fbfffd);
  background-size: 58px 58px, 58px 58px, auto, auto;
  border-block: 1px solid var(--line);
}

.section .container > h2 {
  max-width: 760px;
}

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

.grid.two {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 16px 45px rgba(8, 95, 62, 0.07);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), transparent 36%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.32);
  box-shadow: 0 24px 60px rgba(8, 95, 62, 0.12);
}

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

.app-card.featured {
  grid-column: span 1;
  border-color: rgba(34, 197, 94, 0.36);
  box-shadow: var(--shadow);
}

.app-card.featured::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 244, 100, 0.32), transparent 68%);
}

.app-card .button {
  margin-top: 8px;
}

.build-card {
  min-height: 230px;
}

.build-card .icon-circle {
  margin-bottom: 18px;
}

.page-title {
  position: relative;
  overflow: hidden;
  padding: 70px 0 46px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 84% 6%, rgba(213, 248, 115, 0.36), transparent 18rem),
    radial-gradient(circle at 12% 4%, rgba(47, 214, 111, 0.18), transparent 16rem),
    linear-gradient(135deg, #14684f, #25b86f 64%, #8ce696);
  background-size: 50px 50px, 50px 50px, auto, auto, auto;
  border-bottom: 1px solid rgba(213, 248, 115, 0.24);
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-title .container {
  position: relative;
  z-index: 1;
}

.page-title h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
}

.page-title .subtitle {
  color: #d9ffe7;
}

.page-title .lead {
  color: rgba(255, 255, 255, 0.76);
}

.product-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  counter-reset: feature;
}

.feature {
  border-left: 0;
  padding-top: 58px;
  counter-increment: feature;
}

.feature::before {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: var(--bg-dark);
  font-weight: 900;
}

.phone-preview {
  position: relative;
  width: min(320px, 100%);
  min-height: 610px;
  margin: 0 auto;
  border: 12px solid #0b3f32;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 14%, rgba(53, 220, 120, 0.12), transparent 8rem),
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(180deg, var(--mint), #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: var(--muted);
  box-shadow: 0 24px 70px rgba(10, 92, 61, 0.14);
}

.phone-preview::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: #0b3f32;
}

.phone-preview::after {
  content: "";
  position: absolute;
  inset: 54px 28px 34px;
  border-radius: 24px;
  border: 1px dashed rgba(21, 128, 61, 0.28);
  background:
    radial-gradient(circle at 50% 18%, rgba(53, 220, 120, 0.12), transparent 7rem),
    linear-gradient(90deg, rgba(34, 197, 94, 0.1), transparent),
    repeating-linear-gradient(180deg, rgba(15, 118, 110, 0.05), rgba(15, 118, 110, 0.05) 14px, transparent 14px, transparent 30px);
  pointer-events: none;
}

.phone-preview span,
.phone-preview,
.phone-preview img {
  z-index: 1;
}

.phone-preview.screenshot-phone {
  min-height: auto;
  padding: 22px 16px 18px;
}

.phone-preview.screenshot-phone::after {
  display: none;
}

.phone-preview.screenshot-phone img {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 22px;
  border-radius: 26px;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(8, 95, 62, 0.16);
}

.video-placeholder {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(213, 248, 115, 0.26), transparent 12rem),
    linear-gradient(135deg, #0f6b4f, #0b3f32);
  background-size: 42px 42px, 42px 42px, auto, auto;
  color: #eaffef;
  font-weight: 900;
}

.video-grid,
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.video-card {
  min-height: 210px;
}

.media-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 88% 12%, rgba(213, 248, 115, 0.22), transparent 10rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 255, 247, 0.9));
}

.media-card h2,
.media-card h3 {
  margin-top: 10px;
}

.media-card .button {
  width: fit-content;
}

.screenshot-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 4%, rgba(53, 220, 120, 0.12), transparent 9rem),
    linear-gradient(180deg, rgba(240, 255, 247, 0.9), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.08) 10px, transparent 10px, transparent 22px);
}

.screenshot-card img {
  width: min(100%, 240px);
  height: auto;
  max-height: 520px;
  border-radius: 28px;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(8, 95, 62, 0.14);
}

.screenshot-card figcaption {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-weight: 900;
}

.video-placeholder::before {
  content: "";
  width: 76px;
  height: 76px;
  margin-right: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    linear-gradient(90deg, #0b3f32 0 0) center / 0 0 no-repeat,
    #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.video-placeholder::after {
  content: "";
  position: absolute;
  left: calc(50% - 78px);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--green-dark);
}

.policy-content {
  max-width: 900px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(5, 46, 33, 0.07);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.support-card {
  min-height: 100%;
}

.support-card .status {
  margin: 0 0 16px;
}

.support-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.support-card li {
  margin: 6px 0;
}

.support-intro {
  max-width: 820px;
  margin-bottom: 26px;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.media-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-content h2 {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
}

.policy-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.support-email {
  display: inline-flex;
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 1.12rem;
  font-weight: 900;
}

.support-email a {
  color: inherit;
}

.page-title .support-email {
  color: #fff;
}

.site-footer {
  padding: 44px 0;
  background:
    radial-gradient(circle at 84% 10%, rgba(213, 248, 115, 0.16), transparent 18rem),
    var(--bg-dark);
  color: #effbf3;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.site-footer a {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

.footer-links a {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  width: min(210px, 100%);
  height: auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.1;
}

.copyright {
  margin-top: 20px;
  color: #c8ded1;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-wrap,
  .site-nav {
    width: 100%;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    border-radius: 18px;
  }

  .site-nav a {
    text-align: center;
    padding: 9px 6px;
  }

  .hero-inner,
  .product-hero .container,
  .grid,
  .grid.two,
  .support-grid,
  .video-grid,
  .screenshot-grid,
  .feature-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 62px 0;
  }

  .section {
    padding: 54px 0;
  }

  .product-hero .container {
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .container {
    width: min(100% - 22px, 1120px);
  }

  .brand {
    white-space: normal;
    gap: 12px;
    width: 100%;
  }

  .brand img {
    width: 132px;
    max-height: 50px;
  }

  .footer-brand img {
    width: min(165px, 100%);
  }

  .site-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .language-switcher {
    width: 100%;
    justify-content: center;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-card,
  .card,
  .policy-content {
    padding: 22px;
    border-radius: 18px;
  }

  .video-placeholder {
    min-height: 230px;
    flex-direction: column;
    gap: 14px;
  }

  .video-placeholder::before {
    margin-right: 0;
  }

  .video-placeholder::after {
    left: 50%;
    top: calc(50% - 29px);
    transform: translate(-35%, -50%);
  }
}


a.mini-app-card {
  color: inherit;
  text-decoration: none;
}

.portal-mini-card,
.portal-card {
  border-color: rgba(99, 102, 241, 0.28);
  background:
    radial-gradient(circle at 82% 10%, rgba(168, 85, 247, 0.18), transparent 9rem),
    radial-gradient(circle at 16% 0%, rgba(34, 211, 238, 0.18), transparent 9rem),
    rgba(255, 255, 255, 0.92);
}

.hero .portal-mini-card {
  background:
    radial-gradient(circle at 80% 12%, rgba(168, 85, 247, 0.32), transparent 7rem),
    radial-gradient(circle at 8% 0%, rgba(34, 211, 238, 0.24), transparent 7rem),
    rgba(255, 255, 255, 0.15);
}

.portal-icon,
.portal-app-icon {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 50%, #ffffff 0 18%, transparent 19%),
    conic-gradient(from 150deg, #22d3ee, #8b5cf6, #34d399, #22d3ee);
  color: #fff;
  text-shadow: 0 1px 8px rgba(31, 41, 55, 0.28);
}

.portal-icon::after,
.portal-app-icon::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  transform: rotate(-24deg) scaleX(1.28);
}

.mini-status {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.portal-card::before {
  content: "";
  position: absolute;
  right: -58px;
  top: -58px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0 10%, transparent 11%),
    conic-gradient(from 160deg, rgba(34, 211, 238, 0.45), rgba(139, 92, 246, 0.42), rgba(52, 211, 153, 0.38), rgba(34, 211, 238, 0.45));
  filter: blur(0.2px);
  opacity: 0.9;
}

.portal-card > * {
  position: relative;
  z-index: 1;
}

.portal-video-card {
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 70% 22%, rgba(168, 85, 247, 0.34), transparent 11rem),
    radial-gradient(circle at 30% 70%, rgba(34, 211, 238, 0.28), transparent 11rem),
    linear-gradient(135deg, #0f766e, #312e81);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.portal-hero {
  background:
    radial-gradient(circle at 20% 78%, rgba(34, 211, 238, 0.3), transparent 14rem),
    radial-gradient(circle at 78% 24%, rgba(168, 85, 247, 0.38), transparent 20rem),
    radial-gradient(circle at 52% 48%, rgba(52, 211, 153, 0.2), transparent 18rem),
    linear-gradient(135deg, #0f766e 0%, #2563eb 48%, #7c3aed 100%);
}

.portal-stage {
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 48% 50%, rgba(255, 255, 255, 0.2), transparent 9rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.28), rgba(255, 255, 255, 0.12));
  background-size: 38px 38px, 38px 38px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 24px 70px rgba(30, 64, 175, 0.24);
  overflow: hidden;
}

.portal-stage::before,
.portal-stage::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.portal-stage::before {
  left: 13%;
  top: 22%;
  width: 105px;
  height: 105px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0 14%, transparent 15%),
    conic-gradient(from 160deg, #22d3ee, #8b5cf6, #34d399, #22d3ee);
  box-shadow: 0 0 38px rgba(34, 211, 238, 0.46);
}

.portal-stage::after {
  right: 14%;
  bottom: 18%;
  width: 118px;
  height: 118px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.94) 0 13%, transparent 14%),
    conic-gradient(from -40deg, #a855f7, #22d3ee, #84cc16, #a855f7);
  box-shadow: 0 0 42px rgba(168, 85, 247, 0.46);
}

.bounce-ball {
  position: absolute;
  left: 46%;
  top: 48%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 24%, #ffffff, #d5f873 34%, #35dc78 72%);
  box-shadow: 0 0 34px rgba(213, 248, 115, 0.6);
}

.mirror-line {
  position: absolute;
  left: 27%;
  top: 57%;
  width: 48%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.45);
  transform: rotate(-24deg);
}

.reflection-line {
  position: absolute;
  left: 24%;
  top: 41%;
  width: 58%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(213, 248, 115, 0.1), rgba(213, 248, 115, 0.95), rgba(34, 211, 238, 0.1));
  transform: rotate(18deg);
}


.portal-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.portal-preview-card {
  min-height: 360px;
}

.portal-preview-art {
  position: relative;
  min-height: 190px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 24% 22%, rgba(34, 211, 238, 0.26), transparent 8rem),
    radial-gradient(circle at 80% 68%, rgba(168, 85, 247, 0.28), transparent 8rem),
    linear-gradient(135deg, #0f766e, #312e81);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  box-shadow: 0 16px 38px rgba(30, 64, 175, 0.12);
}

.portal-preview-art .bounce-ball {
  left: 42%;
  top: 42%;
}

.portal-preview-art .reflection-line {
  left: 16%;
  top: 40%;
  width: 70%;
}

.portal-preview-art .mirror-line {
  left: 22%;
  top: 58%;
  width: 58%;
}

.portal-preview-art.mirror::before,
.portal-preview-art.mirror::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0 15%, transparent 16%),
    conic-gradient(from 150deg, #22d3ee, #8b5cf6, #34d399, #22d3ee);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

.portal-preview-art.mirror::before {
  width: 78px;
  height: 78px;
  left: 10%;
  top: 16%;
}

.portal-preview-art.mirror::after {
  width: 88px;
  height: 88px;
  right: 10%;
  bottom: 14%;
}

.portal-preview-art.levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  padding: 26px;
}

.portal-level-dot {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, #d5f873, #22d3ee);
  box-shadow: 0 0 26px rgba(213, 248, 115, 0.45);
}

.portal-level-dot:nth-child(2) {
  background: linear-gradient(135deg, #a855f7, #22d3ee);
}

.portal-level-dot:nth-child(3) {
  background: linear-gradient(135deg, #34d399, #d5f873);
}

@media (max-width: 900px) {
  .portal-preview-grid {
    grid-template-columns: 1fr;
  }
}
