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

:root {
  --yellow: #FFD600;
  --yellow-soft: #FFE033;
  --yellow-dim: rgba(255, 214, 0, 0.12);
  --yellow-glow: rgba(255, 214, 0, 0.35);
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #161616;
  --bg4: #1c1c1c;
  --border: rgba(255, 214, 0, 0.12);
  --border-soft: rgba(255,255,255,0.06);
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --sidebar-w: 240px;
  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* === NOISE TEXTURE OVERLAY === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 2px; }

.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  z-index: 100;
  transition: transform var(--transition);
}

.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  padding: 0 3rem;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.logo-mark {
  width: 38px; height: 38px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--yellow-glow);
}

.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--text);
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--yellow);
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.sidebar-nav { flex: 1; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--yellow-dim);
  border-radius: 10px;
  transition: width var(--transition);
  z-index: -1;
}

.nav-link:hover,
.nav-link.active {
  color: var(--yellow);
  background: var(--yellow-dim);
}

.nav-link.active {
  color: var(--yellow);
  box-shadow: inset 2px 0 0 var(--yellow);
}

.nav-link i {
  width: 18px;
  text-align: center;
  font-size: 0.95rem;
}

.sidebar-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.sidebar-socials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--bg3);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.social-icon:hover {
  color: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 12px var(--yellow-glow);
}

.sidebar-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00d46a;
  box-shadow: 0 0 8px rgba(0,212,106,0.6);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-soft);
  z-index: 200;
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
}

.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
}

.bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  transition: all var(--transition);
  border-radius: 8px;
}

.bottom-nav-link i { font-size: 1.1rem; }

.bottom-nav-link.active,
.bottom-nav-link:hover {
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--yellow);
  color: #000;
  box-shadow: 0 0 24px var(--yellow-glow);
}

.btn-primary:hover {
  background: var(--yellow-soft);
  box-shadow: 0 0 40px var(--yellow-glow), 0 4px 20px rgba(255,214,0,0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-soft);
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-dim);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg3);
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
}

.btn-ghost:hover {
  color: var(--yellow);
  border-color: var(--yellow);
  background: var(--yellow-dim);
}

section { padding: 6rem 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow-dim);
  border: 1px solid var(--border);
  color: var(--yellow);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title span { color: var(--yellow); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--yellow-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(255,214,0,0.06);
}

.card:hover::before { opacity: 1; }


.project-card {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: rgba(255,214,0,0.25);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(255,214,0,0.08);
}

.project-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: #000;
  flex-shrink: 0;
}

.project-logo.yellow { background: var(--yellow); }
.project-logo.blue { background: #4FC3F7; }
.project-logo.green { background: #69F0AE; }
.project-logo.purple { background: #CE93D8; }
.project-logo.orange { background: #FFAB40; }
.project-logo.red { background: #EF9A9A; }
.project-logo.teal { background: #80DEEA; }
.project-logo.pink { background: #F48FB1; }

.project-card-body { padding: 1.25rem 1.5rem; flex: 1; }
.project-card-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.project-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: var(--bg3);
  color: var(--text-dim);
  border: 1px solid var(--border-soft);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.hero-glow-1 {
  width: 500px; height: 500px;
  background: var(--yellow);
  top: -100px; right: -100px;
}

.hero-glow-2 {
  width: 300px; height: 300px;
  background: #fff;
  bottom: 100px; left: -50px;
  opacity: 0.03;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  background: var(--yellow-dim);
  border: 1px solid var(--border);
  border-radius: 50px;
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-name span { color: var(--yellow); }

.hero-role {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.typing-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.typing-prefix {
  color: var(--text-muted);
  font-size: 1rem;
}

.typing-text {
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  min-width: 240px;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--yellow);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.stack-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--bg3);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  transition: all var(--transition);
}

.stack-badge:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-dim);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(255,214,0,0.3), transparent 50%, rgba(255,214,0,0.1));
  z-index: -1;
}

.hero-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), #FF8800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 30px rgba(255,214,0,0.3);
}

.hero-card-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.hero-card-title {
  font-size: 0.8rem;
  color: var(--yellow);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--yellow);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  font-family: var(--font-mono);
}

.floating-badge {
  position: absolute;
  background: var(--bg3);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}

.floating-badge-1 { top: -30px; right: -20px; animation-delay: 0s; }
.floating-badge-2 { bottom: -40px; left: -30px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-badge i { color: var(--yellow); }


.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}

.skill-category:hover {
  border-color: var(--border);
  box-shadow: 0 0 30px rgba(255,214,0,0.05);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.skill-cat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--yellow-dim);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  font-size: 0.9rem;
}

.skill-cat-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}

.skill-item {
  margin-bottom: 1rem;
}

.skill-item:last-child { margin-bottom: 0; }

