:root {
  --bg: #f5f9f6;
  --surface: #ffffff;
  --surface-soft: #eef6ef;
  --text: #132215;
  --muted: #516657;
  --accent: #55b246;
  --accent-strong: #3f9634;
  --border: #d5e4d6;
  --hero-dark: #112015;
  --hero-dark-2: #1a2f1f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #ebf7eb, var(--bg) 58%);
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(245, 249, 246, 0.92);
  border-bottom: 1px solid var(--border);
}

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

.brand img {
  width: 170px;
}

nav {
  display: flex;
  gap: 1.2rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.cta,
.ghost {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  font-weight: 700;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.cta {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #f7fff5;
  border: none;
  cursor: pointer;
}

.cta:hover,
.ghost:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cta.small {
  padding: 0.62rem 0.95rem;
}

.ghost {
  border: 1px solid #a6c1a8;
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(70% 90% at 90% 10%, rgba(90, 188, 72, 0.25), transparent 70%),
    linear-gradient(145deg, var(--hero-dark), var(--hero-dark-2));
  color: #f2fff4;
}

.hero .chip {
  background: rgba(100, 194, 84, 0.2);
  color: #dcf8de;
}

.hero .hero-copy p,
.hero nav a,
.hero .channels-label,
.hero .hero-points {
  color: #d4e8d6;
}

.hero .ghost {
  border-color: #89b790;
  color: #eefcf0;
}

.hero .channel-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(205, 235, 209, 0.4);
  color: #e6f7e8;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.chip {
  display: inline-block;
  background: #e9f7e8;
  color: #3c7d34;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  font-size: 0.86rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  margin-bottom: 1.1rem;
}

.hero-copy p {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.channels {
  margin: 0.2rem 0 1rem;
}

.channels-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4f6855;
  margin-bottom: 0.5rem;
}

.channels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.channel-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.62rem;
  border: 1px solid #c9ddcb;
  border-radius: 999px;
  background: #ffffff;
  color: #2f4934;
  font-size: 0.82rem;
  font-weight: 600;
}

.channel-icon {
  width: 1rem;
  height: 1rem;
  color: #38a646;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.channel-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero-points {
  padding-left: 1.05rem;
  color: #38513d;
}

.hero-points li {
  margin-bottom: 0.45rem;
}

