/* ============================================================
   BUY NEST — Visual Creator Portfolio
   Theme tokens
   ============================================================ */
:root{
  --bg: #060608;
  --bg-alt: #0b0b10;
  --panel: rgba(255,255,255,0.045);
  --panel-border: rgba(255,255,255,0.09);
  --orange: #ff7a1a;
  --orange-2: #ffb347;
  --purple: #9b2fff;
  --purple-2: #c084fc;
  --violet-deep: #5b12b8;
  --ink: #f3f1f7;
  --ink-dim: #a8a3b4;
  --ink-faint: #6f6a7d;
  --success: #34d399;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.16,.84,.28,1);
  --shadow-glow: 0 0 40px rgba(155,47,255,.25), 0 0 80px rgba(255,122,26,.08);
}

html[data-theme="light"]{
  --bg: #f4f2f9;
  --bg-alt: #ffffff;
  --panel: rgba(20,10,30,0.04);
  --panel-border: rgba(20,10,30,0.09);
  --ink: #17131f;
  --ink-dim: #4d4760;
  --ink-faint: #837c94;
}

*,*::before,*::after{ box-sizing: border-box; }
::selection{ background: var(--purple); color: #fff; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
  cursor: none;
}
@media (hover:none){ body{ cursor:auto; } }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input, textarea, select{ font-family:inherit; }

