/* ===== ENTERPRISE DESIGN SYSTEM v9.0 — Solar System Hero ===== */

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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-400: #9ca3af;
  --indigo: #6366f1;
  --indigo-light: #818cf8;
  --indigo-dark: #4f46e5;
  --cyan: #22d3ee;
  --grad: linear-gradient(135deg, #6366f1, #22d3ee);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --trans: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: #000; color: #fff; overflow-x: hidden; cursor: none; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 2px; }
::selection { background: var(--indigo); color: #fff; }

/* CURSOR */
#cdot { position: fixed; width: 6px; height: 6px; background: #fff; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); }
#cring { position: fixed; width: 32px; height: 32px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width .2s, height .2s, border-color .2s; }
#cring.big { width: 52px; height: 52px; border-color: var(--indigo); }

/* LOADER */
#loader { position: fixed; inset: 0; background: #000; display: flex; align-items: center; justify-content: center; z-index: 9990; transition: opacity .5s, visibility .5s; }
#loader.out { opacity: 0; visibility: hidden; }
.ld-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ld-logo-wrap { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--indigo); }
.ld-logo { width: 100%; height: 100%; object-fit: cover; }
.ld-name { font-size: 11px; font-weight: 700; letter-spacing: .25em; color: rgba(255,255,255,.4); }
.ld-track { width: 180px; height: 1px; background: rgba(255,255,255,.1); overflow: hidden; }
.ld-bar { height: 100%; width: 0%; background: var(--grad); transition: width .08s; }
.ld-pct { font-size: 11px; font-family: var(--mono); color: rgba(255,255,255,.35); }

/* NAV */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; padding: 0 48px; height: 64px; transition: background var(--trans), border-color var(--trans); border-bottom: 1px solid transparent; }
#nav.solid { background: rgba(0,0,0,.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom-color: rgba(255,255,255,.06); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .06em; margin-right: auto; }
.nav-brand em { color: var(--indigo); font-style: normal; }
.nav-icon { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,.15); }
.nav-ul { list-style: none; display: flex; gap: 4px; }
.nav-ul a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 8px; transition: color var(--trans), background var(--trans); }
.nav-ul a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-hire { margin-left: 16px; padding: 8px 22px; background: #fff; color: #000; border-radius: 100px; font-size: 13px; font-weight: 600; text-decoration: none; transition: opacity var(--trans), transform var(--trans); }
.nav-hire:hover { opacity: .88; transform: translateY(-1px); }
.nav-hbg { display: none; background: none; border: none; cursor: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hbg span { display: block; width: 22px; height: 1.5px; background: #fff; border-radius: 2px; transition: var(--trans); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 60% 40%, #080d1a 0%, #000 60%);
}

/* Dot grid */
.hero-dot-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}

/* Ambient orbs */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
.orb-a { width: 700px; height: 700px; background: radial-gradient(circle, rgba(6,182,212,.12) 0%, transparent 65%); top: -20%; right: -8%; animation: orbDrift 18s ease-in-out infinite; }
.orb-b { width: 500px; height: 500px; background: radial-gradient(circle, rgba(99,102,241,.1) 0%, transparent 65%); bottom: -10%; left: -8%; animation: orbDrift 24s ease-in-out infinite reverse 3s; }
@keyframes orbDrift { 0%,100% { transform: translate(0,0); } 33% { transform: translate(20px,-30px); } 66% { transform: translate(-15px,20px); } }

/* Hero layout */
.hero-wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto; padding: 80px 48px 160px;
  width: 100%; gap: 40px; min-height: 100svh;
}
.hero-content { flex: 1; max-width: 560px; }

