/* ============ Soluti — Modern Tech Landing ============ */
:root {
  /* Brand */
  --brand-orange: #E87722;
  --brand-orange-bright: #FF8A35;
  --brand-blue: #E87722;
  --brand-blue-bright: #FF8A35;
  --brand-navy: #1E2A4A;
  --brand-navy-deep: #0B1226;

  /* Theme tokens (dark default) */
  --bg: #07091A;
  --bg-elev: #0E132A;
  --bg-card: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --fg: #F4F6FB;
  --fg-muted: #9AA3B8;
  --fg-dim: #6B7591;
  --accent: #E87722;
  --accent-bright: #FF8A35;
  --accent-soft: rgba(232,119,34,0.14);
  --grid: rgba(255,255,255,0.04);

  /* Type */
  --font-sans: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

[data-theme="light"] {
  --bg: #F7F6F2;
  --bg-elev: #FFFFFF;
  --bg-card: #FFFFFF;
  --border: rgba(11,18,38,0.08);
  --border-strong: rgba(11,18,38,0.18);
  --fg: #0B1226;
  --fg-muted: #4B5571;
  --fg-dim: #7A8398;
  --accent-soft: rgba(232,119,34,0.10);
  --grid: rgba(11,18,38,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Layout */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.section { padding: 120px 0; position: relative; }
@media (max-width: 720px) { .section { padding: 80px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }

.text-orange { color: var(--accent); }
.text-muted { color: var(--fg-muted); }

/* ============ Navigation ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { height: 36px; width: auto; }
.logo-bulb {
  width: 40px; height: 40px;
  display: inline-block; flex-shrink: 0;
  color: var(--fg);
}
.logo-bulb svg { width: 100%; height: 100%; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-sans);
  font-weight: 800; font-size: 26px;
  letter-spacing: -0.02em;
  color: #E87722;
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: 0.14em;
  color: var(--fg-muted);
  margin-top: 4px;
  font-weight: 600;
}
.footer-logo .logo-sub { font-size: 10px; letter-spacing: 0.18em; margin-top: 6px; }
@media (max-width: 720px) {
  .logo-sub { display: none; }
}
.logo-text { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo-text .o { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--fg-muted); transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(232,119,34,0.5);
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(232,119,34,0.6); }
.btn-ghost {
  border: 1px solid var(--border-strong); color: var(--fg);
}
.btn-ghost:hover { border-color: var(--fg); background: var(--bg-card); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(232,119,34,0.20), transparent 60%);
  filter: blur(40px);
}
.hero-inner { position: relative; text-align: center; max-width: 1000px; margin: 0 auto; }
.hero h1 { margin: 24px 0; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent) 0%, #FFB066 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; display: inline-block;
}
.hero p.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--fg-muted);
  max-width: 660px; margin: 0 auto 40px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Floating tech tags */
.float-tags {
  position: relative;
  margin-top: 80px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.tag .tag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Console mock */
.hero-console {
  margin: 80px auto 0; max-width: 760px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg));
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.console-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.console-bar .label { margin-left: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--fg-dim); }
.console-body {
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: left;
  color: var(--fg-muted);
  line-height: 1.8;
}
.console-body .prompt { color: var(--accent); user-select: none; }
.console-body .key { color: #7CD3FF; }
.console-body .val { color: var(--fg); }
.console-body .ok { color: #6FE3A8; }
.console-body .cursor { display: inline-block; width: 8px; height: 14px; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============ Stats strip ============ */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.stat .num { font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em; }
.stat .num .unit { color: var(--accent); font-size: 0.6em; }
.stat .lbl { color: var(--fg-muted); font-size: 14px; margin-top: 4px; }

/* ============ Services ============ */
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head h2 { margin: 16px 0; }
.section-head p { color: var(--fg-muted); font-size: 18px; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, -100px) var(--my, -100px), rgba(232,119,34,0.12), transparent 40%);
  opacity: 0; transition: opacity .25s var(--ease);
  pointer-events: none;
}
.service-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.service-card:hover::before { opacity: 1; }
.service-card .ic {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 24px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--fg-muted); font-size: 15px; line-height: 1.6; }
.service-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 14px; color: var(--accent);
  font-weight: 600;
}
.service-card .feat-list { list-style: none; margin-top: 18px; }
.service-card .feat-list li { font-size: 13px; color: var(--fg-muted); padding: 4px 0; display: flex; gap: 8px; }
.service-card .feat-list li::before { content: "→"; color: var(--accent); }

/* Big featured card */
.service-feat {
  grid-column: span 3;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy));
  border-color: rgba(232,119,34,0.35);
}
[data-theme="light"] .service-feat {
  background: linear-gradient(135deg, #0B1226, var(--brand-navy));
  color: #fff;
}
.service-feat .feat-content { padding: 48px; }
.service-feat .feat-visual {
  position: relative;
  background:
    radial-gradient(circle at 30% 30%, rgba(232,119,34,0.45), transparent 50%),
    linear-gradient(135deg, #0B1226, #1a2552);
  display: grid; place-items: center;
  overflow: hidden;
  min-height: 320px;
}
@media (max-width: 880px) {
  .service-feat { grid-template-columns: 1fr; }
  .service-feat .feat-content { padding: 32px; }
}

/* Network visualization for featured */
.network-viz {
  width: 100%; height: 100%; max-width: 380px;
  position: relative;
}

/* ============ Products ============ */
.products-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 880px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover { transform: translateY(-3px); }

.product-card.quipu {
  background: linear-gradient(135deg, rgba(60,182,168,0.08), var(--bg-card));
  border-color: rgba(60,182,168,0.25);
}
.product-card.quipu:hover { border-color: rgba(60,182,168,0.5); }
.product-card.pushka {
  background: linear-gradient(135deg, rgba(180,140,90,0.10), var(--bg-card));
  border-color: rgba(180,140,90,0.3);
}
.product-card.pushka:hover { border-color: rgba(180,140,90,0.55); }

.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.product-logo {
  width: 56px; height: 56px; border-radius: 14px;
  object-fit: cover; background: #0B1226; padding: 6px;
}
.product-logo.pushka-logo { object-fit: cover; object-position: center; }
.product-card h3 { font-size: 26px; margin-bottom: 4px; }
.product-tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted);
}
.product-desc { color: var(--fg-muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.product-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 24px; }
.product-feats li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg); }
.product-feats li svg { color: #3CB6A8; flex-shrink: 0; }
.product-card.pushka .product-feats li svg { color: #C8966A; }

.product-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  margin-bottom: 28px;
}
.product-cta:hover { gap: 10px; transition: gap .2s; }

/* Mock dashboards */
.product-mock {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.mb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.mb-label { margin-left: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); }
.mock-body { padding: 16px; }
.mock-row { display: flex; gap: 16px; margin-bottom: 14px; }
.kpi { flex: 1; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); }
.kpi-lbl { font-size: 11px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.kpi-val { font-size: 22px; font-weight: 700; }
.kpi-val.accent { color: #3CB6A8; }
.kpi-delta { font-size: 11px; margin-top: 2px; }
.kpi-delta.down { color: #3CB6A8; }
.kpi-delta.up { color: var(--fg-muted); }
.mock-chart { width: 100%; height: 60px; }

.pushka-mock .mock-body { display: flex; flex-direction: column; gap: 10px; }
.hash-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.hash-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.hash { font-family: var(--font-mono); font-size: 12px; color: var(--fg); background: var(--bg-card); padding: 4px 8px; border-radius: 4px; border: 1px solid var(--border); }
.badge-verified {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: #3CB6A8; padding: 3px 8px; border-radius: 999px;
  background: rgba(60,182,168,0.12); border: 1px solid rgba(60,182,168,0.3);
}
.block-strip { display: flex; gap: 4px; margin: 4px 0; }
.block { flex: 1; height: 32px; border: 1px solid var(--border); border-radius: 4px; padding: 4px; background: var(--bg-card); position: relative; overflow: hidden; }
.block-h { height: 4px; background: var(--border-strong); border-radius: 2px; margin-bottom: 3px; }
.block-b { height: 8px; background: var(--border); border-radius: 2px; }
.block.active { border-color: #C8966A; background: rgba(200,150,106,0.12); }
.block.active .block-h { background: #C8966A; }
.block.active .block-b { background: rgba(200,150,106,0.4); }

/* Partners row in featured service */
.partners-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.partner-pill {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}

/* ============ Stack / partners ============ */
.stack {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.stack-label {
  text-align: center; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dim); margin-bottom: 32px;
}
.stack-marquee {
  display: flex; gap: 64px; align-items: center;
  flex-wrap: wrap; justify-content: center;
  opacity: 0.7;
}
.stack-marquee .brand-pill {
  font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  color: var(--fg-muted); display: inline-flex; align-items: center; gap: 10px;
  transition: color .2s, opacity .2s;
}
.stack-marquee .brand-pill:hover { color: var(--fg); }
.stack-marquee .brand-pill svg { width: 24px; height: 24px; }

/* ============ Process ============ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
@media (max-width: 880px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  position: relative;
}
.process-step .num {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--accent);
  margin-bottom: 16px;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { color: var(--fg-muted); font-size: 14px; line-height: 1.6; }

/* ============ Why us ============ */
.why-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex; gap: 16px; padding: 20px;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--bg-card);
}
.why-item .ic {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.why-item h3 { font-size: 17px; margin-bottom: 4px; }
.why-item p { color: var(--fg-muted); font-size: 14px; }

/* Visual panel for why-us */
.why-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-elev), var(--bg));
  overflow: hidden;
  display: grid; place-items: center;
}
.why-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ============ Testimonial ============ */
.quote-card {
  max-width: 880px; margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
  text-align: center;
  position: relative;
}
.quote-card .qmark {
  font-family: Georgia, serif; font-size: 80px;
  color: var(--accent); line-height: 1;
  display: block; margin-bottom: -20px;
}
.quote-card blockquote {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45; letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.quote-card cite {
  font-style: normal; font-size: 14px; color: var(--fg-muted);
  display: block;
}
.quote-card cite strong { color: var(--fg); display: block; }

/* ============ CTA ============ */
.cta-section {
  padding: 120px 0;
}
.cta-card {
  position: relative;
  padding: 80px 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy));
  border: 1px solid rgba(232,119,34,0.35);
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232,119,34,0.45), transparent 60%);
  pointer-events: none;
}
.cta-card h2 { position: relative; margin-bottom: 16px; }
.cta-card p { position: relative; color: rgba(255,255,255,0.7); font-size: 18px; max-width: 540px; margin: 0 auto 32px; }
.cta-card .hero-ctas { position: relative; }
@media (max-width: 720px) { .cta-card { padding: 56px 28px; } }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--fg-muted); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--fg); }
.footer-brand p { color: var(--fg-muted); font-size: 14px; max-width: 320px; margin-top: 16px; line-height: 1.6; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--fg-dim); font-size: 13px; flex-wrap: wrap; gap: 12px;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
