*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #12211d;
  --ink-soft: #56615d;
  --paper: #f7f4ed;
  --paper-warm: #efe8dc;
  --surface: #ffffff;
  --green: #17483c;
  --green-2: #236756;
  --mint: #d9f0e7;
  --gold: #c6903f;
  --gold-2: #e7b76b;
  --line: rgba(18, 33, 29, 0.12);
  --shadow: 0 24px 70px rgba(23, 72, 60, 0.16);
  --radius: 8px;
  --transition: 0.28s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 14px 30px rgba(23, 72, 60, 0.24);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(23, 72, 60, 0.32); }

.btn-secondary {
  color: var(--green);
  background: rgba(255,255,255,0.74);
  border-color: rgba(23, 72, 60, 0.18);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover,
.btn-outline:hover { border-color: var(--green); transform: translateY(-2px); }
.btn-outline { color: var(--green); background: transparent; border-color: rgba(23, 72, 60, 0.22); }
.btn-large { min-height: 54px; padding: 14px 28px; }
.btn-full { width: 100%; }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 16px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(247, 244, 237, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  padding: 10px 0;
}

.nav-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(23, 72, 60, 0.2);
}

.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav-links a,
.nav-mobile a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 700;
}

.nav-links a:hover,
.nav-mobile a:hover { color: var(--green); background: rgba(23, 72, 60, 0.06); }
.nav-cta { padding: 10px 20px; min-height: 42px; }

.language-select {
  min-height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(23, 72, 60, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: var(--green);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.language-select:focus {
  outline: 2px solid rgba(198, 144, 63, 0.45);
  outline-offset: 2px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 6px;
  border: 0;
  background: transparent;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  width: min(1180px, calc(100% - 48px));
  margin: 14px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow);
}
.nav-mobile .language-select { width: 100%; margin: 4px 0; }
.nav-mobile.open { display: grid; gap: 4px; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 108px 0 72px;
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 240, 231, 0.92), transparent 30%),
    linear-gradient(135deg, #f7f4ed 0%, #efe8dc 56%, #d9f0e7 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(23,72,60,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,72,60,0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 70px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 16px;
  border: 1px solid rgba(23, 72, 60, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  color: var(--green);
  font-weight: 800;
  font-size: 0.88rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(198, 144, 63, 0.16);
}

.hero-headline {
  max-width: 760px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 7.6vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  color: var(--ink);
}

.highlight {
  color: var(--green);
  background: linear-gradient(transparent 60%, rgba(231, 183, 107, 0.34) 60%);
}

.hero-sub {
  max-width: 650px;
  margin: 26px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(18, 33, 29, 0.12);
}

.stat {
  display: grid;
  gap: 2px;
}

.stat-num {
  color: var(--green);
  font-size: 1.28rem;
  font-weight: 900;
}

.stat-label {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.stat-divider {
  width: 1px;
  height: 42px;
  background: rgba(18, 33, 29, 0.14);
}

.hero-showcase {
  position: relative;
  min-height: 620px;
}

.device {
  position: absolute;
  width: min(320px, 44vw);
  border-radius: 34px;
  padding: 10px;
  background: #101915;
  box-shadow: var(--shadow);
}

.device img {
  width: 100%;
  border-radius: 26px;
}

.device-front {
  right: 14%;
  top: 28px;
  z-index: 2;
}

.device-back {
  left: 0;
  top: 112px;
  z-index: 1;
  transform: rotate(-7deg) scale(0.92);
  opacity: 0.96;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 1px;
  min-width: 132px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 14px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 18px 48px rgba(23, 72, 60, 0.16);
  backdrop-filter: blur(16px);
}

.floating-note span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-note strong { color: var(--green); }
.note-top { right: 0; top: 132px; }
.note-bottom { left: 28px; bottom: 82px; }

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
}

.section { padding: 105px 0; }

.strip {
  padding: 24px 0;
  background: var(--green);
  color: #fff;
}

.strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  overflow: auto;
  font-weight: 900;
}

.strip-inner span { white-space: nowrap; opacity: 0.92; }

.section-header {
  max-width: 790px;
  margin-bottom: 46px;
}

