/* ============================================================
   ALINCOSMULESE.RO v2.0 — Premium Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg:          #03030a;
  --bg2:         #080816;
  --bg3:         #0d0d22;
  --glass:       rgba(255,255,255,0.03);
  --glass-h:     rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.07);
  --border-h:    rgba(77,142,255,0.35);
  --blue:        #4d8eff;
  --purple:      #7c3aed;
  --cyan:        #06d6d0;
  --grad:        linear-gradient(135deg, #4d8eff 0%, #7c3aed 100%);
  --glow:        0 0 60px rgba(77,142,255,0.14);
  --glow-s:      0 0 90px rgba(77,142,255,0.3);
  --text:        #eeeef8;
  --text2:       #8888aa;
  --text3:       #44445a;
  --r:           16px;
  --r-sm:        8px;
  --r-lg:        24px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --trans:       all .28s var(--ease);
  --nav-h:       76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(ellipse 60% 40% at 15% 60%, rgba(77,142,255,.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(124,58,237,.06) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-h); border-radius: 10px; }

/* ── Particle Canvas ── */
#particle-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── Mouse Cloud (canvas-based vortex) ── */
.mouse-cloud { position: fixed; inset: 0; pointer-events: none; z-index: 998; overflow: hidden; }

/* ── Content Layer ── */
.content-layer { position: relative; z-index: 1; }

/* ============================================================
   LOADER — Explosive AC Animation
   ============================================================ */
.page-loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 140px; height: 140px;
}

.loader-sw {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(77,142,255,.7);
  animation: sw-expand 1.8s ease-out infinite;
}
.loader-sw.sw2 { animation-delay: .5s; border-color: rgba(124,58,237,.6); width: 70px; height: 70px; }
.loader-sw.sw3 { animation-delay: 1s; border-color: rgba(6,214,208,.4); width: 110px; height: 110px; }

@keyframes sw-expand {
  0%   { transform: scale(0); opacity: 1; }
  100% { transform: scale(3.8); opacity: 0; }
}

.loader-logo {
  position: relative; z-index: 2;
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem; font-weight: 800;
  display: flex; gap: .05em;
  filter: drop-shadow(0 0 20px rgba(77,142,255,.5));
}
.loader-logo .ll {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.loader-logo .ll:nth-child(1) {
  animation: slam-left .75s cubic-bezier(0.34, 1.56, 0.64, 1) .15s both;
}
.loader-logo .ll:nth-child(2) {
  animation: slam-right .75s cubic-bezier(0.34, 1.56, 0.64, 1) .35s both;
}

@keyframes slam-left {
  0%   { transform: translateX(-90px) scale(3.5) rotate(-20deg); opacity: 0; filter: blur(12px); }
  60%  { filter: blur(0); }
  80%  { transform: translateX(4px) scale(.98) rotate(1deg); }
  100% { transform: translateX(0) scale(1) rotate(0); opacity: 1; }
}
@keyframes slam-right {
  0%   { transform: translateX(90px) scale(3.5) rotate(20deg); opacity: 0; filter: blur(12px); }
  60%  { filter: blur(0); }
  80%  { transform: translateX(-4px) scale(.98) rotate(-1deg); }
  100% { transform: translateX(0) scale(1) rotate(0); opacity: 1; }
}

/* ============================================================
   NAVIGATION — Desktop
   ============================================================ */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: rgba(3,3,10,.84); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--border);
  z-index: 200; display: flex; align-items: center; padding: 0 5%;
}
.nav-inner { width: 100%; max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  text-decoration: none; letter-spacing: -.03em;
}
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text2); text-decoration: none; font-size: .88rem; font-weight: 500;
  letter-spacing: .02em; transition: var(--trans); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 1px; background: var(--grad);
  transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--grad) !important; color: #fff !important;
  padding: .45rem 1.3rem; border-radius: 100px; font-size: .82rem !important;
  box-shadow: 0 0 24px rgba(77,142,255,.3); transition: var(--trans) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  box-shadow: 0 0 55px rgba(77,142,255,.65), 0 6px 22px rgba(77,142,255,.3) !important;
  transform: translateY(-3px) scale(1.06) !important;
}

