@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ══ DARK MODE (default) ══ */
:root {
  --bg:     #04060d;
  --bg2:    #070b16;
  --bg3:    #0a1020;

  --chrome-1: #a8edff;
  --chrome-2: #c9b8ff;
  --chrome-3: #ffc2e3;
  --chrome-4: #7dffd4;

  --t1: #f0f4ff;
  --t2: rgba(240,244,255,0.55);
  --t3: rgba(240,244,255,0.25);
  --t4: rgba(240,244,255,0.10);

  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.14);
  --border3: rgba(168,237,255,0.22);

  --card-bg: rgba(255,255,255,0.04);
  --card-shine: rgba(255,255,255,0.10);
  --btn-glass-bg: rgba(255,255,255,0.04);

  --vignette-color: rgba(4,6,13,0.7);
  --navbar-scrolled: rgba(4,6,13,0.82);
  --drawer-bg: rgba(4,6,13,0.96);

  --f-display: 'Clash Display', sans-serif;
  --f-body:    'DM Sans', sans-serif;
  --f-mono:    'DM Mono', monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

/* ══ LIGHT MODE ══ */
:root.light {
  --bg:     #f5f7ff;
  --bg2:    #eef0fa;
  --bg3:    #e6eaf8;

  --chrome-1: #3a7bd5;
  --chrome-2: #7c5cbf;
  --chrome-3: #c0397a;
  --chrome-4: #1a9e72;

  --t1: #0d1024;
  --t2: rgba(13,16,36,0.62);
  --t3: rgba(13,16,36,0.35);
  --t4: rgba(13,16,36,0.08);

  --border:  rgba(0,0,0,0.09);
  --border2: rgba(0,0,0,0.16);
  --border3: rgba(58,123,213,0.3);

  --card-bg: rgba(255,255,255,0.72);
  --card-shine: rgba(255,255,255,0.9);
  --btn-glass-bg: rgba(255,255,255,0.6);

  --vignette-color: rgba(200,210,240,0.35);
  --navbar-scrolled: rgba(245,247,255,0.88);
  --drawer-bg: rgba(245,247,255,0.97);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--t1);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: auto;
  transition: background .45s, color .45s;
}

