/* ==========================================================================
   ARADOB HUB – DESIGN SYSTEM (fiel ao Angular original)
   Performance-optimized: sem backdrop-filter em elementos animados
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&family=Fira+Code:wght@400;500;600&display=swap');

/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
  --bg-primary:    #050508;
  --bg-secondary:  #0d0d12;
  --bg-tertiary:   #161622;
  --text-primary:  #ffffff;
  --text-secondary:#94a3b8;
  --accent-blue:   #38bdf8;
  --accent-purple: #818cf8;
  --accent-amber:  #fbbf24;
  --accent-red:    #f43f5e;
  --accent-green:  #34d399;
  --border-color:  rgba(255,255,255,0.05);
  --mouse-x: 50%; --mouse-y: 50%;
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}
::selection { background: rgba(129,140,248,.3); color: #fff; }

/* ─── SCROLLBAR ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 5px; border: 2px solid var(--bg-primary); }
::-webkit-scrollbar-thumb:hover { background: #374151; }

/* ─── CUSTOM CURSOR ──────────────────────────────────────────────────────── */
.custom-cursor {
  width: 6px; height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  will-change: transform;
  transition: width .2s, height .2s, background-color .2s;
  display: none;
}
.custom-cursor.hovered { width: 24px; height: 24px; background: rgba(56,189,248,.2); border: 1px solid var(--accent-blue); }
.custom-cursor-follower {
  width: 32px; height: 32px;
  border: 1px solid rgba(129,140,248,.3);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  will-change: transform;
  transition: width .3s, height .3s, border-color .3s, background-color .3s;
  display: none;
}
.custom-cursor-follower.hovered { width: 48px; height: 48px; border-color: var(--accent-purple); background: rgba(129,140,248,.05); }
@media (min-width: 769px) {
  body, a, button, input, textarea, select, [role="button"] { cursor: none; }
}

/* ─── CYBER CANVAS & SPOTLIGHT ───────────────────────────────────────────── */
.cyber-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.ambient-spotlight {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(129,140,248,.04) 0%, rgba(56,189,248,.02) 50%, transparent 100%);
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────── */
.reveal-fade, .reveal-slide-up { opacity: 0; }
.reveal-fade { transition: opacity .9s cubic-bezier(.16,1,.3,1); }
.reveal-slide-up { transform: translateY(36px); transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1); }
.reveal-fade.visible { opacity: 1; }
.reveal-slide-up.visible { opacity: 1; transform: translateY(0); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 50%, #f43f5e 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.eyebrow {
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .15em; color: var(--accent-purple);
  margin-bottom: 12px; display: block;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.15; color: var(--text-primary); margin: 0 0 16px;
}
.accent-bar { width: 60px; height: 3px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); border-radius: 2px; }
.para { font-size: clamp(1rem, 1.1vw, 1.15rem); line-height: 1.65; color: var(--text-secondary); margin-bottom: 20px; }

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 10; }
.hero-layout-container { width: 100%; height: 100%; position: relative; }
.section { padding: clamp(60px, 10vw, 120px) 0; position: relative; border-bottom: 1px solid rgba(255,255,255,.03); transition: background-color 0.4s ease; }
/* ─── SECTION PERSONALITIES & GRADIENTS ─────────────────────────────────── */
#hero {
  background-color: #030305;
}
#sobre {
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.03) 0%, transparent 50%), #060912;
  border-left: 4px solid rgba(56, 189, 248, 0.35);
}
#skills {
  background: radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.04) 0%, transparent 60%), #080612;
  /* Dotted tech grid overlay */
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 0),
    radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.04) 0%, transparent 60%),
    linear-gradient(to bottom, #080612, #080612);
  background-size: 24px 24px, 100% 100%, 100% 100%;
}
#portfolio {
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.03) 0%, transparent 50%), #04040a;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
}
#sistemas {
  background: radial-gradient(circle at 0% 50%, rgba(52, 211, 153, 0.03) 0%, transparent 50%), #060807;
  border-right: 4px solid rgba(52, 211, 153, 0.25);
}
#servicos {
  background: radial-gradient(circle at 50% 50%, rgba(129, 140, 248, 0.04) 0%, transparent 60%), #090615;
}
#diferenciais {
  background: radial-gradient(circle at 100% 30%, rgba(56, 189, 248, 0.03) 0%, transparent 50%), #05070c;
  border-left: 4px solid rgba(56, 189, 248, 0.25);
}
#testemunhos {
  background: radial-gradient(circle at 20% 80%, rgba(129, 140, 248, 0.03) 0%, transparent 50%), #040406;
}
#contato {
  background: radial-gradient(circle at 50% 90%, rgba(244, 63, 94, 0.06) 0%, rgba(129, 140, 248, 0.01) 60%, transparent 100%), #020203;
  border-top: 1px solid rgba(244, 63, 94, 0.12);
}