.section-label {
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-sub {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.workflow { background: var(--surface); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfaf7);
  box-shadow: 0 18px 50px rgba(18, 33, 29, 0.06);
  opacity: 0;
  transform: translateY(18px);
  transition: 0.5s ease;
}

.step.visible,
.feature-card.visible,
.screenshot-item.visible { opacity: 1; transform: translateY(0); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

.step h3,
.feature-card h3,
.price-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.step p,
.feature-card p,
.price-card li,
.download p { color: var(--ink-soft); }

.features {
  background:
    linear-gradient(180deg, var(--paper), #f2eadf);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 240px;
  padding: 26px;
  border: 1px solid rgba(23, 72, 60, 0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 18px 50px rgba(18, 33, 29, 0.06);
  opacity: 0;
  transform: translateY(18px);
  transition: 0.5s ease;
}

.feature-card--large { grid-column: span 2; }
.feature-card--right { background: var(--green); color: #fff; }
.feature-card--right p { color: rgba(255,255,255,0.75); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  margin-bottom: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card--right .feature-icon {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.showcase-band {
  padding: 88px 0;
  background: var(--green);
}

.showcase-band img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.24);
}

.screenshots { background: var(--surface); }

.screenshots-wrap {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 18px;
  align-items: center;
}

.screenshots-viewport {
  overflow: hidden;
  padding: 10px 0 22px;
}

.screenshots-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-item {
  flex: 0 0 255px;
  opacity: 0.62;
  transform: scale(0.94);
  transition: var(--transition);
}

.screenshot-item.active {
  opacity: 1;
  transform: scale(1);
}

.screenshot-item img {
  border: 10px solid #111b17;
  border-radius: 34px;
  box-shadow: 0 22px 54px rgba(18, 33, 29, 0.16);
}

.screenshot-item figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--green);
  font-weight: 900;
}

.ss-btn {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  transition: var(--transition);
}

.ss-btn:hover { border-color: var(--green); transform: translateY(-2px); }

.ss-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.ss-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(23, 72, 60, 0.22);
  cursor: pointer;
}

.ss-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--green);
}

.pricing {
  background: linear-gradient(180deg, var(--paper), var(--paper-warm));
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 50px rgba(18, 33, 29, 0.07);
}

.price-card--featured {
  background: var(--green);
  color: #fff;
  transform: translateY(-12px);
}

.price-card--featured li,
.price-card--featured .price-alt { color: rgba(255,255,255,0.76); }

.price-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-2);
  color: #2b1c08;
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  margin: 16px 0 4px;
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
}

.price span {
  font-size: 1rem;
  font-weight: 700;
}

.price-alt {
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.price-card ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 30px;
}

.price-card li {
  position: relative;
  padding-left: 26px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.price-card .btn { margin-top: auto; }

.download {
  background: var(--green);
  color: #fff;
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.download h2 {
  max-width: 720px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.download p {
  max-width: 620px;
  margin-top: 16px;
  color: rgba(255,255,255,0.76);
  font-size: 1.1rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 54px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 900;
}

.footer {
  background: #10251f;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 34px;
  margin-bottom: 44px;
}

.footer-brand { min-width: 0; }

.footer-logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.footer-tagline {
  max-width: 280px;
  color: rgba(255,255,255,0.62);
  font-size: 0.94rem;
}

.footer-links-group h5 {
  margin-bottom: 15px;
  color: rgba(255,255,255,0.48);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links-group ul {
  display: grid;
  gap: 10px;
}

.footer-links-group a {
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-links-group a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.44);
  font-size: 0.86rem;
}

.footer-note {
  color: rgba(255,255,255,0.62);
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta,
  .nav-inner > .language-select { display: none; }
  .nav-hamburger { display: flex; }
  .hero { min-height: auto; }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-showcase {
    min-height: 560px;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card--featured { transform: none; }
  .download-inner { grid-template-columns: 1fr; }
  .download-actions { justify-content: flex-start; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container,
  .nav-inner,
  .nav-mobile,
  .hero-content { width: min(100% - 32px, 1180px); }
  .hero { padding-top: 92px; }
  .hero-headline { font-size: clamp(2.65rem, 15vw, 4.1rem); }
  .hero-ctas { display: grid; }
  .hero-stats {
    align-items: flex-start;
    gap: 12px;
    overflow-x: auto;
  }
  .hero-showcase { min-height: 440px; }
  .device { width: min(240px, 62vw); }
  .device-front { right: 0; top: 0; }
  .device-back { left: 0; top: 92px; }
  .floating-note { display: none; }
  .section { padding: 72px 0; }
  .steps,
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: auto; }
  .screenshots-wrap {
    grid-template-columns: 1fr;
  }
  .ss-btn { display: none; }
  .screenshot-item { flex-basis: min(74vw, 255px); }
  .price-card { min-height: auto; padding: 26px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
