/* Vechno Apps — site styles. Generated pages: shared/site/build.py */
:root {
  --bg: #fafafc;
  --surface: #ffffff;
  --surface-2: #f3f4f9;
  --text: #0b0d1f;
  --muted: #5b6178;
  --line: rgba(11, 13, 31, 0.08);
  --accent: #5b6cff;
  --accent-2: #a855f7;
  --ink: #070918;
  --radius: 24px;
  --max: 1160px;
  --font: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #07091a; --surface: #0f1229; --surface-2: #151937; --text: #eef0ff; --muted: #9aa1c4; --line: rgba(255, 255, 255, 0.08); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7, 9, 24, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: rgba(255,255,255,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: #fff; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { color: rgba(255,255,255,.72); transition: color .2s; }
.nav a:hover { color: #fff; }

/* ---------- Dark hero ---------- */
.dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.dark::before, .dark::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .55; }
.dark::before { width: 720px; height: 720px; right: -160px; top: -260px; background: radial-gradient(circle, #3d5afe, transparent 65%); }
.dark::after { width: 640px; height: 640px; left: -220px; bottom: -320px; background: radial-gradient(circle, #8b3dff, transparent 65%); }
.grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }

.hero { padding: 190px 0 140px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); padding: 7px 14px 7px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.04); margin-bottom: 28px; }
.kicker b { font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent-2)); padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 92px); letter-spacing: -0.045em; line-height: .98; margin-bottom: 26px; }
.shine { background: linear-gradient(100deg, #fff 10%, #b9c3ff 45%, #e3c8ff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: rgba(255,255,255,.7); max-width: 520px; margin-bottom: 38px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: transform .25s var(--ease), background .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 40px rgba(91, 108, 255, .35); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }

/* Hero visual */
.stage { position: relative; height: 440px; perspective: 1200px; }
.stage .halo { position: absolute; inset: 15% 10%; background: radial-gradient(circle, rgba(120, 110, 255, .55), transparent 65%); filter: blur(40px); }
.stage .app-icon { position: absolute; width: 230px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 52px; box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.08); transform: rotateY(-14deg) rotateX(8deg); transition: transform .4s var(--ease); }
.glass { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px rgba(0,0,0,.35); font-size: 14px; color: rgba(255,255,255,.75); white-space: nowrap; }
.glass b { display: block; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.glass .dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.glass .dot .icon { width: 20px; height: 20px; }
.glass.g1 { left: 0; top: 70px; }
.glass.g2 { right: 0; bottom: 70px; }
.float { animation: float 7s ease-in-out infinite; }
.float.delay { animation-delay: -3.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.head { max-width: 720px; margin-bottom: 56px; }
.head h2 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.04em; margin-bottom: 18px; }
.head p { font-size: 19px; color: var(--muted); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1fr 1.05fr; border-radius: 36px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 40px 100px -40px rgba(11, 13, 31, .25); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.showcase:hover { box-shadow: 0 60px 120px -40px rgba(11, 13, 31, .35); }
.showcase .info { padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.showcase .info > img { width: 80px; border-radius: 20px; margin-bottom: 28px; box-shadow: 0 16px 40px rgba(30, 60, 200, .25); }
.showcase h3 { font-size: 46px; letter-spacing: -0.04em; margin-bottom: 14px; }
.showcase .info p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.pill { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.more .icon { width: 18px; height: 18px; transition: translate .25s var(--ease); }
.showcase:hover .more .icon { translate: 4px 0; }
.showcase .visual { position: relative; min-height: 520px; background: radial-gradient(120% 90% at 70% 10%, #4458ff 0%, #2a1d7a 45%, #0b0d24 100%); overflow: hidden; }
.showcase .visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgba(168,85,247,.45), transparent 55%); }
.showcase .visual img { position: absolute; z-index: 1; width: 290px; left: 50%; top: 64px; translate: -50% 0; border-radius: 30px; box-shadow: 0 50px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1); transform: rotate(5deg); transition: transform .6s var(--ease); }
.showcase:hover .visual img { transform: rotate(2deg) translateY(-6px); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11, 13, 31, .25); border-color: rgba(91,108,255,.25); }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: var(--accent); background: linear-gradient(135deg, rgba(91,108,255,.12), rgba(168,85,247,.12)); border: 1px solid rgba(91,108,255,.18); }
.card h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 40px; letter-spacing: .05em; }
.step h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 16px; }