.section-header { margin-bottom: clamp(40px, 6vw, 70px); }

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(5,5,8,.7);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: all .3s ease;
}
.navbar.scrolled { background: rgba(5,5,8,.9); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.nav-container { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; transition: all .3s; }
.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .5px; }
.brand-logo .brand-svg { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(129,140,248,.3)); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.brand-logo .brand-text span { color: var(--accent-purple); transition: color .3s; }
.brand-logo:hover .brand-svg { transform: rotate(180deg); }
.brand-logo:hover .brand-text span { color: var(--accent-blue); }
.nav-menu { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.nav-link { text-decoration: none; color: var(--text-secondary); font-size: 14px; font-weight: 500; letter-spacing: .2px; transition: color .3s; position: relative; padding: 6px 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); transition: width .3s; }
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-link-cta { text-decoration: none; color: var(--bg-primary); background: var(--text-primary); font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 8px; transition: all .3s; }
.nav-link-cta:hover { background: var(--accent-blue); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(56,189,248,.3); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 6px; z-index: 1001; }
.menu-toggle .bar { width: 22px; height: 2px; background: var(--text-primary); transition: all .3s; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero-section {
  height: 100vh; min-height: 700px;
  position: relative; display: flex; align-items: center;
  background: #030305; overflow: hidden;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-size: 60px 60px;
  background-image: linear-gradient(to right, rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.018) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 50% 50%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 25%, transparent 75%);
  pointer-events: none; z-index: 1;
}
.hero-nebula { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
.hero-nebula--purple { width: 65vw; height: 65vw; top: -15%; left: -10%; background: radial-gradient(circle, rgba(129,140,248,.13) 0%, transparent 65%); }
.hero-nebula--blue   { width: 55vw; height: 55vw; bottom: -20%; right: -5%; background: radial-gradient(circle, rgba(56,189,248,.10) 0%, transparent 65%); }
.hero-nebula--teal   { width: 40vw; height: 40vw; top: 30%; left: 55%; background: radial-gradient(circle, rgba(52,211,153,.06) 0%, transparent 65%); }

/* ─── HERO VISUAL SIDE PANEL ────────────────────────────────────────────── */
.hero-visual-wrap {
  position: absolute;
  bottom: 0; right: 0;
  width: 50vw; height: 100vh;
  z-index: 5;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none;
}

.silhouette-wrap {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: clamp(520px, 46vw, 850px);
  display: flex; flex-direction: column; align-items: center; z-index: 5;
  transition: width 0.3s ease;
}
.silhouette-halo {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 105%; height: 100%;
  background: radial-gradient(ellipse 55% 80% at 50% 85%, rgba(129,140,248,.25) 0%, rgba(56,189,248,.10) 45%, transparent 75%);
  filter: blur(36px); z-index: 0;
  animation: halo-pulse 5s ease-in-out infinite;
}
.silhouette-ring-glow {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 40px; background: rgba(129,140,248,.38);
  filter: blur(32px); border-radius: 50%; z-index: 1;
  animation: ring-glow-pulse 4s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%,100% { opacity: .7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;  transform: translateX(-50%) scale(1.05); }
}
@keyframes ring-glow-pulse {
  0%,100% { opacity: .5; width: 75%; }
  50%      { opacity: 1;  width: 90%; }
}
.silhouette-img {
  position: relative; z-index: 2; width: 100%; height: auto;
  object-fit: contain; object-position: bottom; display: block;
  animation: silhouette-breathe 8s ease-in-out infinite;
  user-select: none;
  transform-origin: bottom center;
}
@keyframes silhouette-breathe {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}
.silhouette-scanlines {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent, transparent 3px, rgba(0,0,0,.04) 3px, rgba(0,0,0,.04) 4px);
  opacity: .5;
}

