/* ============================================================
   Vindev — Premium Portfolio
   Struktur CSS:
   1. Variables & Reset
   2. Utilities & Layout
   3. Loading Screen
   4. Cursor & Mouse Glow
   5. Navbar
   6. Hero
   7. About
   8. Stats
   9. Services
   10. Portfolio + Modal
   11. Pricing
   12. Workflow
   13. Testimonial
   14. FAQ
   15. Contact
   16. Footer
   17. Animations & Reveal
   18. Responsive
============================================================ */

/* ---------- 1. Variables & Reset ---------- */
:root {
  --bg: #09090b;
  --bg-soft: #101014;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #85858f;
  --accent: #1B4EF5;         /* indigo */
  --accent-2: #5996FF;       /* violet */
  --accent-3: #3874FF;       /* blue */
  --gradient: linear-gradient(135deg, #1B4EF5 0%, #5996FF 50%, #3874FF 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(99, 102, 241, 0.4); color: #fff; }

/* Scrollbar halus */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ---------- 2. Utilities & Layout ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

section { padding: 120px 0; position: relative; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-2);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
}
.section-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px;
  text-wrap: balance;
}
.section-title .grad {
  background: var(--gradient); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 100% 100%;
}
.section-sub {
  color: var(--text-muted); font-size: 17px; max-width: 560px;
  margin-bottom: 56px; text-wrap: pretty;
}
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* Tombol utama */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 12px; font-size: 15px; font-weight: 600;
  border: none; overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--gradient); background-size: 100% 100%; color: #fff;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 44px rgba(99, 102, 241, 0.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--border-hover); background: rgba(255, 255, 255, 0.07); }

/* Efek shine pada tombol */
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* Ripple click */
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, 0.4); transform: scale(0);
  animation: rippleAnim 0.6s ease-out forwards;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* Card glass dasar */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
/* Refleksi kaca tipis di bagian atas card */
.glass::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

/* ---------- 3. Loading Screen ---------- */
#loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-logo {
  font-size: 44px; font-weight: 900; letter-spacing: -0.04em;
  background: var(--gradient); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse { 0%, 100% { opacity: 0.5; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1); } }
.loader-bar { width: 180px; height: 3px; background: #1c1c22; border-radius: 4px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--gradient); transition: width 0.3s ease; }

/* ---------- 4. Cursor & Mouse Glow ---------- */
#cursor-dot, #cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9000;
  border-radius: 50%; transform: translate(-50%, -50%);
}
#cursor-dot { width: 7px; height: 7px; background: #fff; transition: opacity 0.3s; }
#cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid rgba(139, 92, 246, 0.6);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, opacity 0.3s;
}
#cursor-ring.active { width: 56px; height: 56px; border-color: rgba(139, 92, 246, 1); }

#mouse-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px;
  pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 65%);
  transform: translate(-50%, -50%); border-radius: 50%;
}

@media (hover: none) {
  #cursor-dot, #cursor-ring, #mouse-glow { display: none; }
}

/* ---------- 5. Navbar ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(9, 9, 11, 0.75); backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-size: 22px; font-weight: 900; letter-spacing: -0.03em;
}
.nav-logo span { color: var(--accent-2); }
.nav-logo img { display:block; max-width: 170px; height: 44px; object-fit: contain; }
.loader-logo img { display:block; max-width: 210px; max-height: 92px; object-fit: contain; }
.theme-logo-light { display:none !important; }
html.light-theme .theme-logo-dark { display:none !important; }
html.light-theme .theme-logo-light { display:block !important; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-muted);
  border-radius: 8px; transition: color 0.25s, background 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-mobile-actions { display: none; }
.nav-cta { display: inline-flex; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }

/* Hamburger */
#hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; z-index: 600;
}
#hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.35s var(--ease); }
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 80px; overflow: hidden;
}
.hero-inner { position: relative; z-index: 3; max-width: 780px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border); padding: 7px 16px; border-radius: 999px; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.65); animation: pulseDot 3.8s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px rgba(34,197,94,.55); } 50% { opacity: .72; transform: scale(1.22); box-shadow: 0 0 22px rgba(34,197,94,.35); } }

.hero-name {
  font-size: clamp(72px, 14vw, 160px); font-weight: 900; letter-spacing: -0.05em;
  line-height: 0.95; margin-bottom: 8px;
  background: linear-gradient(180deg, #ffffff 30%, #71717a 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-roles {
  font-size: clamp(20px, 3vw, 28px); font-weight: 600; min-height: 42px;
  margin-bottom: 20px; display: flex; align-items: center; gap: 4px;
}
.hero-roles .typed {
  background: var(--gradient); background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.type-caret {
  display: inline-block; width: 3px; height: 1.1em; background: var(--accent-2);
  animation: caretBlink 0.9s step-end infinite; border-radius: 2px;
}
@keyframes caretBlink { 50% { opacity: 0; } }

.hero-desc {
  font-size: 17px; color: var(--text-muted); max-width: 520px;
  margin-bottom: 40px; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Animated blobs */
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35;
  pointer-events: none; z-index: 1; will-change: transform;
}
.blob-1 {
  width: 480px; height: 480px; top: -10%; right: -8%;
  background: radial-gradient(circle, #1B4EF5, transparent 70%);
  animation: blobFloat 14s ease-in-out infinite;
}
.blob-2 {
  width: 380px; height: 380px; bottom: -5%; left: -10%;
  background: radial-gradient(circle, #5996FF, transparent 70%);
  animation: blobFloat 18s ease-in-out infinite reverse;
}
.blob-3 {
  width: 300px; height: 300px; top: 40%; left: 45%;
  background: radial-gradient(circle, #3874FF, transparent 70%);
  opacity: 0.2; animation: blobFloat 22s ease-in-out infinite 2s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.94); }
}

/* Floating shapes */
.shape {
  position: absolute; pointer-events: none; z-index: 2; opacity: 0.5;
  border: 1px solid rgba(139, 92, 246, 0.4); will-change: transform;
}
.shape-sq { width: 26px; height: 26px; border-radius: 6px; top: 24%; right: 20%; animation: floatShape 9s ease-in-out infinite; }
.shape-cr { width: 18px; height: 18px; border-radius: 50%; top: 62%; right: 12%; border-color: rgba(59, 130, 246, 0.5); animation: floatShape 11s ease-in-out infinite 1s; }
.shape-tr {
  width: 0; height: 0; border: none; top: 74%; left: 16%;
  border-left: 12px solid transparent; border-right: 12px solid transparent;
  border-bottom: 20px solid rgba(99, 102, 241, 0.35);
  animation: floatShape 13s ease-in-out infinite 2s;
}
.shape-plus { top: 18%; left: 8%; font-size: 24px; color: rgba(139, 92, 246, 0.5); border: none; animation: floatShape 10s ease-in-out infinite 0.5s; }
@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-28px) rotate(20deg); }
}

/* Particles canvas */
#particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Grid halus di background hero */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-dim); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  z-index: 3;
}
.scroll-hint .mouse {
  width: 24px; height: 38px; border: 1.5px solid var(--text-dim); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-hint .wheel {
  width: 3px; height: 8px; background: var(--accent-2); border-radius: 3px;
  animation: wheelScroll 1.8s ease infinite;
}
@keyframes wheelScroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 7. About ---------- */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }

.about-photo-card { padding: 40px; text-align: center; }
.about-avatar {
  width: 170px; height: 170px; border-radius: 50%; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; font-weight: 900; color: #fff;
  background: var(--gradient); background-size: 100% 100%;
  position: relative;
  box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.12), 0 0 60px rgba(99, 102, 241, 0.35);
}
.about-avatar::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1.5px dashed rgba(139, 92, 246, 0.4);
  animation: spinSlow 20s linear infinite;
}
.about-avatar.has-image { font-size: 0; }
.about-avatar.has-image img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; display: block; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.about-photo-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.about-photo-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.about-tags span {
  font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
}

.about-story p { color: var(--text-muted); margin-bottom: 18px; font-size: 16px; }
.about-story strong { color: var(--text); font-weight: 600; }

