:root {
  --bg: #fbf4eb;
  --bg-2: #fff9f2;
  --text: #6f3919;
  --text-strong: #d86308;
  --text-dark: #8d4a1d;
  --orange: #f07f16;
  --orange-strong: #e96608;
  --orange-soft: #ffb54a;
  --gold: #efc64a;
  --cream: #fff7ee;
  --shadow: 0 24px 60px rgba(166, 86, 19, .12);
  --shadow-soft: 0 18px 45px rgba(200, 115, 36, .14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 186, 96, .22), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(255, 203, 137, .22), transparent 22%),
    linear-gradient(180deg, #fff9f2 0%, #fff3e6 50%, #fff6ef 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(245, 171, 85, .10) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 18%, rgba(245, 171, 85, .08) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 76%, rgba(245, 171, 85, .08) 0 4px, transparent 5px),
    radial-gradient(circle at 20% 82%, rgba(245, 171, 85, .07) 0 4px, transparent 5px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 0 8px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255,249,242,.90), rgba(255,249,242,.72));
}

.site-header .shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img {
  width: 80px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}

.site-nav a:not(.button):hover { color: var(--orange-strong); }

.language-switcher {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.lang-btn {
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--text-dark);
  border-radius: 8px;
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}

.lang-btn:hover {
  background: rgba(141, 74, 29, 0.08);
  border-color: var(--orange-strong);
  color: var(--orange-strong);
}

.lang-btn.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.button,
.button--small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ff9d38, #e96608);
  color: #fff;
  box-shadow: 0 10px 26px rgba(234, 100, 8, .22);
}

.button--small {
  min-height: 48px;
  padding: 0 22px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(240, 127, 22, .12);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--orange-strong);
  border-radius: 999px;
}

.section {
  position: relative;
  padding: 58px 0;
}

.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  pointer-events: none;
}

.hero > .shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  height: 100%;
  min-height: 800px;
}

.hero__content { position: relative; z-index: 2; }

.hero h1,
.section-heading h2,
.premium h2,
.cta h2 {
  margin: 0 0 18px;
  color: var(--text-strong);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: .93;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
}

.lead {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.45vw, 1.34rem);
  line-height: 1.6;
  color: #7b4a2d;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  min-width: 196px;
  padding: 14px 20px;
}

.store-badge img {
  min-width: 196px;
  height: auto;
  display: block;
}

.store-badge__small {
  display: block;
  font-size: .78rem;
  opacity: .85;
  margin-bottom: 4px;
}

.store-badge__big {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}

.hero__visual {
  position: relative;
  height: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: 8% -6% 0;
  background:
    radial-gradient(circle at center, rgba(255,177,69,.44), rgba(255,177,69,.10) 38%, transparent 64%);
  filter: blur(10px);
}

.hero-center-art {
  display: none;
}

.device {
  position: relative;
  width: 265px;
  background: linear-gradient(180deg, #fefefe, #eee6e1);
  border: 3px solid #d6c3b7;
  border-radius: 42px;
  padding: 14px;
  box-shadow: 0 24px 45px rgba(132, 74, 29, .16);
}

.device__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 108px;
  height: 24px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #241716;
  z-index: 3;
}

.screen {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff8f2, #fff3e4);
  padding: 0;
}

.screen-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.screen-placeholder {
  position: absolute;
  inset: auto 16px 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 251, 245, .88);
  border: 1px solid rgba(240, 127, 22, .16);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.screen-placeholder span,
.screen-placeholder small {
  display: block;
}
.screen-placeholder span {
  font-weight: 700;
  color: var(--text-strong);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}
.screen-placeholder small {
  color: #9f653c;
  margin-top: 3px;
}

.device--left {
  transform: translate(-60px, 34px) rotate(-10deg);
  z-index: 2;
}

.device--right {
  transform: translate(60px, -24px) rotate(10deg);
  z-index: 2;
}

.features {
  padding-top: 40px;
}

.section-heading h2,
.premium h2,
.cta h2 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 300;
}

.features__grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 36px;
  align-items: center;
}

.features__list {
  display: grid;
  gap: 24px;
}

.feature {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: start;
}

.feature__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffa93b, #f07f16);
  color: #fff;
  font-weight: 900;
  font-size: 1.55rem;
  box-shadow: 0 16px 30px rgba(234, 100, 8, .16);
}

.feature h3,
.premium-card h3 {
  margin: 2px 0 8px;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--text-strong);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.2;
  letter-spacing: -.01em;
  font-weight: 500;
}

.feature p,
.premium-card p,
.premium__content > p {
  margin: 0;
  color: #7e4d32;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.65;
}

