:root {
  --bg: #f4efe8;
  --bg-strong: #efe4d5;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --ink: #18181b;
  --muted: #5c6473;
  --line: rgba(20, 24, 38, 0.12);
  --brand: #1f4fd6;
  --brand-strong: #0f35a6;
  --gold: #f2c230;
  --green: #1f8f57;
  --shadow: 0 20px 60px rgba(47, 35, 19, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 79, 214, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(242, 194, 48, 0.22), transparent 34%),
    linear-gradient(180deg, #f8f3ec 0%, #f1e7da 100%);
}

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

button,
input {
  font: inherit;
}

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

.hero .container {
  width: min(1480px, calc(100% - 24px));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 243, 236, 0.78);
  border-bottom: 1px solid rgba(20, 24, 38, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.logo-mark {
  width: 46px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.logo-mark--bih {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.bih-flag {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-text {
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}

.plus {
  color: var(--brand);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.section-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.section-tabs::-webkit-scrollbar {
  display: none;
}

.tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.tab-link:hover {
  color: var(--ink);
  border-color: rgba(31, 79, 214, 0.22);
}

.lang {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.is-active {
  color: white;
  background: linear-gradient(135deg, var(--brand), #3c69df);
}

.hero {
  padding: 18px 0 24px;
}

.hero-shell,
.value-grid article,
.workflow-card,
.billing-card,
.plans-panel,
.use-case-panel,
.footer-grid {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  min-height: 740px;
  padding: 20px;
  border-radius: 38px;
  background: #222936;
  color: white;
}

.hero-backdrop-track,
.hero-backdrop-track .carousel-slide {
  position: absolute;
  inset: 0;
}

.hero-backdrop-track .carousel-slide {
  opacity: 0;
  transition: opacity 360ms ease;
}

.hero-backdrop-track .carousel-slide.is-active {
  opacity: 1;
}

.hero-backdrop-track .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-backdrop-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(32, 38, 49, 0.62), rgba(20, 24, 31, 0.28) 28%, rgba(13, 17, 23, 0.64) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at bottom left, rgba(242, 194, 48, 0.12), transparent 22%);
}

.hero-top-row,
.hero-main-grid,
.hero-command-bar,
.hero-bottom-row {
  position: relative;
  z-index: 2;
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-mini-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ffd861);
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 7vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin-top: 14px;
  max-width: 38ch;
  color: rgba(240, 242, 248, 0.82);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-tag-row,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tag,
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  color: white;
  backdrop-filter: blur(12px);
}

.cta-stack {
  display: grid;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-weight: 900;
  text-align: center;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), #436be3);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.btn-ghost {
  color: rgba(255, 255, 255, 0.94);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-main-grid {
  display: grid;
  gap: 22px;
  align-items: start;
  margin-top: auto;
  padding-top: 60px;
}

.hero-side-note {
  width: min(360px, 100%);
  justify-self: end;
  padding: 20px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.phone-kicker {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.phone-title {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: white;
}

.phone-caption {
  margin-top: 10px;
  color: rgba(238, 241, 248, 0.78);
  line-height: 1.65;
}

.hero-command-bar {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
  background: rgba(22, 25, 31, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-command-copy {
  display: grid;
  gap: 8px;
}

.hero-command-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-command-copy strong {
  color: white;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.hero-bottom-row {
  display: grid;
  gap: 14px;
  align-items: end;
}

.hero-bottom-copy {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.hero-note {
  color: rgba(235, 238, 245, 0.78);
  font-size: 0.96rem;
  line-height: 1.6;
}

.trust-row {
  margin-top: 14px;
}

.hero-controls {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.phone-scene-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: white;
}

.carousel-range {
  width: min(320px, 100%);
  accent-color: #d8b07c;
}

.section {
  padding: 14px 0 18px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-subtitle {
  margin-top: 10px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.65;
}

.value-grid,
.workflow-grid,
.plan-grid,
.use-case-list {
  display: grid;
  gap: 12px;
}

.value-grid article,
.workflow-card,
.plan-card {
  border-radius: 24px;
  padding: 18px;
}

.value-grid article {
  display: grid;
  gap: 10px;
}

.card-icon,
.step-index,
.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(31, 79, 214, 0.1);
  font-size: 1.15rem;
}

.card-copy p,
.workflow-card p,
.billing-copy,
.plan-card p {
  color: var(--muted);
  line-height: 1.6;
}

.bullet-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 16px;
  color: #253041;
  line-height: 1.55;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--gold));
}

.workflow-card {
  display: grid;
  gap: 12px;
}

.step-index {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #4d75ec);
  color: white;
  font-weight: 900;
}

.use-case-panel {
  margin-top: 18px;
  border-radius: 28px;
  padding: 18px;
}

.use-case-copy h3 {
  margin-top: 8px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.use-case-list {
  margin-top: 16px;
}

.use-case-card {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.use-case-card strong {
  display: block;
  margin-bottom: 4px;
}

.use-case-card span {
  color: var(--muted);
  line-height: 1.55;
}

.billing-layout {
  display: grid;
  gap: 16px;
}

.billing-info,
.plans-panel {
  display: grid;
  gap: 12px;
}

.billing-card,
.plans-panel {
  border-radius: 26px;
  padding: 18px;
}

.billing-card-strong {
  background: linear-gradient(135deg, rgba(31, 79, 214, 0.94), rgba(78, 115, 236, 0.9));
  color: white;
  border-color: rgba(255, 255, 255, 0.12);
}

.billing-kicker {
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
}

.billing-card-strong .billing-list li {
  color: rgba(255, 255, 255, 0.9);
}

.billing-list,
.billing-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.billing-list li,
.billing-steps li {
  line-height: 1.55;
}

.plans-panel-head h3 {
  font-size: 1.65rem;
}

.plans-panel-head p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.plan-grid {
  margin-top: 16px;
}

.plan-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.plan-card.is-featured {
  background: linear-gradient(135deg, rgba(31, 79, 214, 0.08), rgba(242, 194, 48, 0.12));
}

.plan-price {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.plan-name {
  margin-top: 4px;
  font-size: 1.2rem;
  font-weight: 900;
}

.plan-badge {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 79, 214, 0.1);
  color: var(--brand);
  font-weight: 900;
  font-size: 0.8rem;
}

.plans-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer {
  padding: 20px 0 36px;
}

.footer-grid {
  display: grid;
  gap: 20px;
  padding: 22px;
  border-radius: 28px;
}

.footer-brand h2 {
  font-size: 1.7rem;
  line-height: 1.05;
}

.footer-copy {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

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

.footer-links a {
  color: #20304f;
  font-weight: 800;
}

@media (min-width: 720px) {
  .container {
    width: min(1180px, calc(100% - 40px));
  }

  .hero-main-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  }

  .hero-command-bar {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .hero-bottom-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  }

  .cta-stack,
  .plans-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-grid,
  .workflow-grid,
  .plan-grid,
  .use-case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 22px 0 30px;
  }

  .hero-shell {
    min-height: 760px;
    padding: 28px;
  }

  .billing-layout,
  .footer-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-subtitle {
    max-width: 34ch;
  }

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

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

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

  .use-case-panel {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 18px;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .lang {
    align-self: flex-start;
  }

  .hero-shell {
    min-height: 0;
    padding: 16px;
    border-radius: 28px;
    gap: 16px;
  }

  .hero-top-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-tag-row {
    justify-content: flex-start;
  }

  .hero-main-grid {
    padding-top: 8px;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .hero-side-note {
    width: 100%;
    justify-self: stretch;
    padding: 16px 18px;
  }

  .hero-command-bar {
    padding: 16px;
  }

  .hero-bottom-row,
  .hero-controls {
    align-items: flex-start;
    justify-items: start;
  }

  .hero-bottom-row {
    gap: 16px;
  }

  .phone-title {
    font-size: 1.65rem;
  }

  .carousel-range {
    width: 100%;
  }
}