.hero-status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: rgba(255,255,255,.45); text-transform: uppercase; margin-bottom: 28px; }
.pulse { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* HERO HEADLINE */
.hero-h1 {
  font-size: clamp(54px, 6.5vw, 90px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.036em;
  margin-bottom: 22px;
  display: flex; flex-direction: column;
}
.h1-line { display: block; animation: slideUp .8s cubic-bezier(.16,1,.3,1) both; }
.h1-line:nth-child(1) { animation-delay: .08s; }
.h1-line:nth-child(2) { animation-delay: .16s; }
.h1-line:nth-child(3) { animation-delay: .24s; }
@keyframes slideUp { from { opacity:0; transform: translateY(50px); } to { opacity:1; transform: none; } }
.h1-grad { background: linear-gradient(90deg, #22d3ee, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-sub { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: rgba(255,255,255,.38); text-transform: uppercase; margin-bottom: 36px; animation: slideUp .8s cubic-bezier(.16,1,.3,1) .32s both; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; animation: slideUp .8s cubic-bezier(.16,1,.3,1) .4s both; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 6px; padding: 13px 28px; background: #fff; color: #000; border-radius: 100px; font-size: 14px; font-weight: 600; text-decoration: none; border: none; cursor: none; transition: opacity var(--trans), transform var(--trans); }
.btn-primary:hover { opacity: .88; transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; padding: 13px 28px; background: transparent; color: rgba(255,255,255,.75); border-radius: 100px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,.18); cursor: none; transition: border-color var(--trans), color var(--trans), background var(--trans), transform var(--trans); }
.btn-outline:hover { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.05); transform: translateY(-2px); }

/* =============================================
   SOLAR SYSTEM HERO — Profile + Orbiting Planets
   ============================================= */
.hero-solar {
  flex-shrink: 0;
  position: relative;
  width: 460px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideUp 1s cubic-bezier(.16,1,.3,1) .2s both;
}

/* CENTER: Profile image */
.solar-profile {
  position: relative;
  z-index: 20;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  flex-shrink: 0;
}
.solar-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 2.5px solid rgba(34,211,238,.5);
  box-shadow:
    0 0 0 6px rgba(34,211,238,.07),
    0 0 0 12px rgba(34,211,238,.04),
    0 0 40px rgba(34,211,238,.25),
    0 0 80px rgba(99,102,241,.15);
}
/* Rotating halo ring around profile */
.solar-profile::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(34,211,238,.25);
  border-top-color: rgba(34,211,238,.7);
  animation: haloPulse 3s linear infinite;
}
.solar-profile::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,.15);
  border-bottom-color: rgba(99,102,241,.45);
  animation: haloPulse 5s linear infinite reverse;
}
@keyframes haloPulse { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ORBIT RINGS */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-1 { width: 210px; height: 210px; border-color: rgba(34,211,238,.12); }
.orbit-2 { width: 310px; height: 310px; border-color: rgba(99,102,241,.09); }
.orbit-3 { width: 420px; height: 420px; border-color: rgba(255,255,255,.05); }

/* PLANET WRAPPERS — rotate around the center */
/* The trick: outer div rotates, inner planet div counter-rotates to stay upright */
.planet-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform-origin: 0 0;
  pointer-events: none;
}

/* Planet orbit 1 — small teal planet, tight orbit */
.po-1 {
  width: 105px; height: 105px;
  margin-top: -52.5px; margin-left: -52.5px;
  animation: orbitSpin 8s linear infinite;
}
/* Planet orbit 2 — medium purple planet, medium orbit */
.po-2 {
  width: 155px; height: 155px;
  margin-top: -77.5px; margin-left: -77.5px;
  animation: orbitSpin 14s linear infinite reverse;
}
/* Planet orbit 3 — small orange accent planet, wide orbit */
.po-3 {
  width: 210px; height: 210px;
  margin-top: -105px; margin-left: -105px;
  animation: orbitSpin 20s linear infinite 2s;
}

@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Planet dots themselves */
.planet {
  position: absolute;
  border-radius: 50%;
  top: 0; left: 50%;
  transform: translateX(-50%);
}