.grad-text{
  background: linear-gradient(100deg, var(--orange) 0%, var(--purple-2) 60%, var(--purple) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ================= CUSTOM CURSOR ================= */
.cursor-dot, .cursor-ring{
  position: fixed; top:0; left:0; pointer-events:none; z-index: 10000;
  border-radius:50%; transform: translate(-50%,-50%);
  transition: opacity .2s ease;
}
.cursor-dot{ width:7px; height:7px; background: var(--orange); box-shadow:0 0 10px var(--orange); }
.cursor-ring{ width:34px; height:34px; border:1.5px solid var(--purple-2); transition: width .2s, height .2s, border-color .2s, transform .05s linear; }
.cursor-ring.hovered{ width:56px; height:56px; border-color: var(--orange); background: rgba(255,122,26,.08); }
@media (hover:none){ .cursor-dot,.cursor-ring{ display:none; } }

/* ================= SCROLL PROGRESS ================= */
.scroll-progress{
  position: fixed; top:0; left:0; height:3px; width:0%;
  background: linear-gradient(90deg, var(--orange), var(--purple));
  z-index: 9999; box-shadow: 0 0 12px var(--purple);
  transition: width .1s linear;
}

/* ================= PARTICLES ================= */
#particles{ position: fixed; inset:0; z-index:0; pointer-events:none; opacity:.55; }

/* ================= LOADER ================= */
#loader{
  position: fixed; inset:0; background: var(--bg); z-index: 20000;
  display:flex; align-items:center; justify-content:center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#loader.done{ opacity:0; visibility:hidden; }
.loader-inner{ position:relative; display:flex; flex-direction:column; align-items:center; gap:18px; }
.loader-ring{ width:120px; height:120px; position:absolute; top:-20px; left:50%; transform:translateX(-50%); }
.loader-ring circle{
  fill:none; stroke:url(#none); stroke: var(--purple); stroke-width:2;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: ringspin 1.6s linear infinite, ringdash 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px var(--purple));
}
@keyframes ringspin{ to{ transform: rotate(360deg); } }
@keyframes ringdash{ 0%{ stroke-dashoffset:320; } 50%{ stroke-dashoffset:80; } 100%{ stroke-dashoffset:320; } }
.loader-mark{ margin-top:40px; }
.loader-mark-img{
  width:84px; height:84px; border-radius:50%; object-fit:cover;
  box-shadow: 0 0 0 2px var(--orange), 0 0 24px rgba(255,138,61,.45);
}
.loader-text{ font-family: var(--font-mono); font-size:.7rem; letter-spacing:3px; color: var(--ink-dim); }
.loader-bar{ width:200px; height:3px; background: rgba(255,255,255,.08); border-radius:99px; overflow:hidden; }
.loader-bar-fill{ height:100%; width:0%; background: linear-gradient(90deg, var(--orange), var(--purple)); transition: width .2s ease; }
.dots{ animation: dotpulse 1.2s infinite; }
@keyframes dotpulse{ 0%,100%{opacity:.3;} 50%{opacity:1;} }

/* ================= NAVBAR ================= */
.navbar{
  position: fixed; top:0; left:0; right:0; z-index: 1000;
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(6,6,8,.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--panel-border);
  transition: background .3s ease, padding .3s ease;
}
html[data-theme="light"] .navbar{ background: rgba(244,242,249,.6); }
.navbar.scrolled{ padding: 10px clamp(18px,4vw,56px); }

.nav-logo{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); }
.logo-mark{
  width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  font-weight:900; font-size:.9rem; color:#0a0a0a; box-shadow: 0 0 18px rgba(155,47,255,.5);
}
.logo-text{ font-weight:700; letter-spacing:1px; font-size:1.05rem; }
.logo-text em{ font-style:normal; color: var(--orange); }

.nav-links{ display:flex; align-items:center; gap: clamp(10px, 1.6vw, 26px); }
.nav-link{
  font-size:.85rem; font-weight:500; color: var(--ink-dim); position:relative; padding:6px 2px;
  transition: color .25s ease;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background: linear-gradient(90deg, var(--orange), var(--purple)); transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active{ color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }
.nav-dash{ display:flex; align-items:center; gap:6px; color: var(--orange-2); }

.nav-actions{ display:flex; align-items:center; gap:10px; }
.icon-btn{
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--panel-border); background: var(--panel); color: var(--ink);
  transition: all .25s var(--ease);
}
.icon-btn:hover{ border-color: var(--purple); box-shadow: 0 0 16px rgba(155,47,255,.4); transform: translateY(-2px); }

.hamburger{ display:none; flex-direction:column; gap:5px; width:34px; height:34px; align-items:center; justify-content:center; }
.hamburger span{ width:20px; height:2px; background: var(--ink); border-radius:2px; transition: all .3s ease; }

/* ================= HERO ================= */
.hero{
  min-height:100vh; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding: 140px 20px 80px; overflow:hidden; z-index:1;
}
.hero-grid{
  position:absolute; inset:0; z-index:-2;
  background-image:
    linear-gradient(rgba(155,47,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,47,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
}
.hero::before{
  content:''; position:absolute; inset:0; z-index:-3;
  background:
    radial-gradient(ellipse 60% 45% at 20% 15%, rgba(255,122,26,.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(155,47,255,.22), transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(91,18,184,.2), transparent 60%);
}

.hero-floaters{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.floater{
  position:absolute; width:56px; height:56px; border-radius:16px;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.8rem;
  background: var(--panel); border:1px solid var(--panel-border); backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  animation: floaty 7s ease-in-out infinite;
}
.floater img{ width:60%; }
@keyframes floaty{ 0%,100%{ transform: translateY(0) rotate(0deg);} 50%{ transform: translateY(-22px) rotate(6deg);} }

.hero-content{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; max-width:760px; }
.hero-eyebrow{
  display:flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size:.72rem; letter-spacing:3px;
  color: var(--ink-dim); text-transform:uppercase; margin:0 0 28px;
}
.eyebrow-dot{ width:8px; height:8px; border-radius:50%; background: var(--success); box-shadow:0 0 10px var(--success); animation: pulseDot 1.6s infinite; }
@keyframes pulseDot{ 0%,100%{opacity:1;} 50%{opacity:.35;} }

.hero-portrait{ position:relative; width: clamp(150px, 22vw, 200px); height: clamp(150px,22vw,200px); margin-bottom:26px; }
.portrait-glow{
  position:absolute; inset:-30px; border-radius:50%;
  background: radial-gradient(circle, rgba(155,47,255,.4), rgba(255,122,26,.15) 55%, transparent 75%);
  filter: blur(18px); animation: glowpulse 3.4s ease-in-out infinite;
}
@keyframes glowpulse{ 0%,100%{ opacity:.7; transform:scale(1);} 50%{ opacity:1; transform:scale(1.08);} }
.portrait-img{ position:relative; width:100%; height:100%; border-radius:50%; object-fit:cover; z-index:1; }
.portrait-ring{ position:absolute; inset:-8px; z-index:2; }
.portrait-ring circle{ fill:none; stroke: url(#ringGrad); stroke-width:2; stroke-dasharray: 20 12; animation: ringturn 12s linear infinite; }
@keyframes ringturn{ to{ transform: rotate(360deg); } }

.hero-name{ font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight:900; letter-spacing:2px; margin:0 0 6px; }
.hero-role{ font-family: var(--font-mono); font-size: clamp(.95rem, 2vw, 1.25rem); color: var(--orange-2); font-weight:500; min-height: 1.6em; margin: 0 0 14px; }
.type-caret{ animation: caretBlink .8s infinite; color: var(--purple-2); }
@keyframes caretBlink{ 50%{ opacity:0; } }
.hero-tagline{ font-size: clamp(1rem, 2vw, 1.2rem); color: var(--ink-dim); margin: 0 0 34px; font-weight:300; letter-spacing:.5px; }

.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-bottom:56px; }

.btn{
  display:inline-flex; align-items:center; gap:10px; padding: 14px 30px; border-radius:99px;
  font-weight:600; font-size:.92rem; letter-spacing:.3px; position:relative; overflow:hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary{
  background: linear-gradient(120deg, var(--orange), var(--purple));
  color:#fff; box-shadow: 0 0 20px rgba(155,47,255,.35), 0 4px 20px rgba(255,122,26,.2);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 0 34px rgba(155,47,255,.6), 0 8px 26px rgba(255,122,26,.3); }
.btn-ghost{ border:1px solid var(--panel-border); background: var(--panel); backdrop-filter: blur(10px); }
.btn-ghost:hover{ border-color: var(--purple); box-shadow: 0 0 20px rgba(155,47,255,.3); transform: translateY(-3px); }

.hero-stats{ display:flex; gap: clamp(24px,5vw,60px); flex-wrap:wrap; justify-content:center; }
.stat{ display:flex; flex-direction:column; align-items:center; gap:4px; }
.stat-num{ font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight:900;
  background: linear-gradient(100deg, var(--orange-2), var(--purple-2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-label{ font-size:.75rem; color: var(--ink-faint); letter-spacing:.5px; }

.scroll-cue{
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%); color: var(--ink-faint);
  animation: bounce 2s infinite; font-size:1.1rem; z-index:2;
}
@keyframes bounce{ 0%,100%{ transform:translate(-50%,0);} 50%{ transform:translate(-50%,8px);} }

/* ================= SECTIONS (generic) ================= */
.section{ position:relative; z-index:1; padding: 110px clamp(18px,5vw,60px); }
.section-alt{ background: linear-gradient(180deg, transparent, rgba(155,47,255,.04) 15%, rgba(155,47,255,.04) 85%, transparent); }
.section-head{ max-width:720px; margin: 0 auto 56px; text-align:center; }
.section-eyebrow{ font-family: var(--font-mono); font-size:.72rem; letter-spacing:3px; color: var(--orange-2); margin:0 0 12px; }
.section-title{ font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight:700; margin:0 0 14px; }
.section-sub{ color: var(--ink-dim); font-size:1rem; line-height:1.6; margin:0; }

/* ================= GLASS CARD ================= */
.glass-card{
  background: var(--panel); border:1px solid var(--panel-border); border-radius: var(--radius-lg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

/* ================= SKILLS ================= */
.skills-grid{
  max-width:1100px; margin:0 auto; display:grid; grid-template-columns: repeat(2, 1fr); gap:20px 40px;
}
.skill-item{ }
.skill-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; font-size:.92rem; }
.skill-name{ display:flex; align-items:center; gap:10px; font-weight:600; }
.skill-percent{ font-family: var(--font-mono); color: var(--orange-2); }
.skill-track{ height:9px; border-radius:99px; background: rgba(255,255,255,.06); overflow:hidden; position:relative; }
.skill-fill{
  height:100%; width:0%; border-radius:99px; position:relative;
  background: linear-gradient(90deg, var(--orange), var(--purple));
  box-shadow: 0 0 14px rgba(155,47,255,.5);
  transition: width 1.4s var(--ease);
}
.skill-fill::after{
  content:''; position:absolute; inset:0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  width:40px; animation: shimmer 2.2s infinite;
}
@keyframes shimmer{ 0%{ transform: translateX(-40px);} 100%{ transform: translateX(340px);} }

/* ================= PORTFOLIO ================= */
.portfolio-toolbar{ max-width:1100px; margin: 0 auto 24px; display:flex; gap:16px; flex-wrap:wrap; }
.search-box{
  flex:1; min-width:240px; display:flex; align-items:center; gap:10px; padding: 12px 18px;
  background: var(--panel); border:1px solid var(--panel-border); border-radius:99px;
  transition: border-color .3s ease;
}
.search-box:focus-within{ border-color: var(--purple); box-shadow: 0 0 16px rgba(155,47,255,.25); }
.search-box i{ color: var(--ink-faint); }
.search-box input{ flex:1; background:none; border:none; outline:none; color: var(--ink); font-size:.9rem; }
.filter-select{
  padding: 12px 18px; background: var(--panel); border:1px solid var(--panel-border); border-radius:99px;
  color: var(--ink); font-size:.85rem; outline:none;
}

.category-chips{ max-width:1100px; margin:0 auto 34px; display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  padding:8px 18px; border-radius:99px; font-size:.8rem; border:1px solid var(--panel-border);
  background: var(--panel); color: var(--ink-dim); transition: all .25s ease;
}
.chip:hover{ color: var(--ink); border-color: var(--purple-2); }
.chip.active{ background: linear-gradient(120deg, var(--orange), var(--purple)); color:#fff; border-color:transparent; }

.masonry-grid{
  max-width:1300px; margin:0 auto; column-count:3; column-gap:22px;
}
@media (max-width:1000px){ .masonry-grid{ column-count:2; } }
@media (max-width:640px){ .masonry-grid{ column-count:1; } }

.project-card{
  break-inside: avoid; margin-bottom:22px; border-radius: var(--radius-lg); overflow:hidden; position:relative;
  background: var(--panel); border:1px solid var(--panel-border);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.project-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: rgba(155,47,255,.4); }
.pc-media{ position:relative; width:100%; overflow:hidden; background:#111; }
.pc-media img, .pc-media video{ width:100%; display:block; transition: transform .6s var(--ease); }
.project-card:hover .pc-media img, .project-card:hover .pc-media video{ transform: scale(1.06); }
.pc-badge{
  position:absolute; top:12px; left:12px; padding:4px 12px; border-radius:99px; font-size:.68rem; font-weight:700;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px); letter-spacing:.5px; color: var(--orange-2);
  border:1px solid rgba(255,122,26,.4);
}
.pc-featured{
  position:absolute; top:12px; right:12px; padding:4px 10px; border-radius:99px; font-size:.68rem; font-weight:700;
  background: linear-gradient(120deg, var(--orange), var(--purple)); color:#fff;
}
.pc-overlay{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:14px;
  background: rgba(6,6,10,.55); opacity:0; transition: opacity .35s ease;
}
.project-card:hover .pc-overlay{ opacity:1; }
.pc-overlay button{
  width:44px; height:44px; border-radius:50%; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:#fff; display:flex; align-items:center; justify-content:center; backdrop-filter: blur(6px); transition: all .25s ease;
}
.pc-overlay button:hover{ background: linear-gradient(120deg, var(--orange), var(--purple)); transform: scale(1.1); }

.pc-body{ padding:18px 20px 20px; }
.pc-title{ font-weight:700; font-size:1.05rem; margin:0 0 4px; }
.pc-desc{ font-size:.85rem; color: var(--ink-dim); margin:0 0 12px; line-height:1.5; }
.pc-meta-row{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.pc-tag{ font-size:.68rem; padding:3px 10px; border-radius:99px; background: rgba(155,47,255,.12); color: var(--purple-2); border:1px solid rgba(155,47,255,.25); }
.pc-soft{ font-size:.68rem; padding:3px 10px; border-radius:99px; background: rgba(255,122,26,.1); color: var(--orange-2); border:1px solid rgba(255,122,26,.25); }
.pc-footer{ display:flex; align-items:center; justify-content:space-between; font-size:.75rem; color: var(--ink-faint); border-top:1px solid var(--panel-border); padding-top:12px; }
.pc-stats{ display:flex; gap:14px; }
.pc-stats span{ display:flex; align-items:center; gap:5px; }
.pc-actions{ display:flex; gap:6px; }
.pc-actions button{ width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; color: var(--ink-dim); transition: all .2s ease; }
.pc-actions button:hover{ color: var(--orange-2); background: rgba(255,122,26,.1); }
.pc-actions button.liked{ color: var(--orange); }

.empty-state{ text-align:center; color: var(--ink-faint); padding:40px; font-size:.95rem; }

/* ================= FEATURED PROJECTS ROW ================= */
.projects-row{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .projects-row{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:600px){ .projects-row{ grid-template-columns: 1fr;} }
.proj-card{ padding:0; overflow:hidden; }
.proj-media{ height:180px; overflow:hidden; }
.proj-media img{ width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.proj-card:hover .proj-media img{ transform: scale(1.08); }
.proj-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(155,47,255,.4); }
.proj-body{ padding:18px 20px; }
.proj-body h4{ margin:0 0 6px; }
.proj-body p{ margin:0; font-size:.85rem; color: var(--ink-dim); }
.proj-link{ display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-size:.82rem; color: var(--orange-2); font-weight:600; }

/* ================= SERVICES ================= */
.services-grid{ max-width:1100px; margin:0 auto; display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
@media (max-width:900px){ .services-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:520px){ .services-grid{ grid-template-columns: 1fr;} }
.service-card{ padding:28px 24px; text-align:center; }
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: rgba(255,122,26,.4); }
.service-icon{
  width:58px; height:58px; margin:0 auto 16px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(255,122,26,.18), rgba(155,47,255,.22)); font-size:1.4rem; color: var(--orange-2);
}
.service-card h3{ margin:0 0 8px; font-size:1.05rem; }
.service-card p{ margin:0; font-size:.85rem; color: var(--ink-dim); line-height:1.5; }

/* ================= ABOUT ================= */
.about-wrap{ max-width:1100px; margin:0 auto; display:grid; grid-template-columns: .8fr 1.2fr; gap:56px; align-items:center; }
@media (max-width:820px){ .about-wrap{ grid-template-columns:1fr; } }
.about-photo-frame{
  position:relative; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--panel-border);
  box-shadow: var(--shadow-glow);
}
.about-photo-frame img{ width:100%; display:block; }
.about-copy p{ color: var(--ink-dim); line-height:1.75; font-size:.98rem; }
.learning-tags{ display:flex; flex-wrap:wrap; gap:8px; margin: 14px 0 26px; }
.learning-tags span{
  font-size:.75rem; padding:6px 14px; border-radius:99px; background: var(--panel); border:1px solid var(--panel-border); color: var(--ink);
}

/* ================= TESTIMONIALS ================= */
.testi-track{ max-width:1100px; margin:0 auto; display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .testi-track{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:600px){ .testi-track{ grid-template-columns: 1fr;} }
.testi-card{ padding:26px 24px; }
.testi-stars{ color: var(--orange-2); margin-bottom:12px; font-size:.85rem; }
.testi-text{ font-size:.9rem; color: var(--ink-dim); line-height:1.6; margin:0 0 18px; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.testi-avatar{
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700;
  background: linear-gradient(135deg, var(--orange), var(--purple)); color:#fff; font-size:.85rem;
}
.testi-name{ font-weight:700; font-size:.88rem; }
.testi-role{ font-size:.75rem; color: var(--ink-faint); }

/* ================= FAQ ================= */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ padding:0; overflow:hidden; }
.faq-q{ display:flex; align-items:center; justify-content:space-between; padding:18px 22px; font-weight:600; font-size:.95rem; }
.faq-q i{ transition: transform .3s ease; color: var(--orange-2); }
.faq-item.open .faq-q i{ transform: rotate(180deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .35s var(--ease); padding: 0 22px; }
.faq-item.open .faq-a{ max-height:200px; padding-bottom:18px; }
.faq-a p{ margin:0; color: var(--ink-dim); font-size:.88rem; line-height:1.6; }

/* ================= CONTACT ================= */
.contact-grid{ max-width:1000px; margin:0 auto; display:grid; grid-template-columns: repeat(5,1fr); gap:18px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns: repeat(3,1fr);} }
@media (max-width:560px){ .contact-grid{ grid-template-columns: repeat(2,1fr);} }
.contact-card{
  display:flex; flex-direction:column; align-items:center; gap:10px; padding:26px 14px; text-align:center; font-size:.85rem; font-weight:600;
}
.contact-card i{ font-size:1.6rem; color: var(--orange-2); }
.contact-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(155,47,255,.4); }

/* ================= DASHBOARD ================= */
.dash-lock{ max-width:420px; margin:0 auto; padding:44px 34px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:14px; }
.lock-icon{ font-size:2.2rem; color: var(--purple-2); }
.dash-lock input{
  width:100%; padding:13px 18px; border-radius:99px; background: rgba(255,255,255,.05); border:1px solid var(--panel-border);
  color: var(--ink); outline:none; text-align:center; font-size:1rem; letter-spacing:2px;
}
.dash-lock input:focus{ border-color: var(--purple); }
.lock-hint{ font-size:.72rem; color: var(--ink-faint); margin-top:6px; }
.lock-hint code{ background: rgba(255,255,255,.06); padding:2px 6px; border-radius:6px; font-family: var(--font-mono); }

.dash-panel{ max-width:900px; margin:0 auto; }
.dash-tabs{ display:flex; gap:10px; margin-bottom:26px; flex-wrap:wrap; }
.dash-tab{
  padding:10px 20px; border-radius:99px; background: var(--panel); border:1px solid var(--panel-border); font-size:.85rem; font-weight:600;
  color: var(--ink-dim); display:flex; align-items:center; gap:8px; transition: all .25s ease;
}
.dash-tab.active{ background: linear-gradient(120deg, var(--orange), var(--purple)); color:#fff; border-color:transparent; }
.dash-tab-panel{ display:none; }
.dash-tab-panel.active{ display:block; }

.upload-form{ padding:30px; display:flex; flex-direction:column; gap:18px; }
.upload-form label{ display:flex; flex-direction:column; gap:8px; font-size:.85rem; color: var(--ink-dim); font-weight:600; }
.upload-form input[type=text], .upload-form input[type=password], .upload-form textarea, .upload-form select, .upload-form input[type=file]{
  padding:12px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border:1px solid var(--panel-border);
  color: var(--ink); outline:none; font-size:.9rem; font-weight:400;
}
.upload-form input:focus, .upload-form textarea:focus, .upload-form select:focus{ border-color: var(--purple); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
.checkbox-row{ flex-direction:row !important; align-items:center; gap:10px !important; }
.checkbox-row input{ width:18px; height:18px; }

.upload-progress-wrap{ display:flex; flex-direction:column; gap:6px; }
.upload-progress-bar{ height:8px; border-radius:99px; background: rgba(255,255,255,.08); overflow:hidden; }
#uploadProgressFill{ height:100%; width:0%; background: linear-gradient(90deg, var(--orange), var(--purple)); transition: width .2s ease; }
#uploadProgressText{ font-size:.75rem; color: var(--ink-faint); }

.manage-list{ display:flex; flex-direction:column; gap:14px; }
.manage-item{
  display:flex; align-items:center; gap:16px; padding:14px 18px; border-radius: var(--radius-md);
  background: var(--panel); border:1px solid var(--panel-border);
}
.manage-thumb{ width:56px; height:56px; border-radius:10px; object-fit:cover; flex-shrink:0; background:#111; }
.manage-info{ flex:1; min-width:0; }
.manage-info h4{ margin:0 0 3px; font-size:.9rem; }
.manage-info span{ font-size:.72rem; color: var(--ink-faint); }
.manage-actions{ display:flex; gap:8px; }
.manage-actions button{ width:34px; height:34px; border-radius:8px; background: rgba(255,255,255,.05); display:flex; align-items:center; justify-content:center; color: var(--ink-dim); transition: all .2s ease; }
.manage-actions button:hover{ color: var(--orange-2); }
.manage-actions button.danger:hover{ color: #ff5757; background: rgba(255,87,87,.1); }

.logout-btn{ margin-top:26px; }

/* ================= MODAL ================= */
.modal-overlay{
  position: fixed; inset:0; background: rgba(4,4,8,.9); backdrop-filter: blur(10px); z-index: 9500;
  display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition: opacity .35s ease, visibility .35s ease;
  padding: 40px 20px;
}
.modal-overlay.active{ opacity:1; visibility:visible; }
.modal-content{ max-width:900px; max-height:85vh; width:100%; }
.modal-content img, .modal-content video{ width:100%; max-height:80vh; object-fit:contain; border-radius: var(--radius-md); }
.modal-close{
  position:absolute; top:26px; right:30px; width:46px; height:46px; border-radius:50%; background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem; transition: all .25s ease;
}
.modal-close:hover{ background: linear-gradient(120deg, var(--orange), var(--purple)); transform: rotate(90deg); }

/* ================= TOAST ================= */
.toast{
  position: fixed; bottom:30px; left:50%; transform: translateX(-50%) translateY(20px); z-index: 9999;
  background: rgba(10,10,14,.92); border:1px solid var(--panel-border); backdrop-filter: blur(10px);
  padding:14px 26px; border-radius:99px; font-size:.85rem; opacity:0; pointer-events:none; transition: all .35s var(--ease);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ================= BACK TO TOP ================= */
.back-to-top{
  position: fixed; bottom:26px; right:26px; width:48px; height:48px; border-radius:50%; z-index: 900;
  background: linear-gradient(135deg, var(--orange), var(--purple)); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 0 20px rgba(155,47,255,.4); opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .35s var(--ease);
}
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ transform: translateY(-4px) scale(1.05); }

/* ================= FOOTER ================= */
.footer{ position:relative; z-index:1; padding: 60px clamp(18px,5vw,60px) 30px; border-top:1px solid var(--panel-border); }
.footer-top{ max-width:1200px; margin:0 auto; display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; }
.footer-top p{ color: var(--ink-dim); font-size:.9rem; }
.footer-socials{ display:flex; gap:14px; margin-bottom:20px; }
.footer-socials a{
  width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: var(--panel); border:1px solid var(--panel-border); font-size:1.05rem; transition: all .25s ease;
}
.footer-socials a:hover{ background: linear-gradient(135deg, var(--orange), var(--purple)); color:#fff; transform: translateY(-4px); }
.footer-bottom{
  max-width:1200px; margin:30px auto 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:.78rem; color: var(--ink-faint); border-top:1px solid var(--panel-border); padding-top:22px;
}

/* ================= RESPONSIVE NAV ================= */
@media (max-width: 980px){
  .nav-links{
    position: fixed; top:0; right:-100%; height:100vh; width:min(300px,80vw);
    background: rgba(8,8,12,.97); backdrop-filter: blur(20px); flex-direction:column; justify-content:center;
    gap:28px; transition: right .4s var(--ease); border-left:1px solid var(--panel-border);
  }
  html[data-theme="light"] .nav-links{ background: rgba(250,249,253,.97); }
  .nav-links.open{ right:0; }
  .hamburger{ display:flex; }
  .skills-grid{ grid-template-columns: 1fr; }
}
@media (max-width:640px){
  .hero-cta{ flex-direction:column; width:100%; }
  .btn{ justify-content:center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count:1 !important; transition-duration: .001ms !important; scroll-behavior:auto !important; }
}
