:root {
  --bg: #0b0d10;
  --bg-alt: #0e1115;
  --text: #eceff4;
  --muted: #a7b1bb;
  --accent: #303942;
  --accent-2: #3b4754;
  --card: #14191f;
  --border: #1f2630;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif; background:var(--bg); color:var(--text); }
a { color:inherit; text-decoration:none; }
/* Focus visible */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Progress */
.progress { position:fixed; top:0; left:0; height:3px; width:0; background:var(--accent); z-index:9999; box-shadow:0 0 12px var(--accent); }

/* Navbar */
.navbar { position:fixed; top:0; left:0; width:100%; z-index:60; transition: background .25s ease, border-color .25s ease; }
.navbar .nav-inner { width:min(1200px,92%); margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:1rem 0; }
.navbar:not(.scrolled) { background: transparent; border-bottom: 1px solid transparent; }
.navbar.scrolled { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.logo { font-weight:700; letter-spacing:.6px; }
.nav a { margin:0 .9rem; position:relative; padding:.35rem 0; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  -webkit-text-stroke: 0px rgba(0,0,0,.95); text-shadow: 0 1px 2px rgba(0,0,0,.65); paint-order: stroke fill; }
.nav a::after { content:''; position:absolute; left:0; bottom:-6px; height:2px; width:0; background:var(--accent); transition:width .25s ease; }
.nav a:hover::after, .nav a.active::after { width:100%; }
.actions { display:flex; gap:.5rem; }

/* Buttons */
.btn { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:.5rem; padding:.95rem 1.25rem; border-radius:10px; border:1px solid transparent; cursor:pointer; transition:transform .18s ease, box-shadow .25s ease, border-color .25s, background .25s; text-transform:uppercase; letter-spacing:.06em; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color:white; box-shadow:0 10px 20px rgba(48,57,66,.28); }
.btn.primary:hover { transform: translateY(-1px); box-shadow:0 14px 28px rgba(48,57,66,.4); }
.btn.ghost { background:transparent; color:var(--text); border:1px solid rgba(255,255,255,.12); }
.btn.ghost:hover { border-color:var(--accent); box-shadow:0 6px 16px rgba(48,57,66,.35); }

/* Header / Hero */
#header { position:relative; height:100vh; min-height:620px; overflow:hidden; }
#header-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; transform: scale(1.02); }
.overlay-grad { position:absolute; inset:0; background: radial-gradient(1200px 400px at 50% 20%, rgba(0,0,0,.0), rgba(0,0,0,.35) 60%), linear-gradient(to bottom, rgba(0,0,0,.22), var(--bg) 78%); z-index:1; }
.hero { position:relative; z-index:2; display:grid; place-items:center; height:100%; text-align:center; padding:0 1rem; }
.hero-inner { max-width:900px; }
.hero h1 { font-size: clamp(2.2rem, 3.8vw, 4rem); line-height:1.12; letter-spacing:.3px; text-transform:uppercase; text-wrap:balance; }
.hero p { margin-top:1rem; color:var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); }
.cta-wrap { margin-top:2rem; }
.hero-hint { margin-top:2.2rem; font-size:.85rem; color:var(--muted); opacity:.8; }

.section-sep { display:block; position:absolute; bottom:-1px; left:0; width:100%; height:120px; z-index:2; }
.section-sep path { fill: var(--bg); }

/* Sections */
.section { position:relative; padding: clamp(3rem, 6vw, 6rem) 1.2rem; width:min(1200px,92%); margin:0 auto; }
.section.alt { background: var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border); border-radius:18px; }
.section .heading { display:flex; flex-direction:column; align-items:center; text-align:center; gap:1rem; margin-bottom:2rem; }
.section .heading h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); text-transform:uppercase; letter-spacing:.05em; }
.section .heading p { color:var(--muted); max-width:760px; }

/* Grid / Cards */
.grid { display:grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(12, 1fr); }
.card { grid-column: span 4; background:var(--card); border:1px solid var(--border); border-radius:16px; padding:1.4rem; box-shadow:var(--shadow); transform-style: preserve-3d; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { box-shadow: 0 16px 46px rgba(0,0,0,.5); border-color: rgba(255,255,255,.08); }
.card .icon { font-size:1.6rem; margin-bottom:.6rem; }
.card h3 { margin:.4rem 0 .4rem; font-size:1.05rem; text-transform:uppercase; letter-spacing:.04em; }
.card p { color:var(--muted); font-size:.98rem; }
.card[data-tilt] { will-change: transform; }

@media (max-width: 980px) { .card{ grid-column: span 6; } }
@media (max-width: 640px) { .card{ grid-column: span 12; } }

/* Dividers */
.divider { height:1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); margin: 2.4rem 0; }

