/* ============================================================
   SUVO.DEV — shared design system (dark default, light supported)
   Fonts: Sora (headings) + Inter (body) · Accent: indigo/violet
   ============================================================ */
:root {
  --bg: #07080f;
  --surface: #10121d;
  --surface-2: #151827;
  --ink: #f2f3f7;
  --muted: #9aa0ae;
  --faint: #676d7c;
  --line: #1f2233;
  --accent: #818cf8;
  --accent-strong: #6366f1;
  --accent-soft: rgba(99, 102, 241, .12);
  --glow: rgba(99, 102, 241, .35);
  --glass: rgba(16, 18, 29, .72);
  --glass-strong: rgba(16, 18, 29, .92);
  --headline-grad: linear-gradient(115deg, #fff 55%, #b6bcf5);
  --brand-grad: linear-gradient(120deg, #818cf8, #a78bfa 55%, #818cf8);
  --scheme: dark;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f6fb;
  --surface: #ffffff;
  --surface-2: #eef0f9;
  --ink: #171923;
  --muted: #565a70;
  --faint: #8688a0;
  --line: #e3e4f0;
  --accent: #6366f1;
  --accent-strong: #4f46e5;
  --accent-soft: rgba(99, 102, 241, .09);
  --glow: rgba(99, 102, 241, .22);
  --glass: rgba(255, 255, 255, .78);
  --glass-strong: rgba(255, 255, 255, .94);
  --headline-grad: linear-gradient(115deg, #171923 55%, #6366f1);
  --scheme: light;
  color-scheme: light;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
h1, h2, h3, .logo { font-family: "JetBrains Mono", Consolas, monospace; letter-spacing: -.03em; }
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent-strong); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-strong); border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* content protection: disable selection except form fields */
body { -webkit-user-select: none; user-select: none; }
input, textarea, select { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; pointer-events: none; }
a img { pointer-events: auto; }

/* ---------- top bar ---------- */
.wrap:has(.topbar) { max-width: 1220px; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; gap: 32px; }
.logo { font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -.02em; color: var(--ink); flex-shrink: 0; }
.topnav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.topnav a:not(.btn-hire) { font-family: "JetBrains Mono", Consolas, monospace; text-decoration: none; font-size: 13px; color: var(--muted); font-weight: 500; }
.topnav a:not(.btn-hire):hover, .topnav a:not(.btn-hire).active { color: var(--accent); }
.topnav .btn-hire { font-size: 13px; }
@media (max-width: 560px) { .topnav { gap: 14px; } }

/* ---------- shared elements ---------- */
.label {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: lowercase;
  color: var(--accent); margin-bottom: 14px;
}
.label::before { content: "// "; color: var(--faint); }
section { margin-bottom: 72px; }
section h2 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 20px; color: var(--ink); }
section h2 span, .page-head h1 span { color: var(--accent); }

.page-head { padding: 44px 0 8px; max-width: 660px; }
.page-head h1 { font-size: 36px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; color: var(--ink); }
.page-head p { color: var(--muted); font-size: 16px; }
.page-body { padding: 44px 0 60px; }

.btn {
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 13.5px;
  padding: 11px 20px; border-radius: 999px; text-decoration: none;
  display: inline-block; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-fill {
  background: var(--brand-grad); background-size: 200% 100%;
  color: #fff; box-shadow: 0 6px 20px var(--glow);
  transition: background-position .4s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-fill:hover { background-position: 100% 0; box-shadow: 0 8px 26px var(--glow); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent-strong); }

/* hire-me button */
.btn-hire {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-weight: 600; font-size: 13px;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 999px; text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, #6366f1, #8b5cf6 55%, #6366f1);
  background-size: 200% 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 4px 18px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: background-position .45s ease, box-shadow .25s ease, transform .18s ease;
}
.btn-hire:hover {
  background-position: 100% 0;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 28px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-hire .p { color: #c7d2fe; font-weight: 500; }
.btn-hire .ar { transition: transform .25s ease; font-weight: 400; }
.btn-hire:hover .ar { transform: translateX(4px); }
.btn-hire::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.btn-hire:hover::after { left: 130%; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 26px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--accent-strong); transform: translateY(-2px); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 820px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }

/* stats strip */
.stats { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; flex-wrap: wrap; }
.stat { flex: 1; min-width: 120px; padding: 18px 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 24px; }
.stat b { font-family: "JetBrains Mono", Consolas, monospace; font-size: 24px; display: block; color: var(--accent); }
.stat span { font-size: 12.5px; color: var(--faint); }

/* timeline */
.timeline { border-left: 2px solid var(--line); padding-left: 26px; }
.entry { position: relative; padding-bottom: 34px; }
.entry:last-child { padding-bottom: 0; }
.entry::before {
  content: ""; position: absolute; left: -33px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2.5px solid var(--accent-strong);
  box-shadow: 0 0 10px var(--glow);
}
.entry .when { font-size: 12px; color: var(--accent); letter-spacing: .05em; margin-bottom: 3px; font-weight: 600; }
.entry h3 { font-size: 15.5px; color: var(--ink); }
.entry .where { font-size: 13.5px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.entry p.detail { font-size: 13.5px; color: var(--faint); max-width: 540px; }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12.5px; font-weight: 500; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid transparent; transition: border-color .2s ease;
}
.pill:hover { border-color: var(--accent-strong); }

/* checklist */
.checks { list-style: none; margin-top: 12px; }
.checks li {
  font-size: 13px; color: var(--muted); padding-left: 26px; position: relative;
  margin-bottom: 8px; font-weight: 500;
}
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 17px; height: 17px; border-radius: 50%;
  border: 1px solid var(--accent-strong); color: var(--accent);
  font-size: 10px; display: flex; align-items: center; justify-content: center;
}

/* dark CTA band */
.band {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  color: var(--ink); border-radius: 20px;
  padding: 44px 48px; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.band::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--accent-strong); filter: blur(110px); opacity: .35;
}
.band h2 { color: var(--ink); margin-bottom: 6px; position: relative; }
.band p { color: var(--muted); font-size: 13.5px; max-width: 400px; position: relative; }
.band .btn-fill { position: relative; }
@media (max-width: 560px) { .band { padding: 30px 24px; } }

/* forms */
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: "Inter", sans-serif; font-size: 14px;
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); outline: none;
  transition: border-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-strong); }
