/* ==========================================================================
   AIMEN BLOCH - 3D AI ANIMATION CREATIVE PORTFOLIO STYLESHEET
   ========================================================================== */

/* --- CSS Variables & Theme Palettes --- */
:root {
  /* Default Theme: Cyan / Violet Neural Glow */
  --bg-primary: #06080e;
  --bg-secondary: #0c101a;
  --bg-card: rgba(14, 19, 32, 0.7);
  --bg-card-hover: rgba(20, 27, 45, 0.85);
  --bg-glass: rgba(12, 17, 29, 0.55);
  --border-glass: rgba(0, 240, 255, 0.18);
  --border-glass-hover: rgba(0, 240, 255, 0.5);

  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.4);
  --accent-purple: #a855f7;
  --accent-purple-glow: rgba(168, 85, 247, 0.4);
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.4);
  --accent-amber: #f59e0b;

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-tech: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --grad-primary: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #ec4899 100%);
  --grad-cyan-blue: linear-gradient(135deg, #00f0ff 0%, #3b82f6 100%);
  --grad-purple-pink: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --grad-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  --shadow-neon: 0 0 25px rgba(0, 240, 255, 0.35);
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Theme Variant 2: Cyber Matrix */
[data-theme="cyber-matrix"] {
  --bg-primary: #040d0a;
  --bg-secondary: #081712;
  --bg-card: rgba(10, 28, 22, 0.7);
  --bg-card-hover: rgba(14, 38, 30, 0.85);
  --border-glass: rgba(16, 185, 129, 0.25);
  --border-glass-hover: rgba(16, 185, 129, 0.6);
  --accent-cyan: #10b981;
  --accent-cyan-glow: rgba(16, 185, 129, 0.45);
  --accent-purple: #06b6d4;
  --accent-purple-glow: rgba(6, 182, 212, 0.4);
  --grad-primary: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #3b82f6 100%);
  --shadow-neon: 0 0 25px rgba(16, 185, 129, 0.4);
}

/* Theme Variant 3: Deep Prism */
[data-theme="deep-prism"] {
  --bg-primary: #0b0612;
  --bg-secondary: #140b20;
  --bg-card: rgba(26, 15, 41, 0.7);
  --bg-card-hover: rgba(36, 21, 56, 0.85);
  --border-glass: rgba(217, 70, 239, 0.25);
  --border-glass-hover: rgba(217, 70, 239, 0.6);
  --accent-cyan: #d946ef;
  --accent-cyan-glow: rgba(217, 70, 239, 0.45);
  --accent-purple: #f59e0b;
  --accent-purple-glow: rgba(245, 158, 11, 0.4);
  --grad-primary: linear-gradient(135deg, #d946ef 0%, #8b5cf6 50%, #f59e0b 100%);
  --shadow-neon: 0 0 25px rgba(217, 70, 239, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* --- WebGL 3D Canvas --- */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

/* Ambient Glow Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  transition: background var(--transition-smooth);
}
.orb-top-left {
  top: -10vw;
  left: -10vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
}
.orb-mid-right {
  top: 40vh;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 70%);
}
.orb-bottom-center {
  bottom: -15vh;
  left: 25vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

/* --- Custom Cursor --- */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  box-shadow: 0 0 10px var(--accent-cyan);
}
.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent-cyan);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s;
}
.cursor-ring.hovered {
  width: 54px;
  height: 54px;
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-purple);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* --- Quick Controls (Sound & Theme Bar) --- */
.quick-controls {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}
.ctrl-btn:hover {
  color: var(--accent-cyan);
}
.ctrl-btn i {
  width: 16px;
  height: 16px;
}
.theme-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 10px;
}
.theme-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.theme-dot:hover {
  transform: scale(1.2);
}
.theme-dot.active {
  border-color: #ffffff;
  transform: scale(1.15);
}
.theme-dot[data-palette="cyan-violet"] { background: linear-gradient(135deg, #00f0ff, #a855f7); }
.theme-dot[data-palette="cyber-matrix"] { background: linear-gradient(135deg, #10b981, #06b6d4); }
.theme-dot[data-palette="deep-prism"] { background: linear-gradient(135deg, #d946ef, #f59e0b); }

/* --- Navigation Header --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
}
.navbar.scrolled {
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
}
.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.logo-symbol {
  position: relative;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.symbol-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  border: 1px solid var(--accent-cyan);
  opacity: 0.4;
  animation: pulseNeon 2.5s infinite;
}
@keyframes pulseNeon {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 0.1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text .name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.logo-text .role-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-tech);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 170px; /* Space for top-right quick controls */
}
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* --- Common Layout & Typography --- */
.section {
  padding: 110px 0;
  position: relative;
}
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }

.section-header {
  max-width: 800px;
  margin: 0 auto 60px;
}
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glass);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 18px;
}
.section-pill.ai-pill {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--accent-purple);
}
.section-pill i {
  width: 14px;
  height: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.glow-text {
  text-shadow: 0 0 35px var(--accent-cyan-glow);
}

.text-cyan { color: var(--accent-cyan); }
.text-purple { color: var(--accent-purple); }
.text-emerald { color: var(--accent-emerald); }
.text-amber { color: var(--accent-amber); }

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary-glow {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #040810;
  font-weight: 700;
  box-shadow: 0 0 25px var(--accent-cyan-glow);
}
.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px var(--accent-cyan);
}
.btn-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  border-color: var(--border-glass);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}
.btn-ghost-neon {
  background: transparent;
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.3);
}
.btn-ghost-neon:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}
.btn-neon-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
}
.btn-neon-sm:hover {
  background: var(--accent-cyan);
  color: #040810;
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}
.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 60px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}
.pill-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-emerald);
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.greeting-prefix {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-tech);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero-typewriter-container {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 22px;
  min-height: 38px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.type-lead {
  color: var(--text-secondary);
  margin-right: 8px;
}
.typewriter-text {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px var(--accent-cyan-glow);
}
.typewriter-cursor {
  color: var(--accent-cyan);
  animation: blink 0.9s infinite;
  margin-left: 2px;
  font-weight: 300;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-bio {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 34px;
}
.hero-bio strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-card {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* --- 3D Holographic Parallax Card --- */
.hero-visual {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}
.holo-3d-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 540px;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.holo-halo {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, var(--accent-purple-glow) 50%, transparent 70%);
  border-radius: 40px;
  filter: blur(35px);
  z-index: 1;
  opacity: 0.7;
  animation: haloShift 6s ease-in-out infinite alternate;
}
@keyframes haloShift {
  0% { transform: scale(0.95) rotate(0deg); }
  100% { transform: scale(1.05) rotate(10deg); }
}

.cyber-ring-outer, .cyber-ring-inner {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--border-glass);
  pointer-events: none;
  z-index: 2;
}
.cyber-ring-outer {
  inset: -40px;
  animation: spinSlow 30s linear infinite;
}
.cyber-ring-inner {
  inset: -15px;
  border-color: rgba(168, 85, 247, 0.2);
  animation: spinSlow 20s linear infinite reverse;
}
@keyframes spinSlow {
  100% { transform: rotate(360deg); }
}

.portrait-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #111827 0%, #030712 100%);
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(0, 240, 255, 0.1);
  z-index: 3;
}
.portrait-mesh-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(0, 240, 255, 0.2) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px, 30px 30px;
  z-index: 1;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-smooth);
}
.portrait-lighting-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 14, 0.9) 0%, transparent 50%, rgba(0, 240, 255, 0.08) 100%);
  z-index: 3;
}
.scanline-bar {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(to bottom, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
  z-index: 4;
  animation: scanline 4s linear infinite;
}
@keyframes scanline {
  0% { top: -10%; }
  100% { top: 110%; }
}

/* Floating 3D Micro Badges */
.floating-badge {
  position: absolute;
  z-index: 5;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease-out, border-color var(--transition-fast);
}
.floating-badge:hover {
  border-color: var(--accent-cyan);
}
.badge-top-left {
  top: 30px;
  left: -40px;
}
.badge-mid-right {
  top: 48%;
  right: -45px;
}
.badge-bottom-left {
  bottom: 25px;
  left: -30px;
}
.badge-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-icon-box i {
  width: 18px;
  height: 18px;
}
.badge-content {
  display: flex;
  flex-direction: column;
}
.badge-title {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
}
.badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* HUD Corners */
.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent-cyan);
  border-style: solid;
  z-index: 6;
  pointer-events: none;
}
.hud-corner.top-left { top: -6px; left: -6px; border-width: 2px 0 0 2px; }
.hud-corner.top-right { top: -6px; right: -6px; border-width: 2px 2px 0 0; }
.hud-corner.bottom-left { bottom: -6px; left: -6px; border-width: 0 0 2px 2px; }
.hud-corner.bottom-right { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 2px;
  transition: color var(--transition-fast);
}
.scroll-indicator:hover {
  color: var(--accent-cyan);
}
.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================================
   ABOUT & VALUE PROPOSITION SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.about-banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
}
.banner-img-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
}
.about-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.about-banner-card:hover .about-banner-img {
  transform: scale(1.03);
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 14, 0.95) 0%, rgba(6, 8, 14, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
}
.banner-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.banner-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.banner-overlay p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.about-features-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-box {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-smooth);
}
.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-icon-wrapper i {
  width: 24px;
  height: 24px;
}
.feature-icon-wrapper.cyan-glow {
  color: var(--accent-cyan);
  border-color: var(--border-glass);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}