/* ─── CONSTELLATION SYSTEM ─────────────────────────────────────────────────── */
.constellation-ring {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px dashed rgba(129,140,248,.035);
  transform-origin: center; transform: translate(-50%,-50%);
  pointer-events: none;
}
.constellation-ring--inner {
  width: clamp(380px, 38vw, 550px); height: clamp(380px, 38vw, 550px);
  background: radial-gradient(circle, rgba(129,140,248,.008) 0%, transparent 70%);
}
.constellation-ring--outer {
  width: clamp(540px, 52vw, 800px); height: clamp(540px, 52vw, 800px);
  border: 1px solid rgba(129,140,248,.012);
}

.const-item {
  position: absolute;
  top: 50%; left: 50%;
  /* Combine baseline offset and parallax displacement */
  transform: translate(calc(-50% + var(--x) + var(--parallax-x, 0px)), calc(-50% + var(--y) + var(--parallax-y, 0px)));
  will-change: transform;
  pointer-events: auto;
  z-index: 6;
}

.orbit-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(8, 8, 14, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,.65), 0 0 16px rgba(129,140,248,.08), inset 0 1px 0 rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
  position: relative;
  /* Premium independent floating animation */
  animation: const-float var(--float-dur, 6s) ease-in-out infinite var(--float-delay, 0s);
}

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

.orbit-icon svg { width: 36px; height: 36px; flex-shrink: 0; border-radius: 6px; }
.orbit-label {
  position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%);
  font-size: 9.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
  color: rgba(255,255,255,.55); white-space: nowrap; pointer-events: none; transition: color .3s;
}

/* Hover overrides the float animation seamlessly */
.orbit-icon:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.25) !important;
  border-color: rgba(129,140,248,.6);
  box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 30px rgba(129,140,248,.35), inset 0 1px 0 rgba(255,255,255,.15);
}
.orbit-icon:hover .orbit-label { color: rgba(255,255,255,.9); }
.orbit-icon--angular:hover  { border-color: rgba(221,0,49,.6);   box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 30px rgba(221,0,49,.35),   inset 0 1px 0 rgba(255,255,255,.1); }
.orbit-icon--ts:hover       { border-color: rgba(49,120,198,.6); box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 30px rgba(49,120,198,.35), inset 0 1px 0 rgba(255,255,255,.1); }
.orbit-icon--node:hover     { border-color: rgba(131,205,41,.6); box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 30px rgba(131,205,41,.35), inset 0 1px 0 rgba(255,255,255,.1); }
.orbit-icon--docker:hover   { border-color: rgba(13,183,237,.6); box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 30px rgba(13,183,237,.35), inset 0 1px 0 rgba(255,255,255,.1); }
.orbit-icon--postgres:hover { border-color: rgba(51,103,145,.6); box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 30px rgba(51,103,145,.35), inset 0 1px 0 rgba(255,255,255,.1); }
.orbit-icon--keycloak:hover { border-color: rgba(224,100,0,.6);  box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 30px rgba(224,100,0,.35),  inset 0 1px 0 rgba(255,255,255,.1); }
.orbit-icon--prime:hover    { border-color: rgba(65,185,131,.6); box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 30px rgba(65,185,131,.35), inset 0 1px 0 rgba(255,255,255,.1); }
.orbit-icon--tailwind:hover { border-color: rgba(56,189,248,.6); box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 30px rgba(56,189,248,.35), inset 0 1px 0 rgba(255,255,255,.1); }

