/* ============ Neolift — Born for the Unconventional ============ */
:root {
  --navy: #1B365D;
  --navy-dark: #0d1b30;
  --grey-1: #545860;
  --grey-2: #888B90;
  --grey-3: #C9CAD4;
  --bg-light: #f7f8fa;
  --white: #ffffff;
  --accent: #6b9bd2;
  --radius: 12px;
  --max-w: 1180px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body { font-family: var(--font); color: #1c2433; background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 10px; border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--navy); box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.45); color: rgba(255,255,255,.92); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #234572; }

/* ---------- Nav ---------- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 24px; transition: background .25s ease, box-shadow .25s ease; }
nav.scrolled { background: rgba(13,27,48,.92); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,.25); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: 14.5px; font-weight: 600; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-links a.nav-cta { background: var(--white); color: var(--navy); padding: 9px 20px; border-radius: 8px; }
.nav-links a.nav-cta:hover { transform: translateY(-1px); }
.lang-toggle { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: rgba(255,255,255,.6); font-family: var(--font); font-size: 12.5px; font-weight: 700; padding: 7px 12px; cursor: pointer; letter-spacing: .5px; }
.lang-toggle .active { color: #fff; }
.lang-sep { margin: 0 4px; opacity: .4; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--navy-dark); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(13,27,48,.88) 0%, rgba(27,54,93,.55) 55%, rgba(13,27,48,.35) 100%); }
.hero-content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 120px 24px 80px; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(44px, 7.5vw, 88px); font-weight: 800; line-height: 1.02; letter-spacing: -2.5px; margin-bottom: 26px; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { color: rgba(255,255,255,.78); font-size: clamp(16px, 2vw, 19px); max-width: 580px; margin-bottom: 38px; font-weight: 500; }
.hero-sub strong { color: #fff; font-weight: 800; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll span { display: block; width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.4); border-radius: 12px; position: relative; }
.hero-scroll span::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: rgba(255,255,255,.7); border-radius: 2px; animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 18px; } 100% { opacity: 0; top: 6px; } }

/* ---------- KPIs ---------- */
.kpis { background: var(--white); padding: 72px 24px; }
.kpis-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.kpi { text-align: center; }
.kpi-val { font-size: clamp(40px, 5vw, 62px); font-weight: 800; color: var(--navy); letter-spacing: -2px; line-height: 1; }
.kpi-val.pct::after { content: '%'; font-size: .55em; font-weight: 700; vertical-align: 8px; margin-left: 2px; }
.kpi-label { color: var(--grey-2); font-size: 14px; font-weight: 600; margin-top: 10px; }

/* ---------- Section heads ---------- */
.section-head { max-width: var(--max-w); margin: 0 auto 56px; text-align: center; padding: 0 24px; }
.kicker { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 14px; }
.section-head h2, .product-copy h2, .contact-copy h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--navy); letter-spacing: -1.2px; line-height: 1.12; }
.section-sub { color: #5a6372; font-size: 16.5px; font-weight: 500; max-width: 640px; margin: 18px auto 0; }

/* ---------- Pillars ---------- */
.pillars { background: var(--bg-light); padding: 96px 24px; }
.pillars-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--white); border-radius: var(--radius); padding: 36px 30px; box-shadow: 0 2px 14px rgba(27,54,93,.06); transition: transform .2s ease, box-shadow .2s ease; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(27,54,93,.12); }
.pillar-num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 2px; margin-bottom: 18px; }
.pillar h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -.4px; }
.pillar p { color: #5a6372; font-size: 15px; }
.pillar-tags { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.pillar-tags span { background: rgba(27,54,93,.07); color: var(--navy); font-size: 12.5px; font-weight: 700; padding: 5px 13px; border-radius: 20px; }

/* ---------- Statement ---------- */
.statement { background: var(--navy); padding: 110px 24px; text-align: center; }
.statement-quote { color: rgba(255,255,255,.65); font-size: clamp(22px, 3.2vw, 34px); font-weight: 600; letter-spacing: -.6px; line-height: 1.4; max-width: 880px; margin: 0 auto; }
.statement-quote strong { color: #fff; font-weight: 800; }

/* ---------- Product ---------- */
.product { background: var(--white); padding: 100px 24px; }
.product-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-img img, .product-img video { border-radius: var(--radius); box-shadow: 0 16px 48px rgba(27,54,93,.18); aspect-ratio: 4/5; object-fit: cover; width: 100%; display: block; }
.product-video-caption { margin-top: 16px; padding-left: 16px; border-left: 3px solid var(--accent); color: var(--grey-1); font-size: 14px; font-weight: 600; line-height: 1.55; }
.product-copy p { color: #5a6372; font-size: 16px; margin: 18px 0 24px; }
.product-list { list-style: none; margin-bottom: 32px; }
.product-list li { position: relative; padding-left: 28px; color: #3c4554; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.product-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; background: var(--accent); border-radius: 50%; }

/* ---------- HMI glimpse ---------- */
.hmi-glimpse { max-width: var(--max-w); margin: 72px auto 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #0d121c; aspect-ratio: 1340/520; }
.hmi-glimpse img { width: 100%; display: block; }
.hmi-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hmi-slide.active { opacity: .85; }
.hmi-dots { position: absolute; right: 28px; bottom: 24px; z-index: 3; display: flex; gap: 10px; }
.hmi-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.28); transition: background .3s, transform .3s; }
.hmi-dots button:hover { background: rgba(255,255,255,.55); }
.hmi-dots button.active { background: var(--accent); transform: scale(1.25); }
.hmi-glimpse::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,18,28,.92) 0%, rgba(13,18,28,0) 30%, rgba(13,18,28,0) 60%, rgba(13,18,28,.55) 100%); pointer-events: none; }
.hmi-glimpse p { position: absolute; left: 36px; bottom: 28px; z-index: 2; color: rgba(255,255,255,.92); font-size: 15px; font-weight: 700; max-width: 300px; line-height: 1.45; margin: 0; }

/* ---------- Field ---------- */
.field { background: var(--bg-light); padding: 96px 24px; }
.field-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field-grid figure { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--navy-dark); }
.field-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .35s ease; }
.field-grid figure:hover img { transform: scale(1.04); }
.field-grid figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 20px 16px; background: linear-gradient(transparent, rgba(13,27,48,.85)); color: rgba(255,255,255,.92); font-size: 13.5px; font-weight: 700; }