.feature-showcase {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device--scanner {
  width: 340px;
  transform: rotate(8deg);
  z-index: 2;
}

.device--scanner .screen-image {
  min-height: 620px;
}

.floating-stack {
  position: absolute;
  right: 0;
  bottom: 96px;
  display: grid;
  gap: 12px;
  transform: translateX(40px);
}

.floating-card {
  width: 180px;
  height: 112px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,244,231,.94));
  box-shadow: 0 18px 36px rgba(192, 114, 34, .16);
}
.floating-card--top { transform: rotate(-8deg); }
.floating-card--bottom { transform: rotate(8deg); }

.premium {
  position: relative;
}

.cta {
  position: relative;
  text-align: center;
  padding-bottom: 74px;
}

.cta h2 {
  margin-inline: auto;
}

.cta h2,
.cta .store-badges--center,
.cta__note {
  position: relative;
  z-index: 2;
}

.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  pointer-events: none;
}

.premium__content,
.cta h2,
.store-badges--center,
.cta__note {
  position: relative;
  z-index: 2;
}

.premium__content {
  backdrop-filter: blur(14px);
  background:
    radial-gradient(circle at 20% 15%, rgba(255,174,65,.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,250,245,.92));
  border: 1px solid rgba(226, 167, 104, .24);
  border-radius: 36px;
  padding: clamp(28px, 4vw, 54px);
  box-shadow: var(--shadow);
}

.premium__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.premium-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(240,127,22,.12);
}

.store-badges--center {
  justify-content: center;
  margin-top: 26px;
}

.cta__note {
  margin-top: 28px;
  font-size: 1.1rem;
  color: #82431f;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 34px;
  color: #8f5c40;
}

.support-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff982d, #ef7411);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(234, 100, 8, .18);
}

.support-pill::before {
  content: "💬";
  font-size: 1rem;
}

@media (max-width: 1180px) {
  .hero > .shell {
    grid-template-columns: 1fr;
  }

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

  .hero__content,
  .section-heading,
  .premium__content,
  .cta {
    text-align: center;
  }

  .lead { margin-inline: auto; }
  .store-badges { justify-content: center; }
  .hero { min-height: auto; }
  .hero__visual { min-height: 740px; margin-top: 8px; }
  .features__list { max-width: 900px; margin-inline: auto; }
  .feature-showcase { min-height: 640px; }
}

@media (max-width: 900px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand img { width: 190px; }

  .language-switcher {
    display: none;
  }

  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 86px;
    left: 14px;
    right: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,248,240,.98);
    box-shadow: 0 20px 48px rgba(88, 42, 16, .12);
    border: 1px solid rgba(240,127,22,.10);
    display: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 15;
  }

  .site-nav.is-open { display: flex; }

  .hero h1 { max-width: none; }

  .device { width: 210px; padding: 11px; border-radius: 34px; }
  .screen,
  .screen-image { min-height: 420px; }
  .hero-center-art img { max-width: 480px; }
  .device--left { transform: translate(-70px, 56px) rotate(-9deg); }
  .device--right { transform: translate(70px, -16px) rotate(9deg); }

  .device--scanner {
    width: min(100%, 310px);
    transform: rotate(6deg);
  }

  .device--scanner .screen,
  .device--scanner .screen-image { min-height: 460px; }

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

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 20px), var(--max));
  }

  .site-header {
    padding-top: 16px;
  }

  .brand img { width: 164px; }

  .section { padding: 38px 0; }

  .hero__visual {
    min-height: 560px;
    overflow: hidden;
  }

  .hero-center-art img {
    width: 110%;
    max-width: none;
    opacity: .88;
  }

  .device {
    width: 172px;
    border-radius: 28px;
  }
  .screen,
  .screen-image {
    min-height: 340px;
  }

  .device__notch {
    width: 82px;
    height: 18px;
  }

  .screen-placeholder {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .screen-placeholder span { font-size: .8rem; }
  .screen-placeholder small { font-size: .68rem; }

  .device--left { transform: translate(-42px, 54px) rotate(-10deg); }
  .device--right { transform: translate(42px, -6px) rotate(10deg); }

  .feature {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }
  .feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.2rem;
  }

  .feature-showcase {
    min-height: 470px;
  }

  .device--scanner {
    width: min(100%, 245px);
    transform: rotate(4deg);
  }

  .device--scanner .screen,
  .device--scanner .screen-image {
    min-height: 400px;
  }

  .floating-stack {
    right: 6px;
    bottom: 26px;
    transform: translateX(0);
  }
  .floating-card {
    width: 110px;
    height: 72px;
    border-radius: 18px;
  }

  .support-pill {
    width: 100%;
    justify-content: center;
  }
}
