/* ============================================================
   myBEACH.app — Light premium ocean design system
   Manrope (sans) + JetBrains Mono (technical)
   ============================================================ */

:root {
  /* ---- light palette ---- */
  --page: #eef4f6;
  /* page background, cool light */
  --paper: #ffffff;
  /* card surface */
  --paper-2: #f5fafb;
  /* subtle alt surface */
  --sand: #fbf4e6;
  /* warm sand band */
  --ink: #0e2a3d;
  /* primary deep-navy text */
  --ink-soft: #3f5a6a;
  --muted: #71909f;
  --line: rgba(14, 42, 61, .12);
  --line-soft: rgba(14, 42, 61, .07);

  --teal: #0e9aab;
  --teal-bright: #16b9cb;
  --teal-deep: #0a7d8b;
  --sky: #3f8fb8;
  --gold: #c79234;
  --gold-soft: #e3b65f;
  --gold-deep: #a9781f;
  --green: #16a566;
  --red: #df6750;

  --glass: rgba(255, 255, 255, .7);
  --glass-2: rgba(255, 255, 255, .92);

  --shadow-sm: 0 6px 20px -10px rgba(14, 42, 61, .18);
  --shadow-md: 0 18px 44px -22px rgba(14, 42, 61, .28);
  --shadow-lg: 0 40px 90px -42px rgba(14, 42, 61, .4);

  /* ---- type ---- */
  --sans: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* ---- geometry ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --maxw: 1220px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit
}

::selection {
  background: var(--teal);
  color: #fff
}

/* ---- ambient background field ---- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none
}

.bg-field::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(50% 40% at 16% 6%, rgba(22, 185, 203, .12), transparent 60%),
    radial-gradient(45% 45% at 90% 16%, rgba(227, 182, 95, .12), transparent 60%),
    radial-gradient(60% 50% at 60% 102%, rgba(14, 154, 171, .10), transparent 60%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut)
}

section {
  position: relative;
  padding-block: clamp(40px, 11vw, 70px)
}

/* section rhythm */
#how {
  background: var(--paper)
}

#product {
  background: var(--paper)
}

#revenue {
  background: linear-gradient(180deg, var(--sand), #fcf8ee)
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--teal);
  opacity: .7
}

.eyebrow.gold {
  color: var(--gold-deep)
}

.eyebrow.gold::before {
  background: var(--gold-deep)
}

.eyebrow.center {
  justify-content: center
}

.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .7
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--ink)
}

.h-display {
  font-size: clamp(40px, 7vw, 90px)
}

.h2 {
  font-size: clamp(30px, 4.6vw, 58px);
  letter-spacing: -.03em;
  margin-top: 18px
}

.h3 {
  font-size: clamp(21px, 2.4vw, 28px);
  letter-spacing: -.02em
}

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.6
}

.sec-head {
  max-width: 760px
}

.sec-head.center {
  margin-inline: auto;
  text-align: center
}

.grad-teal {
  background: linear-gradient(100deg, var(--teal-bright), var(--teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.grad-gold {
  background: linear-gradient(100deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 100px;
  transition: .4s var(--ease);
  letter-spacing: -.01em;
  white-space: nowrap
}

.btn .ar {
  transition: transform .4s var(--ease)
}

.btn:hover .ar {
  transform: translateX(4px)
}

.btn-primary {
  background: linear-gradient(180deg, var(--teal), var(--teal-deep));
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(14, 154, 171, .6)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -14px rgba(14, 154, 171, .7)
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #3a2c0c;
  box-shadow: 0 12px 30px -12px rgba(199, 146, 52, .55)
}

.btn-gold:hover {
  transform: translateY(-2px)
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper)
}

.btn-ghost:hover {
  border-color: var(--teal);
  background: var(--paper-2);
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm)
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: .4s var(--ease)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gut);
  transition: .4s var(--ease)
}

.nav.scrolled .nav-inner {
  padding-block: 12px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 8px 30px -20px rgba(14, 42, 61, .35)
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 18px;
  color: var(--ink)
}

.brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(14, 42, 61, .18))
}