/* ── Mobile Nav ── */
.mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; width: 100vw; height: 68px;
  background: rgba(3,3,10,.93); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); border-top: 1px solid var(--border);
  z-index: 9999; padding-bottom: env(safe-area-inset-bottom, 0);
  box-sizing: border-box; margin: 0;
}
.mobile-nav-inner { height: 100%; width: 100%; display: flex; align-items: stretch; padding: 0; }
.mnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18rem;
  text-decoration: none; color: var(--text3); transition: var(--trans);
  padding: .4rem .2rem; border-radius: 0;
}
.mnav-item:hover, .mnav-item.active { color: var(--blue); }
.mnav-item.active { background: rgba(77,142,255,.1); }
.mnav-item svg { width: 22px; height: 22px; }
.mnav-label { font-size: .62rem; font-weight: 600; letter-spacing: .03em; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display { font-family: 'Syne', sans-serif; font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sec-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; display: block; }
.sec-title { font-family: 'Syne', sans-serif; font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.sec-sub { font-size: 1.05rem; color: var(--text2); line-height: 1.75; max-width: 580px; }

/* ============================================================
   GLASS CARDS
   ============================================================ */
.glass {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--r);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: var(--trans);
}
.glass:hover {
  background: var(--glass-h); border-color: var(--border-h);
  box-shadow: var(--glow); transform: translateY(-5px);
}
.glass-static {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--r);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}

/* ============================================================
   BUTTONS — Enhanced hover effects
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: 100px;
  font-size: .88rem; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; outline: none;
  transition: all .25s var(--ease); font-family: inherit; position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(255,255,255,0); transition: background .25s ease;
}
.btn:hover::before { background: rgba(255,255,255,.06); }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 0 28px rgba(77,142,255,.22), 0 4px 14px rgba(77,142,255,.15);
}
.btn-primary:hover {
  box-shadow: 0 0 60px rgba(77,142,255,.55), 0 8px 26px rgba(77,142,255,.3);
  transform: translateY(-3px) scale(1.05);
}

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--blue); color: var(--blue);
  box-shadow: 0 0 32px rgba(77,142,255,.28), inset 0 0 20px rgba(77,142,255,.06);
  transform: translateY(-3px) scale(1.05);
  background: rgba(77,142,255,.06);
}

.btn-ghost {
  background: rgba(77,142,255,.1); color: var(--blue);
  border: 1px solid rgba(77,142,255,.22);
}
.btn-ghost:hover {
  background: rgba(77,142,255,.22);
  box-shadow: 0 0 30px rgba(77,142,255,.25);
  transform: translateY(-2px) scale(1.04);
}

.btn-sm { padding: .5rem 1.1rem; font-size: .8rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 110px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.text-c { text-align: center; }
.text-c .sec-sub { margin: 0 auto; }
.divider { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: var(--nav-h) 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -250px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(77,142,255,.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(77,142,255,.1); border: 1px solid rgba(77,142,255,.22);
  border-radius: 100px; padding: .35rem 1rem;
  font-size: .78rem; font-weight: 600; color: var(--blue);
  margin-bottom: 1.4rem; letter-spacing: .04em;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pdot 2s ease-in-out infinite; }
@keyframes pdot { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)} }
.hero-title { font-size: clamp(2.4rem,4.5vw,3.8rem); margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.05rem; color: var(--text2); line-height: 1.75; margin-bottom: 2.5rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 2.8rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: .2rem;
}
.stat-lbl { font-size: .74rem; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; }

/* Hero Image & Rings */
.hero-img-wrap { position: relative; display: flex; justify-content: center; align-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(77,142,255,.14); animation: spin-ring 22s linear infinite; }
.ring-2 { border-color: rgba(124,58,237,.1); animation: spin-ring 34s linear infinite reverse; }
@keyframes spin-ring { from{transform:rotate(0)}to{transform:rotate(360deg)} }
.ring::before {
  content: ''; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 14px var(--blue);
  transform: translateX(-50%);
}
.img-glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,142,255,.18) 0%, rgba(124,58,237,.1) 50%, transparent 70%);
  animation: glow-p 4s ease-in-out infinite;
}
@keyframes glow-p { 0%,100%{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.06)} }
.hero-photo {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 70px rgba(77,142,255,.2), 0 40px 80px rgba(0,0,0,.5);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* ── Hero Badges with float animation ── */
.badge-wrap {
  position: absolute;
}
.badge-wrap-r { bottom: -20px; right: -20px; animation: badge-float 4s ease-in-out infinite; }
.badge-wrap-l { bottom: -20px; left: -20px; animation: badge-float 4s ease-in-out 2s infinite; }
@keyframes badge-float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)} }