.feature-icon-wrapper.purple-glow {
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}
.feature-icon-wrapper.emerald-glow {
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}
.feature-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE AI PROMPT STUDIO
   ========================================================================== */
.ai-studio-interface {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 40px rgba(168, 85, 247, 0.15);
}
.studio-terminal-header {
  background: rgba(6, 8, 14, 0.9);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}
.terminal-dots {
  display: flex;
  gap: 8px;
}
.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.terminal-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-emerald);
}
.pulse-emerald {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.studio-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  padding: 32px;
}
.studio-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.studio-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.preset-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.preset-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.preset-btn i {
  width: 15px;
  height: 15px;
}
.preset-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--border-glass);
  color: var(--text-primary);
}
.preset-btn.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.prompt-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.studio-textarea {
  background: rgba(6, 8, 14, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  resize: none;
  outline: none;
}

.studio-params-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.param-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}
.param-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}
.param-val {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-synth-run {
  background: linear-gradient(135deg, var(--accent-purple), #d946ef);
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
  transition: all var(--transition-smooth);
}
.btn-synth-run:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(217, 70, 239, 0.6);
}
.btn-synth-run.running {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

/* Studio Viewport Screen */
.studio-viewport {
  display: flex;
  flex-direction: column;
}
.viewport-screen {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #020408;
  border: 1px solid var(--border-glass);
}
.viewport-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.render-scanner {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.25) 50%, transparent 100%);
  opacity: 0;
  pointer-events: none;
}
.render-scanner.scanning {
  opacity: 1;
  animation: scanViewport 1.5s ease-in-out infinite;
}
@keyframes scanViewport {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.render-overlay-hud {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 5;
}
.render-overlay-hud.active {
  opacity: 1;
  pointer-events: auto;
}
.hud-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(0, 240, 255, 0.2);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spinSlow 0.8s linear infinite;
}
.hud-step-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  letter-spacing: 1px;
}
.hud-progress-bar {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.hud-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: width 0.3s ease;
}