/* ── BACKGROUND ──────────────────────────────────── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-wrap {
  position: absolute;
  inset: 0;
  filter: blur(70px) saturate(1.4);
  opacity: .55;
  transition: opacity .45s;
}
:root.light .aurora-wrap { opacity: .3; }

.aurora-a {
  position: absolute;
  top: -20%; left: -10%;
  width: 55%; height: 60%;
  background: radial-gradient(ellipse, rgba(168,237,255,0.28) 0%, rgba(120,180,255,0.14) 40%, transparent 70%);
  border-radius: 50%;
  animation: drift-a 20s ease-in-out infinite alternate;
}
.aurora-b {
  position: absolute;
  bottom: -15%; right: -10%;
  width: 60%; height: 55%;
  background: radial-gradient(ellipse, rgba(201,184,255,0.24) 0%, rgba(236,100,200,0.12) 45%, transparent 70%);
  border-radius: 50%;
  animation: drift-b 26s ease-in-out infinite alternate;
}
.aurora-c {
  position: absolute;
  top: 30%; right: 10%;
  width: 40%; height: 45%;
  background: radial-gradient(ellipse, rgba(125,255,212,0.16) 0%, rgba(80,200,180,0.08) 50%, transparent 70%);
  border-radius: 50%;
  animation: drift-c 18s ease-in-out infinite alternate;
}
.aurora-d {
  position: absolute;
  top: 10%; left: 30%;
  width: 45%; height: 50%;
  background: radial-gradient(ellipse, rgba(255,194,227,0.18) 0%, transparent 65%);
  border-radius: 50%;
  animation: drift-d 22s ease-in-out infinite alternate;
}

@keyframes drift-a { 0%{transform:translate(0,0)scale(1)} 100%{transform:translate(6%,8%)scale(1.15)} }
@keyframes drift-b { 0%{transform:translate(0,0)scale(1)} 100%{transform:translate(-8%,-6%)scale(1.1)} }
@keyframes drift-c { 0%{transform:translate(0,0)scale(1)rotate(0deg)} 100%{transform:translate(-5%,10%)scale(1.2)rotate(12deg)} }
@keyframes drift-d { 0%{transform:translate(0,0)scale(1)} 100%{transform:translate(4%,-8%)scale(0.9)} }

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(128,128,200,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128,128,200,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

#bgCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 85% at 50% 50%, transparent 40%, var(--vignette-color) 100%);
  transition: background .45s;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  mix-blend-mode: overlay;
}

/* ── NAVBAR ──────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background .4s, box-shadow .4s;
}
#navbar.scrolled {
  background: var(--navbar-scrolled);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  box-shadow: 0 1px 0 var(--border), 0 8px 40px rgba(0,0,0,.12);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo {
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--t1);
  text-decoration: none;
  letter-spacing: .02em;
  flex-shrink: 0;
  margin-right: auto;
}
.logo-bracket {
  background: linear-gradient(135deg, var(--chrome-1), var(--chrome-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2px;
}
.nav-link {
  display: block;
  padding: 7px 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--t2);
  text-decoration: none;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link:hover { color: var(--t1); background: var(--t4); }
.nav-link.active { color: var(--t1); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 1px;
  background: linear-gradient(90deg, var(--chrome-1), var(--chrome-2));
  border-radius: 999px;
}

/* ── ICON BUTTONS (theme + lang) ─────────────────── */
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 10px;
  gap: 6px;
  border-radius: var(--r-sm);
  background: none;
  border: 1px solid var(--border2);
  color: var(--t2);
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .05em;
  flex-shrink: 0;
  transition: color .2s, border-color .2s, background .2s;
  white-space: nowrap;
}
.nav-icon-btn:hover {
  color: var(--t1);
  border-color: var(--border3);
  background: var(--t4);
}
.nav-icon-btn svg {
  width: 15px; height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* theme icon swap */
.icon-sun  { display: none; }
.icon-moon { display: block; }
:root.light .icon-sun  { display: block; }
:root.light .icon-moon { display: none; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--f-mono);
  text-decoration: none;
  color: var(--bg);
  background: linear-gradient(135deg, var(--chrome-1), var(--chrome-2));
  border: none;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: .02em;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 2px 20px rgba(168,237,255,0.2);
}
:root.light .nav-cta { color: #fff; }
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--t2);
  border-radius: 999px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  flex-direction: column;
  padding: 12px 24px 24px;
  background: var(--drawer-bg);
  backdrop-filter: blur(32px);
  border-top: 1px solid var(--border);
}
.mobile-drawer.open { display: flex; }
.mob-link {
  padding: 14px 0;
  font-size: 15px;
  color: var(--t2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: var(--t1); }

/* ── REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .34s; }
.delay-4 { transition-delay: .46s; }

/* ── HERO ────────────────────────────────────────── */
main { position: relative; z-index: 1; }

.hero {
  min-height: 100vh;
  padding-top: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 72px;
}

.hero-content { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--chrome-4);
  background: rgba(125,255,212,0.06);
  border: 1px solid rgba(125,255,212,0.2);
  margin-bottom: 32px;
  transition: color .45s, background .45s, border-color .45s;
}
:root.light .hero-badge {
  color: var(--chrome-4);
  background: rgba(26,158,114,0.08);
  border-color: rgba(26,158,114,0.28);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--chrome-4);
  box-shadow: 0 0 8px var(--chrome-4);
  flex-shrink: 0;
  animation: dot-beat 2.4s ease-in-out infinite;
}
@keyframes dot-beat {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.55); opacity: .5; }
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
  letter-spacing: -.04em;
  line-height: .92;
}
.title-line {
  font-family: var(--f-display);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  color: var(--t3);
  letter-spacing: .02em;
}
/* Zmniejszone żeby imię mieściło się w jednej linii */
.title-name {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.8vw, 70px);
  font-weight: 700;
  background: linear-gradient(
    105deg,
    var(--chrome-1) 0%,
    var(--chrome-2) 35%,
    var(--chrome-3) 65%,
    var(--chrome-1) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-role {
  font-family: var(--f-mono);
  font-size: 13.5px;
  color: var(--t3);
  margin-bottom: 28px;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.role-cursor {
  display: inline-block;
  width: 1.5px; height: 1em;
  background: var(--chrome-2);
  animation: blink .9s step-start infinite;
  border-radius: 1px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--t2);
  font-weight: 300;
  max-width: 530px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s, opacity .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--chrome-1), var(--chrome-2));
  color: var(--bg);
  border: none;
  box-shadow: 0 4px 24px rgba(168,237,255,0.2);
}
:root.light .btn-primary { color: #fff; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(168,237,255,0.3);
}
.btn-glass {
  color: var(--t1);
  border: 1px solid var(--border2);
  background: var(--btn-glass-bg);
  backdrop-filter: blur(12px);
}
.btn-glass:hover {
  border-color: var(--border3);
  transform: translateY(-3px);
}

/* ── HERO CARD ───────────────────────────────────── */
.hero-card { flex-shrink: 0; }

.glass-card {
  width: 288px;
  padding: 30px 26px;
  background: var(--card-bg);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 var(--card-shine), 0 32px 80px rgba(0,0,0,0.18);
  transition: background .45s, box-shadow .45s, transform .5s cubic-bezier(.2,.8,.2,1);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(168,237,255,0.35),
    rgba(201,184,255,0.2),
    rgba(255,194,227,0.15),
    rgba(125,255,212,0.2),
    rgba(168,237,255,0.35)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.glass-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(168,237,255,0.04) 15%, transparent 30%);
  animation: card-spin 12s linear infinite;
  pointer-events: none;
}
@keyframes card-spin { to { transform: rotate(360deg); } }

