/* =========================================================
   HandVia — design tokens
   Navy + orange sampled directly from the HANDVIA logo file.
   ========================================================= */

:root{
  --navy-900:#052448;
  --navy-700:#0C3A6B;
  --navy-100:#E9EFF6;
  --navy-050:#F4F7FB;

  --orange-600:#D14E00;
  --orange-500:#F35E00;
  --orange-400:#FF7E33;
  --orange-100:#FFE9D9;
  --orange-050:#FFF4EC;

  --ink:#14212F;
  --ink-soft:#3E4C5A;
  --paper:#FDFBF9;
  --white:#FFFFFF;
  --line:#E3E8EE;
  --line-soft:#EEF1F5;

  --font-display:'Manrope', 'Segoe UI', sans-serif;
  --font-body:'Inter', 'Segoe UI', sans-serif;

  --container:1160px;
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:20px;
  --shadow-sm:0 1px 2px rgba(5,36,72,.06), 0 1px 1px rgba(5,36,72,.04);
  --shadow-md:0 8px 24px rgba(5,36,72,.10);
  --shadow-lg:0 20px 48px rgba(5,36,72,.16);
}

/* =========================================================
   Reset
   ========================================================= */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth;}
body{margin:0;}
img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
button{font:inherit; cursor:pointer;}
ul{margin:0; padding:0; list-style:none;}
h1,h2,h3,h4,p{margin:0;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

/* =========================================================
   Base
   ========================================================= */
body{
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  font-size:18px;
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy-900);
  font-weight:800;
  line-height:1.12;
  letter-spacing:-0.01em;
}

h1{font-size:clamp(2.3rem, 4.6vw, 3.6rem);}
h2{font-size:clamp(1.7rem, 3.2vw, 2.4rem);}
h3{font-size:1.3rem; font-weight:700;}

.lead{
  font-size:clamp(1.1rem, 1.6vw, 1.3rem);
  color:var(--ink-soft);
  font-weight:450;
  line-height:1.55;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-body);
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--orange-600);
}
.eyebrow::before{
  content:"";
  width:18px; height:2px;
  background:var(--orange-500);
  display:inline-block;
}

a:focus-visible, button:focus-visible{
  outline:3px solid var(--orange-400);
  outline-offset:2px;
  border-radius:6px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:var(--font-body);
  font-weight:700;
  font-size:1.05rem;
  padding:.95rem 1.75rem;
  border-radius:var(--radius-sm);
  border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--orange-500);
  color:var(--white);
  box-shadow:var(--shadow-sm);
}
.btn-primary:hover{background:var(--orange-600); transform:translateY(-1px); box-shadow:var(--shadow-md);}
.btn-ghost{
  background:transparent;
  color:var(--navy-900);
  border-color:var(--line);
}
.btn-ghost:hover{border-color:var(--navy-900); background:var(--navy-050);}
.btn-on-dark{
  background:var(--white);
  color:var(--navy-900);
}
.btn-on-dark:hover{background:var(--orange-050);}
.btn-block{width:100%;}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(253,251,249,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled{
  border-bottom-color:var(--line);
  box-shadow:0 2px 12px rgba(5,36,72,.06);
}
.site-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 24px;
  max-width:var(--container);
  margin:0 auto;
}
.brand{display:flex; align-items:center;}
.brand img{height:34px; width:auto;}

.lang-switch{
  display:flex;
  align-items:center;
  gap:2px;
  background:var(--navy-050);
  border:1px solid var(--line);
  border-radius:999px;
  padding:3px;
}
.lang-switch a{
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.03em;
  padding:6px 11px;
  border-radius:999px;
  color:var(--ink-soft);
}
.lang-switch a.is-active{
  background:var(--navy-900);
  color:var(--white);
}
.header-actions{display:flex; align-items:center; gap:14px;}
.header-cta{display:none;}
@media (min-width:720px){
  .header-cta{display:inline-flex;}
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  padding:56px 0 72px;
  overflow:hidden;
}
.hero__inner{
  display:grid;
  grid-template-columns:1fr;
  gap:44px;
  align-items:center;
}
@media (min-width:920px){
  .hero__inner{grid-template-columns:1.05fr .95fr; gap:56px;}
}
.hero__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--orange-050);
  color:var(--orange-600);
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.03em;
  padding:8px 14px;
  border-radius:999px;
  margin-bottom:20px;
}
.hero h1{margin-bottom:20px;}
.hero .lead{margin-bottom:30px; max-width:52ch;}
.hero__ctas{display:flex; flex-wrap:wrap; gap:14px;}