/* ─── HERO OVERLAY CONTENT ───────────────────────────────────────────────── */
.hero-overlay-content {
  position: absolute;
  top: 50%; left: clamp(24px, 6vw, 100px);
  transform: translateY(-48%);
  z-index: 15; max-width: clamp(450px, 48vw, 680px);
  pointer-events: all;
}
.hero-badge {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  padding: 7px 14px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--accent-green);
  border-radius: 50%; flex-shrink: 0; position: relative;
  box-shadow: 0 0 10px var(--accent-green);
}
.pulse-dot::after {
  content: ''; position: absolute; top: -4px; left: -4px;
  width: 16px; height: 16px; border: 1.5px solid var(--accent-green);
  border-radius: 50%; animation: pulse-ring 2s infinite ease-out;
}
@keyframes pulse-ring { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.badge-text { font-size: 11px; font-weight: 600; letter-spacing: .5px; color: #e2e8f0; text-transform: uppercase; white-space: nowrap; }
 
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -.03em; color: var(--text-primary); margin-bottom: 20px;
}
.hero-title-muted { color: rgba(255,255,255,.55); font-weight: 600; }
.hero-subtitle { font-size: clamp(.95rem, 1.25vw, 1.12rem); line-height: 1.65; color: rgba(148,163,184,.85); margin-bottom: 32px; max-width: 580px; }

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 8px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .3s cubic-bezier(.16,1,.3,1);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  color: var(--bg-primary); border: none;
  box-shadow: 0 4px 20px rgba(129,140,248,.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(56,189,248,.5); }
.btn-secondary {
  background: rgba(255,255,255,.05); color: var(--text-primary);
  border: 1px solid rgba(255,255,255,.1);
}
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); transform: translateY(-3px); }

.hero-signature { display: flex; align-items: center; gap: 8px; font-size: 11px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.sig-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-purple); box-shadow: 0 0 8px var(--accent-purple); }

/* ─── STATS BAR ──────────────────────────────────────────────────────────── */
.hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  background: rgba(5,5,12,.65);
  border-top: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 20px clamp(16px, 4vw, 60px); z-index: 20;
}
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 10px; font-weight: 500; letter-spacing: .5px; color: var(--text-secondary); margin-top: 4px; text-transform: uppercase; }
.stat-separator { width: 1px; height: 36px; background: rgba(255,255,255,.07); flex-shrink: 0; }