.field { margin-bottom: 16px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.faq details[open] { border-color: var(--accent-strong); }
.faq summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 14px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 18px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 16px; color: var(--muted); font-size: 13.5px; }
.faq details a { color: var(--accent); }

/* testimonials */
.quote { display: flex; flex-direction: column; gap: 10px; }
.quote .stars { color: #fbbf24; font-size: 13px; letter-spacing: 2px; }
.quote p.text { font-size: 13.5px; color: var(--muted); font-style: italic; }
.quote .who b { font-size: 14px; display: block; color: var(--ink); }
.quote .who span { font-size: 12.5px; color: var(--faint); }

/* ---------- dev-tool cursor (v2, refined) ---------- */
body.dc-on, body.dc-on a, body.dc-on button,
body.dc-on summary, body.dc-on input,
body.dc-on textarea, body.dc-on select { cursor: none; }

.dc-cross, .dc-coords, .dc-box, .dc-click {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
}

/* crosshair: a tiny center dot + faint hairlines, fades away over targets */
.dc-cross { width: 0; height: 0; opacity: .9; transition: opacity .18s ease; }
.dc-cross.hide { opacity: 0; }
.dc-cross .dc-dot {
  position: absolute; left: -2px; top: -2px; width: 4px; height: 4px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 6px var(--glow);
}
.dc-cross .dc-h, .dc-cross .dc-v { position: absolute; background: var(--line); }
.dc-cross .dc-h { width: 13px; height: 1px; left: 7px; top: -0.5px; }
.dc-cross .dc-h.dc-flip { left: -20px; }
.dc-cross .dc-v { width: 1px; height: 13px; left: -0.5px; top: 7px; }
.dc-cross .dc-v.dc-flip { top: -20px; }

/* coordinate readout: quiet, monospace, trails slightly below-right */
.dc-coords {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 10px; letter-spacing: .02em; color: var(--muted); white-space: nowrap;
  background: var(--glass-strong); border: 1px solid var(--line);
  padding: 3px 7px; border-radius: 6px; opacity: 0;
  transition: opacity .2s ease;
  backdrop-filter: blur(6px);
}
.dc-coords.show { opacity: 1; }
.dc-coords b { color: var(--accent); font-weight: 500; }

/* inspector box: rounded corner brackets that snap to the hovered element */
.dc-box { opacity: 0; transition: opacity .2s ease; }
.dc-box.on { opacity: 1; }
.dc-box .dc-c {
  position: absolute; width: 11px; height: 11px;
  border: 1.5px solid var(--accent); opacity: .85;
}
.dc-box .dc-tl { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.dc-box .dc-tr { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.dc-box .dc-bl { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 4px; }
.dc-box .dc-br { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 4px 0; }
.dc-box .dc-tag {
  position: absolute; top: -22px; left: -1.5px;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 9.5px; font-weight: 600; letter-spacing: .03em;
  color: #0b0c14; background: var(--accent);
  padding: 2px 6px; border-radius: 4px; white-space: nowrap;
}

/* click pulse: a quick ring pulse for tactile feedback, no cursor shift */
.dc-click {
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border: 1.5px solid var(--accent); border-radius: 50%;
  opacity: 0;
}
.dc-click.fire { animation: dc-pulse .45s ease-out; }
@keyframes dc-pulse {
  0% { opacity: .8; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}

/* code-glyph trail: faint symbols that fall and fade behind the cursor */
.dc-glyph {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px; font-weight: 600; color: var(--accent); opacity: .85;
  text-shadow: 0 0 6px var(--glow);
  animation: dc-fall .8s ease-out forwards;
}
@keyframes dc-fall {
  to { transform: translateY(20px) scale(.8); opacity: 0; }
}

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 20px; padding: 28px 0 40px; text-align: center; color: var(--faint); font-size: 12.5px; }

/* ============================================================
   Professional polish pass
   ============================================================ */

/* ambient background glow */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(99, 102, 241, .14), transparent 70%),
    radial-gradient(700px 500px at -10% 40%, rgba(139, 92, 246, .08), transparent 70%),
    radial-gradient(500px 400px at 50% 110%, rgba(99, 102, 241, .07), transparent 70%);
}

/* subtle dot grid texture */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--grid-dot, rgba(242, 243, 247, .05)) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 55%);
}
:root[data-theme="light"] { --grid-dot: rgba(23, 25, 35, .06); }