.hero-badge {
  background: rgba(8,8,22,.9); border: 1px solid var(--border-h);
  border-radius: 14px; padding: .8rem 1.1rem;
  display: flex; align-items: center; gap: .7rem;
  backdrop-filter: blur(16px); box-shadow: var(--glow);
  white-space: nowrap;
}
.badge-icon { font-size: 1.6rem; }
.badge-text { font-size: .72rem; color: var(--text2); line-height: 1.4; }
.badge-text strong { display: block; color: var(--text); font-size: .82rem; }

/* Moto badge fade transition */
.moto-fade { transition: opacity .4s ease; }

/* Scroll Hint */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--text3); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.scroll-mouse { width: 22px; height: 36px; border: 1.5px solid var(--text3); border-radius: 11px; position: relative; }
.scroll-mouse::after {
  content: ''; position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%); width: 3px; height: 5px;
  background: var(--blue); border-radius: 2px;
  animation: scroll-b 2s ease-in-out infinite;
}
@keyframes scroll-b { 0%,100%{transform:translateX(-50%) translateY(0);opacity:1}50%{transform:translateX(-50%) translateY(8px);opacity:.3} }

/* Typewriter */
.tw::after { content: '|'; animation: blink .9s step-end infinite; color: var(--blue); }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0} }


/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-photo {
  width: 100%; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--glow);
  aspect-ratio: 9 / 16; background: var(--bg2);
}
.about-photo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.about-float {
  position: absolute; bottom: -16px; left: -16px;
  background: rgba(8,8,22,.9); border: 1px solid var(--border-h);
  border-radius: 14px; padding: .8rem 1.1rem;
  display: flex; align-items: flex-start; gap: .7rem;
  backdrop-filter: blur(16px); box-shadow: var(--glow);
  max-width: 250px; animation: badge-float 4s ease-in-out 2s infinite;
}
#aboutFloatSub::after { content: '|'; animation: blink .9s step-end infinite; color: var(--blue); margin-left: 1px; }
.interest-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.itag {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .75rem; background: rgba(77,142,255,.08);
  border: 1px solid rgba(77,142,255,.16); border-radius: 100px;
  font-size: .76rem; color: var(--text2); transition: var(--trans);
}
.itag:hover { background: rgba(77,142,255,.15); color: var(--text); }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.pillar-card { padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: .5rem; }
.pi-blue { background: rgba(77,142,255,.12); }
.pi-purple { background: rgba(124,58,237,.12); }
.pi-cyan { background: rgba(6,214,208,.12); }
.pi-orange { background: rgba(255,165,0,.1); }
.pillar-title { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; }
.pillar-desc { font-size: .82rem; color: var(--text2); line-height: 1.65; }

/* ============================================================
   NUMBERS
   ============================================================ */
.numbers-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.num-card { padding: 2rem; text-align: center; }
.num-val {
  font-family: 'Syne', sans-serif; font-size: 2.8rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: .4rem;
}
.num-lbl { font-size: .82rem; color: var(--text2); }

/* ============================================================
   PROJECTS
   ============================================================ */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1.5rem; }