/* Planet 1: teal small */
.p1 {
  width: 22px; height: 22px;
  background: radial-gradient(circle at 35% 35%, #67e8f9, #0e7490);
  box-shadow: 0 0 10px rgba(6,182,212,.6), 0 0 24px rgba(6,182,212,.3);
  animation: orbitSpin 8s linear infinite reverse;
}
/* Planet 2: purple medium */
.p2 {
  width: 32px; height: 32px;
  background: radial-gradient(circle at 30% 30%, #c4b5fd, #4f46e5);
  box-shadow: 0 0 12px rgba(99,102,241,.7), 0 0 28px rgba(99,102,241,.3);
  animation: orbitSpin 14s linear infinite;
}
/* Planet 3: warm accent */
.p3 {
  width: 18px; height: 18px;
  background: radial-gradient(circle at 35% 30%, #fde68a, #d97706);
  box-shadow: 0 0 8px rgba(251,191,36,.7), 0 0 20px rgba(251,191,36,.3);
  animation: orbitSpin 20s linear infinite reverse 2s;
}

/* Planet rings (like Saturn) on planet 2 */
.p2::before {
  content: '';
  position: absolute;
  width: 52px; height: 14px;
  border: 2px solid rgba(167,139,250,.4);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotateX(70deg);
  pointer-events: none;
}

/* Floating skill tag pills */
.hp-tag {
  position: absolute;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255,255,255,.9);
  z-index: 30;
  animation: tagBob 5s ease-in-out infinite;
}
.ht1 { top: 2%;  right: 0%;   animation-delay: 0s; }
.ht2 { top: 30%; left: -8%;  animation-delay: .8s; }
.ht3 { bottom: 18%; right: -6%; animation-delay: 1.6s; }
.ht4 { bottom: 2%;  left: 12%;  animation-delay: 2.4s; }
.ht5 { top: 56%; right: -10%; animation-delay: 1.2s; }
@keyframes tagBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Stats bar */
.hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  padding: 22px 48px;
  background: rgba(0,0,0,.4); backdrop-filter: blur(12px);
}
.hsb-item { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; max-width: 160px; }
.hsb-n { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.hsb-l { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.35); letter-spacing: .1em; text-transform: uppercase; }
.hsb-div { width: 1px; height: 36px; background: rgba(255,255,255,.07); flex-shrink: 0; }

.hero-scroll { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3; }
.hero-scroll span { font-size: 9px; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.2); text-transform: uppercase; }
.scroll-line { width: 1px; height: 46px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.25)); animation: scrollAnim 2s ease-in-out infinite; }
@keyframes scrollAnim { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ===== SECTIONS ===== */
.ctr { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.tag-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--indigo); text-transform: uppercase; margin-bottom: 20px; }
.sec-title { font-size: clamp(36px, 4vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 14px; }
.sec-sub { font-size: 16px; color: rgba(255,255,255,.45); margin-bottom: 52px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.body-p { color: rgba(255,255,255,.58); line-height: 1.78; font-size: 16px; margin-bottom: 16px; }

/* MARQUEE */
#marquee-sec { padding: 28px 0; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); overflow: hidden; }
.marquee-wrap { overflow: hidden; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.mq-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.3); font-size: 13px; font-weight: 500; white-space: nowrap; }
.mq-item img { width: 20px; height: 20px; object-fit: contain; opacity: .5; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ABOUT */
#about { padding: 120px 0; border-top: 1px solid rgba(255,255,255,.05); }
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: start; margin-top: 36px; }
.about-card {
  position: relative; border-radius: 20px; overflow: hidden;
  width: 320px; height: 380px;
  border: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.about-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.about-card:hover .about-img { transform: scale(1.05); }
.about-card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 100%); }
.aco-name { font-weight: 700; font-size: 16px; }
.aco-role { font-size: 12px; color: rgba(255,255,255,.5); margin: 3px 0; }
.aco-loc { font-size: 11px; color: rgba(255,255,255,.35); margin: 3px 0; }
.aco-badges { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.aco-badges span { font-size: 10px; padding: 3px 9px; border-radius: 100px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.open-badge { color: #4ade80 !important; border-color: rgba(74,222,128,.2) !important; }

.about-facts { display: flex; gap: 28px; margin-top: 28px; }
.af { display: flex; flex-direction: column; }
.af-n { font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.af-l { font-size: 11px; color: rgba(255,255,255,.38); letter-spacing: .07em; text-transform: uppercase; margin-top: 3px; }

/* SHOWCASE */
#showcase { padding: 120px 0; border-top: 1px solid rgba(255,255,255,.05); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); text-decoration: none; color: #fff; display: flex; flex-direction: column; transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans); }
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.13); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.card-lg { grid-column: span 2; }
.card-wide { grid-column: span 2; }
.card-img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .5s ease; }
.card-lg .card-img { height: 250px; }
.card:hover .card-img { transform: scale(1.04); }
.card-badge { position: absolute; top: 12px; left: 12px; background: var(--indigo); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 4px 10px; border-radius: 100px; }
.card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-cat { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--indigo-light); text-transform: uppercase; }
.cat-green { color: #4ade80; } .cat-blue { color: #60a5fa; } .cat-red { color: #f87171; } .cat-purple { color: #c084fc; } .cat-orange { color: #fb923c; } .cat-yellow { color: #facc15; }
.card-body h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.card-body p { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.65; flex: 1; }
.card-cta { font-size: 12px; font-weight: 600; color: var(--indigo-light); margin-top: 4px; }
.card-shine { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.05) 0%, transparent 50%); opacity: 0; transition: opacity var(--trans); pointer-events: none; }
.card:hover .card-shine { opacity: 1; }

