:root {
  --bg: #082a2d;
  --bg-deep: #051c1e;
  --panel: rgba(24, 78, 76, 0.55);
  --panel-strong: rgba(29, 93, 89, 0.72);
  --line: rgba(191, 255, 234, 0.14);
  --mint: #aaf0d0;
  --mint-strong: #7de8c3;
  --gold: #f6be4d;
  --iris: #8ea8ff;
  --rose: #ff8eb5;
  --text: #f6fbf8;
  --muted: rgba(236, 248, 243, 0.72);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  min-height: 100%;
  background-color: #061c1e;
  background:
    radial-gradient(circle at 15% 20%, rgba(61, 161, 139, 0.34), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(243, 178, 69, 0.14), transparent 28%),
    linear-gradient(180deg, #08272a 0%, #0a3133 44%, #061c1e 100%);
}

body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  min-height: 100vh;
  position: relative;
  background-color: #061c1e;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(61, 161, 139, 0.34), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(243, 178, 69, 0.14), transparent 28%),
    linear-gradient(180deg, #08272a 0%, #0a3133 44%, #061c1e 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 15% 20%, rgba(61, 161, 139, 0.34), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(243, 178, 69, 0.14), transparent 28%),
    linear-gradient(180deg, #08272a 0%, #0a3133 44%, #061c1e 100%);
}

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

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

p,
h1,
h2,
h3,
li,
a,
strong,
span {
  overflow-wrap: break-word;
}

.container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.page-glow-left {
  top: 120px;
  left: -120px;
  background: rgba(75, 196, 170, 0.22);
}

.page-glow-right {
  top: 60px;
  right: -120px;
  background: rgba(255, 163, 69, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(6, 27, 29, 0.44);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.3rem;
}

.brand-copy small {
  font-size: 0.73rem;
  letter-spacing: 0.38rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-store {
  padding: 10px 16px;
  border-radius: 999px;
  color: #092d2f;
  background: linear-gradient(135deg, #78e4c0, #c0f7da);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(111, 232, 194, 0.2);
}

.nav-links .nav-store:hover {
  color: #092d2f;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  padding: 56px 0 34px;
}

.hero-copy,
.section-heading,
.theme-copy,
.language-copy {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.theme-copy h2,
.language-copy h2,
.cta-card h2 {
  margin: 14px 0 14px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 5.4rem;
  max-width: 11ch;
}

.hero p,
.section-heading p,
.theme-copy p,
.language-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 60ch;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #093033;
  background: linear-gradient(135deg, #79e5c2, #b9f5d8);
  box-shadow: 0 16px 30px rgba(93, 234, 193, 0.24);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-a {
  width: 520px;
  height: 520px;
  opacity: 0.45;
}

.orbit-b {
  width: 370px;
  height: 370px;
  opacity: 0.22;
}

.phone-card {
  position: absolute;
  width: 290px;
  background: rgba(5, 18, 20, 0.82);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone-card img {
  width: 100%;
  border-radius: 24px;
}

.phone-card-main {
  left: 80px;
  top: 60px;
  transform: rotate(-4deg);
}

.phone-card-side {
  right: 30px;
  bottom: 90px;
  transform: rotate(7deg);
}

.floating-panel {
  position: absolute;
  right: 12px;
  top: 54px;
  width: 220px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 194, 92, 0.14);
  border: 1px solid rgba(255, 213, 147, 0.22);
  backdrop-filter: blur(12px);
}

.floating-panel span {
  display: block;
  color: var(--gold);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.floating-panel strong {
  display: block;
  line-height: 1.4;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 12px 0 60px;
}

.stat-card,
.feature-card,
.gallery-card,
.cta-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(35, 95, 90, 0.56), rgba(18, 58, 57, 0.42));
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 24px;
  border-radius: 24px;
}

.stat-label {
  display: block;
  color: var(--mint-strong);
  margin-bottom: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

.stat-card strong {
  font-size: 1.1rem;
  line-height: 1.4;
}

.feature-section,
.gallery-section,
.theme-section,
.language-section,
.cta-section {
  padding: 50px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

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

.feature-card {
  border-radius: 28px;
  padding: 28px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 30px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 18px 20px 22px;
  background: rgba(7, 19, 20, 0.36);
}

.gallery-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.gallery-card span {
  color: var(--muted);
  line-height: 1.6;
}

.gallery-large {
  grid-row: span 2;
}

.theme-section,
.language-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.theme-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  color: var(--muted);
}

.theme-visual,
.language-visual {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-card {
  border-radius: 34px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 46px;
  color: var(--muted);
}

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

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.footer-brand strong {
  display: block;
  color: var(--text);
}

.footer-brand p {
  margin: 4px 0 0;
}

.footer-links a {
  color: var(--mint);
}

.floating-store {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #08292b;
  background: linear-gradient(135deg, #83e8c6, #fff0a8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.floating-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

.floating-store small,
.floating-store strong {
  display: block;
  line-height: 1.05;
}

.floating-store small {
  font-size: 0.72rem;
  opacity: 0.72;
  font-weight: 700;
}

.floating-store strong {
  font-size: 1.02rem;
}

.store-icon {
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 22px solid #083032;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.3));
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .theme-section,
  .language-section,
  .feature-grid,
  .gallery-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 700px;
    order: -1;
  }

  .hero h1 {
    font-size: 4rem;
    max-width: 13ch;
  }

  .phone-card-main {
    left: 40px;
  }

  .gallery-large {
    grid-row: auto;
  }

  .cta-card,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 82px;
  }

  .site-header {
    background: rgba(6, 27, 29, 0.86);
  }

  .navbar {
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 0;
    row-gap: 10px;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 8px;
    overflow: visible;
    padding: 4px 0 2px;
  }

  .nav-links a {
    min-width: 0;
    text-align: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.86rem;
  }

  .nav-links .nav-store {
    background: linear-gradient(135deg, #78e4c0, #c0f7da);
  }

  .container {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .navbar.container {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .hero {
    padding-top: 30px;
    gap: 16px;
    overflow: hidden;
  }

  .hero-copy {
    order: -1;
    width: 100%;
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  .hero h1 {
    font-size: 2.65rem;
    line-height: 1.02;
    max-width: 100%;
  }

  .hero p,
  .section-heading p,
  .theme-copy p,
  .language-copy p {
    font-size: 1rem;
    width: 100%;
    max-width: min(320px, 100%);
  }

  .hero-actions,
  .hero-badges {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-badges li {
    width: 100%;
    padding: 9px 12px;
  }

  .hero-visual {
    order: 0;
    min-height: 430px;
  }

  .phone-card {
    width: 178px;
    padding: 10px;
    border-radius: 26px;
  }

  .phone-card img {
    border-radius: 18px;
  }

  .phone-card-main {
    left: 0;
    top: 86px;
  }

  .phone-card-side {
    right: 0;
    bottom: 38px;
  }

  .floating-panel {
    left: 18px;
    right: auto;
    top: 24px;
    width: calc(100% - 36px);
  }

  .feature-card,
  .stat-card,
  .cta-card {
    border-radius: 24px;
  }

  .floating-store {
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 0;
    justify-content: center;
    padding: 13px 14px calc(13px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .floating-store strong {
    font-size: 0.92rem;
  }
}