.brand b {
  font-weight: 800
}

.brand b span {
  color: var(--teal)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px
}

.nav-links a {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 600;
  position: relative;
  transition: .3s;
  white-space: nowrap
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--teal);
  transition: .35s var(--ease)
}

.nav-links a:hover {
  color: var(--ink)
}

.nav-links a:hover::after {
  width: 100%
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  background: var(--paper)
}

.lang button {
  padding: 7px 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .05em;
  transition: .3s
}

.lang button.active {
  background: var(--teal);
  color: #fff
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px
}

.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: var(--gut);
  transform: translateY(-100%);
  opacity: 0;
  transition: .5s var(--ease);
  pointer-events: none
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto
}

/* language switcher inside the mobile menu — hidden on desktop */
.lang-mobile {
  display: none
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm)
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 165, 102, .18);
  animation: pulse 2.4s infinite
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(22, 165, 102, 0)
  }
}

.hero h1 {
  margin-bottom: 24px
}
@media (max-width:991px){
  .hero h1 {
    font-size: calc(33px + (24 * ((100vw - 360px) / (1920 - 360))));
  }
}
.hero .lead {
  margin-bottom: 36px
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 48px;
  flex-wrap: wrap
}

.hstat .n {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1
}

.hstat .l {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px
}

/* hero visual — floating pricing dashboard */
.hero-visual {
  position: relative;
  perspective: 1600px
}

.hv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg)
}

.hv-main {
  padding: 24px;
  transform: rotateY(-9deg) rotateX(4deg);
  transition: transform .6s var(--ease)
}

.hero-visual:hover .hv-main {
  transform: rotateY(-5deg) rotateX(2deg)
}

.hv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px
}

.hv-top .t {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted)
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green)
}

.live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite
}

.hv-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
  white-space: nowrap
}

.hv-price .cur {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink)
}

.hv-price .up {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--green);
  font-weight: 600
}

.hv-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px
}

.hv-spark {
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-bottom: 22px
}

.hv-spark .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--teal-bright), var(--teal));
  border-radius: 4px 4px 2px 2px;
  opacity: .9;
  transition: height 1s var(--ease)
}

.hv-spark .bar.peak {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold))
}

.hv-rows {
  display: flex;
  flex-direction: column;
  gap: 11px
}

.hv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px
}

.hv-row .k {
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 9px
}

.hv-row .k i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--teal);
  display: inline-block
}

.hv-row .v {
  font-family: var(--mono);
  color: var(--ink);
  font-weight: 600
}

.hv-row .v.pos {
  color: var(--green)
}

.hv-float {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-md)
}

.hv-float .lab {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px
}

.hv-float .big {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink)
}

.hv-f1 {
  top: -26px;
  right: -22px;
  animation: float1 6s ease-in-out infinite
}

.hv-f2 {
  bottom: -70px;
  left: -50px;
  animation: float2 7s ease-in-out infinite
}

@keyframes float1 {
  50% {
    transform: translateY(-14px)
  }
}

@keyframes float2 {
  50% {
    transform: translateX(12px)
  }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms)
}

.reveal.in {
  opacity: 1;
  transform: none
}

.reveal-l {
  opacity: 0;
  transform: translateX(-40px);
  transition: 1s var(--ease);
  transition-delay: var(--d, 0ms)
}

.reveal-l.in {
  opacity: 1;
  transform: none
}

.reveal-r {
  opacity: 0;
  transform: translateX(40px);
  transition: 1s var(--ease);
  transition-delay: var(--d, 0ms)
}

.reveal-r.in {
  opacity: 1;
  transform: none
}

.reveal-sc {
  opacity: 0;
  transform: scale(.94);
  transition: 1s var(--ease);
  transition-delay: var(--d, 0ms)
}

