﻿:root {
  --bg: #eef5f2;
  --surface: #ffffff;
  --surface-soft: #f6f8f7;
  --ink: #12211f;
  --muted: #566460;
  --brand: #0f5143;
  --brand-strong: #0c4539;
  --line: rgba(15, 44, 38, 0.12);
  --danger: #9d3327;
  --danger-soft: #fff0ed;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 14px 36px rgba(18, 33, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1300px 500px at 20% -15%, rgba(17, 112, 90, 0.12), transparent 62%),
    radial-gradient(900px 420px at 95% 10%, rgba(255, 255, 255, 0.8), transparent 62%),
    var(--bg);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(244, 241, 233, 0.82);
  border-bottom: 1px solid transparent;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.topbar-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.topbar-collapsible {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: 0.4rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo img {
  width: 38px;
  height: 38px;
}

.brand-logo-text {
  display: grid;
  gap: 0.04rem;
}

.brand-logo-text strong {
  font-family: "Sora", sans-serif;
  font-size: 1.38rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-logo-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-links {
  display: none;
}

.topbar-actions {
  display: inline-flex;
  gap: 0.6rem;
}

.topbar-menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.btn-install {
  min-width: 122px;
}

.topbar .btn {
  min-height: 40px;
  padding: 0.58rem 0.9rem;
  font-size: 0.95rem;
}

.topbar .btn.btn-primary {
  padding: 0.58rem 1rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #f4f7f6;
  box-shadow: 0 12px 24px rgba(15, 81, 67, 0.24);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
}

main {
  display: grid;
  gap: 2.2rem;
  padding: 1.1rem 0 3rem;
}

.section {
  padding: 0.5rem 0;
}

.hero {
  padding-top: 0.8rem;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-copy,
.hero-preview,
.simulator-card,
.info-card,
.mock-card-system,
.testimonial,
.final-cta-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 247, 0.9));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 1.3rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #315e54;
  font-weight: 800;
}

h1,
h2,
h3,
strong {
  font-family: "Sora", sans-serif;
}

h1 {
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.6;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hero-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 249, 246, 0.92);
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-preview {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.preview-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem;
}

.preview-main {
  background: linear-gradient(145deg, #114b3f, #0e3b32);
  color: #e8f2ef;
}

.preview-card p,
.preview-card span,
.section-head p,
.testimonial p,
.sim-result p,
.info-card p,
.mock-card-system p,
.final-cta-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.preview-main p,
.preview-main span {
  color: rgba(236, 245, 243, 0.88);
}

.preview-card strong {
  display: block;
  margin: 0.45rem 0;
  font-size: 1.4rem;
}

.section-grid {
  display: grid;
  gap: 1rem;
}

.section-head h2 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.section-head.center {
  text-align: center;
}

.simulator-card {
  padding: 1rem;
  display: grid;
  gap: 0.95rem;
}

.sim-form {
  display: grid;
  gap: 0.7rem;
}

.sim-form label {
  display: grid;
  gap: 0.35rem;
}

.sim-form span {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 700;
}

.sim-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 13px;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  font-size: 0.98rem;
}

.sim-form input:focus {
  outline: 2px solid rgba(17, 89, 74, 0.24);
  border-color: rgba(17, 89, 74, 0.36);
}

.sim-result {
  border: 1px dashed rgba(17, 89, 74, 0.26);
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  min-height: 94px;
}

.sim-result-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sim-kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.6rem;
}

.sim-kpi small {
  color: var(--muted);
  font-size: 0.75rem;
}

.sim-kpi strong {
  display: block;
  margin-top: 0.2rem;
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.info-card,
.mock-card-system,
.testimonial {
  padding: 1rem;
}

.info-card h3,
.mock-card-system h3 {
  margin: 0;
  font-size: 1.04rem;
}

.info-card p,
.mock-card-system p {
  margin-top: 0.55rem;
}

.info-card.danger {
  background: linear-gradient(180deg, #fff7f5, var(--danger-soft));
  border-color: rgba(157, 51, 39, 0.16);
}

.section-foot {
  margin: 0.95rem 0 0;
  text-align: center;
  font-weight: 700;
  color: #244b43;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-md);
  padding: 0.8rem;
}

.steps li strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(16, 81, 67, 0.12);
  color: var(--brand);
}

.mock-grid .mock-card-system {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 243, 0.95)),
    repeating-linear-gradient(90deg, transparent 0, transparent 11px, rgba(14, 59, 50, 0.04) 11px, rgba(14, 59, 50, 0.04) 12px);
}

.mock-card-system img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(15, 44, 38, 0.12);
  background: #eaf1ee;
  margin-bottom: 0.75rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: zoom-in;
}

