:root {
  --bg: #f5f7fa;
  --bg-soft: #f2f9f4;
  --card: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --green: #22c55e;
  --green-soft: #dcfce7;
  --green-dark: #16a34a;
  --border-soft: #e5e7eb;
  --shadow-soft: 0 18px 40px rgba(15, 118, 110, 0.16);
  --radius-xl: 24px;
  --radius-pill: 999px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-muted {
  background: #f9fafb;
}

/* Header & Hero */

.site-header {
  background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 45%);
  padding-bottom: 2.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.lang-switch {
  display: flex;
  gap: 0.4rem;
  background: #ffffff;
  padding: 0.2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.lang-switch button {
  border: none;
  background: transparent;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text-muted);
}

.lang-switch button.active {
  background: var(--green);
  color: #ffffff;
}

/* Hero */

.hero {
  margin-top: 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0.6rem 0 0.7rem;
}

.hero-sub {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 30rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.08);
  color: var(--green-dark);
}

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

/* Hero card */

.hero-card {
  position: relative;
  height: 260px;
  border-radius: 32px;
  background: radial-gradient(circle at 30% 15%, #a7f3d0, #22c55e 40%, #064e3b);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bubble {
  position: absolute;
  border-radius: 999px;
  background: rgba(240, 253, 244, 0.85);
  filter: blur(0.5px);
  animation: float 6s ease-in-out infinite;
}

.bubble-1 {
  width: 120px;
  height: 120px;
  top: 14%;
  left: 18%;
}

.bubble-2 {
  width: 200px;
  height: 200px;
  bottom: -12%;
  right: 10%;
  animation-delay: 1.2s;
}

.bubble-3 {
  width: 90px;
  height: 90px;
  bottom: 8%;
  left: 8%;
  animation-delay: 2.1s;
}

.hero-card-label {
  position: relative;
  margin-bottom: 1.6rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.label-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.label-main {
  font-size: 0.98rem;
  font-weight: 600;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Buttons */

.btn {
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.4rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.4);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.btn-ghost:hover {
  background: #ffffff;
}

.btn-secondary {
  background: #111827;
  color: #f9fafb;
}

.btn-secondary:hover {
  background: #020617;
}

/* Sections */

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.section-intro {
  margin: 0 0 1.8rem;
  color: var(--text-muted);
  max-width: 38rem;
  font-size: 0.98rem;
}

/* Cards */

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

.card {
  background: var(--card);
  border-radius: 24px;
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.card h3 {
  margin: 0.5rem 0 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-badge {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--green-soft);
  color: var(--green-dark);
}

.card-badge-muted {
  background: #e5e7eb;
  color: #374151;
}

.card-badge-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.card-badge-soft {
  background: #fee2e2;
  color: #b91c1c;
}

.card-meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.meta-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.store-buttons {
  display: flex;
  gap: 0.4rem;
}

.store-btn {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #ffffff;
  font-size: 0.78rem;
  padding: 0.35rem 0.9rem;
}

.store-btn:hover {
  border-color: rgba(55, 65, 81, 0.8);
}

.demo-btn {
  margin-top: 1rem;
  width: 100%;
}

/* Lists */

.feature-list {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-list li + li {
  margin-top: 0.18rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-soft);
  text-decoration: none;
  color: var(--text-main);
  width: fit-content;
}

.contact-chip:hover {
  background: #f9fafb;
}

.chip-icon {
  font-size: 1.1rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(34, 197, 94, 0.35);
  border-color: transparent;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1rem 0 1.2rem;
  background: #f9fafb;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Video Modal */

.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.video-modal.open {
  display: flex;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
}

.video-dialog {
  position: relative;
  width: min(900px, 92%);
  background: #020617;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

#demoVideo {
  width: 100%;
  display: block;
}

.video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  cursor: pointer;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

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

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

  .header-inner {
    gap: 1rem;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }

  .contact-form {
    padding: 1.1rem 1.1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