/* Phone mockup — signature element */
.phone{
  position:relative;
  width:min(320px, 84vw);
  margin:0 auto;
  background:var(--navy-900);
  border-radius:34px;
  padding:14px;
  box-shadow:var(--shadow-lg);
}
.phone::before{
  content:"";
  position:absolute;
  top:14px; left:50%;
  transform:translateX(-50%);
  width:64px; height:5px;
  background:rgba(255,255,255,.25);
  border-radius:4px;
}
.phone__screen{
  background:var(--white);
  border-radius:22px;
  padding:26px 20px 22px;
  padding-top:34px;
}
.phone__row-top{
  display:flex; justify-content:space-between; align-items:center;
  font-size:.72rem; color:var(--ink-soft); font-weight:600; margin-bottom:18px;
}
.phone__label{font-size:.8rem; color:var(--ink-soft); font-weight:600; margin-bottom:4px;}
.phone__figure{
  font-family:var(--font-display);
  font-size:2.15rem;
  font-weight:800;
  color:var(--navy-900);
  margin-bottom:18px;
}
.phone__figure span{color:var(--orange-500);}
.phone__stats{display:flex; flex-direction:column; gap:11px; margin-bottom:6px;}
.phone__stat{
  display:flex; justify-content:space-between; align-items:center;
  font-size:.86rem; font-weight:600; color:var(--ink);
  padding-bottom:11px;
  border-bottom:1px solid var(--line-soft);
}
.phone__stat:last-child{border-bottom:none; padding-bottom:0;}
.phone__stat small{display:block; font-size:.72rem; font-weight:500; color:var(--ink-soft); margin-top:1px;}
.phone__pulse{
  position:absolute;
  top:-14px; right:-14px;
  background:var(--orange-500);
  color:var(--white);
  font-size:.72rem;
  font-weight:700;
  padding:8px 12px;
  border-radius:999px;
  box-shadow:var(--shadow-md);
  animation:pulse 2.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-5px);}
}

/* =========================================================
   Tags / who it's for
   ========================================================= */
.audience{padding:8px 0 56px;}
.audience__label{margin-bottom:18px;}
.tag-cloud{display:flex; flex-wrap:wrap; gap:10px;}
.tag{
  font-size:.92rem;
  font-weight:600;
  color:var(--navy-900);
  background:var(--white);
  border:1.5px solid var(--line);
  padding:9px 16px;
  border-radius:999px;
}

/* =========================================================
   Problem section
   ========================================================= */
.section{padding:72px 0;}
.section-tinted{background:var(--navy-050);}
.section-dark{background:var(--navy-900); color:var(--white);}
.section-dark h2, .section-dark h3{color:var(--white);}
.section__head{max-width:66ch; margin-bottom:36px;}
.section__head h2{margin-top:10px;}

.problem-list{
  display:grid;
  gap:14px;
  margin-top:8px;
  max-width:640px;
}
.problem-list li{
  font-size:1.05rem;
  font-weight:500;
  padding:16px 20px;
  background:var(--white);
  border-left:4px solid var(--orange-500);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow:var(--shadow-sm);
}
.plain-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px 22px;
  margin:18px 0 0;
  max-width:60ch;
}
.plain-list li{
  font-size:1.05rem;
  font-weight:600;
  color:var(--navy-900);
  position:relative;
  padding-left:16px;
  margin:0 22px 8px 0;
}
.plain-list li::before{
  content:"";
  position:absolute;
  left:0; top:.55em;
  width:7px; height:7px;
  border-radius:50%;
  background:var(--orange-500);
}