/* Skill bars */
.skills { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.skill-row .skill-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.skill-row .skill-head span:last-child { color: var(--accent-2); }
.skill-bar { height: 8px; background: rgba(255, 255, 255, 0.06); border-radius: 6px; overflow: hidden; }
.skill-fill {
  height: 100%; width: 0; border-radius: 6px;
  background: var(--gradient); background-size: 100% 100%;
  transition: width 1.4s var(--ease);
}

/* Tech stack chips */
.tech-stack { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.tech-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 500;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.tech-chip:hover { border-color: rgba(139, 92, 246, 0.5); transform: translateY(-3px); background: rgba(139, 92, 246, 0.08); }
.tech-chip svg { width: 16px; height: 16px; color: var(--accent-2); }

/* ---------- 8. Stats ---------- */
#stats { padding: 60px 0; }
.stats-card { padding: 48px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 48px; background: var(--border);
}
.stat-num {
  font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-muted); font-size: 14px; font-weight: 500; margin-top: 4px; }

/* ---------- 9. Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.services-grid > :last-child:nth-child(4n + 1) {
  grid-column: 2 / 4;
  justify-self: center;
  width: calc(50% - 10px);
}
.service-card {
  padding: 32px 26px; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-8px); border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(99, 102, 241, 0.1);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.25);
  transition: transform 0.4s var(--ease), background 0.4s;
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); background: rgba(139, 92, 246, 0.18); }
.service-icon svg { width: 24px; height: 24px; color: #a5b4fc; }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-muted); }

/* ---------- 10. Portfolio ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, 0.04); color: var(--text-muted);
  border: 1px solid var(--border); transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--border-hover); }
.filter-btn.active {
  background: var(--gradient); color: #fff; border-color: transparent;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
}

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf-item {
  border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative;
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), border-color 0.4s;
  will-change: transform, opacity;
}
.pf-item.hidden-item { display: none; }
.pf-item:hover { border-color: rgba(139, 92, 246, 0.5); }
/* Beberapa item lebih tinggi untuk efek masonry */
.pf-item.tall .pf-thumb { height: 340px; }
.pf-thumb {
  height: 240px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.pf-thumb-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* Mockup mini di dalam thumbnail */
.pf-mock {
  width: 78%; background: rgba(9, 9, 11, 0.75); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; padding: 12px; backdrop-filter: blur(6px);
  transition: transform 0.6s var(--ease);
}
.pf-item:hover .pf-mock { transform: translateY(-8px) scale(1.03); }
.pf-mock .m-dots { display: flex; gap: 5px; margin-bottom: 10px; }
.pf-mock .m-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.pf-mock .m-line { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); margin-bottom: 7px; }
.pf-mock .m-line.short { width: 55%; }
.pf-mock .m-line.accent { background: linear-gradient(90deg, rgba(99,102,241,0.7), rgba(139,92,246,0.7)); width: 40%; }
.pf-mock .m-blocks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 10px; }
.pf-mock .m-blocks i { height: 26px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }

.pf-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; opacity: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(9, 9, 11, 0.92));
  transition: opacity 0.4s ease;
}
.pf-item:hover .pf-overlay { opacity: 1; }
.pf-overlay .pf-cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-2); margin-bottom: 4px; }
.pf-overlay h3 { font-size: 18px; font-weight: 700; transform: translateY(10px); transition: transform 0.4s var(--ease); }
.pf-item:hover .pf-overlay h3 { transform: translateY(0); }
.pf-overlay .pf-open {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.6); transition: transform 0.4s var(--ease);
}
.pf-item:hover .pf-open { transform: scale(1); }
.pf-open svg { width: 16px; height: 16px; }

/* Modal */
#modal {
  position: fixed; inset: 0; z-index: 800; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
}
#modal.show { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9, 9, 11, 0.8); backdrop-filter: blur(8px); }
.modal-box {
  position: relative; z-index: 2; width: 100%; max-width: 640px;
  background: #101014; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease); box-shadow: var(--shadow);
  max-height: 85vh; overflow-y: auto;
}
#modal.show .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.12); }
.modal-thumb {
  height: 220px; border-radius: var(--radius); margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
#modal-cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-2); }
#modal-title { font-size: 26px; font-weight: 800; margin: 6px 0 12px; letter-spacing: -0.02em; }
#modal-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }
.modal-tech { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-tech span {
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.25); color: #c7d2fe;
}

/* ---------- 11. Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  padding: 40px 32px; position: relative; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s;
  --mx: 50%; --my: 50%;
}
/* Efek spotlight mengikuti cursor */
.price-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(139, 92, 246, 0.12), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.price-card:hover::after { opacity: 1; }
.price-card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.4); }
.price-card.featured {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.15);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.price-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.price-card .p-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.price-amount { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.price-amount small { font-size: 15px; font-weight: 500; color: var(--text-dim); }
.price-from { font-size: 13px; color: var(--text-dim); margin-bottom: 28px; }
.price-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex: 1; }
.price-list li { display: flex; gap: 10px; font-size: 14px; color: var(--text-muted); align-items: flex-start; }
.price-list svg { width: 17px; height: 17px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- 12. Workflow ---------- */
.workflow-track { position: relative; margin-top: 24px; }
.wf-line {
  position: absolute; top: 27px; left: 0; right: 0; height: 2px;
  background: rgba(255, 255, 255, 0.07); border-radius: 2px; overflow: hidden;
}
.wf-line span {
  display: block; height: 100%; width: 0; background: var(--gradient);
  transition: width 2.2s var(--ease);
}
.wf-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.wf-step { text-align: center; }
.wf-dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--text-muted); position: relative; z-index: 2;
  transition: all 0.5s var(--ease);
}
.wf-step.lit .wf-dot {
  border-color: var(--accent-2); color: #fff;
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.35);
}
.wf-step h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.wf-step p { font-size: 12.5px; color: var(--text-dim); }

