:root {
  --bg: #0b0f12;
  --panel: rgba(18, 25, 24, 0.78);
  --text: #fff8ee;
  --muted: #c7b8a7;
  --line: rgba(255,255,255,0.14);
  --jade: #a9e6bc;
  --rose: #ff9fb8;
  --petal: #ffd7b8;
  --ink: #172018;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(10,13,12,0.82), rgba(12,16,15,0.96)),
    var(--bg);
}

.petal-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(180deg, rgba(10,13,12,0.48), rgba(10,13,12,0.86)),
    url("./assets/bg.png");
  background-size: auto, 192px 192px;
  background-repeat: repeat;
  opacity: 0.78;
  animation: drift 36s linear infinite;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 10%, rgba(255,159,184,0.2), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(169,230,188,0.18), transparent 26%),
    radial-gradient(circle at 48% 100%, rgba(255,215,184,0.14), transparent 34%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 20;
}

.product-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(9,13,12,0.68);
  backdrop-filter: blur(18px);
}

.brand-link,
.product-header a {
  color: var(--text);
  text-decoration: none;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 28px;
  font-weight: 850;
}

.brand-link img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255,159,184,0.16));
}

.product-header nav {
  display: flex;
  gap: 32px;
}

.product-header nav a {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.lang-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
}

.lang-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.lang-toggle .active {
  color: var(--ink);
  background: var(--jade);
}

.hero {
  min-height: 98svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  padding: 152px clamp(20px, 5vw, 72px) 86px;
}

.hero-copy {
  max-width: 840px;
}

.product-mark {
  width: 108px;
  height: 108px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(255,159,184,0.28));
}

.title-art {
  display: block;
  width: min(520px, 92%);
  margin: 0 0 20px -8px;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.28));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 7.3vw, 104px);
  line-height: 0.93;
}

.lead {
  max-width: 760px;
  color: rgba(255,248,238,0.82);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--jade), var(--petal));
  box-shadow: 0 0 36px rgba(255,215,184,0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.055);
}

.hero-stage {
  position: relative;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255,159,184,0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(169,230,188,0.16), transparent 34%),
    rgba(18,25,24,0.64);
  box-shadow: 0 36px 90px rgba(0,0,0,0.34);
  overflow: hidden;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 42%);
  pointer-events: none;
}

.hero-stage img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mood-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 clamp(20px, 5vw, 72px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  background: rgba(18,25,24,0.72);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.mood-strip div {
  min-height: 120px;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.mood-strip div:last-child {
  border-right: 0;
}

.mood-strip strong,
.mood-strip span {
  display: block;
}

.mood-strip strong {
  margin-bottom: 16px;
  color: var(--petal);
  font-size: 22px;
}

.mood-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 100px clamp(20px, 5vw, 72px);
}

.section-title {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-title h2,
.download-card h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.8vw, 64px);
  line-height: 0.98;
}

.section-title p:not(.eyebrow),
.download-card p {
  color: rgba(255,248,238,0.74);
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.download-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.026)),
    var(--panel);
}

.feature-grid article {
  min-height: 250px;
  padding: 22px;
  border-radius: 24px;
}

.feature-grid span {
  color: var(--jade);
  font-size: 12px;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 48px 0 12px;
  font-size: 22px;
}

.feature-grid p {
  color: rgba(255,248,238,0.7);
  line-height: 1.62;
}

.gallery-section {
  padding-top: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.gallery figure {
  margin: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,0.22);
}

.gallery .wide {
  grid-column: auto;
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.download-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.042));
}

.download-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 30px;
}

.download-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px 24px 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,248,238,0.54);
  text-align: center;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.home-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(169,230,188,0.45);
  border-radius: 999px;
  color: var(--ink);
  background: var(--jade);
  box-shadow: 0 0 34px rgba(169,230,188,0.18);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 192px 192px; }
}

@media (max-width: 1060px) {
  .product-header nav {
    display: none;
  }

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

@media (max-width: 860px) {
  .hero,
  .mood-strip,
  .download-card {
    grid-template-columns: 1fr;
  }

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

  .mood-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .mood-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .product-header {
    padding: 14px 16px;
  }

  .brand-link img {
    width: 64px;
    height: 64px;
  }

  .brand-link {
    font-size: 22px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mood-strip {
    margin-left: 16px;
    margin-right: 16px;
  }

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

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

  .actions,
  .button {
    width: 100%;
  }
}