.skill-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.skill-bar {
  height: 4px;
  background: var(--bg3);
  border-radius: 4px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-soft));
  box-shadow: 0 0 8px rgba(255,214,0,0.4);
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(255,214,0,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--yellow-dim);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--yellow);
  color: #000;
  box-shadow: 0 0 20px var(--yellow-glow);
}

.service-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.testimonials-section { overflow: hidden; }

.testimonials-track-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), transparent);
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: var(--yellow);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #000;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  font-size: 0.9rem;
}

.testimonial-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-dim);
}

.testimonials-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bg4);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--yellow);
  width: 20px;
  border-radius: 3px;
  border-color: var(--yellow);
}

.cta-section {
  text-align: center;
  padding: 5rem 0;
}

.cta-inner {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 400px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 200px;
  background: var(--yellow);
  filter: blur(100px);
  opacity: 0.04;
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.cta-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}


.wa-float {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 500;
}

.wa-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
  position: relative;
}

.wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}


.about-hero {
  padding: 5rem 0 4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.about-avatar-wrap {
  position: sticky;
  top: 2rem;
}

.about-avatar {
  width: 100%;
  aspect-ratio: 1;
  max-width: 300px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 5rem;
  color: var(--yellow);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.about-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--yellow-dim) 0%, transparent 70%);
}

.about-info-card {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.about-info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.85rem;
}

.about-info-row:last-child { border-bottom: none; }
.about-info-row i { color: var(--yellow); width: 16px; }
.about-info-label { color: var(--text-dim); min-width: 70px; }
.about-info-value { color: var(--text); font-weight: 500; }

.about-content .section-title { margin-bottom: 1.5rem; }

.about-bio {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.highlight-card {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.highlight-card i {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.highlight-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.highlight-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mission-block {
  background: var(--yellow-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.mission-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.mission-block strong { color: var(--yellow); font-style: normal; }


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-method:hover {
  border-color: var(--border);
  background: var(--yellow-dim);
}

.contact-method-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--yellow-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-method-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 0.15rem;
}

.contact-method-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form-wrap {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form-wrap h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg3);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition);
  outline: none;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,214,0,0.1);
  background: var(--bg4);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-textarea { min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}


.project-detail-hero {
  padding: 4rem 0 3rem;
}

.project-detail-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-detail-logo {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: #000;
}

.project-detail-name {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.project-detail-tagline {
  font-size: 1rem;
  color: var(--text-muted);
}

.project-detail-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.detail-section {
  margin-bottom: 3rem;
}

.detail-section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-section-title::before {
  content: '';
  width: 3px;
  height: 1em;
  background: var(--yellow);
  border-radius: 2px;
}

.detail-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.feature-item i {
  color: var(--yellow);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.screenshot {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  background: var(--bg3);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}

.screenshot:hover {
  border-color: var(--border);
  transform: scale(1.02);
}

.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
}

.screenshot-placeholder i { font-size: 1.5rem; }

.tech-stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg3);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.tech-badge:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.project-sidebar-card {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 2rem;
}

.project-sidebar-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.sidebar-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.85rem;
}

.sidebar-detail-row:last-of-type { border-bottom: none; }
.sidebar-detail-label { color: var(--text-dim); }
.sidebar-detail-value { color: var(--text); font-weight: 500; }

.projects-hero {
  padding: 5rem 0 3rem;
}

.projects-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--yellow-dim);
  border-color: var(--border);
  color: var(--yellow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}


.page-header {
  padding: 4rem 0 3rem;
  position: relative;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-header-glow {
  position: absolute;
  width: 300px; height: 200px;
  background: var(--yellow);
  filter: blur(100px);
  opacity: 0.06;
  top: 0; right: 100px;
  border-radius: 50%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb i { font-size: 0.6rem; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-soft), transparent);
  margin: 0;
}


#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--yellow); }

@media (max-width: 1024px) {
  .main-content { padding: 0 2rem; }
  .hero-grid { gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-avatar-wrap { position: static; display: flex; align-items: center; gap: 1.5rem; }
  .about-avatar { max-width: 160px; font-size: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .project-detail-body { grid-template-columns: 1fr; }
  .project-sidebar-card { position: static; }
}

@media (max-width: 768px) {
  .sidebar { display: none; }
  .bottom-nav { display: flex; }
  .main-content {
    margin-left: 0;
    padding: 0 1.25rem;
    padding-bottom: 5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta { justify-content: center; }
  .hero-stack { justify-content: center; }
  .typing-wrapper { justify-content: center; }
  .hero-visual { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero { min-height: auto; padding-top: 5rem; }
  section { padding: 4rem 0; }
  .cta-inner { padding: 2.5rem 1.5rem; }
  .about-highlights { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .wa-float { bottom: 6rem; right: 1rem; }
  .about-avatar-wrap { flex-direction: column; align-items: flex-start; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-name { font-size: 2.2rem; }
  .main-content { padding: 0 1rem; padding-bottom: 5rem; }
}
