/* ═══════════════════════════════════════════════════════════
   Apu Barua — Portfolio Styles
   Framework: Flask  |  Author: Apu Barua
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --surface: #16161f;
  --border: rgba(255, 255, 255, 0.07);
  --accent: #7c5cfc;
  --accent2: #00d4a8;
  --accent3: #ff6b6b;
  --text: #f0f0f8;
  --muted: #888898;
  --card: #13131c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' 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;
}

/* ─── Custom Cursor ─── */
* {
  cursor: none !important;
}

.cursor {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(124, 92, 252, 0.7);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hovered {
  width: 16px;
  height: 16px;
  background: var(--accent2);
}

.cursor-ring.hovered {
  width: 56px;
  height: 56px;
  border-color: rgba(0, 212, 168, 0.5);
}

/* ─── Navigation ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), transparent);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--text);
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.orb1 {
  width: 600px;
  height: 600px;
  background: rgba(124, 92, 252, 0.15);
  top: -100px;
  right: -100px;
}

.orb2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 168, 0.1);
  bottom: -50px;
  left: 200px;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 107, 107, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ─ Floating Particles ─ */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 8s ease-in-out infinite;
}

.p1 { width: 4px; height: 4px; background: var(--accent); top: 15%; left: 10%; animation-delay: 0s; }
.p2 { width: 6px; height: 6px; background: var(--accent2); top: 25%; left: 85%; animation-delay: 1.5s; }
.p3 { width: 3px; height: 3px; background: var(--accent3); top: 70%; left: 15%; animation-delay: 3s; }
.p4 { width: 5px; height: 5px; background: var(--accent); top: 80%; left: 75%; animation-delay: 4.5s; }
.p5 { width: 4px; height: 4px; background: var(--accent2); top: 45%; left: 5%; animation-delay: 2s; }
.p6 { width: 3px; height: 3px; background: #ffc83c; top: 35%; left: 65%; animation-delay: 5s; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
  25% { transform: translateY(-30px) translateX(10px); opacity: 0.7; }
  50% { transform: translateY(-15px) translateX(-12px); opacity: 0.3; }
  75% { transform: translateY(-40px) translateX(8px); opacity: 0.6; }
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 92, 252, 0.12);
  border: 1px solid rgba(124, 92, 252, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}

.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

/* ─ Hero Typography ─ */
.hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-greeting {
  display: block;
  font-size: 0.38em;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: "DM Sans", sans-serif;
}

.hero-name {
  display: block;
  background: linear-gradient(135deg, var(--text), rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-name-highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role-wrapper {
  display: inline;
  margin-top: 0;
  position: relative;
}

.hero-role-static {
  color: var(--muted);
  font-weight: 600;
}

.hero-role-animated {
  position: relative;
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 100px;
}

.hero-role {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-role.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-role.exit-up {
  opacity: 0;
  transform: translateY(-100%);
}

/* No cursor blink */
.hero-role-animated::after {
  display: none;
}

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

.hero-desc {
  max-width: 500px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* ─ Hero Stats ─ */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeUp 0.6s 0.5s ease both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-num {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ═══ Hero Photo — Circle + Orbits ═══ */
.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 420px;
  height: 420px;
  animation: fadeIn 1s 0.4s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  pointer-events: none;
}

.orbit-ring-1 {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(124, 92, 252, 0.12);
  animation: orbitSpin 25s linear infinite;
}

.orbit-ring-2 {
  width: 370px;
  height: 370px;
  border: 1px dashed rgba(0, 212, 168, 0.1);
  animation: orbitSpin 35s linear infinite reverse;
}

.orbit-ring-3 {
  width: 430px;
  height: 430px;
  border: 1px dotted rgba(255, 107, 107, 0.08);
  animation: orbitSpin 50s linear infinite;
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Profile circle */
.hero-photo-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite;
  box-shadow:
    0 0 60px rgba(124, 92, 252, 0.35),
    0 0 120px rgba(124, 92, 252, 0.15),
    inset 0 0 30px rgba(0, 212, 168, 0.1);
  z-index: 2;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.hero-photo-circle:hover {
  box-shadow:
    0 0 80px rgba(124, 92, 252, 0.5),
    0 0 150px rgba(0, 210, 160, 0.2);
  transform: translate(-50%, -50%) scale(1.04);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  display: block;
  filter: brightness(1.08) contrast(1.05) saturate(1.1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-photo-circle:hover .hero-photo {
  transform: scale(1.08);
  filter: brightness(1.12) contrast(1.08) saturate(1.15);
}

.hero-photo-glow {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  filter: blur(55px);
  opacity: 0.4;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* ═══ Orbiting Skill Badges — Solar System Style ═══ */

/* Each badge orbits using: rotate(angle) → translateX(radius) → rotate(-angle) to keep icon upright */
.orbit-badge {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 22, 31, 0.92);
  border: 1px solid rgba(124, 92, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(124, 92, 252, 0.1);
  top: 50%;
  left: 50%;
  margin-top: -22px;
  margin-left: -22px;
}

.orbit-badge:hover {
  box-shadow: 0 0 30px rgba(124, 92, 252, 0.5);
  border-color: var(--accent);
}

.orbit-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: rgba(22, 22, 31, 0.95);
  border: 1px solid rgba(124, 92, 252, 0.3);
  color: var(--text);
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.02em;
}

.orbit-badge:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Inner orbit — radius 150px, 3 badges, 20s */
.ob1 { animation: planetOrbit1 18s linear infinite; }
.ob2 { animation: planetOrbit2 18s linear infinite; }
.ob3 { animation: planetOrbit3 18s linear infinite; }

/* Outer orbit — radius 200px, 3 badges, 28s, reverse */
.ob4 { animation: planetOrbit4 26s linear infinite reverse; }
.ob5 { animation: planetOrbit5 26s linear infinite reverse; }
.ob6 { animation: planetOrbit6 26s linear infinite reverse; }

/* Inner orbit: 3 badges equally spaced (0°, 120°, 240°), radius=150px */
@keyframes planetOrbit1 {
  from { transform: rotate(0deg)   translateX(150px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}
@keyframes planetOrbit2 {
  from { transform: rotate(120deg) translateX(150px) rotate(-120deg); }
  to   { transform: rotate(480deg) translateX(150px) rotate(-480deg); }
}
@keyframes planetOrbit3 {
  from { transform: rotate(240deg) translateX(150px) rotate(-240deg); }
  to   { transform: rotate(600deg) translateX(150px) rotate(-600deg); }
}

/* Outer orbit: 3 badges equally spaced (60°, 180°, 300°), radius=200px */
@keyframes planetOrbit4 {
  from { transform: rotate(60deg)  translateX(200px) rotate(-60deg); }
  to   { transform: rotate(420deg) translateX(200px) rotate(-420deg); }
}
@keyframes planetOrbit5 {
  from { transform: rotate(180deg) translateX(200px) rotate(-180deg); }
  to   { transform: rotate(540deg) translateX(200px) rotate(-540deg); }
}
@keyframes planetOrbit6 {
  from { transform: rotate(300deg) translateX(200px) rotate(-300deg); }
  to   { transform: rotate(660deg) translateX(200px) rotate(-660deg); }
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10;
  animation: fadeUp 0.6s 0.5s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Buttons ─── */
.btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 92, 252, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(124, 92, 252, 0.5);
}

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

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

/* ─── Sections ─── */
section {
  padding: 100px 60px;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 60px;
}

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

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0 60px;
}

/* ─── Tech Ticker ─── */
.tech-ticker {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}

.tech-ticker::before,
.tech-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.tech-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}

.tech-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.3s ease;
}

.ticker-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(124, 92, 252, 0.2);
  transform: translateY(-2px);
}

.ticker-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(124, 92, 252, 0.3));
}

.ticker-item span {
  font-family: "Syne", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ─── Skills ─── */
.skills-section {
  background: var(--bg2);
}

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

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--card-accent, rgba(124, 92, 252, 0.05)),
    transparent
  );
  pointer-events: none;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.skill-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.skill-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ─── Projects ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.project-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.project-thumb::after {
  content: "View Project →";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-thumb::after {
  opacity: 1;
}

.project-body {
  padding: 24px;
}

.project-type {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}

.project-body h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.project-body p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.project-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(124, 92, 252, 0.12);
  border: 1px solid rgba(124, 92, 252, 0.2);
  color: var(--accent);
}

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-avatar-frame {
  width: 340px;
  height: 340px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 3px;
  position: relative;
}

.about-avatar-inner {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}

.about-avatar-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(124, 92, 252, 0.2),
    transparent 60%
  );
}