.mock-card-system:hover img {
  transform: scale(1.015);
  box-shadow: 0 10px 22px rgba(15, 81, 67, 0.16);
}

.testimonial p {
  color: #253431;
}

.testimonial strong {
  display: block;
  margin-top: 0.7rem;
}

.final-cta-box {
  text-align: center;
  padding: 1.4rem;
}

.final-cta-box h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
}

.final-cta-box .btn {
  margin-top: 1rem;
}

.final-cta-box p {
  margin-top: 0.7rem;
  font-size: 0.92rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.info-card,
.mock-card-system,
.testimonial,
.preview-card,
.simulator-card,
.hero-copy,
.final-cta-box {
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.info-card:hover,
.mock-card-system:hover,
.testimonial:hover,
.preview-card:hover,
.simulator-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 81, 67, 0.28);
  box-shadow: 0 16px 34px rgba(15, 81, 67, 0.12);
}

.print-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}

.print-lightbox.hidden {
  display: none;
}

.print-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 19, 16, 0.78);
}

.print-lightbox-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 1080px);
  border-radius: 18px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  background: #081815;
  touch-action: pan-x pan-y;
}

.print-lightbox-content img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  background: #081815;
  transition: transform 180ms ease;
  transform-origin: center top;
  cursor: zoom-in;
}

.print-lightbox-content img.is-zoomed {
  transform: scale(1.75);
  cursor: zoom-out;
}

.print-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .print-lightbox-content {
    width: 96vw;
    border-radius: 14px;
    max-height: 90vh;
  }

  .print-lightbox-content img {
    max-height: none;
  }

  .print-lightbox-close {
    top: 10px;
    right: 10px;
    padding: 0.4rem 0.68rem;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 350ms ease, transform 350ms ease;
}

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

@media (min-width: 760px) {
  .topbar {
    border-bottom-color: var(--line);
  }

  .nav-links {
    display: inline-flex;
    gap: 0.72rem;
    color: #3c4f4a;
    font-weight: 600;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 0.93rem;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: stretch;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }

  .section-grid {
    grid-template-columns: 0.96fr 1.04fr;
    align-items: start;
  }

  .cards.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 980px) {
  .topbar-inner {
    position: relative;
    min-height: 64px;
  }

  .topbar-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
  }

  .topbar-collapsible {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(252, 251, 247, 0.98);
    box-shadow: 0 16px 34px rgba(14, 41, 35, 0.12);
  }

  .topbar.is-menu-open .topbar-collapsible {
    display: flex;
  }

  .topbar-collapsible .nav-links {
    display: grid;
    gap: 0.5rem;
  }

  .topbar-collapsible .nav-links a {
    padding: 0.6rem 0.55rem;
    border-radius: 12px;
  }

  .topbar-collapsible .nav-links a:hover {
    background: rgba(15, 81, 67, 0.08);
  }

  .topbar-collapsible .topbar-actions {
    display: grid;
    gap: 0.6rem;
  }

  .topbar-collapsible .btn {
    width: 100%;
    min-height: 46px;
  }

  .topbar-collapsible .btn-install {
    min-width: 0;
  }

  .topbar-quick-actions .btn-login,
  .topbar-quick-actions .btn-install {
    min-height: 38px;
    padding: 0.45rem 0.72rem;
    font-size: 0.86rem;
  }

  .topbar-quick-actions .btn-install {
    min-width: 98px;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    gap: 0.55rem;
    padding: 0.65rem 0;
  }

  .topbar .brand-logo {
    min-width: 0;
  }

  .topbar .brand-logo img {
    width: 34px;
    height: 34px;
  }

  .topbar .brand-logo-text strong {
    font-size: 1.12rem;
  }

  .topbar .brand-logo-text small {
    font-size: 0.64rem;
    line-height: 1.15;
  }

  .topbar-quick-actions {
    gap: 0.35rem;
  }

  .topbar-menu-toggle {
    min-height: 38px;
    min-width: 64px;
    padding: 0.45rem 0.65rem;
    font-size: 0.84rem;
  }
}

@media (min-width: 981px) {
  .topbar-menu-toggle {
    display: none;
  }

  .topbar-collapsible {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
    min-width: 0;
    justify-content: space-between;
  }

  .topbar-quick-actions {
    order: 3;
  }

  .topbar-collapsible .nav-links {
    min-width: 0;
  }

  .topbar-collapsible .topbar-actions {
    display: inline-flex;
    gap: 0.55rem;
  }
}

@media (min-width: 1024px) {
  main {
    gap: 3rem;
    padding-bottom: 4rem;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .hero-copy,
  .hero-preview,
  .simulator-card {
    padding: 1.4rem;
  }

  .cards.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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