/* ---------- Clients ---------- */
.clients { background: var(--white); padding: 64px 0; overflow: hidden; }
.clients-kicker { text-align: center; color: var(--grey-2); font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 36px; padding: 0 24px; }
.clients-track { display: flex; overflow: hidden; }
.clients-row { display: flex; gap: 80px; align-items: center; animation: marquee 24s linear infinite; padding-right: 80px; flex-shrink: 0; }
.client-logo { color: var(--grey-3); font-size: 19px; font-weight: 800; letter-spacing: 1.5px; white-space: nowrap; transition: color .2s; }
.client-logo:hover { color: var(--navy); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Contact ---------- */
.contact { background: var(--navy); padding: 100px 24px; }
.contact-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-copy h2 { color: #fff; margin-bottom: 18px; }
.contact-copy > p { color: rgba(255,255,255,.7); font-size: 16.5px; margin-bottom: 36px; }
.contact-info p { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 6px; font-weight: 600; }
.contact-info a { color: #fff; font-weight: 800; font-size: 18px; }
.contact-info a:hover { color: var(--accent); }
.socials { display: flex; gap: 16px; margin-top: 32px; }
.socials a { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); transition: background .2s, transform .15s; }
.socials a:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.contact-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 36px; }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label span { display: block; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; margin-bottom: 7px; text-transform: uppercase; letter-spacing: 1px; }
.contact-form input, .contact-form textarea { width: 100%; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 9px; padding: 13px 15px; color: #fff; font-family: var(--font); font-size: 15px; transition: border-color .15s, background .15s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.13); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { width: 100%; margin-top: 6px; }

/* ---------- Footer ---------- */
footer { background: var(--navy-dark); padding: 56px 24px; text-align: center; }
.footer-logo { height: 30px; width: auto; margin: 0 auto 18px; }
footer p { color: rgba(255,255,255,.55); font-size: 14px; font-weight: 600; }
.footer-copy { margin-top: 8px; font-size: 12.5px; color: rgba(255,255,255,.35); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; background: rgba(13,27,48,.97); backdrop-filter: blur(14px); flex-direction: column; padding: 28px 24px 36px; gap: 22px; transform: translateY(-130%); transition: transform .3s ease; }
  .nav-links.open { transform: translateY(0); }
  .kpis-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-img img, .product-img video { aspect-ratio: 4/3; }
  .field-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .hero h1 { letter-spacing: -1.5px; }
}