/* SKILLS */
#skills { padding: 120px 0; position: relative; border-top: 1px solid rgba(255,255,255,.05); }
.mesh-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(99,102,241,.05) 0%, transparent 70%); pointer-events: none; }
.skill-cat-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.3); text-transform: uppercase; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.05); }
.skills-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.slg-item { background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-sm); padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; transition: background var(--trans), border-color var(--trans), transform var(--trans); }
.slg-item:hover { background: rgba(99,102,241,.07); border-color: rgba(99,102,241,.22); transform: translateY(-3px); }
.slg-item img, .slg-tool-svg { width: 34px; height: 34px; object-fit: contain; }
.slg-emoji { font-size: 26px; line-height: 1; }
.slg-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.75); }
.slg-pct { font-size: 10px; font-family: var(--mono); color: var(--indigo-light); }
.slg-bar { width: 100%; height: 2px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }
.slg-fill { height: 100%; width: 0%; background: var(--grad); border-radius: 2px; transition: width 1.2s cubic-bezier(.4,0,.2,1); }

/* CONTACT */
#contact { padding: 120px 0; position: relative; border-top: 1px solid rgba(255,255,255,.05); }
.contact-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(6,182,212,.05) 0%, transparent 70%); pointer-events: none; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; margin-top: 36px; }
.contact-links { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.clink { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; transition: color var(--trans); }
.clink:hover { color: #fff; }
.clink-svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .45; }
.contact-form { display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); border-radius: 20px; padding: 28px; }
.fg input, .fg textarea { width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 13px 15px; color: #fff; font-family: var(--font); font-size: 14px; outline: none; transition: border-color var(--trans), background var(--trans); resize: vertical; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.25); }
.fg input:focus, .fg textarea:focus { border-color: var(--indigo); background: rgba(99,102,241,.04); }
#fmsg { padding: 11px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; }
#fmsg.ok { background: rgba(74,222,128,.08); color: #4ade80; border: 1px solid rgba(74,222,128,.18); }
#fmsg.err { background: rgba(248,113,113,.08); color: #f87171; border: 1px solid rgba(248,113,113,.18); }

/* FOOTER */
footer { border-top: 1px solid rgba(255,255,255,.05); padding: 44px 0 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-icon { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.1); }
.fb-name { font-weight: 700; font-size: 13px; letter-spacing: .05em; }
.fb-name em { color: var(--indigo); font-style: normal; }
.fb-sub { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 2px; }
.footer-links { display: flex; gap: 20px; }
.footer-social { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.38); text-decoration: none; font-size: 13px; font-weight: 500; transition: color var(--trans); }
.footer-social:hover { color: #fff; }
.footer-social svg { width: 15px; height: 15px; }
.footer-bottom { font-size: 11px; color: rgba(255,255,255,.22); border-top: 1px solid rgba(255,255,255,.05); padding-top: 22px; }

/* SCROLL REVEAL */
.rv-ready { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.rv-ready.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-wrap { flex-direction: column; min-height: auto; padding: 110px 40px 160px; justify-content: center; gap: 48px; }
  .hero-solar { width: 320px; height: 320px; }
  .orbit-3 { width: 300px; height: 300px; }
  .po-3 { width: 150px; height: 150px; margin-top: -75px; margin-left: -75px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-card { width: 100%; height: 280px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  #nav { padding: 0 20px; }
  .nav-ul { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(0,0,0,.95); backdrop-filter: blur(20px); flex-direction: column; padding: 16px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-ul.open { display: flex; }
  .nav-ul a { padding: 11px 14px; }
  .nav-hire { display: none; }
  .nav-hbg { display: flex; }
  .hero-wrap { padding: 100px 20px 160px; }
  .hero-solar { display: none; }
  .ctr { padding: 0 20px; }
  #about, #showcase, #skills, #contact { padding: 80px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .card-lg, .card-wide { grid-column: span 1; }
  .hero-stats-bar { padding: 18px 20px; flex-wrap: wrap; }
  .hsb-div { display: none; }
  .hsb-item { min-width: 50%; padding: 6px 0; }
}