/* EdgeFarm — one stylesheet for the landing page and the funnel. */

:root {
  --brand: #00b85f;
  --brand-dark: #00994f;
  --ink: #0f1e35;
  --navy: #0b1b30;
  --navy-2: #0a1728;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: background .18s ease, transform .18s ease;
  box-shadow: 0 10px 24px -10px rgba(0, 184, 95, .65);
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .was { text-decoration: line-through; opacity: .62; font-weight: 600; }

/* --------------------------------------------------------------------- nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 30, 53, .5); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 7px; font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--ink); }
.lang img { height: 14px; width: 21px; border-radius: 2px; object-fit: cover; }
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: #eef2f7; color: var(--ink);
  cursor: pointer; align-items: center; justify-content: center;
}
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 14px 20px 22px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; font-family: var(--head); font-weight: 700; color: var(--ink); text-decoration: none; padding: 11px 0; }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 72px; background: linear-gradient(135deg, #fff 0%, #f8fafc 45%, #eef5ff 100%); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 320px at 84% 16%, rgba(0, 184, 95, .14), transparent 62%),
    radial-gradient(460px 260px at 96% 62%, rgba(0, 184, 95, .08), transparent 60%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.seats-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(0, 184, 95, .3); background: #fff;
  border-radius: 999px; padding: 7px 16px 7px 12px; margin-bottom: 22px;
  font-family: var(--head); font-size: 13px; color: var(--muted);
  box-shadow: 0 2px 10px -6px rgba(15, 30, 53, .3);
}
.seats-pill b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ping { position: relative; display: inline-flex; width: 9px; height: 9px; flex: none; }
.ping::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--brand); opacity: .7; animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
.ping::after { content: ""; position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

.hero h1 { font-size: clamp(32px, 4.3vw, 46px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; margin-bottom: 16px; }
/* A real underline, not a bottom border: the phrase wraps on narrow screens,
   and a border would draw a line through the middle of the heading. */
.hero h1 .accent {
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.hero .kicker { font-family: var(--head); font-weight: 600; color: var(--brand); font-size: clamp(16px, 1.6vw, 19px); margin-bottom: 18px; }
.hero .lede { font-size: 16px; line-height: 1.68; color: var(--text); max-width: 560px; margin-bottom: 30px; }

/* The product card on the right of the hero. */
.workspace { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(11, 27, 48, .55); border: 1px solid var(--line); background: var(--navy); }
.workspace img { width: 100%; height: 300px; object-fit: cover; opacity: .9; }
.workspace-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .08); }
.workspace-stats div { background: var(--navy); padding: 16px 20px; }
.workspace-stats span { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; margin-bottom: 5px; }
.workspace-stats b { font-family: var(--head); font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }
.workspace-stats b.up { color: #22d87f; }

/* ---------------------------------------------------------------- sections */
.sec { padding: 76px 0; }
.sec-tight { padding: 56px 0; }
.sec-alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 { font-size: clamp(25px, 3.1vw, 35px); line-height: 1.18; letter-spacing: -.015em; font-weight: 800; }
.sec .sub { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-top: 14px; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.benefit .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(0, 184, 95, .12); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.benefit h3 { font-size: 16px; color: var(--brand); margin-bottom: 9px; line-height: 1.35; }
.benefit p { font-size: 13.5px; line-height: 1.68; color: #0f172a; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split img.product { max-width: 330px; margin: 0 auto; filter: drop-shadow(0 26px 40px rgba(11, 27, 48, .3)); }

/* --------------------------------------------------------------- how it works */
.how { background: linear-gradient(to bottom, var(--navy), var(--navy-2)); padding: 86px 0; color: #fff; }
.how h2 { color: #fff; text-align: center; font-size: clamp(25px, 3.1vw, 35px); font-weight: 800; }
.how .sub { color: #94a3b8; text-align: center; margin: 12px 0 58px; font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { text-align: center; display: flex; flex-direction: column; align-items: center; }
.step .bubble { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .6); }
.step h3 { color: #fff; font-size: 19px; margin-bottom: 12px; }
.step p { color: #94a3b8; font-size: 14.5px; line-height: 1.65; max-width: 260px; }

/* ------------------------------------------------------------ live activity */
.feed { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px -22px rgba(15, 30, 53, .5); }
.feed-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-family: var(--head); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.feed-head small { font-weight: 500; color: var(--muted); font-family: var(--body); }
.feed-row { display: flex; align-items: center; gap: 13px; padding: 14px 20px; border-bottom: 1px solid #f1f5f9; animation: slidein .45s ease; }
.feed-row:last-child { border-bottom: 0; }
@keyframes slidein { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
.feed-row .emoji { font-size: 17px; }
.feed-row .what { flex: 1; min-width: 0; }
.feed-row .what b { display: block; font-family: var(--head); font-size: 13.5px; color: var(--ink); }
.feed-row .what span { font-size: 12.5px; color: var(--muted); }
.feed-row time { font-size: 11.5px; color: #94a3b8; white-space: nowrap; }

/* -------------------------------------------------------------- value stack */
.value-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 26px; }
.value-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid #f1f5f9; }
.value-row:last-of-type { border-bottom: 0; }
.value-row span { font-size: 15px; color: #475569; }
.value-row b { font-family: var(--head); font-size: 15px; color: #94a3b8; text-decoration: line-through; white-space: nowrap; }
.value-total { display: flex; align-items: center; justify-content: space-between; padding: 19px 0; border-top: 2px solid var(--line); }
.value-total span { font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--ink); }
.value-total b { font-family: var(--head); font-weight: 800; font-size: 19px; color: var(--ink); }
.offer { background: var(--navy); border-radius: 16px; padding: 30px 26px; text-align: center; color: #fff; }
.offer .small { font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase; color: #94a3b8; }
.offer .was { font-family: var(--head); font-size: 19px; color: #94a3b8; text-decoration: line-through; margin: 12px 0 2px; }
.offer .now { font-family: var(--head); font-weight: 800; font-size: 46px; color: #fff; line-height: 1.1; margin-bottom: 18px; }
.offer .note { font-size: 12.5px; color: #94a3b8; margin-top: 14px; line-height: 1.6; }

/* --------------------------------------------------------------- scarcity */
.scarcity { max-width: 720px; margin: 0 auto; text-align: center; }
.scarcity .tag { display: inline-block; font-family: var(--head); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); background: rgba(0, 184, 95, .1); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
.bar { height: 10px; border-radius: 999px; background: #e9eef5; overflow: hidden; margin: 22px 0 10px; }
.bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #35d98a); transition: width 1.4s cubic-bezier(.22, 1, .36, 1); }

/* --------------------------------------------------------------- reviews */
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; }
.review .who { display: flex; align-items: center; gap: 11px; }
.review .av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 15px; flex: none; }
.review .who b { display: block; font-family: var(--head); font-size: 14px; color: var(--ink); }
.review .who span { font-size: 11.5px; color: var(--muted); }
.review p { font-size: 13.8px; line-height: 1.7; color: #475569; margin-top: 11px; }
.review .meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-top: 13px; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--navy); color: #94a3b8; padding: 52px 0 34px; font-size: 13px; line-height: 1.75; }
.foot img { height: 30px; margin-bottom: 16px; }
.foot a { color: #cbd5e1; }
.foot .risk { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 26px; padding-top: 20px; font-size: 11.5px; color: #64748b; }

/* ===================================================== funnel ============ */
.funnel { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.funnel-form { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 28px; background: #fff; }
.funnel-inner { width: 100%; max-width: 430px; }
.funnel-inner img.logo { height: 38px; width: auto; margin-bottom: 26px; }
.progress { height: 6px; border-radius: 999px; background: #eef2f7; overflow: hidden; margin-bottom: 30px; }
.progress i { display: block; height: 100%; width: 8%; border-radius: 999px; background: var(--brand); transition: width .45s cubic-bezier(.22, 1, .36, 1); }
.funnel h1 { font-size: 27px; font-weight: 800; margin-bottom: 7px; }
.funnel .hint { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.field { margin-bottom: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inp, .sel {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 15px; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: #fff; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.inp:focus, .sel:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 184, 95, .15); }
.inp::placeholder { color: #94a3b8; }
.phone { display: grid; grid-template-columns: 140px 1fr; gap: 10px; }
.err { color: #dc2626; font-size: 13px; margin: 2px 0 12px; min-height: 18px; }

.q h2 { font-size: 22px; font-weight: 800; line-height: 1.35; margin-bottom: 22px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt {
  text-align: left; width: 100%; cursor: pointer;
  border: 1px solid var(--line); background: #fff; border-radius: 11px;
  padding: 15px 17px; font-family: var(--body); font-size: 15px; color: var(--ink);
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.opt:hover { border-color: var(--brand); background: rgba(0, 184, 95, .05); transform: translateX(2px); }
.back { background: none; border: 0; color: var(--muted); font-size: 13.5px; cursor: pointer; padding: 14px 0 0; }
.back:hover { color: var(--brand); }

/* The promo panel beside the form. */
.funnel-panel { position: relative; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.funnel-panel .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.funnel-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10, 23, 40, .9), rgba(10, 23, 40, .62)); }
.panel-in { position: relative; z-index: 2; padding: 48px; max-width: 480px; margin: 0 auto; }
.panel-in h2 { color: #fff; font-size: 31px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.panel-in h2 em { font-style: normal; color: #4ade9b; }
.panel-in > p { color: #cbd5e1; font-size: 15px; margin-bottom: 32px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.pcard { display: flex; gap: 13px; background: rgba(255, 255, 255, .97); border-radius: 13px; padding: 16px 17px; margin-bottom: 14px; }
.pcard .ico { width: 34px; height: 34px; flex: none; border-radius: 9px; background: rgba(0, 184, 95, .14); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.pcard b { display: block; font-family: var(--head); font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.pcard span { font-size: 12.8px; line-height: 1.6; color: #475569; }

.spinner { width: 17px; height: 17px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .value-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 42px; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .funnel { grid-template-columns: 1fr; }
  .funnel-panel { display: none; }
  .split img.product { max-width: 260px; }
  .hero { padding-top: 102px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-right .btn { display: none; }
  .benefits, .steps, .reviews { grid-template-columns: 1fr; }
  .sec { padding: 56px 0; }
  .how { padding: 62px 0; }
  .row2, .phone { grid-template-columns: 1fr; }
  .funnel-form { padding: 32px 20px; }
  .offer .now { font-size: 40px; }
}

/* ============================================= language switcher ======== */
.lang-wrap { position: relative; }

.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 7px 11px 7px 12px; cursor: pointer;
  font-family: var(--head); font-weight: 700; font-size: 12.5px; color: var(--ink);
  line-height: 1; transition: border-color .15s ease, background .15s ease;
}
.lang-btn:hover { border-color: var(--brand); background: rgba(0, 184, 95, .05); }
.lang-btn img { width: 21px; height: 14px; border-radius: 2px; object-fit: cover; display: block; }
.lang-caret { color: var(--muted); }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 9px); z-index: 80;
  width: 190px; max-height: 320px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 44px -18px rgba(15, 30, 53, .45);
  padding: 6px;
}
.lang-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  border: 0; background: none; cursor: pointer; text-align: left;
  padding: 9px 10px; border-radius: 8px;
  font-family: var(--body); font-size: 14px; color: var(--ink);
}
.lang-opt:hover { background: var(--surface-2); }
.lang-opt.is-active { background: rgba(0, 184, 95, .1); font-weight: 700; }
.lang-opt img { width: 21px; height: 14px; border-radius: 2px; object-fit: cover; flex: none; }

/* On the funnel the switcher sits on the white form column, above the fold. */
.funnel-lang { position: absolute; top: 22px; right: 22px; z-index: 20; }

/* Google's own furniture: we drive it from our button, so none of it is shown.
   The widget also pushes <body> down by its banner height -- hence the top. */
#google_translate_element { position: absolute !important; left: -9999px !important; height: 0 !important; overflow: hidden; }
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

@media (max-width: 760px) {
  .lang-menu { width: 170px; }
}