.reveal-sc.in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  .reveal, .reveal-l, .reveal-r, .reveal-sc {
    opacity: 1 !important;
    transform: none !important
  }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 56px
}

.prob-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  position: relative;
  overflow: hidden;
  transition: .45s var(--ease);
  box-shadow: var(--shadow-sm)
}

.prob-card:hover {
  border-color: rgba(223, 103, 80, .45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.prob-card .ix {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: .1em
}

.prob-card h3 {
  margin: 16px 0 10px
}

.prob-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0
}

.prob-card .glyph {
  position: absolute;
  right: -10px;
  bottom: -18px;
  font-size: 120px;
  font-weight: 800;
  color: rgba(223, 103, 80, .08);
  line-height: 1
}

.prob-reality {
  margin-top: 30px;
  padding: 22px 28px;
  border-radius: var(--r-md);
  border: 1px dashed rgba(223, 103, 80, .4);
  background: rgba(223, 103, 80, .06);
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 16px
}

.prob-reality b {
  color: var(--red)
}

/* ============================================================
   SOLUTION
   ============================================================ */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px
}

.sol-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: .45s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm)
}

.sol-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  opacity: 0;
  transition: .45s;
  background: linear-gradient(140deg, var(--teal), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude
}

.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md)
}

.sol-card:hover::before {
  opacity: 1
}

.sol-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(165deg, rgba(14, 154, 171, .14), rgba(14, 154, 171, .04));
  border: 1px solid rgba(14, 154, 171, .22)
}

.sol-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.7
}

.sol-card h3 {
  margin-bottom: 10px
}

.sol-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0
}

/* feature list inputs (solution variables) */
.var-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
  justify-content: center
}

.var-chip {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: .4s;
  box-shadow: var(--shadow-sm)
}

.var-chip:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  transform: translateY(-3px)
}

.var-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal)
}

/* ============================================================
   HOW IT WORKS — interactive pricing demo
   ============================================================ */
.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 60px;
  align-items: center;
  overflow-x: hidden;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 26px
}

.formula {
  font-family: var(--mono);
  font-size: clamp(14px, 1.5vw, 17px);
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper-2);
  line-height: 2;
  letter-spacing: .01em
}

.formula .b {
  color: var(--ink)
}

.formula .m {
  color: var(--teal-deep);
  font-weight: 600
}

.formula .x {
  color: var(--muted)
}

.ctrl {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.ctrl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ctrl-head .lab {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink)
}

.ctrl-head .lab svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.7
}

.ctrl-head .val {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--teal-deep);
  font-weight: 600
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--teal) var(--p, 50%), rgba(14, 42, 61, .12) var(--p, 50%));
  outline: none
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--teal);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 42, 61, .25);
  transition: .2s
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.12)
}

input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--teal);
  cursor: pointer
}

.seg {
  display: flex;
  gap: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px
}

.seg button {
  flex: 1;
  padding: 10px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: .3s
}

.seg button.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(14, 154, 171, .7)
}

.toggle-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

/* demo result card */
.demo-result {
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #fff, var(--paper-2));
  /*box-shadow: var(--shadow-lg);*/
  position: sticky;
  top: 100px
}

.dr-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px
}

.dr-top .t {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted)
}

.dr-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px
}

.dr-price .cur {
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums
}

.dr-delta {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px
}

.dr-delta.up {
  color: var(--green);
  background: rgba(22, 165, 102, .12)
}

.dr-delta.down {
  color: var(--gold-deep);
  background: rgba(199, 146, 52, .14)
}

.dr-base {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  font-family: var(--mono)
}

.dr-bars {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.dr-bar .bh {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 7px
}

.dr-bar .bh .k {
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px
}

.dr-bar .bh .mult {
  font-family: var(--mono);
  color: var(--teal-deep);
  font-weight: 600
}

.dr-bar .track {
  height: 8px;
  border-radius: 100px;
  background: rgba(14, 42, 61, .08);
  overflow: hidden
}

.dr-bar .fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-bright));
  transition: width .7s var(--ease)
}