/* ─── SCROLL CUE ─────────────────────────────────────────────────────────── */
.hero-scroll-cue {
  position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; align-items: center; justify-content: center;
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.15); border-radius: 14px;
  text-decoration: none; transition: border-color .3s;
}
.hero-scroll-cue:hover { border-color: rgba(129,140,248,.6); }
.scroll-wheel { width: 4px; height: 10px; border-radius: 2px; background: rgba(255,255,255,.6); animation: scroll-wheel-drop 2s ease-in-out infinite; }
@keyframes scroll-wheel-drop {
  0%   { transform: translateY(-6px); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ─── TECH TICKER ────────────────────────────────────────────────────────── */
.tech-ticker {
  position: relative; width: 100%; overflow: hidden;
  background: linear-gradient(90deg, rgba(129,140,248,.04) 0%, rgba(56,189,248,.06) 50%, rgba(129,140,248,.04) 100%);
  border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04);
  padding: 14px 0; z-index: 20;
}
.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(--bg-primary), transparent); }
.tech-ticker::after  { right: 0; background: linear-gradient(to left, var(--bg-primary), transparent); }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker-scroll 35s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 10px; padding: 0 28px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-secondary); white-space: nowrap; transition: color .3s; }
.ticker-item:hover { color: var(--text-primary); }
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)); flex-shrink: 0; opacity: .6; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── SOBRE ──────────────────────────────────────────────────────────────── */
.sobre-grid { display: grid; grid-template-columns: 1.1fr 1.3fr; gap: clamp(40px, 6vw, 80px); align-items: flex-start; }
.sobre-visual { position: relative; }
.terminal-card {
  background: #08080c; border: 1px solid rgba(255,255,255,.05); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.7), 0 0 30px rgba(129,140,248,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.terminal-card:hover { transform: translateY(-4px); box-shadow: 0 40px 80px rgba(0,0,0,.8), 0 0 40px rgba(129,140,248,.08); }
.terminal-header { background: #101017; padding: 12px 18px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.03); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; } .dot.yellow { background: #eab308; } .dot.green { background: #22c55e; }
.terminal-title { font-family: monospace; font-size: 12px; color: var(--text-secondary); margin-left: 10px; }
.terminal-body { padding: 24px; font-family: 'Fira Code', 'Courier New', monospace; font-size: 13px; line-height: 1.8; color: #a5b4fc; }
.terminal-body .keyword  { color: #f43f5e; }
.terminal-body .variable { color: #38bdf8; }
.terminal-body .property { color: #818cf8; }
.terminal-body .string   { color: #34d399; }
.terminal-body .decorator { color: #c084fc; }
.terminal-body .comment  { color: #64748b; font-style: italic; }
.terminal-body .number   { color: #fb923c; }
.terminal-body .indent-1 { padding-left: 20px; display: block; }
.terminal-body .indent-2 { padding-left: 40px; display: block; }

.experience-badge {
  position: absolute; bottom: -25px; right: -25px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  padding: 18px 24px; border-radius: 16px;
  box-shadow: 0 15px 30px rgba(129,140,248,.35);
  display: flex; flex-direction: column; align-items: center;
  animation: badge-float 4s ease-in-out infinite;
}
@keyframes badge-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.badge-num { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.badge-txt { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.75); text-align: center; margin-top: 4px; max-width: 90px; line-height: 1.4; }

/* Timeline */
.timeline { position: relative; padding-left: 28px; margin-top: 28px; }
.timeline::before { content: ''; position: absolute; top: 8px; left: 6px; width: 2px; height: calc(100% - 16px); background: linear-gradient(to bottom, var(--accent-blue) 0%, var(--accent-purple) 60%, rgba(129,140,248,.05) 100%); border-radius: 1px; }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; top: 6px; left: -28px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg-primary); border: 2.5px solid var(--accent-blue); box-shadow: 0 0 8px var(--accent-blue); z-index: 2; transition: transform .25s, border-color .25s, box-shadow .25s; }
.timeline-item:hover .timeline-dot { transform: scale(1.2); border-color: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple); }
.timeline-date { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; color: var(--accent-purple); margin-bottom: 4px; letter-spacing: .4px; }
.timeline-content h4 { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Highlight headline */
.highlight-headline { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 700; color: var(--text-primary); line-height: 1.25; margin-bottom: 20px; }
.sobre-text { display: flex; flex-direction: column; gap: 0; }

/* ─── SKILLS ─────────────────────────────────────────────────────────────── */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.skill-category-card {
  background: rgba(13,13,18,.8); border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px; padding: 28px; overflow: hidden; position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
}
.skill-category-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%), rgba(255,255,255,.06), transparent 75%);
  z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s;
}
.skill-category-card:hover::before { opacity: 1; }
.skill-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129,140,248,.18);
  box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 20px rgba(129,140,248,.06);
}
.skill-category-card > * { position: relative; z-index: 2; }
.category-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.skill-category-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.skill-category-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.04); }
.tech-tag { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.glow-blue   { color: var(--accent-blue);   background: rgba(56,189,248,.08);  border: 1px solid rgba(56,189,248,.2);  }
.glow-purple { color: var(--accent-purple); background: rgba(129,140,248,.08); border: 1px solid rgba(129,140,248,.2); }
.glow-amber  { color: var(--accent-amber);  background: rgba(251,191,36,.08);  border: 1px solid rgba(251,191,36,.2);  }
.glow-red    { color: var(--accent-red);    background: rgba(244,63,94,.08);   border: 1px solid rgba(244,63,94,.2);   }

/* ─── PORTFOLIO ──────────────────────────────────────────────────────────── */
.portfolio-filters { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 22px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  color: var(--text-secondary); cursor: pointer; transition: all .25s; text-decoration: none;
  display: inline-flex; align-items: center;
}
.filter-btn:hover, .filter-btn.active { background: rgba(129,140,248,.12); border-color: rgba(129,140,248,.3); color: var(--text-primary); box-shadow: 0 0 15px rgba(129,140,248,.12); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.project-card {
  background: rgba(10,10,18,.8); border: 1px solid rgba(255,255,255,.05); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  position: relative;
}
.project-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(200px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%), rgba(255,255,255,.055), transparent 75%);
  z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s;
}
.project-card:hover::before { opacity: 1; }
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(129,140,248,.2);
  box-shadow: 0 30px 70px rgba(0,0,0,.65), 0 0 25px rgba(129,140,248,.08);
}
.project-card > * { position: relative; z-index: 2; }
.project-browser-frame { border-bottom: 1px solid rgba(255,255,255,.05); }
.browser-dots { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.02); }
.browser-url { font-family: monospace; font-size: 11px; color: rgba(255,255,255,.3); margin-left: 8px; }
.browser-screen { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0a0a12; }
.project-img-screen { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.project-card:hover .project-img-screen { transform: scale(1.05); }
.screen-glow { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(8,8,18,.9) 100%); }
.category-badge-floating { position: absolute; top: 10px; right: 12px; z-index: 3; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 10px; border-radius: 6px; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.25); color: var(--accent-green); }
.category-badge-floating.executed { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--text-secondary); }
.project-info { padding: 20px 22px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.info-top { flex-grow: 1; }
.project-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.project-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 5px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.project-footer-divider { height: 1px; background: rgba(255,255,255,.04); margin: 16px 0; }
.project-details-link { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-blue); text-decoration: none; transition: color .3s, gap .3s; }
.project-details-link:hover { color: var(--text-primary); gap: 10px; }
.arrow-svg { width: 14px; height: 14px; }