.proj-card { overflow: hidden; cursor: pointer; position: relative; }
.proj-card .proj-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.proj-thumb { width: 100%; height: 200px; overflow: hidden; position: relative; background: var(--bg3); }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover .proj-thumb img { transform: scale(1.06); }
.proj-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  background: linear-gradient(135deg, rgba(77,142,255,.1), rgba(124,58,237,.1));
}
.proj-content { padding: 1.5rem; }
.proj-cat { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; display: block; }
.proj-title { font-family: 'Syne', sans-serif; font-size: 1.08rem; font-weight: 700; margin-bottom: .5rem; }
.proj-desc { font-size: .83rem; color: var(--text2); line-height: 1.65; margin-bottom: 1.1rem; }
.proj-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--blue); text-decoration: none;
  font-weight: 600; transition: var(--trans);
}
.proj-link:hover { gap: .7rem; color: #7fb3ff; }
.proj-link svg { width: 14px; height: 14px; }

/* ============================================================
   AUDIO PLAYER
   ============================================================ */
.audio-wrap { padding: 2rem; }
.track-list { display: flex; flex-direction: column; gap: .4rem; max-height: 260px; overflow-y: auto; margin-bottom: 1.5rem; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.track { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; border-radius: var(--r-sm); cursor: pointer; transition: var(--trans); border: 1px solid transparent; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.track:hover, .track.active { background: rgba(77,142,255,.08); border-color: rgba(77,142,255,.15); }
.track-n { font-size: .76rem; color: var(--text3); width: 1.4rem; text-align: center; }
.track.active .track-n { color: var(--blue); }
.track-info { flex: 1; }
.track-title { font-size: .88rem; font-weight: 500; }
.track-artist { font-size: .75rem; color: var(--text3); }
.track-dur { font-size: .75rem; color: var(--text3); }
.player-ctrl { display: flex; flex-direction: column; gap: 1rem; }
.prog-row { display: flex; align-items: center; gap: .75rem; }
.prog-bar { flex: 1; height: 4px; background: var(--border); border-radius: 100px; cursor: pointer; position: relative; }
.prog-fill { height: 100%; background: var(--grad); border-radius: 100px; width: 0%; transition: width .1s linear; position: relative; }
.prog-fill::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 11px; height: 11px; background: #fff; border-radius: 50%; box-shadow: 0 0 8px rgba(77,142,255,.5); }
.time-txt { font-size: .73rem; color: var(--text3); min-width: 90px; text-align: right; white-space: nowrap; }
.btn-row { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.pbtn { background: none; border: none; color: var(--text2); cursor: pointer; padding: .5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--trans); }
.pbtn:hover { color: var(--text); background: var(--glass); transform: scale(1.1); }
.pbtn-play { width: 50px; height: 50px; background: var(--grad) !important; color: #fff !important; box-shadow: 0 0 22px rgba(77,142,255,.3); }
.pbtn-play:hover { box-shadow: 0 0 42px rgba(77,142,255,.55) !important; transform: scale(1.1) !important; }
.vol-row { display: flex; align-items: center; gap: .6rem; justify-content: center; }
.vol-slider { width: 80px; height: 4px; border-radius: 100px; background: var(--border); cursor: pointer; appearance: none; -webkit-appearance: none; }
.vol-slider::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; background: var(--blue); border-radius: 50%; cursor: pointer; }
.player-note { margin-top: 1rem; padding: 1rem; border-radius: var(--r-sm); background: rgba(77,142,255,.06); border: 1px solid rgba(77,142,255,.12); font-size: .8rem; color: var(--text2); text-align: center; line-height: 1.6; }

/* ============================================================
   CV PAGE
   ============================================================ */
.cv-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.cv-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.cv-photo { width: 100%; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); margin-bottom: 1.5rem; box-shadow: var(--glow); }
.cv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cv-sec { margin-bottom: 2rem; }
.cv-sec-ttl { font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); padding-bottom: .5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.skill-item { margin-bottom: 1rem; }
.skill-hd { display: flex; justify-content: space-between; margin-bottom: .35rem; }
.skill-nm { font-size: .83rem; font-weight: 500; }
.skill-pct { font-size: .75rem; color: var(--blue); }
.skill-bar { height: 3px; background: var(--border); border-radius: 100px; overflow: hidden; }
.skill-fill { height: 100%; background: var(--grad); border-radius: 100px; transform-origin: left; transform: scaleX(0); transition: transform 1.3s var(--ease); }
.skill-fill.anim { transform: scaleX(var(--w, 1)); }
.lang-item { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--border); }
.lang-item:last-child { border-bottom: none; }
.lang-nm { font-size: .83rem; }
.lang-lvl { font-size: .75rem; color: var(--text3); }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--blue), var(--purple), transparent); }
.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-item::before { content: ''; position: absolute; left: -2.35rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.tl-period { font-size: .76rem; color: var(--blue); font-weight: 600; letter-spacing: .04em; margin-bottom: .2rem; }
.tl-role { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.tl-company { font-size: .83rem; color: var(--text2); margin-bottom: .4rem; }
.tl-desc { font-size: .82rem; color: var(--text3); line-height: 1.65; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.cinfo-card { padding: 2rem; }
.cinfo-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cinfo-item:last-child { border-bottom: none; }
.cinfo-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(77,142,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.cinfo-lbl { font-size: .72rem; color: var(--text3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .15rem; }
.cinfo-val { font-size: .88rem; color: var(--text); text-decoration: none; transition: var(--trans); }
.cinfo-val:hover { color: var(--blue); }
.social-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-top: 1.5rem; }
.s-btn {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  padding: 1rem .5rem; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-sm); text-decoration: none; color: var(--text2);
  font-size: .7rem; transition: all .25s var(--ease); cursor: pointer;
}
.s-btn:hover {
  background: var(--glass-h); color: var(--text);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--glow); border-color: var(--border-h);
}
.s-btn svg { width: 22px; height: 22px; }
.social-note { margin-top: 1rem; padding: .9rem 1rem; background: rgba(255,230,100,.04); border: 1px solid rgba(255,230,100,.1); border-radius: var(--r-sm); font-size: .78rem; color: var(--text2); font-style: italic; text-align: center; line-height: 1.65; }

/* Contact Form */
.cf-card { padding: 2rem; }
.fg { margin-bottom: 1.2rem; }
.fl { display: block; font-size: .78rem; font-weight: 500; color: var(--text2); margin-bottom: .45rem; letter-spacing: .02em; }
.fi, .fta { width: 100%; padding: .82rem 1rem; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); font-size: .88rem; font-family: inherit; transition: var(--trans); outline: none; }
.fi:focus, .fta:focus { border-color: var(--blue); background: rgba(77,142,255,.05); box-shadow: 0 0 0 3px rgba(77,142,255,.12); }
.fi::placeholder, .fta::placeholder { color: var(--text3); }
.fta { min-height: 140px; resize: vertical; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }
.blog-feat-art { grid-column: 1 / -1; }
.blog-feat-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-radius: var(--r); overflow: hidden; }
.blog-card { overflow: hidden; position: relative; }
.blog-img { width: 100%; height: 195px; overflow: hidden; background: var(--bg3); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; background: linear-gradient(135deg, rgba(77,142,255,.09), rgba(124,58,237,.09)); }
.blog-content { padding: 1.4rem; }
.blog-meta { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.blog-cat { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: rgba(77,142,255,.1); padding: .2rem .6rem; border-radius: 4px; }
.blog-date { font-size: .74rem; color: var(--text3); }
.blog-read { font-size: .74rem; color: var(--text3); display:flex; align-items:center; gap:.25rem; }
.blog-title { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: .65rem; }
.blog-excerpt { font-size: .82rem; color: var(--text2); line-height: 1.65; margin-bottom: 1rem; }
.blog-more { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--blue); text-decoration: none; font-weight: 600; transition: var(--trans); }
.blog-more:hover { gap: .6rem; }
.blog-more svg { width: 14px; height: 14px; }
.blog-stamp {
  position: absolute;
  top: 22px; right: -34px;
  width: 140px;
  background: linear-gradient(135deg, #4d8eff 0%, #7c3aed 100%);
  color: #fff;
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .38rem 0;
  transform: rotate(35deg);
  z-index: 10;
  box-shadow: 0 2px 10px rgba(77,142,255,.4);
  pointer-events: none;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-hd {
  padding: calc(var(--nav-h) + 80px) 0 70px; text-align: center; position: relative;
}
.page-hd::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 700px; height: 350px; background: radial-gradient(ellipse, rgba(77,142,255,.09) 0%, transparent 65%); pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--border); padding: 2.5rem 0; margin-top: 3rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo { font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; }
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: .83rem; color: var(--text3); text-decoration: none; transition: var(--trans); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: .78rem; color: var(--text3); }