.viewport-specs-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  z-index: 4;
}
.viewport-specs-badge i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   3D PORTFOLIO SHOWCASE
   ========================================================================== */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-tech);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
}
.filter-tab .tab-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.7;
}
.filter-tab:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}
.filter-tab.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(168, 85, 247, 0.2));
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* 3D Tilt Card Base */
.portfolio-card {
  perspective: 1000px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-card.hidden {
  display: none;
}
.card-inner {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease-out, border-color var(--transition-fast), box-shadow var(--transition-fast);
  transform-style: preserve-3d;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.portfolio-card:hover .card-inner {
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 45px rgba(0, 240, 255, 0.25);
}

.card-media {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.portfolio-card:hover .card-img {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.portfolio-card:hover .card-overlay {
  opacity: 1;
}
.btn-view-project {
  background: var(--accent-cyan);
  color: #040810;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}
.btn-view-project i {
  width: 16px;
  height: 16px;
}
.portfolio-card:hover .btn-view-project {
  transform: translateY(0);
}
.btn-view-project:hover {
  background: #ffffff;
  box-shadow: 0 0 20px #ffffff;
}

.media-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 8, 14, 0.8);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}
.media-tag i {
  width: 13px;
  height: 13px;
}
.video-tag { color: var(--accent-cyan); border-color: var(--border-glass); }
.ui-tag { color: var(--accent-purple); border-color: rgba(168, 85, 247, 0.3); }
.branding-tag { color: var(--accent-emerald); border-color: rgba(16, 185, 129, 0.3); }
.ai-tag { color: #ec4899; border-color: rgba(236, 72, 153, 0.3); }

.card-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.meta-client {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.meta-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}
.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SKILLS MATRIX & TOOLCHAIN
   ========================================================================== */
.skills-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 45px;
}
.skill-quad-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-smooth);
}
.skill-quad-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.quad-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.quad-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quad-icon-box i {
  width: 22px;
  height: 22px;
}
.quad-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.skill-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.skill-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-tech);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.skill-pct {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.82rem;
}
.skill-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.skill-fill.animated {
  transform: scaleX(1);
}

.software-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.software-pill {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.software-pill i {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}
.software-pill:hover {
  background: rgba(0, 240, 255, 0.12);
  color: var(--text-primary);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ==========================================================================
   CAREER JOURNEY (CIRCUIT TIMELINE)
   ========================================================================== */
.journey-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.circuit-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.circuit-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), var(--accent-emerald));
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.timeline-node {
  position: relative;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.node-marker {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}
.node-marker i {
  width: 22px;
  height: 22px;
}
.pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--accent-cyan);
  opacity: 0.5;
  animation: pulseNeon 3s infinite;
}