/* ─── SYSTEMS ROADMAP ────────────────────────────────────────────────────── */
.systems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.system-dev-card {
  background: rgba(12,12,20,.8); border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px; padding: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,.4);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.system-dev-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(180px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%), rgba(255,255,255,.05), transparent 75%);
  z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s;
}
.system-dev-card:hover::before { opacity: 1; }
.system-dev-card:hover { transform: translateY(-5px); border-color: rgba(129,140,248,.15); box-shadow: 0 25px 55px rgba(0,0,0,.5), 0 0 18px rgba(129,140,248,.05); }
.system-dev-card > * { position: relative; z-index: 2; }
.system-dev-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.status-tag { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.status-beta  { color: var(--accent-blue);   background: rgba(56,189,248,.1);  border: 1px solid rgba(56,189,248,.2); }
.status-alpha { color: var(--accent-red);    background: rgba(244,63,94,.1);   border: 1px solid rgba(244,63,94,.2); }
.status-mvp   { color: var(--accent-amber);  background: rgba(251,191,36,.1);  border: 1px solid rgba(251,191,36,.2); }
.version { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.3); font-family: monospace; }
.system-dev-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.system-dev-card p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.progress-container { margin-bottom: 14px; }
.progress-bar-label { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.35); margin-bottom: 6px; }
.progress-bar-track { width: 100%; height: 5px; background: rgba(255,255,255,.06); border-radius: 3px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); transition: width 1s cubic-bezier(.16,1,.3,1); }
.features-roadmap h4 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.features-roadmap ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.features-roadmap li { display: flex; align-items: center; gap: 8px; }
.bullet { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); flex-shrink: 0; }
.bullet.done { background: var(--accent-green); border-color: var(--accent-green); box-shadow: 0 0 6px rgba(52,211,153,.4); }
.feature-text { font-size: 12px; color: var(--text-secondary); }
.feature-text.done { color: rgba(255,255,255,.65); text-decoration: line-through; text-decoration-color: rgba(52,211,153,.4); }

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: rgba(12,12,20,.8); border: 1px solid rgba(255,255,255,.05);
  border-radius: 20px; padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 20px;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(260px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%), rgba(255,255,255,.055), transparent 75%);
  z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(129,140,248,.18);
  box-shadow: 0 35px 80px rgba(0,0,0,.65), 0 0 25px rgba(129,140,248,.06);
}
.service-card > * { position: relative; z-index: 2; }
.service-card.premium { border-color: rgba(129,140,248,.2); background: rgba(16,14,30,.9); overflow: visible !important; }
.service-card.premium:hover { border-color: rgba(129,140,248,.4); box-shadow: 0 35px 80px rgba(0,0,0,.65), 0 0 35px rgba(129,140,248,.12); }
.premium-badge {
  position: absolute; top: -14px; left: 24px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  padding: 5px 16px; border-radius: 100px; z-index: 10;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--bg-primary); box-shadow: 0 4px 15px rgba(129,140,248,.4);
}
.service-glow-edge { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(129,140,248,.4), transparent); z-index: 3; }
.service-number { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 800; color: var(--accent-blue); opacity: .15; line-height: 1; }
.service-card.premium .service-number { color: var(--accent-purple); }
.service-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.service-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.service-bullets li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-blue); margin-top: 5px; flex-shrink: 0; }
.service-card.premium .service-bullets li::before { background: var(--accent-purple); }
.btn-service {
  display: flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 10px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all .3s; margin-top: auto;
  border: 1px solid rgba(129,140,248,.25); color: var(--accent-blue);
  background: rgba(129,140,248,.04);
}
.btn-service:hover { background: rgba(129,140,248,.12); border-color: rgba(129,140,248,.5); transform: translateY(-2px); }
.service-card.premium .btn-service {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border: none; color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(129,140,248,.3);
}
.service-card.premium .btn-service:hover { box-shadow: 0 8px 30px rgba(56,189,248,.4); transform: translateY(-2px) scale(1.01); }

