/* Kopshti Sot landing. Same palette and fonts as the app (src/lib/theme.ts).
   Fluid by design: the root font size scales with the viewport and everything is sized in rem,
   so the page keeps its proportions from small phones to very wide screens. */
@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url(/fonts/Figtree_400Regular.ttf) format('truetype'); }
@font-face { font-family: Figtree; font-weight: 600; font-display: swap; src: url(/fonts/Figtree_600SemiBold.ttf) format('truetype'); }
@font-face { font-family: Figtree; font-weight: 700; font-display: swap; src: url(/fonts/Figtree_700Bold.ttf) format('truetype'); }
@font-face { font-family: Figtree; font-weight: 800; font-display: swap; src: url(/fonts/Figtree_800ExtraBold.ttf) format('truetype'); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(/fonts/Nunito_800ExtraBold.ttf) format('truetype'); }

:root {
  --canvas: #F7F5F1;
  --card: #FFFFFF;
  --text: #1F2433;
  --muted: #5F6472;
  --primary: #0F766E;
  --primary-dark: #0B5B55;
  --primary-soft: #E3F2EF;
  --accent: #F5A524;
  --accent-strong: #B86E00;
  --accent-soft: #FFF3DB;
  --ink: #232338;
  --line: #E9E5DE;
  --shadow: 0 .1rem .2rem rgba(35, 35, 56, .05), 0 .8rem 2rem rgba(35, 35, 56, .08);
  --nav-h: 4.25rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

/* 15px on small phones, growing to 23px on very wide screens. */
html { font-size: clamp(15px, calc(10px + .5vw), 23px); scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0; font-family: Figtree, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text); background: var(--canvas); line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 1.2rem + 3.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(80rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
.sub { color: var(--muted); font-size: 1.1rem; margin-top: .9rem; }
.small { font-size: .9rem; color: var(--muted); }

/* Icons: stroke-based SVG symbols. */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-inline { width: 1em; height: 1em; vertical-align: -0.12em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: 0 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 .5rem 1.25rem rgba(15, 118, 110, .25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-soft { background: var(--primary-soft); color: var(--primary); }
.btn-ghost { color: var(--primary); min-height: 2.6rem; padding: 0 1.1rem; border-color: var(--primary-soft); }
.btn-small { min-height: 2.6rem; padding: 0 1.1rem; background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.text-link { color: var(--primary); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(247, 245, 241, .85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(233, 229, 222, .7); }
.nav-inner { display: flex; align-items: center; gap: 1.75rem; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: Nunito, Figtree, sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { width: 2.2rem; height: 2.2rem; border-radius: .65rem; }
.nav nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav nav a:hover { color: var(--text); }

/* Hero: fills the first screen on any device. */
.hero { min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; padding: clamp(2rem, 5vh, 4rem) 0; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.mark { color: var(--primary); background: linear-gradient(transparent 68%, rgba(245, 165, 36, .38) 68%, rgba(245, 165, 36, .38) 92%, transparent 92%); white-space: nowrap; }
.lead { font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); color: var(--muted); margin-top: 1.25rem; max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.ticks { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .5rem; color: var(--muted); font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: .6rem; }
.ticks .i { color: var(--primary); stroke-width: 3; width: 1.05em; height: 1.05em; }

/* Scenes: illustration with a phone over it, all sized in % of the box so nothing gets cut. */
.hero-visual { position: relative; width: 100%; max-width: 38rem; justify-self: end; aspect-ratio: 1 / 1; }
.scene { width: 100%; height: auto; border-radius: 2rem; box-shadow: var(--shadow); }
.hero-visual .scene { position: absolute; right: 0; top: 14%; width: 84%; }
.phone {
  aspect-ratio: 390 / 780; border-radius: 2.2rem; overflow: hidden; background: var(--card);
  border: .55rem solid var(--ink); box-shadow: 0 1.5rem 3.5rem rgba(35, 35, 56, .25);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-phone { position: absolute; left: 0; bottom: 0; width: 36%; transform: rotate(-4deg); }
.bubble {
  position: absolute; display: flex; align-items: center; gap: .55rem; background: var(--card);
  border-radius: 1rem; padding: .6rem .9rem .6rem .6rem; box-shadow: var(--shadow); font-weight: 700; font-size: .92rem; white-space: nowrap;
}
.bubble-ico { width: 2rem; height: 2rem; border-radius: .6rem; display: grid; place-items: center; }
.bubble-ico .i { width: 1.1rem; height: 1.1rem; }
.bubble-ico.green { background: #E3F4EA; color: #1F9D55; }
.bubble-ico.amber { background: var(--accent-soft); color: var(--accent-strong); }
.bubble-1 { right: 4%; top: 4%; }
.bubble-2 { right: 2%; bottom: 6%; }

/* Sections */
.section { padding: clamp(4rem, 9vh, 6.5rem) 0; }
.section-tight { padding-top: 0; }
.section-tint { background: var(--card); }
.center-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-reverse { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split-visual { position: relative; width: 100%; max-width: 30rem; justify-self: center; }
.split-visual .phone { position: absolute; right: -2%; bottom: -8%; width: 52%; transform: rotate(3deg); }
.split-visual .scene { width: 88%; }
.split-visual .scene-solo { width: 100%; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 2rem; }
.feature { display: flex; gap: .9rem; background: var(--card); border-radius: 1.2rem; padding: 1.1rem; box-shadow: var(--shadow); }
.feature p, .card p { color: var(--muted); margin-top: .25rem; font-size: .96rem; }
.ico { width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; border-radius: .9rem; background: var(--accent-soft); color: var(--accent-strong); }
.ico .i { width: 1.35rem; height: 1.35rem; }

.note { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--primary-soft); border-radius: 1.2rem; padding: 1.1rem 1.25rem; color: var(--primary-dark); }
.note strong { display: block; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.card { background: var(--canvas); border-radius: 1.4rem; padding: 1.6rem; }
.card .ico { margin-bottom: 1rem; background: var(--card); color: var(--primary); }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border-radius: 1.2rem; padding: 1.25rem; box-shadow: var(--shadow); }
.steps p { color: var(--muted); margin-top: .25rem; }
.num { width: 2.4rem; height: 2.4rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; }

.privacy { display: flex; gap: 1.75rem; align-items: flex-start; background: var(--card); border-radius: 1.8rem; padding: clamp(1.75rem, 3vw, 2.75rem); box-shadow: var(--shadow); }
.privacy .sub { margin-bottom: 1rem; max-width: 46rem; }
.privacy-icon { width: 4.25rem; height: 4.25rem; flex: none; display: grid; place-items: center; border-radius: 1.3rem; background: var(--primary-soft); color: var(--primary); }
.privacy-icon .i { width: 2rem; height: 2rem; }

.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff;
  border-radius: 2rem; padding: clamp(2rem, 4vw, 3.25rem); position: relative; overflow: hidden;
}
.cta-band::after { content: ''; position: absolute; right: -4rem; top: -4rem; width: 14rem; height: 14rem; border-radius: 50%; background: radial-gradient(circle, rgba(245, 165, 36, .5), rgba(245, 165, 36, 0) 70%); pointer-events: none; }
.cta-copy p { margin-top: .75rem; opacity: .9; font-size: 1.08rem; max-width: 34rem; }
/* WhatsApp and Viber side by side; the phone number spans both. */
.cta-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: relative; z-index: 1; min-width: 20rem; }
.btn-wide { grid-column: 1 / -1; }
.stores { text-align: center; margin-top: 1.5rem; color: var(--muted); font-weight: 600; }
.stores .i { color: var(--primary); width: 1.1em; height: 1.1em; vertical-align: -0.2em; margin-right: .35rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; }
.footer-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer nav { display: flex; gap: 1.25rem; }
.footer nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer .small { margin-left: auto; }

/* Tablets and small laptops */
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-inner, .split, .split-reverse { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { justify-self: center; max-width: 32rem; }
  .split-visual { max-width: 26rem; margin-bottom: 2.5rem; }
  .split-reverse .split-visual { order: 2; margin: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-buttons { min-width: 0; }
}
/* Phones */
@media (max-width: 600px) {
  .nav nav { display: none; }
  .nav-login { margin-left: auto; }
  .features, .cards { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { flex: 1 1 100%; }
  .privacy { flex-direction: column; }
  .bubble { font-size: .8rem; }
  .bubble-ico { width: 1.7rem; height: 1.7rem; }
  .footer .small { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