.node-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  flex-grow: 1;
  transition: all var(--transition-smooth);
}
.timeline-node:hover .node-card {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.node-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.node-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.node-company {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.company-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}
.partner-badge {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
}

.node-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.node-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.node-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* Education Node Styling */
.edu-marker {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}
.edu-card {
  border-color: rgba(16, 185, 129, 0.25);
}
.edu-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.edu-sub-degrees {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sub-deg {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.sub-deg strong {
  color: var(--text-secondary);
}

/* ==========================================================================
   PROJECT SCOPE & ESTIMATOR CALCULATOR
   ========================================================================== */
.estimator-calculator {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}
.estimator-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-label {
  font-family: var(--font-tech);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.service-opt-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}
.service-opt-btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.service-opt-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--border-glass);
  color: var(--text-primary);
}
.service-opt-btn.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.scale-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.radio-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
}
.radio-card input { display: none; }
.radio-card:hover {
  border-color: var(--border-glass);
}
.radio-card.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}
.radio-content {
  display: flex;
  flex-direction: column;
}
.scale-title {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.scale-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.speed-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.speed-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.speed-btn:hover { border-color: var(--border-glass); }
.speed-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* Result Card */
.estimator-result-card {
  background: rgba(6, 8, 14, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.result-header i { width: 18px; height: 18px; }

.estimate-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}
.est-metric-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.est-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.est-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}
.est-phases {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.result-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.perk i {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
}

/* ==========================================================================
   CONTACT SECTION & TERMINAL
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  transition: all var(--transition-smooth);
}
.contact-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateX(4px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon i { width: 22px; height: 22px; }
.card-icon.cyan-glow { color: var(--accent-cyan); box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
.card-icon.purple-glow { color: var(--accent-purple); box-shadow: 0 0 15px rgba(168, 85, 247, 0.2); }
.card-icon.emerald-glow { color: var(--accent-emerald); box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }

.card-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.detail-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.detail-value {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.detail-value:hover { color: var(--accent-cyan); }

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.copy-btn i { width: 16px; height: 16px; }
.copy-btn:hover {
  background: var(--accent-cyan);
  color: #040810;
  border-color: var(--accent-cyan);
}

.status-badge-inline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.whatsapp-cta-box {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(18, 140, 126, 0.12));
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.1);
}
.wa-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #25d366;
  margin-bottom: 4px;
}
.wa-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.btn-whatsapp {
  background: #25d366;
  color: #040810;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

/* Contact Form */
.cyber-form {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-header {
  margin-bottom: 24px;
}
.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.form-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-emerald);
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
}
.textarea-icon {
  top: 14px;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  background: rgba(6, 8, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px 12px 42px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
}
.input-wrapper select {
  cursor: pointer;
}
.input-wrapper select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.input-wrapper textarea {
  resize: vertical;
  min-height: 100px;
}
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}
.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon,
.input-wrapper textarea:focus + .input-icon {
  color: var(--accent-cyan);
}

.form-feedback {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #03050a;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-tech);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--accent-cyan); }

.footer-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.clock-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.clock-label i { width: 13px; height: 13px; }
.clock-display {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-meta-badges {
  display: flex;
  gap: 8px;
}
.badge-mini {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   CASE STUDY MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform var(--transition-spring);
}
.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}
.modal-close:hover {
  background: var(--accent-cyan);
  color: #040810;
}

/* Modal Content Injected Styles */
.modal-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-glass);
}
.modal-details {
  padding: 36px;
}
.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.modal-columns {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  margin-bottom: 30px;
}
.modal-sec-title {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-cyan);
}
.modal-desc-p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.modal-stats-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-stat-item {
  display: flex;
  flex-direction: column;
}
.stat-tag-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.stat-tag-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-cyan);
}
.modal-tools-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.modal-footer-cta {
  display: flex;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-cyan);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-tech);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
  transform: translateX(100%);
  animation: slideInToast 0.3s forwards ease-out;
}
@keyframes slideInToast {
  to { transform: translateX(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-bio { max-width: 100%; }
  .hero-cta-group { justify-content: center; }
  .hero-stats-row { justify-content: center; }
  
  .about-grid { grid-template-columns: 1fr; }
  .studio-body { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-quad-grid { grid-template-columns: 1fr; }
  .estimator-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-actions { margin-right: 0; }
  .quick-controls { top: auto; bottom: 20px; right: 20px; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    background: rgba(6, 8, 14, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
  }
  .nav-menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-toggle { display: flex; }
  .btn-hire { display: none; }

  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2.1rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .preset-chips { grid-template-columns: 1fr; }
  .scale-selector { grid-template-columns: 1fr; }
  .service-selector { grid-template-columns: 1fr; }
  .modal-columns { grid-template-columns: 1fr; }
  
  .floating-badge { display: none; } /* Hide floating chips on small mobile to avoid overflow */
  .holo-3d-card-wrapper { height: 420px; }
}
