/* ─── DESIGN TOKENS ─── */
:root {
  --bg: #0a0c10;
  --card: #0e1116;
  --input-bg: #11151b;
  --text: #f4f5f7;
  --muted: #9aa0aa;
  --dim: #6b727d;
  --accent: #3d6ff7;
  --accent-soft: rgba(61, 111, 247, .14);
  --green: #2ee08a;
  --line: rgba(255, 255, 255, .07);
  --line-bold: rgba(255, 255, 255, .14);
  --shadow: 0 30px 80px rgba(0, 0, 0, .5);
  --r: 18px;
  --r-lg: 20px;
  --r-xl: 24px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: var(--accent-soft); color: #fff; }

/* ─── TYPOGRAPHY UTILITIES ─── */
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.sm   { font-size: 13px; }
.xs   { font-size: 11.5px; }
.caps { text-transform: uppercase; letter-spacing: .16em; }
.accent { color: var(--accent); }
.muted  { color: var(--muted); }
.dim    { color: var(--dim); }

/* ─── SHARED HELPERS ─── */
.kicker-line {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.kicker-line.centered { justify-content: center; }
.kicker-bar { width: 28px; height: 1px; background: var(--accent); flex-shrink: 0; }

.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--green);
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 12px;
  background: var(--accent); color: #fff;
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 15.5px;
  transition: transform .25s, box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-soft); }
.btn-primary.full { width: 100%; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 12px;
  background: transparent; color: var(--text);
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 15.5px;
  border: 1px solid var(--line-bold);
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.btn-ghost.sm { padding: 13px 24px; border-radius: 11px; font-size: 15px; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10, 12, 16, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-logo-img { display: block; width: 36px; height: 36px; flex-shrink: 0; object-fit: contain; }
.nav-name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 17px; letter-spacing: -.01em;
}
.nav-center { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14.5px; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-link:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 20px; }

/* ─── LANGUAGE SWITCHER ─── */
.lang-switch {
  display: flex; align-items: center; gap: 5px;
}
.lang-btn {
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  letter-spacing: .1em; color: var(--dim);
  padding: 4px 6px; border-radius: 5px;
  transition: color .2s, background .2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--accent); }
.lang-sep { font-size: 11px; color: var(--dim); }

.nav-cta {
  display: inline-flex; align-items: center;
  padding: 10px 20px; border-radius: 10px;
  background: var(--text); color: var(--bg);
  font-weight: 600; font-size: 14px;
  transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed; top: 63px; left: 0; right: 0; z-index: 90;
  flex-direction: column;
  background: rgba(10,12,16,.98);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 16px 24px 24px;
  display: none;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-link {
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 16px; color: var(--muted);
}
.drawer-lang { display: flex; align-items: center; gap: 6px; padding: 16px 0; }
.drawer-cta { margin-top: 18px; }

/* ─── SCROLL SNAP SECTIONS ─── */
.snap-section {
  scroll-snap-align: start;
  min-height: 100dvh;
}

/* ─── HERO ─── */
.hero-wrap {
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero {
  flex: 1;
  position: relative;
  display: flex; align-items: center;
  padding: 100px 40px 48px;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.hero-glow {
  position: absolute; top: 60px; right: -120px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 62%);
  filter: blur(90px); opacity: .45;
  animation: glowpulse 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center; position: relative; width: 100%;
}
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.kicker-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green); flex-shrink: 0;
}
.hero-h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(2.7rem, 5.4vw, 4.7rem);
  line-height: 1.02; letter-spacing: -.03em;
  text-wrap: balance;
}
.hero-lead {
  margin: 26px 0 0; max-width: 500px;
  font-size: 18px; line-height: 1.6; color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { display: flex; gap: 44px; margin-top: 54px; align-items: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 30px; color: var(--text);
}
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.08); flex-shrink: 0; }