/* ---------- 13. Testimonial ---------- */
.testi-wrap { overflow: hidden; position: relative; }
.testi-track { display: flex; gap: 24px; will-change: transform; }
.testi-card {
  min-width: calc(33.333% - 16px); padding: 30px; flex-shrink: 0;
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testi-stars svg { width: 16px; height: 16px; color: #fbbf24; fill: #fbbf24; }
.testi-text { font-size: 14.5px; color: var(--text-muted); margin-bottom: 24px; font-style: italic; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-ava {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #fff;
}
.testi-user strong { display: block; font-size: 14px; font-weight: 600; }
.testi-user p { font-size: 12.5px; color: var(--text-dim); }
.testi-fade-l, .testi-fade-r {
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.testi-fade-l { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.testi-fade-r { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

/* ---------- 14. FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border-radius: var(--radius); transition: border-color 0.3s; }
.faq-item[open] { border-color: rgba(139, 92, 246, 0.4); background:rgba(255,255,255,.045); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; background: none; border: none; color: var(--text);
  font-size: 15.5px; font-weight: 600; text-align: left;
}
.faq-q svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; transition: transform 0.4s var(--ease); }
.faq-q::-webkit-details-marker{display:none}.faq-q{list-style:none;cursor:pointer}.faq-item[open] .faq-q svg { transform: rotate(45deg); }.faq-a{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .4s var(--ease),opacity .3s ease}.faq-a>div{overflow:hidden}.faq-item[open] .faq-a{grid-template-rows:1fr;opacity:1}
.faq-a p { padding: 0 26px 22px; color: var(--text-muted); font-size: 14.5px; }

/* ---------- 15. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.contact-form-card { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-family: inherit; font-size: 15px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
#form-status { font-size: 14px; margin-top: 14px; color: #22c55e; display: none; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-links-card { padding: 32px; flex: 1; }
.contact-links-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.c-link {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px;
  transition: background 0.3s, transform 0.3s var(--ease); margin-bottom: 4px;
}
.c-link:hover { background: rgba(255, 255, 255, 0.05); transform: translateX(4px); }
.c-link .c-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.c-link .c-icon svg { width: 18px; height: 18px; color: #a5b4fc; }
.c-link strong { display: block; font-size: 14px; font-weight: 600; }
.c-link p { font-size: 12.5px; color: var(--text-dim); }

.map-card {
  height: 180px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; color: var(--text-dim); font-size: 13.5px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-pin {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.4);
  display: flex; align-items: center; justify-content: center;
  animation: pinBounce 2.4s ease-in-out infinite;
}
.map-pin svg { width: 20px; height: 20px; color: var(--accent-2); }
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 16. Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-inner p { color: var(--text-dim); font-size: 13.5px; }
.footer-social { display: flex; justify-content: center; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { border-color: rgba(139, 92, 246, 0.5); transform: translateY(-3px); background: rgba(139, 92, 246, 0.1); }
.footer-social svg { width: 16px; height: 16px; color: var(--text-muted); }
.footer-legal {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 10px 18px; margin-top: 18px; color: var(--text-muted); font-size: 13px;
}
.footer-legal a { transition: color 0.25s ease; }
.footer-legal a:hover { color: var(--text); }

#back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gradient); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.4s var(--ease); box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
}
#back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-top svg { width: 18px; height: 18px; }

/* ---------- 17. Reveal Animations ---------- */
.reveal { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal.fade-up { transform: translateY(40px); }
.reveal.fade-left { transform: translateX(-40px); }
.reveal.fade-right { transform: translateX(40px); }
.reveal.scale-in { transform: scale(0.9); }
.reveal.visible { opacity: 1; transform: none; }
/* Stagger delay */
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .vindev-ai-typing span, .vindev-ai-typing::before { animation-duration: 1.8s !important; animation-iteration-count: infinite !important; }
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > :last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 10px);
  }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card { min-width: calc(50% - 12px); }
  .wf-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .wf-line { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-card { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .nav-links {
    position: fixed; inset: 0; z-index: 550;
    padding: 104px 24px 32px;
    background: var(--bg); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links > a { width:min(300px,100%);font-size:18px;padding:11px 20px;text-align:center; }
  .nav-mobile-actions { display:flex;flex-direction:column;gap:10px;width:min(300px,100%);margin-top:16px;padding-top:18px;border-top:1px solid var(--border); }
  .nav-mobile-actions .btn { display:flex!important;width:100%;min-height:50px;justify-content:center;font-size:15px;padding:12px 18px; }
  html.light-theme .nav-links > a:hover,html.light-theme .nav-links > a.active{background:rgba(37,99,235,.08)}
  .nav-cta { display: none; }
  #hamburger { display: flex; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:not(:last-child)::after { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .testi-card { min-width: calc(100% - 0px); }
  .wf-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
  footer { padding: 36px 0; }
  .footer-inner { flex-direction: column; justify-content: center; gap: 18px; text-align: center; }
  .footer-inner p { width: 100%; line-height: 1.6; }
  .footer-social { width: 100%; flex-wrap: wrap; }
  .footer-legal { margin-top: 16px; }
}

@media (max-width: 480px) {
  .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .services-grid > :last-child:nth-child(2n + 1) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
  .pf-item.tall .pf-thumb { height: 240px; }
  .stats-card { padding: 36px 24px; }
  .contact-form-card { padding: 28px 22px; }
}

@media (max-width: 360px) {
  .footer-legal { flex-direction: column; gap: 8px; }
}

/* ============================================================
   Vindev Premium Motion Layer
   Konsep: calm premium, subtle depth, no frantic movement
============================================================ */
:root { --motion-ease: cubic-bezier(0.16, 1, 0.3, 1); }
#loader { transition: opacity 0.35s ease, visibility 0.35s ease; }
.loader-logo { animation: none !important; }
.blob { animation-duration: 34s !important; animation-timing-function: ease-in-out !important; opacity: 0.22 !important; filter: blur(110px); }
.shape { animation-duration: 24s !important; animation-timing-function: ease-in-out !important; opacity: 0.28 !important; }
.btn-primary, .grad, .about-avatar, .skill-fill { animation: none !important; }
.hero-roles .typed { animation: none !important; }
.type-caret { animation-duration: 1.4s !important; opacity: 0.7; }
.scroll-hint { animation: none !important; }
.scroll-hint .wheel { animation: wheelScroll 2.8s var(--motion-ease) infinite !important; }
.reveal { transition: opacity 0.9s var(--motion-ease), transform 0.9s var(--motion-ease) !important; will-change: opacity, transform; }
.reveal.fade-up { transform: translate3d(0, 26px, 0) !important; }
.reveal.fade-left { transform: translate3d(-26px, 0, 0) !important; }
.reveal.fade-right { transform: translate3d(26px, 0, 0) !important; }
.reveal.scale-in { transform: scale(0.96) !important; }
.reveal.visible { transform: translate3d(0, 0, 0) scale(1) !important; }
.glass, .btn, .pf-item, .service-card, .price-card { transition-duration: 0.45s !important; transition-timing-function: var(--motion-ease) !important; }
.testi-wrap { padding: 8px 0 16px; }
.testi-track { gap: 18px !important; transform: translate3d(0,0,0); transition: transform 1.25s var(--motion-ease); will-change: transform; }
.testi-card { width: clamp(270px, 25vw, 340px) !important; min-width: clamp(270px, 25vw, 340px) !important; padding: 22px !important; }
.testi-text { font-size: 13.25px !important; line-height: 1.65 !important; margin-bottom: 18px !important; }
.testi-stars svg { width: 14px !important; height: 14px !important; }
.testi-ava { width: 38px !important; height: 38px !important; }
@media (max-width: 760px) { .testi-card { width: min(82vw, 310px) !important; min-width: min(82vw, 310px) !important; } }

/* Vindev hero motion fixes */
#particles { opacity: 0.95; }
.hero-badge .dot { transform-origin: center; }
.hero-roles { min-height: 78px; max-width: 820px; }
@media (max-width: 760px) { .hero-roles { min-height: 96px; } }

/* Vindev layout polish: workflow zig-zag, testimonial marquee, map */
.workflow-track { max-width: 1120px; margin: 56px auto 0 !important; padding: 56px 0 70px; }
.workflow-track .wf-line { display: block !important; top: 50% !important; left: 34px !important; right: 34px !important; transform: translateY(-50%); overflow: visible; }
.workflow-track .wf-line span { width: 100% !important; opacity: .95; }
.wf-steps { grid-template-columns: repeat(6, minmax(120px, 1fr)) !important; align-items: center; gap: 18px !important; }
.wf-step { min-height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .75s var(--motion-ease), opacity .75s var(--motion-ease); }
.wf-step:nth-child(odd) { transform: translateY(-42px); }
.wf-step:nth-child(even) { transform: translateY(42px); }
.wf-step .wf-dot { margin: 0 auto 12px !important; background: rgba(10, 14, 24, .92); box-shadow: 0 14px 34px rgba(27,78,245,.14); }
.wf-step h3 { margin-top: 2px; }
.wf-step p { max-width: 150px; margin: 0 auto; }

#testimonial { overflow: hidden; }
#testimonial > .container { max-width: 1140px; }
.testi-wrap { max-width: 1140px; margin: 0 auto; padding: 8px 0 18px !important; overflow: hidden; }
.testi-track { gap: 18px !important; width: max-content; transform: translate3d(0,0,0); will-change: transform; }
.testi-track.vindev-marquee { animation: vindevTestimonialMarquee 720s linear infinite; transition: none !important; }
.testi-track.is-static{width:100%;justify-content:center;flex-wrap:wrap;animation:none!important;transform:none!important}
.testi-wrap:hover .testi-track.vindev-marquee { animation-play-state: paused; }
@keyframes vindevTestimonialMarquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.testi-card { width: 320px !important; min-width: 320px !important; padding: 22px !important; }
.testi-text { font-size: 13.25px !important; line-height: 1.65 !important; }
.testi-user { gap: 11px !important; }
.testi-ava { width: 38px !important; height: 38px !important; }

.map-card { min-height: 180px; cursor: pointer; text-align: center; transition: transform .45s var(--motion-ease), border-color .45s var(--motion-ease), background .45s var(--motion-ease) !important; }
.map-card:hover { transform: translateY(-4px); border-color: rgba(89,150,255,.28); background-color: rgba(89,150,255,.04); }
.map-pin { animation: mapPinFloat 5.5s ease-in-out infinite !important; }
@keyframes mapPinFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.03); } }
.map-open { color: var(--accent-2); font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(4px); transition: .35s var(--motion-ease); }
.map-card:hover .map-open { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .workflow-track { overflow-x: auto; padding-inline: 20px; }
  .wf-steps { min-width: 860px; }
  .testi-wrap { max-width: calc(100% - 32px); }
}
@media (max-width: 760px) {
  .workflow-track .wf-line { display: none !important; }
  .wf-steps { min-width: 0; grid-template-columns: 1fr !important; }
  .wf-step, .wf-step:nth-child(odd), .wf-step:nth-child(even) { transform: none; min-height: auto; }
  .testi-card { width: min(82vw, 300px) !important; min-width: min(82vw, 300px) !important; }
}

/* Vindev workflow final timeline fix */
.workflow-track { max-width: 1060px !important; margin: 72px auto 0 !important; padding: 0 !important; height: 250px; position: relative; }
.workflow-track .wf-line { top: 120px !important; left: 0 !important; right: 0 !important; transform: none !important; z-index: 0; }
.workflow-track .wf-line span { width: 100% !important; }
.wf-steps { display: grid !important; grid-template-columns: repeat(6, 1fr) !important; gap: 0 !important; height: 250px; position: relative; z-index: 1; }
.wf-step,
.wf-step:nth-child(odd),
.wf-step:nth-child(even) { position: relative; min-height: 250px !important; height: 250px; display: block !important; text-align: center; transform: none !important; }
.wf-step .wf-dot { position: absolute; left: 50%; top: 120px; transform: translate(-50%, -50%); margin: 0 !important; z-index: 3; }
.wf-step h3,
.wf-step p { position: absolute; left: 50%; width: min(150px, 100%); transform: translateX(-50%); margin: 0 !important; }
.wf-step h3 { font-size: 14.5px; line-height: 1.2; }
.wf-step p { font-size: 12px; line-height: 1.45; color: var(--text-dim); }
.wf-step:nth-child(odd) h3 { top: 0; }
.wf-step:nth-child(odd) p { top: 30px; }
.wf-step:nth-child(even) h3 { top: 160px; }
.wf-step:nth-child(even) p { top: 190px; }
.testi-track.vindev-marquee { animation-duration: 720s !important; }
@media (max-width: 1024px) {
  .workflow-track { overflow-x: auto; height: 270px; padding: 0 20px !important; }
  .wf-steps { min-width: 900px; }
  .workflow-track .wf-line { left: 20px !important; right: 20px !important; }
}
@media (max-width: 760px) {
  .workflow-track { height: auto; overflow: visible; margin-top: 52px !important; padding: 0 10px !important; }
  .workflow-track .wf-line {
    display: block !important; top: 46px !important; bottom: 46px; left: 39px !important;
    right: auto !important; width: 2px; height: auto !important; transform: none !important;
  }
  .workflow-track .wf-line span { width: 100% !important; height: 100%; }
  .wf-steps { min-width: 0; height: auto; grid-template-columns: 1fr !important; gap: 18px !important; }
  .wf-step,
  .wf-step:nth-child(odd),
  .wf-step:nth-child(even) {
    height: auto; min-height: 92px !important; display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr); grid-template-rows: auto auto;
    column-gap: 14px; row-gap: 6px; text-align: left; align-items: center;
  }
  .wf-step .wf-dot {
    position: static; grid-column: 1; grid-row: 1 / 3; width: 56px !important; height: 56px;
    transform: none; margin: 0 !important; justify-self: center;
  }
  .wf-step h3 { position: static; grid-column: 2; grid-row: 1; align-self: end; transform: none; width: auto; }
  .wf-step p {
    position: static; grid-column: 2; grid-row: 2; align-self: start;
    transform: none; width: auto; margin-top: 0 !important;
  }
}

/* Workflow copy positioning fix: consistent even when text wraps */
.wf-step:nth-child(odd) h3 { top: 0 !important; bottom: auto !important; }
.wf-step:nth-child(odd) p { top: 30px !important; bottom: auto !important; }
.wf-step:nth-child(even) h3 { top: 160px !important; bottom: auto !important; }
.wf-step:nth-child(even) p { top: 190px !important; bottom: auto !important; }
.wf-step h3 { white-space: nowrap; }
.wf-step p { min-height: 36px; display: flex; align-items: flex-start; justify-content: center; }
@media (max-width: 760px) {
  .wf-step:nth-child(odd) h3,
  .wf-step:nth-child(odd) p,
  .wf-step:nth-child(even) h3,
  .wf-step:nth-child(even) p { top: auto !important; bottom: auto !important; }
  .wf-step p { min-height: 0; display: block; }
}

/* Vindev theme, timeline mask, and ambient coding background */
html { color-scheme: dark; }
html.light-theme {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --bg-card: rgba(255,255,255,.76);
  --border: rgba(15,23,42,.11);
  --border-hover: rgba(27,78,245,.25);
  --text: #111827;
  --text-muted: #596274;
  --text-dim: #667085;
  --shadow: 0 20px 60px rgba(31,41,55,.12);
}
html.light-theme body { background: var(--bg); }
html.light-theme header { background: rgba(245,247,251,.78); border-color: rgba(15,23,42,.1); }
html.light-theme header.scrolled { background: rgba(245,247,251,.9); }
html.light-theme .glass,
html.light-theme .btn-ghost,
html.light-theme .faq-item,
html.light-theme .form-group input,
html.light-theme .form-group textarea { background-color: rgba(255,255,255,.76); }
html.light-theme .hero-name { background: linear-gradient(180deg,#111827 20%,#687386 120%); -webkit-background-clip:text; background-clip:text; }
html.light-theme .hero-grid { opacity: .55; }
html.light-theme .testi-fade-l { background: linear-gradient(90deg,var(--bg),transparent); }
html.light-theme .testi-fade-r { background: linear-gradient(-90deg,var(--bg),transparent); }
html.light-theme #cursor-dot { background:#111827; }
html.light-theme #cursor-ring { border-color:rgba(27,78,245,.55); }

.nav-cta { display:flex; align-items:center; gap:10px; }
.theme-toggle { width:44px; height:44px; border-radius:12px; border:1px solid var(--border); background:rgba(255,255,255,.04); color:var(--text); display:grid; place-items:center; position:relative; overflow:hidden; transition:.35s var(--motion-ease); }
.theme-toggle:hover { transform:translateY(-2px); border-color:var(--border-hover); background:rgba(89,150,255,.1); }
.theme-toggle span { position:absolute; font-size:18px; line-height:1; transition:transform .45s var(--motion-ease), opacity .35s ease; }
.theme-sun { opacity:0; transform:translateY(18px) rotate(-45deg); }
.theme-moon { opacity:1; transform:translateY(0) rotate(0); }
.light-theme .theme-sun { opacity:1; transform:translateY(0) rotate(0); }
.light-theme .theme-moon { opacity:0; transform:translateY(-18px) rotate(45deg); }

.workflow-track .wf-line { z-index:0 !important; }
.wf-step .wf-dot { background:var(--bg) !important; box-shadow:0 0 0 10px var(--bg), 0 10px 28px rgba(27,78,245,.16) !important; }
.wf-step.lit .wf-dot { background:color-mix(in srgb, var(--bg) 88%, var(--accent-2) 12%) !important; }

.code-ambient { position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; opacity:.16; mask-image:linear-gradient(to bottom,transparent 2%,#000 18%,#000 78%,transparent 98%); }
header, main, footer { position:relative; z-index:1; }
.code-float { position:absolute; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-weight:800; color:var(--accent-2); border:1px solid rgba(89,150,255,.22); background:rgba(27,78,245,.045); padding:8px 12px; border-radius:12px; filter:blur(.1px); animation:codeDrift 110s ease-in-out infinite; }
.code-a { left:4%; top:18%; font-size:20px; animation-duration:120s; }
.code-b { right:7%; top:25%; font-size:26px; animation-duration:140s; animation-delay:-8s; }
.code-c { left:12%; bottom:22%; font-size:14px; animation-duration:132s; animation-delay:-15s; }
.code-d { right:18%; bottom:16%; font-size:18px; animation-duration:116s; animation-delay:-4s; }
.code-e { left:48%; top:12%; font-size:16px; animation-duration:150s; animation-delay:-18s; }
.code-f { right:4%; top:62%; font-size:13px; animation-duration:138s; animation-delay:-11s; }
@keyframes codeDrift { 0%,100% { transform:translate3d(0,0,0) rotate(-3deg); opacity:.35; } 35% { transform:translate3d(10px,-12px,0) rotate(2deg); opacity:.7; } 70% { transform:translate3d(-8px,9px,0) rotate(-1deg); opacity:.45; } }
.light-theme .code-ambient { opacity:.2; }
.light-theme .code-float { background:rgba(255,255,255,.55); border-color:rgba(27,78,245,.16); }
@media (max-width:760px){ .nav-cta .btn{display:none}.theme-toggle{width:42px;height:42px}.code-float{opacity:.6}.code-e,.code-f{display:none} }

@media (max-width:768px){
  .nav{height:72px;padding:0 16px;gap:12px}
  .nav-logo{display:flex;align-items:center;flex:0 0 auto;min-width:42px}
  .nav-logo img{width:42px;max-width:42px;height:36px}
  .nav-cta{display:flex;margin-left:auto;gap:8px;align-items:center}
  .nav-cta .btn{display:none}
  .theme-toggle{width:42px;height:42px;margin:0}
  #hamburger{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0;padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--bg-soft)}
  .nav-links{top:72px;right:12px;bottom:12px;left:12px;inset-block-start:72px;inset-inline:12px;inset-block-end:12px;gap:10px;padding:24px 18px;background:#141923!important;border:1px solid rgba(148,163,184,.22);border-radius:22px;box-shadow:0 28px 80px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.04);backdrop-filter:none;-webkit-backdrop-filter:none;isolation:isolate;transform:translateY(-12px);transition:opacity .4s ease,visibility .4s,transform .4s var(--ease);overflow-y:auto;overscroll-behavior:contain;pointer-events:none}
  .nav-links.open{transform:translateY(0);pointer-events:auto}
  .nav-links>a{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:12px 18px;background:#1c2330;border:1px solid #2e394b;border-radius:13px;color:#d8e1ef;box-shadow:0 5px 14px rgba(0,0,0,.12)}
  .nav-links>a:hover,.nav-links>a:focus-visible,.nav-links>a.active{background:#26334a;border-color:#4a6caa;color:#fff;outline:0}
  .nav-mobile-actions{border-top-color:#2e394b}
  html.light-theme .nav-links{background:#fff!important;border-color:#dbe2ec;box-shadow:0 28px 80px rgba(15,23,42,.22),inset 0 1px 0 rgba(255,255,255,.9)}
  html.light-theme .nav-links>a{background:#f7f9fd;border-color:#e2e7f0;color:#4b5870;box-shadow:0 5px 14px rgba(15,23,42,.05)}
  html.light-theme .nav-links>a:hover,html.light-theme .nav-links>a:focus-visible,html.light-theme .nav-links>a.active{background:#eaf2ff;border-color:#bfdbfe;color:#1d4ed8}
  html.light-theme .nav-mobile-actions{border-top-color:#e2e7f0}
}

/* Clean cursor and richer right-side ambient motion */
#cursor-dot,
#cursor-ring { display:none !important; }
body, a, button, .pf-item, .tech-chip { cursor:auto; }
a, button, .pf-item, .tech-chip { cursor:pointer; }
#mouse-glow { width:280px !important; height:280px !important; opacity:.34; filter:blur(24px); }

.dev-orbit { position:absolute; right:10%; top:18%; width:150px; height:150px; border-radius:50%; display:grid; place-items:center; color:var(--accent-2); opacity:.42; animation:devOrbitFloat 28s ease-in-out infinite; }
.dev-orbit::before,.dev-orbit::after { content:""; position:absolute; inset:0; border:1px dashed rgba(89,150,255,.34); border-radius:50%; animation:devOrbitSpin 80s linear infinite; }
.dev-orbit::after { inset:22px; border-style:solid; border-color:rgba(89,150,255,.18); animation-direction:reverse; animation-duration:64s; }
.dev-orbit span { width:64px; height:64px; display:grid; place-items:center; border-radius:18px; background:rgba(27,78,245,.08); border:1px solid rgba(89,150,255,.24); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-weight:900; letter-spacing:.12em; }
.dev-orbit i { position:absolute; width:8px; height:8px; border-radius:50%; background:var(--accent-2); box-shadow:0 0 14px rgba(89,150,255,.7); }
.dev-orbit i:nth-child(2){top:8px;left:72px}.dev-orbit i:nth-child(3){right:18px;bottom:28px}.dev-orbit i:nth-child(4){left:16px;bottom:35px}
@keyframes devOrbitSpin { to { transform:rotate(360deg); } }
@keyframes devOrbitFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)} }

.paper-flight { position:absolute; right:0; top:24%; width:min(48vw,760px); height:auto; overflow:visible; opacity:.48; }
.flight-dots { fill:none; stroke:rgba(89,150,255,.48); stroke-width:2; stroke-linecap:round; stroke-dasharray:2 13; animation:flightTrail 72s linear infinite; }
.paper-plane { fill:rgba(89,150,255,.12); stroke:var(--accent-2); stroke-width:1.6; transform-origin:0 0; offset-path:path("M20 250 C150 70 310 290 470 120 S690 80 735 35"); animation:paperFly 72s linear infinite; filter:drop-shadow(0 0 10px rgba(89,150,255,.42)); }
.paper-plane path:last-child { fill:none; }
@keyframes flightTrail { to { stroke-dashoffset:-300; } }
@keyframes paperFly { 0%{offset-distance:0%;opacity:0}8%{opacity:1}92%{opacity:1}100%{offset-distance:100%;opacity:0} }
.light-theme .dev-orbit,.light-theme .paper-flight { opacity:.34; }
@media(max-width:900px){.dev-orbit{right:3%;width:110px;height:110px}.paper-flight{width:62vw;opacity:.3}}
@media(max-width:760px){.paper-flight{display:none}.dev-orbit{top:24%;opacity:.22}.code-float.code-b,.code-float.code-d{display:none}#mouse-glow{display:none!important}}

/* Light theme About tag visibility */
html.light-theme .about-tags span { color:#284a98; background:rgba(59,130,246,.1); border-color:rgba(37,99,235,.28); box-shadow:0 4px 14px rgba(37,99,235,.06); }
html.light-theme .about-tags span:hover { color:#12377f; background:rgba(59,130,246,.16); border-color:rgba(37,99,235,.42); }

/* About section refresh */
.about-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(89, 150, 255, .18), transparent 34%),
    radial-gradient(circle at 92% 76%, rgba(27, 78, 245, .2), transparent 36%),
    linear-gradient(145deg, #0a1730 0%, #0d2450 52%, #102e66 100%);
}
.about-section::before,
.about-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(147, 197, 253, .16);
  border-radius: 50%;
}
.about-section::before { width: 420px; height: 420px; top: 10%; right: -220px; }
.about-section::after { width: 280px; height: 280px; bottom: -160px; left: -120px; }
.about-section > .container { position: relative; z-index: 1; }
.about-section .section-tag {
  color: #a8c8ff;
  background: rgba(89, 150, 255, .12);
  border-color: rgba(147, 197, 253, .3);
}
.about-section .section-tag::before { background: #8db7ff; box-shadow: 0 0 12px rgba(141, 183, 255, .9); }
.about-section .section-title { max-width: 780px; color: #f4f8ff; }
.about-section .about-grid { grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 48px; margin-top: 44px !important; }
.about-profile-card {
  padding: 36px 30px;
  border-color: rgba(147, 197, 253, .26);
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
  box-shadow: 0 24px 60px rgba(3, 17, 45, .3), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.about-profile-card::before { background: linear-gradient(90deg, transparent, rgba(191, 219, 254, .65), transparent); }
.about-section .about-avatar {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 52%, #3b82f6 100%);
  box-shadow: 0 0 0 7px rgba(147, 197, 253, .16), 0 0 64px rgba(59, 130, 246, .48);
}
.about-section .about-avatar::after { border-color: rgba(147, 197, 253, .62); }
.about-section .about-photo-card h3 { color: #f8fbff; }
.about-section .about-photo-card p,
.about-section .about-story p { color: #bfd0ea; }
.about-section .about-tags span {
  color: #d8e8ff;
  background: rgba(96, 165, 250, .13);
  border-color: rgba(147, 197, 253, .3);
}
.about-section .about-tags span:hover { color: #fff; background: rgba(96, 165, 250, .24); border-color: rgba(191, 219, 254, .58); }
.about-story-panel {
  padding: 34px 38px;
  border: 1px solid rgba(147, 197, 253, .2);
  border-radius: var(--radius-lg);
  background: rgba(5, 18, 44, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.about-story-panel .about-copy { max-width: 720px; }
.about-section .skill-row .skill-head { color: #e7f0ff; }
.about-section .skill-row .skill-head span:last-child { color: #a8c8ff; }
.about-section .skill-bar { height: 9px; background: rgba(191, 219, 254, .14); border: 1px solid rgba(147, 197, 253, .14); }
.about-section .skill-fill { background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%); box-shadow: 0 0 18px rgba(96, 165, 250, .38); }
.about-section .tech-chip {
  color: #e5efff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(147, 197, 253, .24);
}
.about-section .tech-chip svg { color: #9bc2ff; }
.about-section .tech-chip:hover { color: #fff; background: rgba(96, 165, 250, .16); border-color: rgba(191, 219, 254, .5); }

html.light-theme .about-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(96, 165, 250, .15), transparent 34%),
    radial-gradient(circle at 92% 76%, rgba(37, 99, 235, .1), transparent 36%),
    linear-gradient(145deg, #eef5ff 0%, #f5f8ff 54%, #e7f0ff 100%);
}
html.light-theme .about-section::before,
html.light-theme .about-section::after { border-color: rgba(37, 99, 235, .12); }
html.light-theme .about-section .section-tag { color: #2563eb; background: rgba(59, 130, 246, .08); border-color: rgba(37, 99, 235, .2); }
html.light-theme .about-section .section-tag::before { background: #4f8cff; box-shadow: 0 0 12px rgba(79, 140, 255, .55); }
html.light-theme .about-section .section-title { color: #14213d; }
html.light-theme .about-profile-card {
  border-color: rgba(37, 99, 235, .14);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 22px 50px rgba(37, 99, 235, .1), inset 0 1px 0 rgba(255, 255, 255, .9);
}
html.light-theme .about-profile-card::before { background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .52), transparent); }
html.light-theme .about-section .about-photo-card h3 { color: #17233d; }
html.light-theme .about-section .about-photo-card p,
html.light-theme .about-section .about-story p { color: #5b6b86; }
html.light-theme .about-section .about-tags span { color: #2853a0; background: rgba(59, 130, 246, .09); border-color: rgba(37, 99, 235, .2); }
html.light-theme .about-section .about-tags span:hover { color: #17408e; background: rgba(59, 130, 246, .16); border-color: rgba(37, 99, 235, .34); }
html.light-theme .about-story-panel { border-color: rgba(37, 99, 235, .12); background: rgba(255, 255, 255, .48); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
html.light-theme .about-section .skill-row .skill-head { color: #1d2a43; }
html.light-theme .about-section .skill-row .skill-head span:last-child { color: #397cf0; }
html.light-theme .about-section .skill-bar { background: rgba(37, 99, 235, .1); border-color: rgba(37, 99, 235, .08); }
html.light-theme .about-section .tech-chip { color: #253452; background: rgba(255, 255, 255, .82); border-color: rgba(37, 99, 235, .14); }
html.light-theme .about-section .tech-chip svg { color: #397cf0; }
html.light-theme .about-section .tech-chip:hover { color: #17408e; background: rgba(59, 130, 246, .1); border-color: rgba(37, 99, 235, .3); }

@media (max-width: 1024px) {
  .about-section .about-grid { grid-template-columns: 1fr; }
  .about-section .about-photo-card { max-width: 420px; }
}
@media (max-width: 600px) {
  .about-section .about-grid { gap: 28px; margin-top: 34px !important; }
  .about-profile-card { padding: 30px 22px; }
  .about-story-panel { padding: 28px 22px; }
  .about-section .about-avatar { width: 148px; height: 148px; }
}

/* Hero-only ambient fix */
.code-ambient { position:absolute !important; inset:0 0 auto 0 !important; width:100%; height:100vh; min-height:720px; overflow:hidden; }
.code-float { display:none !important; animation:none !important; }
.dev-orbit { top:20%; }
.paper-flight { top:26%; }
@media(max-width:760px){.code-ambient{min-height:640px}.dev-orbit{display:none}}

/* Hero vertical alignment */
#hero .hero-inner { transform:translateY(clamp(-120px,-10vh,-70px)); }
@media(max-width:900px){#hero .hero-inner{transform:translateY(-28px)}}
@media(max-width:760px){#hero{padding-top:120px}#hero .hero-inner{transform:none}}

/* Dynamic project cards */
.pf-info { padding:20px; display:flex; flex-direction:column; gap:18px; }
.pf-info .pf-summary { display:-webkit-box; min-height:calc(1.65em * 3); margin-top:8px; overflow:hidden; color:var(--text-muted); font-size:13px; line-height:1.65; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.pf-project-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.pf-project-actions form { margin:0; }
.pf-project-actions .btn { padding:10px 16px; font-size:13px; }
.pf-portfolio-label { display:inline-flex; align-items:center; min-height:38px; padding:8px 12px; border:1px solid rgba(139,127,255,.35); border-radius:10px; color:var(--text); font-size:12px; font-weight:700; white-space:nowrap; }
@media(max-width:768px){
  #header{position:fixed!important;top:0;right:0;left:0;z-index:1500!important}
  .nav-links{inset:72px 12px auto auto;width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 88px);padding:16px;gap:8px;border-radius:20px}
  .nav-links>.nav-section-link{display:flex!important;width:100%;min-height:44px;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.3}
  .nav-links>.nav-blog-link{display:flex!important;width:100%;min-height:44px;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.3}
  .nav-mobile-actions{display:flex;width:100%;margin-top:4px;padding-top:12px;border-top:1px solid var(--border);gap:8px}
  .nav-mobile-actions .btn{display:flex!important;width:100%;min-height:44px;justify-content:center;padding:10px 14px;border-radius:11px;font-size:13px}
  .nav-links.open{pointer-events:auto!important;z-index:1200!important}
  .nav-links.open .nav-mobile-actions,.nav-links.open .nav-account-link{position:relative;z-index:1;pointer-events:auto!important;touch-action:manipulation;cursor:pointer}
  .nav-mobile-actions .nav-account-link.btn-primary{color:#fff!important}
  .nav-mobile-actions .nav-account-link.btn-ghost{color:var(--text)!important}
}

@supports (content-visibility: auto) {
  body.vindev-landing-page > section:not(#hero),
  body.vindev-landing-page > footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
  }
}

#back-top { right: 28px !important; bottom: 104px !important; z-index: 1101 !important; }
#faq .section-tag { display: inline-flex; align-items: center; gap: 8px; }
#faq .section-tag::before { content: '✦'; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid rgba(96, 165, 250, .5); border-radius: 50%; color: #60a5fa; font-size: 10px; }
@media (max-width: 575px) { #back-top { right: 13px !important; bottom: 84px !important; } }

/* ---------- About showcase variant ---------- */
.about-modern {
  position: relative;
  overflow: hidden;
  padding: 136px 0 128px;
  background:
    radial-gradient(circle at 12% 32%, rgba(37, 99, 235, .2), transparent 30%),
    radial-gradient(circle at 82% 74%, rgba(30, 64, 175, .18), transparent 32%),
    linear-gradient(145deg, #07172f 0%, #081d42 52%, #06142b 100%);
}

.about-modern::after {
  position: absolute;
  inset: 0 0 auto;
  height: 180px;
  background: linear-gradient(180deg, #09090b 0%, rgba(9, 9, 11, .78) 24%, rgba(7, 23, 47, 0) 100%);
  content: '';
  pointer-events: none;
  z-index: 0;
}

.about-modern::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(147, 197, 253, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 197, 253, .05) 1px, transparent 1px);
  background-size: 76px 76px;
  content: '';
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .68), transparent 72%);
  pointer-events: none;
}

.about-modern-container { position: relative; z-index: 1; }
.about-modern-layout { display: grid; grid-template-columns: minmax(300px, .92fr) minmax(0, 1.18fr); align-items: center; gap: clamp(46px, 8vw, 120px); }
.about-modern-visual { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; }
.about-modern-watermark { position: absolute; top: 0; left: -12%; color: rgba(148, 189, 255, .08); font-size: clamp(180px, 27vw, 360px); font-weight: 900; line-height: .8; letter-spacing: -.1em; user-select: none; }
.about-modern-photo-frame { position: relative; width: min(100%, 430px); padding: 34px 38px 0; }
.about-modern-photo-frame::before { position: absolute; inset: 9% 8% 0; border: 1px solid rgba(96, 165, 250, .42); border-radius: 50% 50% 18% 18%; box-shadow: 0 0 80px rgba(37, 99, 235, .3), inset 0 0 40px rgba(96, 165, 250, .1); content: ''; transform: rotate(-8deg); }
.about-modern-photo-glow { position: absolute; inset: 15% 14% 4%; border-radius: 50% 50% 16% 16%; background: linear-gradient(180deg, rgba(37, 99, 235, .35), transparent 72%); filter: blur(28px); }
.about-modern-photo { position: relative; display: grid; width: 100%; aspect-ratio: .82; place-items: center; overflow: hidden; border-radius: 48% 48% 12% 12%; color: #dbeafe; background: linear-gradient(145deg, #2563eb, #102e66 58%, #06142b); box-shadow: 0 28px 60px rgba(0, 0, 0, .34), 0 0 0 1px rgba(147, 197, 253, .26); font-size: clamp(96px, 14vw, 170px); font-weight: 900; }
.about-modern-photo::after { position: absolute; inset: 0; background: linear-gradient(155deg, rgba(255, 255, 255, .16), transparent 35%, rgba(2, 12, 30, .42)); content: ''; pointer-events: none; }
.about-modern-photo.has-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-modern-visual-copy { position: absolute; right: 2%; bottom: 2%; display: grid; gap: 3px; max-width: 220px; padding: 14px 18px; border: 1px solid rgba(147, 197, 253, .22); border-radius: 14px; background: rgba(3, 16, 39, .7); box-shadow: 0 18px 40px rgba(0, 0, 0, .2); backdrop-filter: blur(16px); }
.about-modern-visual-copy strong { color: #f8fbff; font-size: 17px; }
.about-modern-visual-copy span { color: #9db8e2; font-size: 11px; line-height: 1.45; }
.about-modern-side-label { position: absolute; left: -2%; bottom: 19%; display: flex; align-items: center; gap: 10px; max-width: 120px; color: #7fa9e8; font-size: 10px; letter-spacing: .2em; line-height: 1.65; writing-mode: vertical-rl; transform: rotate(180deg); }
.about-modern-side-label span { width: 1px; height: 68px; background: linear-gradient(#60a5fa, transparent); }
.about-modern-content { min-width: 0; }
.about-modern-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #8bb9ff; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.about-modern-kicker::before { width: 8px; height: 8px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 18px #60a5fa; content: ''; }
.about-modern-content h2 { max-width: 700px; margin-bottom: 28px; color: #f7fbff; font-size: clamp(38px, 5vw, 68px); font-weight: 850; letter-spacing: -.055em; line-height: 1.03; text-wrap: balance; }
.about-modern-content h2::first-line { color: #f7fbff; }
.about-modern-copy { max-width: 680px; display: grid; gap: 14px; }
.about-modern-copy p { color: #b7cbea; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.72; }
.about-modern-skill-card { display: grid; gap: 18px; margin-top: 34px; padding: 22px 24px; border: 1px solid rgba(96, 165, 250, .25); border-radius: 18px; background: rgba(4, 24, 57, .66); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 44px rgba(0, 0, 0, .16); }
.about-modern-skill-row { display: grid; grid-template-columns: 40px minmax(130px, 1fr) minmax(100px, 1.6fr) 42px; align-items: center; gap: 13px; }
.about-modern-skill-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(96, 165, 250, .28); border-radius: 10px; color: #65b5ff; background: rgba(37, 99, 235, .22); }
.about-modern-skill-name { min-width: 0; overflow: hidden; color: #edf5ff; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.about-modern-skill-progress { height: 8px; overflow: hidden; border-radius: 99px; background: rgba(147, 197, 253, .14); }
.about-modern-skill-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2782ff, #67c1ff); box-shadow: 0 0 14px rgba(96, 165, 250, .5); }
.about-modern-skill-row strong { color: #dbeafe; font-size: 13px; text-align: right; }
.about-modern-tech-block { margin-top: 28px; }
.about-modern-tech-title { display: block; margin-bottom: 13px; color: #9bb9e4; font-size: 13px; }
.about-modern-tech-list { display: flex; flex-wrap: wrap; gap: 10px; }
.about-modern-tech-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid rgba(96, 165, 250, .23); border-radius: 11px; color: #e3efff; background: rgba(255, 255, 255, .065); font-size: 13px; font-weight: 600; transition: .25s ease; }
.about-modern-tech-chip svg { color: #7cc2ff; }
.about-modern-tech-chip:hover { border-color: rgba(147, 197, 253, .54); background: rgba(96, 165, 250, .15); transform: translateY(-2px); }
.about-modern-orbit { position: absolute; border: 1px solid rgba(96, 165, 250, .2); border-radius: 50%; pointer-events: none; }
.about-modern-orbit-one { width: 530px; height: 530px; top: 20%; left: -250px; }
.about-modern-orbit-two { width: 420px; height: 420px; right: -220px; bottom: -140px; border-color: rgba(37, 99, 235, .3); }
html.light-theme .about-modern { background: radial-gradient(circle at 12% 28%, rgba(96, 165, 250, .18), transparent 30%), radial-gradient(circle at 88% 72%, rgba(37, 99, 235, .11), transparent 34%), linear-gradient(145deg, #eaf3ff, #f7faff 54%, #e4efff); }
html.light-theme .about-modern::after { background: linear-gradient(180deg, #f5f7fb 0%, rgba(245, 247, 251, .82) 24%, rgba(234, 243, 255, 0) 100%); }
html.light-theme .about-modern::before { background-image: linear-gradient(rgba(37, 99, 235, .065) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .065) 1px, transparent 1px); }
html.light-theme .about-modern-watermark { color: rgba(37, 99, 235, .08); }
html.light-theme .about-modern-photo { background: linear-gradient(145deg, #60a5fa, #2563eb 58%, #173a7a); box-shadow: 0 28px 60px rgba(37, 99, 235, .2), 0 0 0 1px rgba(37, 99, 235, .2); }
html.light-theme .about-modern-visual-copy { border-color: rgba(37, 99, 235, .18); background: rgba(255, 255, 255, .7); }
html.light-theme .about-modern-visual-copy strong { color: #17233d; }
html.light-theme .about-modern-visual-copy span, html.light-theme .about-modern-side-label { color: #5274a8; }
html.light-theme .about-modern-kicker { color: #2563eb; }
html.light-theme .about-modern-content h2 { color: #14213d; }
html.light-theme .about-modern-content h2::first-line { color: #14213d; }
html.light-theme .about-modern-copy p { color: #526987; }
html.light-theme .about-modern-skill-card { border-color: rgba(37, 99, 235, .16); background: rgba(255, 255, 255, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 20px 44px rgba(37, 99, 235, .08); }
html.light-theme .about-modern-skill-icon { border-color: rgba(37, 99, 235, .16); color: #2563eb; background: rgba(59, 130, 246, .1); }
html.light-theme .about-modern-skill-name { color: #1e2f4c; }
html.light-theme .about-modern-skill-progress { background: rgba(37, 99, 235, .1); }
html.light-theme .about-modern-skill-row strong { color: #2563eb; }
html.light-theme .about-modern-tech-title { color: #52709c; }
html.light-theme .about-modern-tech-chip { border-color: rgba(37, 99, 235, .14); color: #263d61; background: rgba(255, 255, 255, .72); }
html.light-theme .about-modern-tech-chip svg { color: #2563eb; }
@media (max-width: 1040px) {
  .about-modern-layout { gap: 44px; }
  .about-modern-visual { min-height: 540px; }
  .about-modern-photo-frame { width: min(100%, 360px); }
  .about-modern-content h2 { font-size: clamp(36px, 5vw, 54px); }
}
@media (max-width: 820px) {
  .about-modern { padding: 108px 0 96px; }
  .about-modern-layout { grid-template-columns: 1fr; gap: 42px; }
  .about-modern-visual { min-height: 500px; max-width: 560px; margin: 0 auto; width: 100%; }
  .about-modern-content { max-width: 680px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .about-modern { padding: 84px 0 76px; }
  .about-modern-visual { min-height: 390px; }
  .about-modern-photo-frame { width: min(100%, 286px); padding: 24px 24px 0; }
  .about-modern-side-label { left: 0; bottom: 16%; font-size: 8px; }
  .about-modern-visual-copy { right: 0; bottom: 0; max-width: 176px; padding: 10px 12px; }
  .about-modern-content h2 { font-size: clamp(34px, 11vw, 48px); }
  .about-modern-skill-card { padding: 18px 14px; }
  .about-modern-skill-row { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 9px; }
  .about-modern-skill-icon { width: 32px; height: 32px; }
  .about-modern-skill-progress { grid-column: 2 / -1; grid-row: 2; }
  .about-modern-skill-row strong { grid-column: 3; grid-row: 1; }
  .about-modern-tech-chip { padding: 8px 10px; font-size: 12px; }
}

/* Editorial-tech landing refresh */
#hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 46%, rgba(56, 116, 255, .16), transparent 34%),
    radial-gradient(circle at 8% 18%, rgba(89, 150, 255, .12), transparent 28%),
    linear-gradient(180deg, #0b1222 0%, #09090b 76%);
}
#hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at center, transparent 26%, rgba(9, 9, 11, .24) 78%);
  content: '';
  pointer-events: none;
}
#hero .container { position: relative; z-index: 3; }
#hero .hero-inner { margin: 0 auto; text-align: center; }
#hero .hero-name { font-size: clamp(80px, 14vw, 168px); letter-spacing: -.075em; }
#hero .hero-roles { justify-content: center; min-height: 52px; margin-bottom: 22px; }
#hero .hero-desc { margin-right: auto; margin-left: auto; text-align: center; }
#hero .hero-actions { justify-content: center; }

.hero-editorial { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.hero-dots { position: absolute; width: 170px; height: 180px; background-image: radial-gradient(circle, rgba(147, 197, 253, .62) 1.2px, transparent 1.5px); background-size: 14px 14px; mask-image: linear-gradient(135deg, #000, transparent 80%); opacity: .32; }
.hero-dots-left { top: 22%; left: 3%; }
.hero-dots-right { top: 15%; right: 3%; transform: rotate(180deg); }
.hero-line { position: absolute; top: 26%; width: 1px; height: 145px; background: linear-gradient(180deg, rgba(96, 165, 250, .7), transparent); }
.hero-line span { position: absolute; top: -3px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: #67a8ff; box-shadow: 0 0 16px rgba(103, 168, 255, .9); }
.hero-line-left { left: 7%; }
.hero-line-right { right: 24%; }
.hero-note { position: absolute; color: rgba(170, 196, 237, .68); font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.hero-note-left { top: 32%; left: 9%; }
.hero-note-right { top: 36%; right: 8%; }
.hero-editorial-panel { position: absolute; display: grid; gap: 9px; padding: 20px; border: 1px solid rgba(147, 197, 253, .18); border-radius: 20px; color: rgba(191, 219, 254, .78); background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(96, 165, 250, .02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 28px 70px rgba(0, 0, 0, .18); backdrop-filter: blur(10px); }
.hero-editorial-panel strong { color: rgba(147, 197, 253, .88); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 28px; letter-spacing: -.08em; }
.hero-editorial-panel span { font-size: 11px; font-weight: 600; letter-spacing: .06em; line-height: 1.55; text-transform: uppercase; }
.hero-panel-left { bottom: 8%; left: -2%; width: 230px; transform: rotate(-12deg); }
.hero-panel-right { top: 23%; right: -2%; width: 205px; min-height: 260px; transform: rotate(10deg); }
.hero-panel-right strong { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(147, 197, 253, .24); border-radius: 16px; background: rgba(37, 99, 235, .12); }
.hero-float-square { position: absolute; width: 18px; height: 18px; border: 2px solid rgba(147, 197, 253, .62); border-radius: 5px; transform: rotate(12deg); }
.hero-float-square-top { top: 43%; left: 17%; }
.hero-float-square-bottom { right: 21%; bottom: 18%; width: 23px; height: 23px; opacity: .7; transform: rotate(28deg); }

header { position: fixed; top: 0; right: 0; left: 0; z-index: 500; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
header.scrolled { box-shadow: 0 12px 30px rgba(0, 0, 0, .16); }
header .nav { transition: height .3s var(--motion-ease), padding .3s var(--motion-ease); }
header.scrolled .nav { height: 64px; }
html.light-theme header { background: rgba(245, 247, 251, .68); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
html.light-theme header.scrolled { background: rgba(255, 255, 255, .88); box-shadow: 0 12px 30px rgba(37, 99, 235, .1); }

.map-card { display: block; height: auto; min-height: 270px; overflow: hidden; padding: 0; border: 1px solid var(--border); color: var(--text); background: var(--bg-card); transition: border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease; }
.map-card:hover { border-color: rgba(89, 150, 255, .45); box-shadow: 0 22px 50px rgba(27, 78, 245, .16); transform: translateY(-4px); }
.map-visual { position: relative; height: 190px; overflow: hidden; background: linear-gradient(145deg, #101d35, #142b4d 54%, #0e1728); }
.map-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 12, 26, .56)); content: ''; pointer-events: none; }
.map-visual svg { display: block; width: 100%; height: 100%; }
.map-water { fill: #10223b; }
.map-road { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map-road-major { stroke: rgba(255, 255, 255, .44); stroke-width: 9; }
.map-road-secondary { stroke: rgba(147, 197, 253, .42); stroke-width: 5; }
.map-road-light { stroke: rgba(191, 219, 254, .24); stroke-width: 3; }
.map-route { fill: none; stroke: #67a8ff; stroke-dasharray: 2 10; stroke-linecap: round; stroke-width: 3; }
.map-marker { position: absolute; top: 48%; left: 54%; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(191, 219, 254, .6); border-radius: 50%; background: rgba(37, 99, 235, .78); box-shadow: 0 0 0 8px rgba(96, 165, 250, .14), 0 12px 26px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); }
.map-marker svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.map-visual-label { position: absolute; right: 14px; bottom: 12px; z-index: 1; color: rgba(219, 234, 254, .78); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.map-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px 17px; }
.map-card-footer span:first-child { display: grid; gap: 3px; min-width: 0; }
.map-card-footer strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.map-card-footer small { color: var(--text-dim); font-size: 11px; }
.map-card-arrow { color: var(--accent-2); font-size: 24px; line-height: 1; transition: transform .3s var(--ease); }
.map-card:hover .map-card-arrow { transform: translate(3px, -3px); }

html.light-theme #hero { background: radial-gradient(circle at 50% 45%, rgba(96, 165, 250, .25), transparent 34%), radial-gradient(circle at 7% 18%, rgba(147, 197, 253, .22), transparent 28%), linear-gradient(180deg, #f8fbff 0%, #edf3fc 100%); }
html.light-theme #hero::after { background: radial-gradient(ellipse at center, transparent 24%, rgba(239, 246, 255, .38) 82%); }
html.light-theme .hero-note { color: rgba(61, 93, 145, .7); }
html.light-theme .hero-editorial-panel { border-color: rgba(37, 99, 235, .14); color: #5274a8; background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(219, 234, 254, .34)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 24px 60px rgba(37, 99, 235, .1); }
html.light-theme .hero-editorial-panel strong { color: #3974f6; }
html.light-theme .map-visual { background: linear-gradient(145deg, #d9e9ff, #c4dbf8 54%, #e8f1fc); }
html.light-theme .map-water { fill: #d9e9ff; }
html.light-theme .map-road-major { stroke: rgba(255, 255, 255, .78); }
html.light-theme .map-road-secondary { stroke: rgba(78, 126, 190, .5); }
html.light-theme .map-road-light { stroke: rgba(91, 133, 188, .32); }
html.light-theme .map-visual::after { background: linear-gradient(180deg, transparent 45%, rgba(37, 99, 235, .16)); }
html.light-theme .map-visual-label { color: rgba(37, 78, 133, .72); }

@media (max-width: 900px) {
  .hero-panel-left { left: -7%; }
  .hero-panel-right { right: -8%; }
  .hero-note-left { left: 5%; }
  .hero-note-right { right: 4%; }
}
@media (max-width: 760px) {
  header.scrolled .nav { height: 64px; }
  #hero .hero-name { font-size: clamp(64px, 18vw, 112px); }
  .hero-note, .hero-line, .hero-dots { opacity: .4; }
  .hero-panel-left { bottom: 4%; left: -18%; transform: scale(.78) rotate(-12deg); transform-origin: left bottom; }
  .hero-panel-right { top: 16%; right: -18%; transform: scale(.72) rotate(10deg); transform-origin: right top; }
  .hero-float-square-bottom { right: 10%; }
}
@media (max-width: 560px) {
  .hero-note, .hero-editorial-panel, .hero-float-square { display: none; }
  .hero-dots { width: 110px; height: 120px; }
  .hero-line-right { right: 8%; }
  #hero .hero-name { font-size: clamp(58px, 19vw, 86px); }
  .map-visual { height: 165px; }
}
