@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0a0a0c;
  --bg-alt: #111116;
  --bg-raise: #17171d;
  --text: #f2f2f0;
  --muted: #9a9aa2;
  --accent: #5b8cff;
  --accent-dim: #3a5bb0;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.97);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--border-strong);
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .header-tagline { display: none; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #8a6dff);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #05050a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -24px;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.nav-cta {
  padding: 10px 20px !important;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(91, 140, 255, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #060610;
}

.btn-primary:hover { background: #7aa2ff; }

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover { border-color: var(--accent); background: rgba(91,140,255,0.08); }

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91,140,255,0.16), transparent 70%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(10,10,12,0.98) 0%, rgba(10,10,12,0.94) 42%, rgba(10,10,12,0.6) 62%, rgba(10,10,12,0.15) 82%, rgba(10,10,12,0) 100%),
    url('../assets/hero-bg.png');
  background-size: cover, 175% auto;
  background-position: center, right center;
  background-repeat: no-repeat, no-repeat;
}

.hero-wave-bg {
  background-image:
    linear-gradient(90deg, rgba(10,10,12,0.97) 0%, rgba(10,10,12,0.9) 40%, rgba(10,10,12,0.55) 65%, rgba(10,10,12,0.2) 88%, rgba(10,10,12,0) 100%),
    url('../assets/page-hero-bg.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.hero-grid-bg {
  background-image:
    linear-gradient(90deg, rgba(10,10,12,0.95) 0%, rgba(10,10,12,0.8) 35%, rgba(10,10,12,0.45) 62%, rgba(10,10,12,0.1) 85%, rgba(10,10,12,0) 100%),
    url('../assets/v882-kul-44-a.jpg');
  background-size: cover, cover;
  background-position: center, center 75%;
  background-repeat: no-repeat, no-repeat;
}

@media (max-width: 900px) {
  .hero-scene { display: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 820px;
}

h1 span.grad {
  background: linear-gradient(135deg, var(--accent), #b48bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ---------- Hero image showcase ---------- */
.hero-showcase {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-raise);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(91,140,255,0.14), rgba(138,109,255,0.08));
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-slide-icon { font-size: 2.4rem; color: var(--muted); }

.hero-showcase-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dot-btn:hover { transform: scale(1.2); }
.dot-btn.is-active { background: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
section.tight { padding: 70px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Grids / Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--border-strong); transform: translateY(-4px); }

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(91, 140, 255, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Stats strip ---------- */
.stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stat h3 { font-size: 2.2rem; font-weight: 800; color: var(--text); }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: 24px;
  background: linear-gradient(135deg, #14141c, #1c1c28);
  border: 1px solid var(--border-strong);
  padding: 64px 48px;
  text-align: center;
}

.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.cta-banner p { color: var(--muted); max-width: 520px; margin: 0 auto 32px; }
.cta-banner .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- Demo gallery ---------- */
.demo-card {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.demo-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }

.demo-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(91,140,255,0.14), rgba(138,109,255,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.demo-thumb-icon { font-size: 2.2rem; color: var(--muted); }

.demo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffb454;
  background: rgba(255, 180, 84, 0.14);
  border: 1px solid rgba(255, 180, 84, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}

.demo-card-body { padding: 26px; }
.demo-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.demo-card-body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step .num {
  counter-increment: step;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 50px;
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; max-width: 560px; }

/* ---------- Client logos ---------- */
.client-card {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.client-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #05050a;
  margin-bottom: 18px;
}

.client-card h4 { font-weight: 700; margin-bottom: 4px; }
.client-card .role { color: var(--muted); font-size: 0.85rem; margin-bottom: 16px; }
.client-card blockquote { color: #cfcfd4; font-size: 0.95rem; font-style: italic; }

.logo-strip {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  opacity: 0.7;
}

.logo-strip .lg {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Values / About ---------- */
.value-row {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.value-row:last-child { border-bottom: 1px solid var(--border); }
.value-row .idx { color: var(--accent); font-weight: 800; font-size: 0.95rem; min-width: 34px; }
.value-row h4 { font-weight: 700; margin-bottom: 6px; }
.value-row p { color: var(--muted); font-size: 0.92rem; max-width: 520px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-info .item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.contact-info .item:last-child { border-bottom: 1px solid var(--border); }
.contact-info .item .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(91,140,255,0.12); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-info .item h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.contact-info .item p { color: var(--muted); font-size: 0.92rem; }

form.contact-form {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--muted);
}

input, textarea, select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}

textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.form-success {
  display: none;
  background: rgba(91,140,255,0.1);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-success.show { display: block; }

.form-success.error {
  background: rgba(255, 90, 90, 0.1);
  border-color: #ff5a5a;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 32px;
}

.footer-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--text); }

.footer-divider { border-top: 1px solid var(--border); }

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0;
}

.footer-columns .footer-col + .footer-col {
  padding-left: 40px;
  border-left: 1px solid var(--border);
}

.footer-col h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 18px; }
.footer-col p { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; max-width: 260px; }
.footer-col a { color: #cfcfd4; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-row .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--text);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  color: var(--muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social { display: flex; gap: 10px; }

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-icon:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-stage {
  position: relative;
  width: 320px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0;
  transform: scale(0.92) translateY(14px);
  filter: blur(8px);
  transition:
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-word.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

.preloader-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  filter: blur(10px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-logo.show {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.preloader-logo.exit {
  opacity: 0;
  transform: scale(1.18) translateY(-28px);
  filter: blur(6px);
}

.preloader-logo .mark {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #8a6dff);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: #05050a;
}

body.preloading { overflow: hidden; }

@media (max-width: 720px) {
  .footer-columns { grid-template-columns: 1fr; gap: 28px; }
  .footer-columns .footer-col + .footer-col {
    padding-left: 0;
    padding-top: 28px;
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Video frame ---------- */
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Placeholder tag ---------- */
.placeholder-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffb454;
  background: rgba(255, 180, 84, 0.12);
  border: 1px solid rgba(255, 180, 84, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; padding: 32px; gap: 26px; transform: translateX(100%); transition: transform 0.3s ease; }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stats { flex-direction: column; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .hero { padding: 90px 0 60px; }
}
