/* ============================================================
   APP.CSS — All component styles
   ============================================================ */

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

/* ===== MATRIX RAIN EFFECT ===== */
.rain-effect-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: .75;
}
.rain-drop {
  position: absolute;
  top: -100px;
  width: 1px;
  height: 100px;
  background: linear-gradient(transparent, #064DED);
  opacity: 0.2;
  box-shadow: 0 0 5px rgba(6, 77, 237, .35);
  animation-name: rainFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes rainFall {
  0% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(100vh);
  }
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(7, 7, 15, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(7, 7, 15, 0.96);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-logo img { height: 38px; width: auto; }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b6b8a;
  transition: color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.navbar-link:hover { color: #e8e8f0; }
.navbar-link.active { color: #e8e8f0; }
.navbar-link-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #d97706;
}
.navbar-cv {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 7px;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: #f59e0b;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.navbar-cv:hover { background: rgba(217, 119, 6, 0.2); transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #e8e8f0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open .hamburger-bar:nth-child(1) { transform: rotate(-45deg) translate(-4px, 6px); }
.hamburger.open .hamburger-bar:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-bar:nth-child(3) { transform: rotate(45deg) translate(-4px, -6px); }
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.mobile-menu.open { max-height: 420px; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.mobile-link {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  color: #8888aa;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-link:hover, .mobile-link.active { color: #f59e0b; background: rgba(217,119,6,0.07); }
.mobile-cv {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(217,119,6,0.08);
  border: 1px solid rgba(217,119,6,0.2);
  color: #f59e0b;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: #22d3ee;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,211,238,0); }
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero-name span {
  background: linear-gradient(135deg, #f59e0b 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: #8888aa;
  margin-bottom: 20px;
}
.hero-desc {
  color: #6b6b8a;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 38px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #f59e0b;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-ring {
  position: relative;
  width: 400px;
  height: 400px;
}
.hero-img-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #d97706, #22d3ee, #7c3aed, #d97706);
  animation: spin 6s linear infinite;
  z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-img-ring::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
}
.hero-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  z-index: 2;
}
.hero-badge {
  position: absolute;
  background: rgba(19, 19, 31, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(12px);
  z-index: 10;
  animation: badgeFloat 3s ease-in-out infinite;
}
.hero-badge-1 { top: 5%; left: 5%; animation-delay: 0s; }
.hero-badge-2 { bottom: 12%; right: 5%; animation-delay: 1.5s; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-badge-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.hero-badge-icon.gold { background: rgba(217,119,6,0.15); color: #f59e0b; }
.hero-badge-icon.cyan { background: rgba(34,211,238,0.12); color: #22d3ee; }
.hero-badge-strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8e8f0;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.hero-badge-sub {
  font-size: 0.72rem;
  color: #6b6b8a;
  display: block;
}
.hero-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-social-link {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8888aa;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.hero-social-link:hover { background: rgba(217,119,6,0.1); color: #f59e0b; border-color: rgba(217,119,6,0.3); transform: translateY(-2px); }
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #3d3d55;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: start;
}
.about-img-wrapper {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 3/4;
  filter: grayscale(0.15);
}
.about-img-decoration {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 130px;
  height: 130px;
  border-radius: 16px;
  border: 2px solid rgba(217,119,6,0.3);
  z-index: -1;
}
.about-text p {
  color: #7c7c9a;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.85;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.about-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  font-weight: 500;
  color: #8888aa;
}
.about-chip i { color: #d97706; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, #d97706), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover { background: var(--card-hover); border-color: rgba(255,255,255,0.1); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 8px;
}
.service-desc { font-size: 0.88rem; color: #6b6b8a; line-height: 1.7; }

/* ===== METHODOLOGY ===== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.method-card {
  padding: 40px 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.method-card:hover { border-color: rgba(217,119,6,0.2); transform: translateY(-3px); }
.method-num {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 800;
  color: rgba(217,119,6,0.12);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  position: absolute;
  top: 18px;
  right: 20px;
  pointer-events: none;
}
.method-icon {
  width: 60px; height: 60px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(56,189,248,0.85), rgba(12,74,110,0.2));
  color: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(8,47,73,0.6);
}
.method-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 8px;
}
.method-desc {
  font-size: 0.86rem;
  color: #a1a1c1;
  line-height: 1.7;
  max-width: 260px;
}

/* ===== SKILLS ===== */
.skills-container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.skills-sidebar-inner {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.skills-vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  letter-spacing: 0.1em;
  line-height: 1;
  user-select: none;
}
.skills-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 8px;
}
.skills-sidebar-desc { font-size: 0.85rem; color: #6b6b8a; line-height: 1.7; }
.skill-group { margin-bottom: 32px; }
.skill-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.05);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}
.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  cursor: default;
}
.skill-card:hover { background: var(--card-hover); transform: translateY(-3px); border-color: rgba(255,255,255,0.1); }
.skill-card i { font-size: 1.6rem; }
.skill-card span { font-size: 0.72rem; color: #8888aa; text-align: center; font-weight: 500; }

/* ===== EXPERIENCE ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.timeline-item {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.timeline-item:hover {
  border-color: rgba(217,119,6,0.25);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  transform: translateY(-3px);
}
.timeline-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(248, 250, 252, 0.95), rgba(234, 179, 8, 0.2));
  box-shadow: 0 10px 26px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  font-size: 0.7rem;
  margin-bottom: 14px;
}
.timeline-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d97706;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(217,119,6,0.08);
  border: 1px solid rgba(217,119,6,0.15);
}
.timeline-role {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 4px;
}
.timeline-company {
  font-size: 0.9rem;
  color: #22d3ee;
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline-location {
  font-size: 0.82rem;
  color: #6b6b8a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.timeline-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-point {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: #7c7c9a;
  line-height: 1.65;
}
.timeline-point::before {
  content: '→';
  color: #d97706;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.project-card {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.1); }
.project-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.06); }
.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,19,31,1) 0%, transparent 50%);
}
.project-body { padding: 22px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.project-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #d97706;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 10px;
}
.project-desc { font-size: 0.85rem; color: #6b6b8a; line-height: 1.7; margin-bottom: 18px; flex: 1; }
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.project-tech span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #8888aa;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.project-links { display: flex; gap: 10px; align-items: center; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #22d3ee;
  text-decoration: none;
  transition: all 0.2s ease;
}
.project-link:hover { color: #f59e0b; }
.project-link-disabled {
  font-size: 0.82rem;
  color: #3d3d55;
  font-style: italic;
}

/* ===== OPEN SOURCE ===== */
.oss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.repo-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.repo-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-3px); }
.repo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.repo-header i { font-size: 1.3rem; color: #8888aa; }
.repo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #e8e8f0;
}
.repo-desc { font-size: 0.87rem; color: #6b6b8a; margin-bottom: 16px; line-height: 1.6; }
.repo-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: #6b6b8a;
  margin-bottom: 16px;
}
.repo-meta span { display: flex; align-items: center; gap: 5px; }
.repo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #22d3ee;
  text-decoration: none;
  transition: all 0.2s ease;
}
.repo-link:hover { color: #f59e0b; }
.repo-cta {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(217,119,6,0.08), rgba(34,211,238,0.05));
  border: 1px solid rgba(217,119,6,0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.repo-cta h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 8px;
}
.repo-cta p { font-size: 0.87rem; color: #6b6b8a; margin-bottom: 20px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
  flex: 1 1 100%;
  max-width: 520px;
}
.testimonial-card:hover { border-color: rgba(217,119,6,0.2); }
.testimonial-quote-icon {
  font-size: 1.5rem;
  color: rgba(217,119,6,0.3);
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 0.92rem;
  color: #8888aa;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97706, #22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #07070f;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #e8e8f0;
  margin-bottom: 2px;
}
.testimonial-role { font-size: 0.78rem; color: #6b6b8a; }

@media (min-width: 1024px) {
  .testimonial-card {
    flex: 1 1 calc(50% - 12px);
  }
}

.testimonial-controls {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testimonial-controls .btn.btn-outline {
  padding: 8px 12px;
  border-radius: 999px;
}
.testimonial-dots {
  display: flex;
  gap: 6px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.testimonial-dot.active {
  width: 18px;
  background: #d97706;
  border-color: #d97706;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 22px; }
.blog-date {
  font-size: 0.75rem;
  color: #d97706;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-excerpt { font-size: 0.85rem; color: #6b6b8a; line-height: 1.7; margin-bottom: 16px; }
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #22d3ee;
  text-decoration: none;
  transition: all 0.2s ease;
}
.blog-link:hover { color: #f59e0b; gap: 10px; }

/* ===== BRANDS ===== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.brand-card {
  padding: 26px 20px;
  border-radius: 10px;
  background: #020617;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-card:hover {
  border-color: rgba(217,119,6,0.25);
  box-shadow: 0 14px 32px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
/* Checkerboard pattern (desktop: 5 columns) */
@media (min-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* pattern: oxox / xoxo per 4-card row => 8-card cycle */
  .brand-card:nth-child(8n + 1),
  .brand-card:nth-child(8n + 3),
  .brand-card:nth-child(8n + 6),
  .brand-card:nth-child(8n + 8) {
    background: #020617;
  }
  .brand-card:nth-child(8n + 2),
  .brand-card:nth-child(8n + 4),
  .brand-card:nth-child(8n + 5),
  .brand-card:nth-child(8n + 7) {
    background: #0b1120;
  }
}
.brand-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #8888aa;
  line-height: 1.4;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.contact-info-item:hover { border-color: rgba(217,119,6,0.15); }
.contact-info-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(217,119,6,0.1);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-info-value { font-size: 0.9rem; color: #8888aa; overflow-wrap: break-word; word-break: break-word; }
.contact-info-value a { color: #8888aa; text-decoration: none; transition: color 0.2s; word-break: break-all; }
.contact-info-value a:hover { color: #22d3ee; }
.contact-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.contact-social {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8888aa;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.contact-social:hover { background: rgba(217,119,6,0.1); color: #f59e0b; border-color: rgba(217,119,6,0.3); transform: translateY(-2px); }

/* Form side */
.contact-form-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
}
.contact-form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #e8e8f0;
  margin-bottom: 8px;
}
.contact-form-desc {
  font-size: 0.88rem;
  color: #6b6b8a;
  margin-bottom: 24px;
}
.contact-form-success {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* Form Styling - Unified */
.contact-form { display: flex; flex-direction: column; gap: 4px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-label { font-size: 0.82rem; font-weight: 600; color: #8888aa; letter-spacing: 0.03em; margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  outline: none;
  resize: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: #3d3d55; }
.form-input:focus, .form-textarea:focus { border-color: var(--gold); background: rgba(217, 119, 6, 0.04); }


/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: #040408;
  border-top: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.footer-fire {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  pointer-events: none;
}
#fireCanvas { width: 100%; height: 100%; }
.footer-inner { position: relative; z-index: 2; padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-desc { font-size: 0.85rem; color: #4d4d66; line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #e8e8f0;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.85rem;
  color: #4d4d66;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #d97706; }
.footer-connect p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: #4d4d66;
  margin-bottom: 8px;
}
.footer-connect p i { color: #d97706; width: 14px; }
.footer-social-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.footer-social-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d4d66;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-social-icon:hover { background: rgba(217,119,6,0.1); color: #f59e0b; border-color: rgba(217,119,6,0.2); }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  font-size: 0.82rem;
  color: #2d2d45;
}
.footer-bottom i { color: #d97706; }

/* ===== WHATSAPP STICKY ===== */
.whatsapp-sticky {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all 0.25s ease;
  animation: wiggle 3s ease-in-out 5s infinite;
}
.whatsapp-sticky:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .skills-container { grid-template-columns: 1fr; }
  .skills-sidebar-inner { flex-direction: row; align-items: center; gap: 20px; position: static; }
  .skills-vertical-text { writing-mode: horizontal-tb; transform: none; font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-links, .navbar-cv { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-name, .hero-desc { max-width: 100%; }
  .hero-btns, .hero-socials { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual { min-height: 330px; }
  .hero-img-ring { width: 250px; height: 250px; }
  .hero-badge-1 { left: 4px; top: 8px; }
  .hero-badge-2 { right: 4px; bottom: 8px; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img { aspect-ratio: 3/4; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 16px; }
  .contact-form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .oss-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-visual { min-height: 280px; }
  .hero-img-ring { width: 200px; height: 200px; }
  .hero-badge-1 { left: 0; top: 4px; }
  .hero-badge-2 { right: 0; bottom: 4px; }
  .hero-badge { padding: 6px 10px; gap: 6px; }
  .hero-badge-icon { width: 28px; height: 28px; font-size: 0.8rem; }
  .hero-badge-strong { font-size: 0.78rem; }
  .hero-badge-sub { font-size: 0.66rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 340px) {
  .container { padding: 0 12px; }
  .contact-grid { padding: 0 4px; }
  .contact-info-item { padding: 15px 12px; gap: 10px; }
  .contact-form-card { padding: 20px 16px; }
  .contact-info-icon { width: 36px; height: 36px; font-size: 0.85rem; }
  .contact-info-value { font-size: 0.82rem; }
}

/* ===== CUSTOM CURSOR (desktop only) ===== */
@media (pointer: fine) {
  body { cursor: none; }
  .cursor-dot {
    position: fixed;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #d97706;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, opacity 0.2s ease;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    position: fixed;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(217,119,6,0.5);
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
  }
  a:hover ~ .cursor-ring,
  button:hover ~ .cursor-ring { width: 48px; height: 48px; border-color: #22d3ee; }
}

/* ===== SKILL CARD glow on hover ===== */
.skill-card:hover i {
  filter: drop-shadow(0 0 8px currentColor);
  transform: scale(1.12);
  transition: all 0.2s ease;
}
.skill-card i { transition: all 0.2s ease; }

/* ===== PROJECT card number overlay ===== */
.project-card:hover .project-body { background: linear-gradient(to top, rgba(13,13,26,0.6), transparent); }

/* ===== SECTION entrance animation (stagger children) ===== */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.19s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.26s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.33s; }
.stagger-children.visible > *:nth-child(n+6) { opacity: 1; transform: none; transition-delay: 0.38s; }

/* ===== GLOWING section divider ===== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,119,6,0.18), rgba(34,211,238,0.12), transparent);
  margin: 0;
}

/* ===== ACTIVE nav link glow ===== */
.navbar-link.active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: rgba(217,119,6,0.06);
}

/* ===== CONTACT form submit hover ===== */
.contact-form button[type="submit"]:hover {
  box-shadow: 0 0 28px rgba(37,211,102,0.25);
}

/* ===== HERO gradient mesh overlay ===== */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-2));
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

/* ===== BRAND card accent border on hover ===== */
.brand-card:hover .brand-name { color: #c4c4d6; }

/* ===== BRAND PALETTE ===== */
.navbar { background: rgba(7, 7, 15, 0.86); }
.navbar.scrolled { background: rgba(7, 7, 15, 0.98); }
.navbar-link:hover, .navbar-link.active { color: #FFFFFF; }
.hero-tag { background: rgba(6, 77, 237, 0.12); border-color: rgba(6, 77, 237, 0.35); color: #FFFFFF; }
.hero-tag-dot { background: #064DED; }
.hero-name span { background: linear-gradient(135deg, #FA7E0E 0%, #064DED 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-role { color: #d4d9e2; }
.hero-desc, .hero-badge-sub { color: #d4d9e2; }
.hero-stat-value { color: #FA7E0E; }
.hero-img-ring::before { background: conic-gradient(from 0deg, #FA7E0E, #064DED, #DE8A41, #FA7E0E); }
.hero-badge-icon.gold { background: rgba(250, 126, 14, 0.16); color: #FA7E0E; }
.hero-badge-icon.cyan { background: rgba(6, 77, 237, 0.16); color: #064DED; }
.hero-social-link:hover { background: rgba(250, 126, 14, 0.14); color: #FA7E0E; border-color: rgba(250, 126, 14, 0.4); }
.service-card:hover, .method-card:hover, .project-card:hover, .skill-card:hover, .brand-card:hover, .repo-card:hover { border-color: rgba(250, 126, 14, 0.4); }
.project-link, .repo-link, .blog-link { color: #064DED; }
.project-link:hover, .repo-link:hover, .blog-link:hover { color: #FA7E0E; }
.contact-info-value a:hover, .contact-social:hover { color: #064DED; }
.footer-links a:hover, .footer-connect p i, .footer-bottom i { color: #FA7E0E; }
.navbar-cv, .mobile-cv { color: #FA7E0E; }
.mobile-link:hover, .mobile-link.active { color: #FA7E0E; background: rgba(250, 126, 14, 0.12); }
.section-label, .skill-group-label, .timeline-date, .project-category, .blog-date, .contact-info-label { color: #FA7E0E; }
.hero-social-link, .contact-social, .skill-card span, .contact-info-value, .form-label { color: #d4d9e2; }
.about-chip i, .timeline-company, .method-icon, .contact-info-icon { color: #064DED; }
.skill-group-label::after, .line-divider { background: linear-gradient(90deg, #FA7E0E, #064DED); }
.project-card:hover .project-body { background: linear-gradient(to top, rgba(13, 13, 26, 0.85), transparent); }
.repo-link, .project-link, .blog-link { color: #064DED; }
.repo-link:hover, .project-link:hover, .blog-link:hover { color: #FA7E0E; }
.footer-social-icon:hover { background: rgba(250, 126, 14, 0.14); color: #FA7E0E; border-color: rgba(250, 126, 14, 0.35); }