.transition-band{
  padding:44px 0;
  text-align:center;
}
.transition-band p:first-child{
  font-size:1.3rem;
  font-weight:700;
  color:var(--navy-900);
  max-width:44ch;
  margin:0 auto 16px;
}
.transition-band p:last-child{
  font-size:1.08rem;
  color:var(--ink-soft);
  max-width:56ch;
  margin:0 auto;
}

.problem-close{
  margin-top:32px;
  font-size:1.1rem;
  font-weight:600;
  color:var(--navy-900);
  max-width:60ch;
}

/* =========================================================
   Steps ("how it works" quotes)
   ========================================================= */
.quotes{
  display:grid;
  gap:12px;
  margin:28px 0 32px;
}
@media (min-width:720px){
  .quotes{grid-template-columns:1fr 1fr;}
}
.quote-chip{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:14px 18px;
  font-size:.98rem;
  font-style:italic;
  color:var(--ink-soft);
}

/* =========================================================
   Differentiators (solution bullets)
   ========================================================= */
.diff-grid{
  display:grid;
  gap:20px;
  margin-top:36px;
}
@media (min-width:720px){
  .diff-grid{grid-template-columns:repeat(3,1fr);}
}
.diff-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:26px 22px;
}
.diff-card .icon{margin-bottom:14px;}
.diff-card h3{margin-bottom:8px; font-size:1.1rem;}
.diff-card p{color:var(--ink-soft); font-size:.98rem; margin:0;}

/* =========================================================
   Feature grid ("what's inside")
   ========================================================= */