/* App hero */
.app-hero { padding: 170px 0 0; }
.app-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: end; }
.app-grid .text { padding-bottom: 120px; }
.app-grid .app-mark { width: 96px; border-radius: 24px; margin-bottom: 30px; box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); }
.app-grid h1 { font-size: clamp(52px, 7.4vw, 96px); letter-spacing: -0.05em; margin-bottom: 22px; }
.app-grid .lead { font-size: 20px; color: rgba(255,255,255,.72); max-width: 520px; margin-bottom: 38px; }
.device { justify-self: center; position: relative; width: 340px; }
.device::before { content: ""; position: absolute; inset: 10% -20% 0; background: radial-gradient(circle, rgba(110, 100, 255, .6), transparent 65%); filter: blur(50px); }
.device img { position: relative; border-radius: 40px 40px 0 0; box-shadow: 0 -20px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 18px; border-radius: 16px; background: #fff; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.store:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(91, 108, 255, .35); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.store small { font-weight: 500; font-size: 11px; color: #5b6178; letter-spacing: 0; }

.callout { display: flex; gap: 22px; align-items: flex-start; padding: 34px 38px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.callout .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.callout p { color: var(--muted); }
.callout b { color: var(--text); font-weight: 600; }
.callout a { color: var(--accent); font-weight: 500; }

/* ---------- Docs ---------- */
.doc-hero { padding: 160px 0 120px; }
.doc-hero h1 { font-size: clamp(42px, 6vw, 68px); letter-spacing: -0.045em; margin-bottom: 14px; }
.doc-hero p { color: rgba(255,255,255,.7); font-size: 18px; }
.doc-hero p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.doc { position: relative; max-width: 820px; margin: -64px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(30px, 5vw, 64px); box-shadow: 0 40px 100px -50px rgba(11, 13, 31, .35); }
.doc h2 { font-size: 26px; letter-spacing: -0.025em; margin: 44px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 19px; letter-spacing: -0.015em; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 12px; }
.doc strong, .doc b { color: var(--text); font-weight: 600; }
.doc a { color: var(--accent); font-weight: 500; }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 18px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.doc dt, .doc dd { padding: 14px 20px; border-bottom: 1px solid var(--line); margin: 0; }
.doc dt { color: var(--muted); background: var(--surface-2); }
.doc dd { font-weight: 500; }
.doc dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 120px; padding: 80px 0 44px; background: var(--ink); color: rgba(255,255,255,.6); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot p { max-width: 320px; margin-top: 18px; }
.foot h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 16px; }
.foot a:not(.brand) { display: block; margin-bottom: 10px; transition: color .2s; }
.foot a:not(.brand):hover { color: #fff; }
.legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .app-grid, .showcase { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 90px; }
  .stage { height: 340px; }
  .stage .app-icon { width: 180px; border-radius: 42px; }
  .glass.g1 { left: 4%; top: 30px; }
  .glass.g2 { right: 4%; bottom: 30px; }
  .cards, .cards.two, .steps { grid-template-columns: 1fr; }
  .showcase .info { padding: 40px 30px; }
  .showcase .visual { min-height: 440px; }
  .showcase .visual img { width: 250px; }
  .app-grid .text { padding-bottom: 30px; }
  .device { width: 290px; }
  section { padding: 90px 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav { gap: 18px; font-size: 14px; }
  .glass { font-size: 12px; padding: 10px 14px 10px 10px; }
  .glass b { font-size: 15px; }
  .doc dl { grid-template-columns: 1fr; }
  .doc dt { border-bottom: 0; padding-bottom: 4px; }
  .doc dd { padding-top: 0; }
}