.hero-right { position: relative; }
.hero-window {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--card);
  box-shadow: var(--shadow);
}
.hero-window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.07);
  background: var(--input-bg);
}
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.hero-window-img { overflow: hidden; }
.hero-window-img img { width: 100%; height: auto; display: block; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  width: 210px; padding: 16px 18px; border-radius: 14px;
  background: var(--input-bg); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.hero-badge p { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: #c4c9d1; }

/* ─── TECH MARQUEE ─── */
.marquee-section {
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex; width: max-content; gap: 14px;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; gap: 14px; padding-right: 14px; }
.marquee-tag {
  display: inline-flex; align-items: center;
  padding: 5px 13px; border-radius: 6px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: rgba(255,255,255,.5); white-space: nowrap; letter-spacing: .03em;
}

.tag {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #8a909b;
  padding: 7px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px;
  white-space: nowrap;
}
.tag.sm { font-size: 12px; color: var(--muted); padding: 6px 13px; }

/* ─── SECTION BASE ─── */
.section {
  max-width: 1280px; margin: 0 auto;
  padding: 90px 40px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.faq-section { max-width: 920px; }
.section-header { margin-bottom: 48px; }
.section-header.spread {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}

.section-h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.06; letter-spacing: -.025em;
}
.section-side-text { margin: 0; max-width: 340px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.section-text { margin: 20px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 420px; }

/* ─── CARDS ─── */
.card {
  padding: 34px; border-radius: var(--r);
  background: var(--card); border: 1px solid rgba(255,255,255,.07);
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(61,111,247,.4); transform: translateY(-3px); }
.card-h3 {
  margin: 18px 0 12px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 22px; letter-spacing: -.01em;
}
.card-text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ─── SERVICES ─── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* ─── PROJECTS ─── */
.project-lg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--r-lg);
  overflow: hidden; background: var(--card); margin-bottom: 22px;
  transition: border-color .3s;
}
.project-lg:hover { border-color: rgba(61,111,247,.25); }
.project-lg-content {
  padding: 46px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.project-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.project-h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 30px; letter-spacing: -.02em;
}
.project-h3.sm { font-size: 23px; letter-spacing: -.01em; }
.project-text {
  margin: 16px 0 0; font-size: 16px; line-height: 1.6;
  color: var(--muted); max-width: 420px;
}
.project-text.sm { font-size: 15px; max-width: none; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.project-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 30px; font-weight: 600; font-size: 15px; color: var(--accent);
  transition: gap .2s;
}
.project-link:hover { gap: 14px; }
.project-sm-content .project-link { margin-top: 22px; }
.project-lg-visual {
  border-left: 1px solid rgba(255,255,255,.07);
  overflow: hidden; min-height: 300px;
}
.project-lg-visual img { width: 100%; height: 100%; object-fit: cover; }

.projects-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.project-sm {
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--r-lg);
  overflow: hidden; background: var(--card); display: flex; flex-direction: column;
  transition: border-color .3s;
}
.project-sm:hover { border-color: rgba(61,111,247,.25); }
.project-sm-visual { height: 200px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.07); }
.project-sm-visual img { width: 100%; height: 100%; object-fit: cover; }
.project-sm-content { padding: 28px; display: flex; flex-direction: column; flex: 1; }

.project-discreet {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap; padding: 28px 36px; border-radius: var(--r-lg);
  border: 1px dashed rgba(255,255,255,.14); background: rgba(255,255,255,.015);
}