/* Cases (logos) */
.logos { display:grid; grid-template-columns: repeat(6, 1fr); gap:1.2rem; align-items:center; }
.logo-item { filter: grayscale(1) contrast(.9) brightness(.9); opacity:.9; transition: filter .3s, opacity .3s, transform .2s; display:flex; align-items:center; justify-content:center; padding:1rem; border-radius:12px; border:1px dashed transparent; }
.logo-item:hover { filter:none; opacity:1; transform: translateY(-2px); border-color: var(--border); }

/* Testimonials */
.testimonials { position:relative; overflow:hidden; }
.testimonial-track { display:flex; gap:1.2rem; transition: transform .6s ease; }
.testimonial { min-width: calc(33.333% - .8rem); background: var(--card); border:1px solid var(--border); border-radius:16px; padding:1.4rem; box-shadow:var(--shadow); }
.testimonial .author { margin-top:.8rem; font-weight:600; }

@media (max-width: 980px) { .testimonial{ min-width: calc(50% - .6rem); } }
@media (max-width: 640px) { .testimonial{ min-width: 100%; } }

/* Pricing */
.switch { display:inline-flex; background:var(--card); border:1px solid var(--border); border-radius:999px; padding:.25rem; gap:.25rem; }
.switch button { border:none; background:transparent; padding:.5rem .9rem; border-radius:999px; cursor:pointer; color:var(--muted); }
.switch button.active { background:var(--accent); color:#fff; }
.pricing-grid { display:grid; gap:1.2rem; grid-template-columns: repeat(12, 1fr); }
.price-card { grid-column: span 4; background: var(--card); border:1px solid var(--border); border-radius:16px; padding:1.4rem; box-shadow:var(--shadow); }
.price { font-size:1.8rem; font-weight:700; margin:.4rem 0 1rem; }

/* Contact */
.form { display:grid; gap:1rem; grid-template-columns: repeat(2, 1fr); }
.form .full { grid-column: span 2; }
.input { background:#0f141a; border:1px solid var(--border); border-radius:12px; padding:.95rem 1rem; color:var(--text); font-size:1rem; outline:none; transition:border-color .2s; }
.input:focus { border-color: var(--accent); }

/* Reveal animations */
.reveal { opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity:1; transform: translateY(0); }
.from-bottom { transform: translateY(28px); }
.d100 { transition-delay:.1s; }
.d200 { transition-delay:.2s; }
.d300 { transition-delay:.3s; }

/* Sticky CTA */
.sticky-cta { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(140%); background: var(--bg-alt); border:1px solid var(--border); box-shadow: var(--shadow); border-radius: 999px; padding: .6rem .8rem; display:flex; align-items:center; gap:.8rem; z-index:70; transition: transform .35s ease; }
.sticky-cta.show { transform: translateX(-50%) translateY(0); }

/* Footer */
.footer { padding:3rem 1.2rem; border-top:1px solid var(--border); background:#0b0d10; }
.footer-inner { width:min(1200px,92%); margin:0 auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer a { color:var(--muted); }


/* --- Mobile navigation & layout --- */
.hamburger { display:none; align-items:center; justify-content:center; padding:.6rem .8rem; border-radius:10px; border:1px solid rgba(255,255,255,.12); background:transparent; color:var(--text); cursor:pointer; }
@media (max-width: 860px) {
  .navbar .nav-inner { padding:.6rem 0; }
  .nav { position: fixed; top:64px; right:12px; background:var(--bg-alt); border:1px solid var(--border); border-radius:14px; padding:.6rem; display:none; flex-direction:column; gap:.2rem; width:min(86vw,320px); box-shadow: var(--shadow); }
  .nav.open { display:flex; }
  .nav a { margin:.1rem 0; padding:.7rem .8rem; -webkit-text-stroke: 2px rgba(0,0,0,.9); }
  .actions { gap:.4rem; }
  .hamburger { display:inline-flex; }
}

/* Tweak hero & sections on small screens */
@media (max-width: 640px) {
  .hero-inner { max-width: 92vw; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); line-height:1.15; }
  .hero p { font-size: clamp(.95rem, 4.2vw, 1.05rem); }
  .section { padding: 2.6rem 1rem; }
  .section .heading { margin-bottom: 1.2rem; }
  .sticky-cta { bottom: 12px; }
}

/* Improve tap targets */
@media (hover:none) {
  .btn, .nav a { padding: 1rem 1.1rem; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


/* === Added by update: language button & sticky CTA tweaks === */
.lang-btn { display:inline-flex; align-items:center; gap:.5rem; }

.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 16px;
  left: auto;
  transform: translateY(140%);
  background: var(--bg-alt, #0f1115);
  border: 1px solid var(--border, rgba(255,255,255,.08));
  box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,.35));
  border-radius: 999px;
  padding: .6rem .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  z-index: 70;
  transition: transform .35s ease;
}
.sticky-cta.show { transform: translateY(0); }

@media (max-width: 860px) {
  .nav a { display:block; }
}

html, body { overscroll-behavior-y: none; }