.dr-bar .fill.gold {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold))
}

.dr-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.dr-note svg {
  width: 16px;
  height: 16px;
  stroke: var(--teal);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px
}

/* ============================================================
   REVENUE / FINANCIAL MODEL
   ============================================================ */
.rev-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 56px;
  overflow-x: hidden;
}

.rev-card {
  padding: 34px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm)
}

.rev-card.ai {
  background: linear-gradient(165deg, rgba(14, 154, 171, .08), #fff);
  border-color: rgba(14, 154, 171, .35);
  box-shadow: var(--shadow-md);
}

.rev-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 22px
}

.rev-tag.off {
  color: var(--muted);
  background: rgba(14, 42, 61, .06)
}

.rev-tag.on {
  color: var(--teal-deep);
  background: rgba(14, 154, 171, .14)
}

.rev-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px
}

.rev-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-soft);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft)
}

.rev-line .v {
  font-family: var(--mono);
  color: var(--ink);
  font-weight: 600
}

.rev-total {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: .05em;
  margin-bottom: 6px
}

.rev-big {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink)
}

.rev-big.on {
  color: var(--teal-deep)
}

.rev-uplift {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center
}

.uplift-stat {
  flex: 1;
  min-width: 200px;
  padding: 30px;
  border-radius: var(--r-lg);
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm)
}

.uplift-stat .n {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums
}

.uplift-stat .n.gold {
  color: var(--gold-deep)
}

.uplift-stat .n.teal {
  color: var(--teal-deep)
}

.uplift-stat .n.green {
  color: var(--green)
}

.uplift-stat .l {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 12px
}

/* ============================================================
   AI LEVELS
   ============================================================ */
.levels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 56px
}

.level {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px 34px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: .45s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm)
}

.level:hover {
  transform: translateX(8px);
  border-color: rgba(14, 154, 171, .4);
  box-shadow: var(--shadow-md)
}

.level .lv-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal-deep);
  letter-spacing: .1em;
  font-weight: 600
}

.level .lv-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper-2);
  position: relative
}

.level .lv-ring b {
  font-size: 22px;
  font-weight: 800
}

.level h3 {
  margin-bottom: 6px
}

.level p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 60ch
}

.level .lv-bar {
  width: 120px;
  height: 6px;
  border-radius: 100px;
  background: rgba(14, 42, 61, .08);
  overflow: hidden
}

.level .lv-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-bright));
  border-radius: 100px
}

.level.l3 .lv-bar i {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold))
}

/* ============================================================
   PRODUCT / ADMIN PANEL MOCKUP
   ============================================================ */
.product {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  overflow-x: hidden;
}

.prod-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px
}

.prod-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--r-md);
  transition: .35s;
  border: 1px solid transparent
}

.prod-item:hover {
  background: var(--paper-2);
  border-color: var(--line)
}

.prod-item .pk {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(14, 154, 171, .1);
  border: 1px solid rgba(14, 154, 171, .22)
}

.prod-item .pk svg {
  width: 19px;
  height: 19px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.7
}

.prod-item .pt b {
  display: block;
  font-size: 15.5px;
  margin-bottom: 3px;
  color: var(--ink)
}

.prod-item .pt span {
  font-size: 13.5px;
  color: var(--muted)
}

/* admin mockup */
.admin {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-lg)
}

.admin-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2)
}

.admin-bar .dots {
  display: flex;
  gap: 6px
}

.admin-bar .dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(14, 42, 61, .14)
}

.admin-bar .ttl {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px
}

.admin-bar .live {
  margin-left: auto
}

.admin-body {
  padding: 24px
}

.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px
}

.admin-row .t {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase
}