/* sticky glass navbar */
.topbar {
  position: sticky; top: 12px; z-index: 100;
  padding: 12px 22px; margin-top: 14px;
  background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}

/* nav links: animated underline + active pill */
.topnav a:not(.btn-hire) {
  position: relative; padding: 5px 2px;
  transition: color .2s ease;
}
.topnav a:not(.btn-hire)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.topnav a:not(.btn-hire):hover::after,
.topnav a:not(.btn-hire).active::after { transform: scaleX(1); }

/* headline gradient */
.page-head h1, .side h1 {
  background: var(--headline-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-head h1 span { -webkit-text-fill-color: var(--accent); }

/* gradient logo mark */
.logo em {
  font-style: normal;
  background: var(--brand-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brand-shift 6s ease infinite;
}
@keyframes brand-shift {
  50% { background-position: 100% 0; }
}

/* gradient number readouts */
.stat b {
  background: linear-gradient(120deg, var(--accent), #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* card: soft gradient sheen + lift + animated gradient border on hover */
@property --card-angle {
  syntax: "<angle>"; inherits: false; initial-value: 0deg;
}
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%),
    var(--surface);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit;
  padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--card-angle), var(--accent), #a78bfa, var(--accent-strong), var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
  animation: card-border-spin 3.5s linear infinite;
  animation-play-state: paused;
}
@keyframes card-border-spin {
  to { --card-angle: 360deg; }
}
.card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35), 0 0 0 1px rgba(99, 102, 241, .18);
}
.card:hover::before { opacity: 1; animation-play-state: running; }
@media (prefers-reduced-motion: reduce) {
  .card::before { animation: none; }
}

/* stable layout between pages: no scrollbar jump, no content shift */
html { scrollbar-gutter: stable; }

/* smooth cross-fade when navigating between pages (supported browsers) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }

/* gentle fade-in only — no movement, so nothing "shakes" on load */
@media (prefers-reduced-motion: no-preference) {
  .page-head, .layout > *, main section { animation: fadein .25s ease both; }
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* accessible focus states */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* nicer footer */
footer { letter-spacing: .02em; }
footer a:hover { text-decoration: underline !important; }

/* floating WhatsApp button */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.float-wa:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 30px rgba(37, 211, 102, .55); }
@media (max-width: 560px) { .float-wa { right: 14px; bottom: 14px; width: 48px; height: 48px; } }

/* ---------- mobile navigation (hamburger) ---------- */
.nav-toggle {
  display: none; width: 42px; height: 38px;
  align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink); font-size: 18px; cursor: pointer;
  transition: border-color .2s ease;
}
.nav-toggle:hover { border-color: var(--accent-strong); }

/* ---------- theme toggle ---------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--ink); cursor: pointer; font-size: 15px;
  transition: border-color .2s ease, transform .2s ease;
  margin-left: 4px;
}
.theme-toggle:hover { border-color: var(--accent-strong); transform: translateY(-1px); }
.theme-toggle .ti-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ti-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ti-sun { display: inline; }
@media (max-width: 1080px) { .theme-toggle { margin: 0 0 0 8px; } }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .topnav {
    display: none;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--glass-strong);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 16px;
    padding: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  }
  .topnav.open { display: flex; animation: fadein .18s ease both; }
  .topnav a:not(.btn-hire) { font-size: 14px; padding: 10px 12px; border-radius: 10px; }
  .topnav a:not(.btn-hire):hover, .topnav a:not(.btn-hire).active { background: var(--accent-soft); }
  .topnav a:not(.btn-hire)::after { display: none; }
  .topnav .btn-hire { justify-content: center; margin-top: 8px; }
}

/* mobile refinements */
@media (max-width: 560px) {
  .topbar { padding: 10px 16px; top: 8px; }
  .page-head h1 { font-size: 29px; }
  .page-head { padding-top: 30px; }
  .page-body { padding-top: 30px; }
  section { margin-bottom: 52px; }
  .stat + .stat { padding-left: 16px; }
}