/* ============================================================
   CTA BOX
   ============================================================ */
.cta-box {
  padding: 4rem; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(77,142,255,.08) 0%, rgba(124,58,237,.08) 100%);
  border: 1px solid rgba(77,142,255,.2); text-align: center; position: relative; overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 400px; height: 200px; background: radial-gradient(ellipse, rgba(77,142,255,.12) 0%, transparent 70%); pointer-events: none; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.v { opacity: 1; transform: translateY(0); }
.reveal-l { opacity: 0; transform: translateX(-28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-l.v { opacity: 1; transform: translateX(0); }
.reveal-r { opacity: 0; transform: translateX(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-r.v { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .reveal,.reveal-l,.reveal-r { transition: none !important; opacity: 1; transform: none !important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .numbers-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .cv-wrap { grid-template-columns: 1fr; }
  .cv-sidebar { position: static; }
}
@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  nav.main-nav .nav-links { display: none; }
  .mobile-nav { display: flex; }
  body { padding-bottom: 68px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 2.5rem; }
  .hero-img-wrap { order: -1; }
  .hero-photo { width: 240px; height: 300px; }
  .ring { width: 320px !important; height: 320px !important; }
  .ring-2 { width: 278px !important; height: 278px !important; }
  .img-glow { width: 250px !important; height: 250px !important; }
  .scroll-hint { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num-card { min-height: 130px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-feat-inner { grid-template-columns: 1fr !important; }
  .section { padding: 80px 0; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .badge-wrap-l, .badge-wrap-r { display: none; }
  .about-float { display: none; }
}
@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: repeat(3,1fr); }
  .hero-photo { width: 210px; height: 265px; }
}

@media print {
  @page { size: A4 portrait; margin: 14mm 12mm; }

  /* Elements to hide */
  .mobile-nav, nav.main-nav, #particle-canvas, .mouse-cloud, .scroll-hint,
  .page-loader, .page-hd .btn, .page-hd .hero-actions { display: none !important; }

  /* Force ALL reveal elements visible — avoids right column disappearing */
  .reveal, .reveal-l, .reveal-r {
    opacity: 1 !important;
    transform: none !important;
  }

  html, body {
    background: #fff !important; color: #1a202c !important;
    padding: 0 !important; font-size: 11pt !important;
    font-family: Calibri, 'Trebuchet MS', Georgia, serif !important;
    -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important;
  }
  .content-layer { position: static !important; }
  * { box-shadow: none !important; animation: none !important; transition: none !important; }

  /* Page header slim */
  .page-hd { padding: 0.5rem 0 0.75rem !important; text-align: left !important; }
  .page-hd::before { display: none !important; }
  .sec-label { color: #7c3aed !important; }
  .sec-title { font-size: 1.5rem !important; color: #1a202c !important; filter: none !important; }
  .grad-text { -webkit-text-fill-color: #7c3aed !important; background: none !important; color: #7c3aed !important; }

  /* CV two-column layout — explicit grid */
  .cv-wrap {
    display: grid !important;
    grid-template-columns: 200px 1fr !important;
    gap: 1.5rem !important;
    align-items: start !important;
  }
  .cv-sidebar { position: static !important; width: 200px !important; }
  .cv-main { display: block !important; min-width: 0 !important; }
  .cv-photo { border-color: #e2e8f0 !important; }
  .cv-photo img { width: 100% !important; height: auto !important; object-fit: cover; }
  .section { padding: 0 !important; }

  /* Glass → white cards */
  .glass, .glass-static, .glass:hover {
    background: #f8f9fc !important; border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important; transform: none !important;
    backdrop-filter: none !important;
  }
  .cv-sec-ttl { color: #4a5568 !important; border-color: #e2e8f0 !important; }
  .tl-period { color: #4d8eff !important; }
  .tl-role { color: #1a202c !important; font-size: .93rem !important; }
  .tl-company { color: #4a5568 !important; }
  .tl-desc { color: #718096 !important; }
  .timeline { padding-left: 1.6rem !important; }
  .timeline::before { background: linear-gradient(to bottom, #4d8eff, #7c3aed, #e2e8f0) !important; }
  .tl-item::before { background: #4d8eff !important; box-shadow: none !important; left: -1.95rem !important; }

  /* Skills */
  .skill-bar { background: #e2e8f0 !important; }
  .skill-fill, .skill-fill.anim {
    transform: scaleX(var(--w,1)) !important;
    background: linear-gradient(90deg,#4d8eff,#7c3aed) !important;
  }
  .skill-nm { color: #1a202c !important; }
  .skill-pct { color: #4d8eff !important; }

  /* Languages */
  .lang-nm { color: #1a202c !important; }
  .lang-lvl { color: #718096 !important; }
  .lang-item { border-color: #e2e8f0 !important; }

  /* Tags */
  .itag { background: #edf2ff !important; border-color: #c3dafe !important; color: #3730a3 !important; }
  p { color: #4a5568 !important; }

  /* Contact info */
  .cinfo-val, .cinfo-val:hover { color: #1a202c !important; }
  .cinfo-lbl { color: #718096 !important; }
  .cinfo-icon { background: #edf2ff !important; }
  a { color: #4d8eff !important; text-decoration: none !important; }

  /* Ensure dividers show */
  .divider { background: #e2e8f0 !important; }
  footer { display: none !important; }
  .lang-toggle { display: none !important; }
}

/* ============================================================
   LANG TOGGLE — RO / EN switcher
   ============================================================ */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.lt-btn {
  background: transparent;
  border: none;
  color: var(--text2);
  font-family: 'Syne', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .28rem .65rem;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--trans);
  line-height: 1;
}
.lt-btn:hover { color: var(--text); }
.lt-btn.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 14px rgba(77,142,255,.35);
}

/* Mobile: keep toggle visible in nav (nav-links hidden, logo + toggle remain) */
@media (max-width: 768px) {
  .lang-toggle { padding: 2px; }
  .lt-btn { padding: .24rem .55rem; font-size: .7rem; }
}