.admin-rec {
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(14, 154, 171, .32);
  background: rgba(14, 154, 171, .06);
  margin-bottom: 18px
}

.admin-rec .rh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--ink-soft)
}

.admin-rec .rh .badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--teal-deep);
  border: 1px solid rgba(14, 154, 171, .4);
  padding: 3px 9px;
  border-radius: 100px
}

.admin-rec .rp {
  display: flex;
  align-items: baseline;
  gap: 12px
}

.admin-rec .rp .big {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--teal-deep)
}

.admin-rec .rp .old {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through
}

.admin-minmax {
  display: flex;
  gap: 12px;
  margin-bottom: 18px
}

.admin-minmax .mm {
  flex: 1;
  padding: 14px;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  border: 1px solid var(--line-soft)
}

.admin-minmax .mm .l {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase
}

.admin-minmax .mm .v {
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
  color: var(--ink)
}

.admin-hist {
  height: 90px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft)
}

.admin-hist .hb {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--teal-bright), var(--teal-deep));
  opacity: .85
}

.admin-hist .hb.g {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold))
}

.admin-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px
}

.admin-actions .ab {
  flex: 1;
  text-align: center;
  padding: 11px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600
}

.admin-actions .ab.fill {
  background: var(--teal);
  color: #fff
}

.admin-actions .ab.out {
  border: 1px solid var(--line);
  color: var(--ink-soft)
}

/* ============================================================
   COMPETITIVE EDGE
   ============================================================ */
.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 40px);
  margin-top: 56px;
  align-items: stretch;
  overflow-x: hidden;
}

.vs-side {
  padding: 36px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm)
}

.vs-side.us {
  background: linear-gradient(165deg, rgba(14, 154, 171, .09), rgba(227, 182, 95, .05));
  border-color: rgba(14, 154, 171, .36);
  box-shadow: var(--shadow-md)
}

.vs-side h3 {
  margin-bottom: 6px
}

.vs-side .sub {
  font-size: 13.5px;
  color: var(--muted);
  font-family: var(--mono);
  margin-bottom: 24px
}

.vs-list {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.vs-list div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft)
}

.vs-list .ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 12px
}

.vs-list .ic.no {
  background: rgba(223, 103, 80, .14);
  color: var(--red)
}

.vs-list .ic.yes {
  background: rgba(22, 165, 102, .16);
  color: var(--green)
}

.vs-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .1em
}

.vs-mid span {
  writing-mode: vertical-rl;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper)
}

/* ============================================================
   VISION
   ============================================================ */
.vision {
  text-align: center
}

.vision-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 40px);
  margin-top: 50px;
  flex-wrap: wrap
}

.vision-node {
  padding: 22px 30px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: var(--shadow-sm)
}

.vision-node.to {
  background: linear-gradient(165deg, rgba(14, 154, 171, .12), rgba(227, 182, 95, .07));
  border-color: rgba(14, 154, 171, .42);
  color: var(--teal-deep)
}

.vision-sep {
  font-size: 28px;
  color: var(--teal)
}

.arrow-right {
  display: block;
}

.arrow-down {
  display: none;
}

.vision-tag {
  margin-top: 40px;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--ink-soft);
  max-width: 24ch;
  margin-inline: auto;
  line-height: 1.3
}

.vision-tag b {
  font-weight: 800;
  color: var(--ink)
}