.feature-grid{
  display:grid;
  gap:18px;
  margin-top:36px;
  grid-template-columns:1fr;
}
@media (min-width:640px){
  .feature-grid{grid-template-columns:1fr 1fr;}
}
@media (min-width:1000px){
  .feature-grid{grid-template-columns:repeat(5,1fr);}
}
.feature-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:24px 20px;
  transition:border-color .15s ease, transform .15s ease;
}
.feature-card:hover{border-color:var(--orange-400); transform:translateY(-2px);}
.feature-card .icon{
  width:40px; height:40px;
  border-radius:10px;
  background:var(--orange-050);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.feature-card .icon svg{width:20px; height:20px;}
.feature-card h3{font-size:1.05rem; margin-bottom:6px;}
.feature-card p{font-size:.92rem; color:var(--ink-soft); margin:0;}

.value-note{
  margin-top:40px;
  padding:22px 24px;
  background:var(--navy-050);
  border-radius:var(--radius-md);
  font-size:1rem;
  color:var(--navy-900);
  font-weight:500;
  max-width:70ch;
}

/* =========================================================
   Demo / mockup section (RU/UA)
   ========================================================= */
.demo{
  display:grid;
  gap:44px;
  align-items:center;
}
@media (min-width:920px){
  .demo{grid-template-columns:.95fr 1.05fr;}
}
.demo-list{margin-top:24px; display:grid; gap:12px;}
.demo-list li{
  display:flex; align-items:flex-start; gap:12px;
  font-size:1.02rem; color:var(--ink-soft); font-weight:500;
}
.demo-list li::before{
  content:"";
  flex:none;
  width:20px; height:20px;
  margin-top:3px;
  border-radius:50%;
  background:var(--navy-100);
  background-image:linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.demo-result{
  margin-top:22px;
  font-size:1.15rem;
  font-weight:700;
  color:var(--navy-900);
}

/* =========================================================
   Trust / "why work with me" quote block
   ========================================================= */
.trust{
  text-align:center;
  max-width:820px;
  margin:0 auto;
}
.trust .quote-mark{
  font-family:var(--font-display);
  font-size:4rem;
  color:var(--orange-500);
  line-height:1;
  margin-bottom:6px;
}
.trust h2{margin-bottom:18px;}
.trust p{font-size:1.1rem; color:rgba(255,255,255,.86); margin-bottom:14px;}
.trust p:last-child{margin-bottom:0;}
.trust p strong{color:var(--white);}

/* =========================================================
   Final CTA band
   ========================================================= */
.cta-band{
  background:linear-gradient(135deg, var(--navy-900), #0A3563);
  color:var(--white);
  border-radius:var(--radius-lg);
  padding:48px 32px;
  text-align:center;
}
.cta-band h2{color:var(--white); margin-bottom:14px;}
.cta-band .lead{color:rgba(255,255,255,.82); margin:0 auto 28px; max-width:56ch;}
.cta-band__actions{display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-bottom:26px;}
.contact-row{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-bottom:14px;
}
.contact-pill{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.22);
  padding:9px 16px;
  border-radius:999px;
  font-size:.92rem;
  font-weight:600;
}
.contact-pill:hover{background:rgba(255,255,255,.18);}
.cta-note{font-size:.9rem; color:rgba(255,255,255,.68);}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  padding:44px 0 100px;
  border-top:1px solid var(--line);
}
@media (min-width:720px){
  .site-footer{padding-bottom:44px;}
}
.footer-inner{
  display:flex; flex-direction:column; gap:18px;
  align-items:flex-start;
}
@media (min-width:640px){
  .footer-inner{flex-direction:row; align-items:center; justify-content:space-between;}
}
.footer-brand{display:flex; align-items:center; gap:10px;}
.footer-brand img{height:26px; width:auto;}
.footer-brand span{font-weight:700; color:var(--navy-900);}
.footer-meta{font-size:.9rem; color:var(--ink-soft);}
.footer-meta a{font-weight:600; color:var(--navy-900);}
.footer-tagline{font-size:.85rem; color:var(--ink-soft); margin-top:4px;}

/* =========================================================
   Mobile sticky action bar
   ========================================================= */
.mobile-bar{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:60;
  background:var(--white);
  border-top:1px solid var(--line);
  box-shadow:0 -6px 18px rgba(5,36,72,.10);
  padding:10px 16px calc(10px + env(safe-area-inset-bottom));
}
@media (min-width:720px){
  .mobile-bar{display:none;}
}

/* =========================================================
   Scroll reveal
   ========================================================= */
[data-reveal]{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible{
  opacity:1;
  transform:translateY(0);
}

/* =========================================================
   Utility
   ========================================================= */
.mt-0{margin-top:0;}
.text-center{text-align:center;}
.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* =========================================================
   Watch-presentation button (hero secondary CTA)
   Navy pill + orange play badge, gentle glow + shine to invite the click.
   ========================================================= */
.btn-demo{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:.72rem 1.5rem .72rem .72rem;
  border-radius:999px;
  font-family:var(--font-display);
  font-weight:800;
  font-size:1.05rem;
  color:var(--white);
  background:linear-gradient(135deg,#0C3A6B 0%, #052448 100%);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 10px 26px rgba(5,36,72,.28);
  overflow:hidden;
  isolation:isolate;
  white-space:nowrap;
  transition:transform .18s ease, box-shadow .25s ease;
}
.btn-demo::after{            /* pulsing orange glow ring */
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  z-index:-1;
  box-shadow:0 0 0 0 rgba(243,94,0,.5);
  animation:demoGlow 2.6s ease-out infinite;
}
@keyframes demoGlow{
  0%{box-shadow:0 0 0 0 rgba(243,94,0,.45);}
  70%{box-shadow:0 0 0 12px rgba(243,94,0,0);}
  100%{box-shadow:0 0 0 0 rgba(243,94,0,0);}
}
.btn-demo__sheen{           /* moving light sweep */
  position:absolute; top:0; left:-60%;
  width:45%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform:skewX(-18deg);
  z-index:1;
  animation:demoSheen 3.6s ease-in-out infinite;
  pointer-events:none;
}
@keyframes demoSheen{
  0%,58%{left:-60%;}
  100%{left:130%;}
}
.btn-demo__play{
  position:relative; z-index:2;
  flex:none;
  width:32px; height:32px;
  border-radius:50%;
  background:var(--orange-500);
  display:grid; place-items:center;
  box-shadow:0 3px 10px rgba(243,94,0,.5);
}
.btn-demo__play svg{width:14px; height:14px; margin-left:2px;}
.btn-demo__label{position:relative; z-index:2;}
.btn-demo:hover{transform:translateY(-2px); box-shadow:0 14px 34px rgba(5,36,72,.34);}