/* ─── DIFERENCIAIS ───────────────────────────────────────────────────────── */
.dif-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.dif-card {
  background: rgba(12,12,20,.8); border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px; padding: 28px 26px;
  box-shadow: 0 15px 35px rgba(0,0,0,.4);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit;
}
.dif-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(200px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%), rgba(255,255,255,.055), transparent 75%);
  z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s;
}
.dif-card:hover::before { opacity: 1; }
.dif-card:hover {
  transform: translateY(-5px);
  border-color: rgba(129,140,248,.18);
  box-shadow: 0 25px 55px rgba(0,0,0,.5), 0 0 18px rgba(129,140,248,.06);
}
.dif-card > * { position: relative; z-index: 2; }
.dif-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.15); display: flex; align-items: center; justify-content: center; color: var(--accent-blue); }
.dif-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.08rem; font-weight: 700; color: var(--text-primary); }
.dif-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.65; }
.dif-icon.num { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--accent-purple); }

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────── */
.testimonial-carousel { position: relative; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: flex; flex-direction: column; gap: 20px; }
.testimonial-text { font-size: clamp(.9rem, 1.2vw, 1.05rem); line-height: 1.75; color: var(--text-secondary); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--bg-primary); flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 15px; color: var(--text-primary); }
.author-role { font-size: 12px; color: var(--text-secondary); }
.carousel-controls { display: flex; gap: 8px; margin-top: 20px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.15); border: none; cursor: pointer; transition: all .3s; }
.carousel-dot.active { background: var(--accent-purple); box-shadow: 0 0 8px var(--accent-purple); width: 24px; border-radius: 4px; }

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 20px; }
.quick-channels { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.channel-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 16px 20px; text-decoration: none;
  transition: all .3s; color: inherit;
}
.channel-card:hover { background: rgba(255,255,255,.06); transform: translateX(6px); }
.channel-card.glow-blue:hover  { border-color: rgba(56,189,248,.3);  box-shadow: 0 0 20px rgba(56,189,248,.08); }
.channel-card.glow-purple:hover{ border-color: rgba(129,140,248,.3); box-shadow: 0 0 20px rgba(129,140,248,.08); }
.channel-card .icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.2); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 14px; color: var(--accent-blue); flex-shrink: 0; }
.channel-details h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.channel-details p  { font-size: 12px; color: var(--text-secondary); }

.contact-form { background: rgba(12,12,22,.8); border: 1px solid rgba(255,255,255,.06); border-radius: 20px; padding: 36px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 14px 16px; color: var(--text-primary);
  font-family: 'Inter', sans-serif; font-size: 14px;
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: rgba(129,140,248,.4); box-shadow: 0 0 0 3px rgba(129,140,248,.07); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,.2); }
.form-textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 15px; border-radius: 10px; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--bg-primary); transition: all .3s;
  box-shadow: 0 4px 20px rgba(129,140,248,.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(56,189,248,.4); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.success-banner { display: none; align-items: center; gap: 12px; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.25); border-radius: 10px; padding: 14px 18px; margin-top: 16px; }