.card-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--chrome-1), var(--chrome-2), var(--chrome-3));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 22px; font-weight: 700;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 8px 28px rgba(168,237,255,0.28);
  position: relative; z-index: 1;
}
.card-name {
  text-align: center;
  font-family: var(--f-display);
  font-size: 18px; font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 4px;
  position: relative; z-index: 1;
}
.card-role {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  background: linear-gradient(90deg, var(--chrome-1), var(--chrome-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.card-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
  position: relative; z-index: 1;
}
.card-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; z-index: 1;
}
.cs { text-align: center; flex: 1; }
.cs-n {
  font-family: var(--f-display);
  font-size: 28px; font-weight: 700;
  background: linear-gradient(120deg, var(--chrome-1), var(--chrome-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.cs-l {
  font-size: 10.5px;
  color: var(--t3);
  margin-top: 3px;
  letter-spacing: .05em;
  font-family: var(--f-mono);
}
.cs-sep { width: 1px; height: 32px; background: var(--border); }
.card-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  position: relative; z-index: 1;
}
.stack-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-family: var(--f-mono);
  letter-spacing: .04em;
  border: 1px solid var(--border2);
  color: var(--t2);
  background: rgba(255,255,255,0.04);
  transition: border-color .2s, color .2s, background .2s;
}
:root.light .stack-pill { background: rgba(0,0,0,0.03); }
.stack-pill:hover {
  border-color: rgba(168,237,255,0.4);
  color: var(--chrome-1);
  background: rgba(168,237,255,0.06);
}

/* ── ABOUT STRIP ─────────────────────────────────── */
.about-strip {
  position: relative;
  border-top: 1px solid var(--border);
}
.about-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(168,237,255,0.03) 0%, transparent 40%, rgba(201,184,255,0.03) 100%);
  pointer-events: none;
}

.about-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--chrome-2);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 1px;
  background: var(--chrome-2);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.gradient-text {
  background: linear-gradient(120deg, var(--chrome-1), var(--chrome-2), var(--chrome-3));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite;
}

.about-body {
  font-size: 15.5px;
  color: var(--t2);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 16px;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13.5px;
  font-family: var(--f-mono);
  letter-spacing: .04em;
  color: var(--chrome-1);
  text-decoration: none;
  opacity: .8;
  transition: opacity .2s, gap .2s;
}
.about-link:hover { opacity: 1; gap: 10px; }

.about-timeline {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}
.tl-item {
  display: flex;
  gap: 22px;
  padding-bottom: 36px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border2);
  flex-shrink: 0;
  margin-top: 5px;
  margin-left: -24px;
  transition: background .3s, box-shadow .3s;
}
.tl-item:hover .tl-dot { background: var(--chrome-1); box-shadow: 0 0 10px rgba(168,237,255,0.5); }
.tl-dot-pulse {
  background: var(--chrome-4) !important;
  box-shadow: 0 0 0 4px rgba(125,255,212,0.12), 0 0 12px rgba(125,255,212,0.5);
  animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(125,255,212,0.4); }
  70%  { box-shadow: 0 0 0 9px rgba(125,255,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(125,255,212,0); }
}
.tl-year { font-family: var(--f-mono); font-size: 10.5px; color: var(--t3); letter-spacing: .08em; margin-bottom: 5px; }
.tl-title { font-size: 15px; font-weight: 500; color: var(--t1); margin-bottom: 3px; letter-spacing: -.01em; }
.tl-sub { font-size: 13px; color: var(--t3); font-weight: 300; }

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-logo {
  font-family: var(--f-mono);
  font-size: 14px;
  background: linear-gradient(90deg, var(--chrome-1), var(--chrome-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-copy {
  font-size: 12.5px;
  color: var(--t3);
  margin-right: auto;
  font-family: var(--f-mono);
  letter-spacing: .03em;
}
.social-btn {
  font-size: 12.5px;
  font-family: var(--f-mono);
  letter-spacing: .04em;
  color: var(--t3);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  transition: color .2s, border-color .2s;
}
.social-btn:hover { color: var(--t1); border-color: var(--border2); }

/* ── SCANLINES (dark only) ───────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.012) 2px,
    rgba(0,0,0,0.012) 4px
  );
  pointer-events: none;
  z-index: 999;
  transition: opacity .45s;
}
:root.light body::after { opacity: 0; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
    padding-bottom: 60px;
    gap: 52px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-badge   { margin: 0 auto 32px; }
  .hero-desc    { margin: 0 auto 44px; }
  .hero-actions { justify-content: center; }
  .hero-card    { display: flex; justify-content: center; width: 100%; }
  .glass-card   { width: 100%; max-width: 320px; }
  .about-inner  { grid-template-columns: 1fr; gap: 52px; padding: 72px 28px; }
}
@media (max-width: 500px) {
  .nav-inner { padding: 0 20px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .about-inner { padding-left: 20px; padding-right: 20px; }
  .footer { padding: 24px 20px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-copy  { width: 100%; margin: 0; }
  .nav-icon-btn span { display: none; }
  #langBtn { width: 36px; padding: 0; }
}