.hero-card {
  background: linear-gradient(145deg, #ffffff, #f3f9f3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
}

.chat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.chat-head strong {
  font-size: 0.94rem;
  color: #1b311f;
}

.chat-head span {
  color: var(--muted);
  font-size: 0.76rem;
}

.chat-demo {
  background: #f8fbf8;
  border: 1px solid #dceadf;
  border-radius: 12px;
  padding: 0.65rem;
  min-height: 360px;
  max-height: 460px;
  overflow-y: auto;
  color: #1a311f;
}

.hero-video-card {
  display: flex;
  flex-direction: column;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

.hero-video {
  display: block;
  width: 100%;
  max-width: min(100%, 340px);
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (min-width: 1024px) {
  .hero-video {
    max-width: 360px;
  }
}

.chat {
  margin: 0.45rem 0;
  padding: 0.72rem 0.82rem;
  border-radius: 10px;
  max-width: 90%;
  white-space: pre-line;
  font-size: 0.92rem;
  color: #1a311f;
}

.from-bot {
  background: #e9f5ea;
}

.from-user {
  background: #c8eebf;
  margin-left: auto;
  color: #123017;
}

.typing {
  display: inline-flex;
  gap: 0.24rem;
  align-items: center;
  padding: 0.65rem 0.78rem;
}

.typing i {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: #6d8a72;
  display: block;
  animation: blink 1s infinite ease-in-out;
}

.typing i:nth-child(2) {
  animation-delay: 0.12s;
}

.typing i:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.chat-link {
  color: #2e7f2a;
  font-weight: 700;
  text-decoration: underline;
  word-break: break-all;
}

.menu-card {
  margin: 0.5rem 0;
  border: 1px solid #cfe2d1;
  border-radius: 12px;
  background: #ffffff;
  padding: 0.7rem;
  color: #1a311f;
}

.menu-card h4 {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: #1a311f;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #38513d;
  border-top: 1px solid #edf4ee;
  padding: 0.38rem 0;
}

.menu-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.menu-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.55rem;
}

.mini-cta {
  border: 0;
  border-radius: 8px;
  background: #4ba53f;
  color: #f7fff5;
  padding: 0.42rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.section {
  padding: 3.8rem 0;
}

.section.alt {
  background: var(--surface-soft);
}

.center {
  text-align: center;
}

.section-lead {
  max-width: 70ch;
  margin: 0 auto 1.4rem;
  color: var(--muted);
}

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

.card {
  padding: 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.card p {
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  background: linear-gradient(180deg, #ffffff, #f2faf2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 10px 22px rgba(20, 44, 23, 0.08);
}

.metric-value {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: #2e8c2d;
}

.metric-label {
  margin: 0.4rem 0 0;
  color: #3f5f44;
  font-weight: 600;
}

.steps {
  display: grid;
  gap: 0.8rem;
}

.steps div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.logo-pill {
  border: 1px solid #c9ddcb;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fff;
  font-weight: 700;
  text-align: center;
  color: #2f4934;
}

.dashboard-preview {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 200px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(20, 44, 23, 0.12);
  background: #0b140d;
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.dashboard-preview .demo-video {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.zoom-btn {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  border: 0;
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(19, 34, 21, 0.9);
  color: #f7fff5;
  cursor: pointer;
}

.zoom-btn:hover {
  background: rgba(19, 34, 21, 1);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 12, 7, 0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.image-modal.open {
  opacity: 1;
  visibility: visible;
}

.image-modal img,
.demo-video-modal {
  width: min(1200px, 96vw);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #4f6a56;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: #ffffff;
  color: #16311a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.pricing {
  text-align: center;
}

.pricing-note {
  color: #3f5f44;
  margin: 0 0 1rem;
  font-weight: 600;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  background: linear-gradient(180deg, #ffffff, #f3faf3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  text-align: left;
}

.trial-card {
  border-color: #55b246;
  box-shadow: 0 0 0 1px rgba(85, 178, 70, 0.2), 0 10px 24px rgba(22, 55, 25, 0.12);
}

.choice-badge {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: #e5f7e1;
  color: #2f7d2a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price-card.featured {
  border-color: #7fcb72;
  box-shadow: 0 0 0 1px rgba(85, 178, 70, 0.22), 0 10px 26px rgba(20, 44, 23, 0.14);
}

.trial-cta {
  width: 100%;
  justify-content: center;
  font-size: 1.02rem;
  padding: 0.95rem 1.2rem;
  box-shadow: 0 10px 18px rgba(65, 153, 49, 0.26);
}

.tier {
  color: #467a4e;
  margin: 0;
}

.price {
  margin: 0.35rem 0 0.9rem;
  font-size: 2.4rem;
  font-weight: 800;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.price-card ul {
  text-align: left;
  color: #3e5642;
  margin-bottom: 1.2rem;
}

.contact {
  text-align: center;
}

.contact p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

input,
select {
  background: #ffffff;
  border: 1px solid #aac6ae;
  color: var(--text);
  border-radius: 10px;
  padding: 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form input.field-error,
.contact-form select.field-error {
  border-color: #e57373;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.18);
}

.contact-form input.field-error:focus,
.contact-form select.field-error:focus {
  outline: none;
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.24);
}

.contact-form .cta {
  grid-column: 1 / -1;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 0;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
  border-radius: 12px;
  padding: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    padding 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.note.is-visible {
  opacity: 1;
  transform: translateY(0);
  padding: 0.9rem 1rem;
}

.note::before {
  content: "";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.8rem;
}

.note--error {
  color: #8f1f1f;
  background: linear-gradient(135deg, #fff6f6, #fdecec);
  border: 1px solid #f0b4b4;
  box-shadow: 0 10px 24px rgba(198, 40, 40, 0.08);
}

.note--error::before {
  background-color: #e53935;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 4.2v4.2M8 11.1h.01' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.note--success {
  color: #2f6b2d;
  background: linear-gradient(135deg, #f3fbf3, #e8f6e8);
  border: 1px solid #b9ddb8;
  box-shadow: 0 10px 24px rgba(67, 126, 61, 0.08);
}

.note--success::before {
  background-color: #4caf50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.2 8.2l2.4 2.4 5.2-5.4' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.note--info {
  color: #355f39;
  background: linear-gradient(135deg, #f7fbf7, #edf5ee);
  border: 1px solid #c6dcc8;
  box-shadow: 0 10px 24px rgba(67, 126, 61, 0.06);
}

.note--info::before {
  background-color: #55b246;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 4.2v4.8M8 11.4h.01' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.final-cta {
  background: linear-gradient(135deg, #193a22, #214b2e);
  color: #effff2;
}

.final-cta-inner {
  text-align: center;
}

.final-cta-inner p {
  color: #d9f1dd;
  max-width: 70ch;
  margin: 0 auto 1.2rem;
}

footer {
  border-top: 1px solid var(--border);
}

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

.footer img {
  width: 120px;
}

.footer p {
  color: #5b6f60;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #3b5d41;
  font-weight: 600;
  text-decoration: none;
}

.footer-socials {
  display: inline-flex;
  gap: 0.45rem;
}

.footer-socials a {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #b5cab8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #fff;
  color: #2b4e32;
  text-decoration: none;
}

.lang-tabs {
  display: inline-flex;
  gap: 0.4rem;
}

.lang-tab {
  border: 1px solid #b5cab8;
  background: #ffffff;
  color: #35543b;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-tab.active {
  border-color: #4ea742;
  background: #e9f7e8;
  color: #245b1c;
}

.footer a {
  color: #2f8b2d;
  font-weight: 700;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  nav,
  .cta.small {
    display: none;
  }

  .hero-grid,
  .cards,
  .metrics-grid,
  .demo-grid,
  .logo-wall,
  .price-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.6rem;
  }

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