.success-banner.show { display: flex; }
.success-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(52,211,153,.2); display: flex; align-items: center; justify-content: center; color: var(--accent-green); font-size: 18px; flex-shrink: 0; }
.success-text h4 { font-size: 14px; font-weight: 700; color: var(--accent-green); }
.success-text p  { font-size: 12px; color: rgba(52,211,153,.7); }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer { background: rgba(3,3,5,.8); border-top: 1px solid rgba(255,255,255,.04); padding: 40px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; }
.footer-brand span { color: var(--accent-purple); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--text-secondary); font-size: 13px; transition: color .25s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { color: rgba(255,255,255,.2); font-size: 12px; }

/* ─── DEV DNA & PREVIEW TOGGLE ───────────────────────────────────────────── */
.dna-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.dna-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.dna-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}
.dna-tab-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.22), rgba(99, 102, 241, 0.22));
  border: 1px solid rgba(129, 140, 248, 0.45);
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.25);
}
.tab-icon {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.2px;
}

.dna-pane {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s cubic-bezier(.16,1,.3,1), transform 0.35s cubic-bezier(.16,1,.3,1);
}
.dna-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Profile Preview Card Visualizer Style */
.profile-preview-card {
  box-sizing: border-box;
}
.profile-preview-card span {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.profile-preview-card span:hover {
  background: rgba(129, 140, 248, 0.15) !important;
  border-color: rgba(129, 140, 248, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(129, 140, 248, 0.15);
}

/* ─── DESKTOP ALIGNMENT (Brings Text & Image Closer) ─────────────────────── */
@media (min-width: 769px) {
  .hero-layout-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
  }
  .hero-overlay-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 44%;
    max-width: 500px;
    margin-top: -30px;
    flex-shrink: 0;
  }
  .hero-visual-wrap {
    position: relative;
    bottom: auto;
    right: auto;
    width: 44%;
    max-width: 540px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
  }
}

/* ─── MOBILE RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 30px 24px; }
}
@media (max-width: 768px) {
  .custom-cursor, .custom-cursor-follower { display: none !important; }
  .nav-menu { display: none; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: rgba(5,5,8,.98); padding: 16px 24px 20px; border-bottom: 1px solid rgba(255,255,255,.05); gap: 12px; }
  .nav-menu.active { display: flex; }
  .menu-toggle { display: flex; }
  .hero-overlay-content { left: 20px; right: 20px; max-width: none; top: auto; bottom: 120px; transform: none; }
  
  /* Hero Visual Mobile Configuration (Background Overlay) */
  .hero-visual-wrap {
    width: 100vw; left: 0; right: 0;
    justify-content: center;
    opacity: 0.28; /* Faded background overlay to prevent text overlap */
    height: 100vh;
  }
  
  /* Constellation Mobile Scale Down */
  .constellation-ring--inner { width: 260px; height: 260px; }
  .constellation-ring--outer { width: 360px; height: 360px; }
  .const-item {
    /* Scale positions by 0.52x to fit clean in mobile portrait and avoid silhouette overlaps */
    transform: translate(calc(-50% + var(--x) * 0.52 + var(--parallax-x, 0px)), calc(-50% + var(--y) * 0.52 + var(--parallax-y, 0px)));
  }
  .orbit-icon { width: 44px; height: 44px; }
  .orbit-icon svg { width: 24px; height: 24px; }
  .orbit-label { display: none !important; }
  .mobile-hidden { display: none !important; }
  
  .silhouette-wrap { width: clamp(280px, 60vw, 420px); }
  .hero-stats-bar { gap: 12px; padding: 14px 16px; }
  .stat-separator { display: none; }
  .sobre-grid { grid-template-columns: 1fr; }
  .experience-badge { bottom: -15px; right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .constellation-ring--inner { width: 200px; height: 200px; }
  .constellation-ring--outer { width: 300px; height: 300px; }
  .const-item {
    transform: translate(calc(-50% + var(--x) * 0.4 + var(--parallax-x, 0px)), calc(-50% + var(--y) * 0.4 + var(--parallax-y, 0px)));
  }
  .hero-title { font-size: 1.85rem; }
}