/* ============================================================
   CTA + FORM
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden
}

.cta-box {
  border-radius: var(--r-xl);
  border: 1px solid rgba(14, 154, 171, .3);
  overflow: hidden;
  background: linear-gradient(150deg, #fff, var(--paper-2));
  position: relative;
  box-shadow: var(--shadow-lg)
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 80% 10%, rgba(227, 182, 95, .12), transparent 60%), radial-gradient(50% 70% at 10% 90%, rgba(14, 154, 171, .12), transparent 60%)
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  padding: clamp(36px, 5vw, 64px);
  position: relative
}

.cta-left h2 {
  margin-bottom: 18px
}

.cta-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px
}

.cta-points div {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: var(--ink-soft)
}

.cta-points .ic {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(22, 165, 102, .16);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.cta-contact {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px
}

.cta-contact a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  transition: .3s
}

.cta-contact a:hover {
  color: var(--teal-deep)
}

.cta-contact svg {
  width: 17px;
  height: 17px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.7
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field label {
  font-size: 12.5px;
  font-family: var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted)
}

.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: .3s;
  width: 100%
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 154, 171, .1)
}

.field input::placeholder, .field textarea::placeholder {
  color: var(--muted)
}

.field textarea {
  resize: vertical;
  min-height: 90px
}

.form .btn {
  justify-content: center;
  margin-top: 6px
}

.form-ok {
  padding: 30px;
  text-align: center;
  border-radius: var(--r-md);
  border: 1px solid rgba(22, 165, 102, .34);
  background: rgba(22, 165, 102, .06);
  display: none
}

.form-ok.show {
  display: block
}

.form-ok .ck {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(22, 165, 102, .16);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 16px
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding-block: 60px 40px;
  border-top: 1px solid var(--line);
  background: var(--paper)
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.foot-brand {
  max-width: 320px
}

.foot-brand .brand {
  margin-bottom: 16px
}

.foot-brand p {
  font-size: 14px;
  color: var(--muted);
  margin: 0
}

.foot-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap
}

.foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px
}

.foot-col a {
  display: block;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 11px;
  transition: .3s
}

.foot-col a:hover {
  color: var(--teal-deep)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted)
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px
  }

  .hero-visual {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
    margin-bottom: 70px;
  }

  .hv-f2 {
    bottom: -65px;
    left: -20px;
  }

  .demo, .product, .cta-grid {
    grid-template-columns: 1fr
  }

  .demo-result {
    position: static
  }

  .nav-links {
    display: none
  }

  .nav-burger {
    display: flex
  }

  .versus {
    grid-template-columns: 1fr
  }

  .vs-mid span {
    writing-mode: horizontal-tb
  }
}

@media (max-width:680px) {
  .prob-grid, .sol-grid, .rev-compare {
    grid-template-columns: 1fr
  }
  .btn_padd_fix{
    padding: 10px 20px;
  }
  .level {
    grid-template-columns: auto 1fr;
    gap: 18px
  }
  .level .lv-bar {
    display: none
  }
  .prob-card, .prob-reality, .sol-card, .demo-result, .rev-card, .uplift-stat, .level, .admin-body, .vs-side, .cta-grid{
    padding:20px;
  }
  .hero-cta .btn-gold {
    order: 2;
  }
  .hero-cta .btn-ghost {
    order: 1;
  }
  .hero-stats {
    gap: 24px;
    justify-content: center;
    text-align: center;
  }

  .lang {
    display: none
  }

  /* show the language switcher inside the opened mobile menu, top-centered */
  .lang-mobile {
    display: flex;
    align-self: center;
    margin: 50px auto 0px;
    font-size: 14px;
  }

  .lang-mobile button {
    padding: 9px 18px;
  }

  .demo_btn{
    padding: 4px 12px;
  }

  .vision-arrow {
    flex-direction: column;
  }

  .arrow-right {
    display: none;
  }

  .arrow-down {
    display: block;
  }
}
.mobile-menu a {
  position: relative; /* CRITICAL: Allows the border to anchor to this link */
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  padding: 10px 0px;
  color: var(--ink);
  display: block;     /* Ensures the link fills the width so 90% calculates correctly */
}

/* This creates the 90% centered line */
.mobile-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 48%;
  transform: translateX(-50%);
  width: 100%;                         /* Sets the length to 90% */
  height: 1px;                        /* Your original 1px thickness */
  background-color: var(--line-soft); /* Your original color variable */
}