/* ─── PROCESS STEPS ─── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 48px; }
.step-card {
  padding: 36px; border-radius: var(--r);
  background: var(--card); border: 1px solid rgba(255,255,255,.07);
}
.step-num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 46px; color: rgba(255,255,255,.1); line-height: 1;
}
.step-num.accent { color: var(--accent); opacity: .85; }
.step-card .card-h3 { margin-top: 18px; }

/* ─── QUOTE (inline in proces) ─── */
.quote-inline {
  text-align: center;
  padding: 40px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
}
.stars { margin-bottom: 20px; font-size: 14px; letter-spacing: .1em; }
.quote-text {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.4; letter-spacing: -.015em;
  text-wrap: balance;
}
.quote-source { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ─── ABOUT / DEVELOPER ─── */
.about-grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 72px; align-items: center;
  width: 100%;
}
.about-visual {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
}
.about-avatar {
  width: 180px; height: 180px; border-radius: 22px;
  background: var(--card); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 72px; letter-spacing: -.02em; color: var(--accent);
}
.about-status {
  display: flex; align-items: center; gap: 8px;
}
.about-socials { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.about-social-link { font-size: 13.5px; color: var(--muted); transition: color .2s; }
.about-social-link:hover { color: var(--accent); }
.about-content { display: flex; flex-direction: column; }
.about-bio {
  margin: 24px 0 28px;
  font-size: 17px; line-height: 1.72; color: var(--muted);
  max-width: 560px;
}
.about-skills { display: flex; flex-wrap: wrap; gap: 8px; }

/* ─── FAQ ─── */
.faq-header { margin-bottom: 40px; text-align: center; }
.faq-list { border-top: 1px solid rgba(255,255,255,.08); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.08); }
.faq-q {
  all: unset; cursor: pointer; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 4px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 18px; color: var(--text);
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { font-size: 22px; color: var(--muted); flex-shrink: 0; transition: transform .25s, color .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { margin: 0 4px 22px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ─── CONTACT ─── */
.contact-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid rgba(255,255,255,.08);
  background: var(--card); padding: 56px clamp(28px, 5vw, 72px);
}
.contact-glow {
  position: absolute; top: -160px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 62%);
  filter: blur(100px); opacity: .35; pointer-events: none;
}
.contact-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.contact-steps { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.contact-step { display: flex; gap: 16px; align-items: flex-start; }
.step-label { flex-shrink: 0; margin-top: 2px; }
.contact-step strong { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 2px; }
.contact-step p { font-size: 14.5px; color: var(--muted); margin: 0; }

.contact-form-card {
  background: var(--bg); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); padding: 32px;
}
.form-label {
  display: block;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: var(--input-bg); border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px; padding: 13px 15px;
  color: var(--text); font-size: 15px; font-family: 'Hanken Grotesk', sans-serif;
  margin-bottom: 18px; outline: none;
  transition: border-color .2s;
}
.form-input:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; margin-bottom: 22px; line-height: 1.5; }
.form-note { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--dim); }
.form-note a { color: var(--muted); transition: color .2s; }
.form-note a:hover { color: var(--text); }
.form-success { padding: 32px; text-align: center; }
.form-success p { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* ─── FOOTER ─── */
.footer { max-width: 1280px; margin: 0 auto; padding: 48px 40px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-brand { max-width: 380px; }
.footer-desc { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--dim); }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; }
.footer-col-title {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 14px;
}
.footer-col a, .footer-col > span {
  display: block; font-size: 14.5px; color: var(--muted); margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--text); }

/* Footer green dot status */
.footer-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--muted); margin-bottom: 10px;
}
.footer-green-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px; color: var(--dim);
}

/* ─── ANIMATIONS ─── */
@keyframes marquee   { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes glowpulse { 0%,100% { opacity: .45 } 50% { opacity: .7 } }

[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .nav { padding: 14px 24px; }
  .nav-center, .nav-right { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 24px 40px; align-items: flex-start; padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-lead { font-size: 17px; max-width: 100%; }

  .section { padding: 80px 24px 40px; }
  .faq-section { padding: 60px 24px 40px; }

  .services-grid { grid-template-columns: 1fr; }

  .project-lg { grid-template-columns: 1fr; }
  .project-lg-content { padding: 30px 28px; }
  .project-lg-visual {
    height: 220px; min-height: auto;
    border-left: none; border-top: 1px solid rgba(255,255,255,.07);
  }
  .projects-two-col { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { flex-direction: row; justify-content: flex-start; align-items: center; gap: 24px; }
  .about-avatar { width: 100px; height: 100px; font-size: 40px; border-radius: 14px; }
  .about-socials { text-align: left; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 36px 24px; }

  .footer { padding: 40px 24px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 640px) {
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 24px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; }

  .section-header.spread { flex-direction: column; align-items: flex-start; }
  .section-side-text { max-width: 100%; }

  .project-discreet { flex-direction: column; align-items: flex-start; }
  .project-discreet .btn-ghost { width: auto; }

  .faq-q { font-size: 16px; }

  .about-bio { font-size: 15.5px; }
  .quote-inline { padding: 28px 20px; }
}