.about-float-badge {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.badge1 {
  bottom: -20px;
  right: -30px;
}

.badge2 {
  top: -20px;
  left: -20px;
}

.badge-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent2);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.about-text p {
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text .highlight {
  color: var(--text);
  font-weight: 400;
}

/* ─── Contact ─── */
.contact-section {
  background: var(--bg2);
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-title {
  margin-bottom: 20px;
}

.contact-inner p {
  color: var(--muted);
  margin-bottom: 40px;
  font-weight: 300;
}



/* Contact Links */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s;
  background: var(--card);
}

.contact-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(124, 92, 252, 0.2);
  color: var(--accent);
}

/* ─── Footer ─── */
footer {
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.hidden {
  opacity: 0;
  transform: translateY(30px);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
  }
  .hero-photo-wrap {
    width: 350px;
    height: 350px;
  }
  .hero-photo-circle {
    width: 160px;
    height: 160px;
  }
  .orbit-ring-1 { width: 240px; height: 240px; }
  .orbit-ring-2 { width: 310px; height: 310px; }
  .orbit-ring-3 { width: 350px; height: 350px; }
  .orbit-badge { width: 38px; height: 38px; margin-top: -19px; margin-left: -19px; }
  .orbit-badge svg { width: 18px; height: 18px; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
  }
  .nav-links {
    display: none;
  }
  section {
    padding: 60px 24px;
  }
  .hero {
    padding: 100px 24px 60px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-avatar-frame {
    width: 240px;
    height: 240px;
    margin: 0 auto;
  }
  .tech-ticker {
    padding: 20px 0;
  }
  .ticker-track {
    gap: 24px;
  }
  .ticker-item {
    padding: 8px 14px;
  }
  .ticker-item img {
    width: 22px;
    height: 22px;
  }
  .ticker-item span {
    font-size: 0.78rem;
  }
  .divider {
    margin: 0 24px;
  }
  footer {
    padding: 24px;
    flex-direction: column;
    gap: 8px;
  }

}

@media (max-width: 600px) {
  .hero-photo-wrap {
    width: 280px;
    height: 280px;
  }
  .hero-photo-circle {
    width: 160px;
    height: 160px;
  }
  .orbit-ring-1 { width: 220px; height: 220px; }
  .orbit-ring-2 { width: 260px; height: 260px; }
  .orbit-ring-3 { width: 280px; height: 280px; }
  .orbit-badge { width: 36px; height: 36px; }
  .orbit-badge svg { width: 16px; height: 16px; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.3rem; }
}
