:root {
  --brand-green: #25bd2f;
  --brand-green-hover: #1da928;
  --bg: #0f0f0f;
  --panel: #141414;
  --muted: #b7b7b7;
  --text: #ffffff;
  --border: #242424;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

/* Reset */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
}
.logo-img {
  width: 150px;
  height: 36px;
  object-fit: contain;
}
.nav-menu {
  display: none;
  gap: 1rem;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.nav-link:hover {
  color: var(--text);
}
.header-actions {
  display: none;
  gap: 0.75rem;
  align-items: center;
}
.button {
  background: var(--brand-green);
  color: #0a0a0a;
  border: 0;
  border-radius: 12px;
  padding: 0.78rem 1.05rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.button:hover {
  background: var(--brand-green-hover);
}
.cta-link {
  color: var(--brand-green);
  text-decoration: none;
  font-weight: 700;
}
.menu-button {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-button span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

@media (min-width: 960px) {
  .nav-menu {
    display: flex;
  }
  .header-actions {
    display: flex;
  }
  .menu-button {
    display: none;
  }
}
.nav-menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 56px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
}
@media (min-width: 960px) {
  .nav-menu.open {
    position: static;
    flex-direction: row;
    background: transparent;
    border: 0;
    padding: 0;
  }
}

/* Sections */
.section {
  padding: 3.5rem 0;
}
.title-center {
  max-width: 900px;
  margin: 0 auto 1rem;
  text-align: center;
}
.title-left {
  max-width: 900px;
  margin: 0 auto 1rem;
  text-align: left;
}
.h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 0.4rem;
}
.lit {
  color: var(--brand-green);
}
.title-text {
  color: var(--muted);
}

/* Hero */
.hero {
  padding: 4rem 0 2rem;
  background: radial-gradient(
      70% 60% at 80% 8%,
      rgba(37, 189, 47, 0.12),
      rgba(0, 0, 0, 0)
    ),
    radial-gradient(
      35% 30% at 5% 20%,
      rgba(37, 189, 47, 0.07),
      rgba(0, 0, 0, 0)
    );
}
.hero-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-text {
  color: var(--muted);
}

/* Form (refined) */
.demo-form {
  margin-top: 1rem;
}
/* === FORCE NORMAL INPUT SIZE ON MOBILE === */
.demo-form .form-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.demo-form-field {
  box-sizing: border-box !important;
  height: 44px !important; /* standard mobile input height */
  padding: 0 12px !important; /* keep text centered vertically */
  border-radius: 10px !important; /* normal rounded corners */
  border: 1px solid var(--border, #2a2a2a) !important;
  background: #121212 !important; /* remove gradients/shadows */
  color: #fff !important;
  font-size: 16px !important; /* prevents iOS zoom */
  line-height: 44px !important; /* fixes odd vertical centering on some browsers */
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
}

.demo-form-btn {
  height: 44px !important; /* match input height */
  padding: 0 14px !important;
  border-radius: 10px !important;
  white-space: nowrap;
}

/* Stack cleanly on small screens */
@media (max-width: 560px) {
  .demo-form .form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .demo-form-btn {
    width: 100%;
  }
}

.gdpr-check {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #eaeaea;
}
.gdpr-check input {
  margin-right: 8px;
  vertical-align: middle;
}

.micro-copy {
  font-size: 0.92rem;
  margin: 0.55rem 0 0;
}
.success {
  color: #9cffb0;
}
.error {
  color: #ff9c9c;
}
.hide {
  display: none;
}

.hero-image {
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-image-mask {
  text-align: center;
}

@media (max-width: 560px) {
  .demo-form .form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .demo-form-btn {
    width: 100%;
  }
}
@media (min-width: 980px) {
  .hero-flex {
    grid-template-columns: 1.1fr 1fr;
  }
}

/* Why block */
.checkout-exp-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}
.checkout-exp-img {
  max-width: 602px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.checkout-exp-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.checkout-exp-col {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  background: var(--panel);
}
.checkout-exp-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
}
.p-bold {
  font-weight: 800;
}
.p-small {
  color: var(--muted);
}
@media (min-width: 900px) {
  .checkout-exp-flex {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Gray arrow / How it works */
.gray-arrow-section {
  background: linear-gradient(180deg, #101010, #0c0c0c);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gray-arrow-box {
  padding: 2.5rem 0;
}
.btn-outline {
  display: inline-block;
  border: 1px solid var(--brand-green);
  color: var(--brand-green);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.reimagine-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}
.reimagine-image img {
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.reimagine-blocks {
  display: grid;
  gap: 1rem;
}
.reimagine-block {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  background: var(--panel);
}
.learnmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-green);
  text-decoration: none;
  font-weight: 800;
}
.learnmore-arrow {
  display: inline-block;
  transform: translateY(-1px);
}
@media (min-width: 980px) {
  .reimagine-flex {
    grid-template-columns: 1fr 1fr;
  }
}

/* Use cases */
.solutions .title-left {
  margin-bottom: 1.25rem;
}
.solutions-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.usecase {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.uc-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.uc-text {
  color: var(--muted);
  margin: 0;
}
@media (min-width: 900px) {
  .solutions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.solution-image img {
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Resources white boxes (kept minimal) */
.white-box {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  padding: 1rem;
  margin-top: 1.25rem;
}

/* Demo CTA */
.demo-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
.demo-hand {
  width: 340px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #0b0b0b;
}
.demo-content .mb-25 {
  margin-bottom: 1rem;
}
@media (min-width: 900px) {
  .demo-box {
    grid-template-columns: 340px 1fr;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: #0b0b0b;
}
.flex-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
}
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
}
.footer-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.footer-content {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  padding: 1rem;
}
.footer-flex-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.footer-heading {
  margin: 0.2rem 0 0.35rem;
}
.ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-link {
  color: var(--muted);
  text-decoration: none;
}
.footer-link:hover {
  color: var(--text);
}
.footer-copy {
  margin-top: 1rem;
  color: var(--muted);
}
.footer-copyright {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--muted);
}
.footer-nav-last {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1000px) {
  .flex-footer {
    grid-template-columns: 240px 1fr;
  }
  .footer-flex-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* A11y */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}
.checkout-exp-img {
  width: 100%; /* <- scale to container */
  height: auto;
  max-width: 680px; /* optional cap so it doesn’t grow too large on desktop */
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
