/* Metisora — styles */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #020617;
  --bg-2: #0b1220;
  --surface: rgba(255, 255, 255, .04);
  --border: rgba(255, 255, 255, .09);
  --text: #cbd5e1;
  --text-dim: #94a3b8;
  --text-mute: #64748b;
  --white: #fff;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --purple: #a855f7;
  --green: #10b981;
  --pink: #ec4899;
  --amber: #f59e0b;
  --radius: 24px;
  --radius-lg: 40px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--white); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 120px 0; } }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff;
  padding: 12px 20px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(2, 6, 23, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__logo { font-weight: 800; font-size: 20px; color: var(--white); letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.nav__links a { padding: 8px 12px; border-radius: 10px; color: var(--text-dim); transition: color .15s, background .15s; }
.nav__links a:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.nav__links a.is-cta { color: var(--blue-light); border: 1px solid rgba(59, 130, 246, .4); }
.nav__links a.is-cta:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.nav__lang { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 99px; padding: 3px; margin-left: 4px; }
.nav__lang a { padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; color: var(--text-mute); }
.nav__lang a[aria-current="true"] { background: var(--blue); color: #fff; }
.nav__hide { display: none; }
@media (min-width: 720px) { .nav__hide { display: inline-block; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 16px;
  font-weight: 700; font-size: 15px; text-align: center;
  transition: background .15s, transform .15s, border-color .15s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #2563eb; transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--border); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .2); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 140px 0 60px; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 180px 0 80px; } }
.hero::before {
  content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 900px; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(37, 99, 235, .22) 0%, transparent 62%);
}
.hero__inner { text-align: center; max-width: 900px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-light); border: 1px solid rgba(59, 130, 246, .3); border-radius: 99px; padding: 8px 18px; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(2.2rem, 6.5vw, 4.4rem); font-weight: 800; margin-bottom: 24px; }
.hero h1 .grad {
  background: linear-gradient(120deg, #fff 0%, #93c5fd 55%, #c084fc 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--text-dim); font-weight: 300; max-width: 720px; margin: 0 auto 36px; }
.hero__lead strong { color: #e2e8f0; font-weight: 600; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (min-width: 560px) { .hero__cta { flex-direction: row; justify-content: center; } }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 72px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 28px 16px; text-align: center; }
.stat__n { font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat__l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-top: 10px; }

/* ---------- SECTION HEADS ---------- */
.head { max-width: 720px; margin-bottom: 56px; }
.head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 18px; }
.head p { color: var(--text-dim); font-size: 1.05rem; margin: 0; }

/* ---------- CASES ---------- */
.cases { display: flex; flex-direction: column; gap: 24px; }
.case {
  display: grid; gap: 32px; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
@media (min-width: 900px) { .case { grid-template-columns: 3fr 2fr; padding: 44px; gap: 56px; } }
.case--flip .case__media { order: -1; }
@media (max-width: 899px) { .case--flip .case__media { order: 0; } }
.case__title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.case__title h3 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; }
.tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border-radius: 99px; border: 1px solid; }
.tag--blue { color: #93c5fd; border-color: rgba(59,130,246,.35); background: rgba(59,130,246,.1); }
.tag--purple { color: #d8b4fe; border-color: rgba(168,85,247,.35); background: rgba(168,85,247,.1); }
.tag--green { color: #6ee7b7; border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.1); }
.tag--pink { color: #f9a8d4; border-color: rgba(236,72,153,.35); background: rgba(236,72,153,.1); }
.tag--amber { color: #fcd34d; border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.1); }
.case__desc { color: #cbd5e1; font-size: 1.02rem; margin-bottom: 22px; }
.case__list li { position: relative; padding-left: 24px; font-size: .93rem; color: var(--text-dim); margin-bottom: 10px; }
.case__list li::before { content: '→'; position: absolute; left: 0; color: var(--blue-light); font-weight: 700; }
.case__link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .93rem; color: var(--blue-light); }
.case__link:hover { color: var(--white); }
.case__media { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: linear-gradient(150deg, rgba(37,99,235,.14), rgba(0,0,0,.5)); }
.case__media img { border-radius: 12px; }
.case__media--split { display: flex; gap: 12px; justify-content: center; }
.case__media--split img { width: 50%; border-radius: 8px; }
.cases__pair { display: grid; gap: 24px; }
@media (min-width: 900px) { .cases__pair { grid-template-columns: 1fr 1fr; } }
.case--compact { display: block; padding: 28px; border-radius: var(--radius); }
.case--compact .case__media { margin-bottom: 24px; }

/* ---------- PRICING ---------- */
.plans { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  display: flex; flex-direction: column;
  background: rgba(15, 23, 42, .7); border: 1px solid var(--border);
  border-top: 3px solid #475569; border-radius: var(--radius); padding: 36px 30px;
}
.plan--featured { border-top-color: var(--blue); box-shadow: 0 24px 60px -30px rgba(59,130,246,.6); position: relative; }
.plan__badge {
  position: absolute; top: 0; right: 24px; transform: translateY(-50%);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; white-space: nowrap;
  color: #93c5fd; border: 1px solid rgba(59,130,246,.3);
  background: linear-gradient(rgba(59,130,246,.12), rgba(59,130,246,.12)) #0b1224;
  padding: 5px 12px; border-radius: 99px;
}
.plan h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 4px; }
.plan__dur { font-size: .85rem; color: var(--text-mute); margin-bottom: 22px; }
.plan__price { font-size: 1.85rem; font-weight: 800; color: var(--white); margin-bottom: 20px; line-height: 1.2; }
.plan__price span { font-size: .8rem; font-weight: 400; color: var(--text-mute); display: block; margin-top: 4px; }
.plan__desc { font-size: .93rem; color: var(--text-dim); flex-grow: 1; }
.plan__list { margin: 20px 0 28px; }
.plan__list li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--text-dim); margin-bottom: 9px; }
.plan__list li::before { content: '→'; position: absolute; left: 0; color: var(--blue-light); }
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; color: var(--text-mute); font-size: .92rem; max-width: 620px; margin: 36px auto 0; }

/* ---------- NICHE BANNER ---------- */
.niche { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 28px; text-align: center; }
@media (min-width: 768px) { .niche { padding: 64px; } }
.niche h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; margin-bottom: 20px; }
.niche p { color: var(--text-dim); max-width: 760px; margin: 0 auto 1rem; font-size: 1.02rem; }

/* ---------- PROCESS ---------- */
.steps { display: grid; gap: 20px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: rgba(15,23,42,.6); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.step__n { font-size: 2.6rem; font-weight: 800; color: rgba(59,130,246,.28); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: .9rem; color: var(--text-dim); margin: 0; }

/* ---------- TEAM ---------- */
.team { background: rgba(15,23,42,.7); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .team { grid-template-columns: 1fr 1fr; padding: 64px; gap: 64px; } }
.team h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: 20px; }
.team p { color: var(--text-dim); }
.team p.lead { color: #cbd5e1; font-size: 1.05rem; }
.role { background: rgba(2,6,23,.6); border: 1px solid var(--border); border-radius: 18px; padding: 24px; margin-bottom: 14px; }
.role__k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--blue-light); margin-bottom: 8px; }
.role__v { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.role__s { font-size: .85rem; color: var(--text-mute); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid rgba(255,255,255,.06); background: #010409; padding: 80px 0 40px; text-align: center; }
.footer h2 { font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 18px; }
.footer__lead { color: var(--text-dim); max-width: 560px; margin: 0 auto 36px; }
.footer__mail { font-size: clamp(1.2rem, 3.5vw, 2rem); font-weight: 700; color: var(--blue-light); background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.footer__mail:hover { color: var(--white); }
.legal { margin-top: 64px; font-size: .82rem; color: var(--text-mute); line-height: 1.9; }
.legal strong { color: var(--text-dim); }
.legal a { color: var(--text-dim); }
.legal a:hover { color: var(--white); }
.copy { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.05); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #475569; display: flex; flex-direction: column; gap: 10px; align-items: center; }
@media (min-width: 700px) { .copy { flex-direction: row; justify-content: space-between; } }

/* ---------- RELATED WORK (case studies) ---------- */
.cs__more { margin: 12px 0 40px; }
.cs__more h2 { font-size: 1.1rem; font-weight: 800; color: var(--white); margin: 0 0 16px; }
.cs__more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .cs__more ul { grid-template-columns: 1fr 1fr; } }
.cs__more a { display: block; padding: 14px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text-dim); font-size: .93rem; font-weight: 600; transition: color .15s, border-color .15s; }
.cs__more a:hover { color: var(--white); border-color: rgba(255,255,255,.2); }
.cs__more a strong { color: var(--white); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* inline code (model / identifier names in case studies) */
.cs__body code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  padding: .12em .38em;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--blue-light);
  white-space: nowrap;
}
