/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/outfit-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/outfit-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */

:root {
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Dark Theme Variables (Default) */
[data-theme="dark"] {
  --bg-primary: #090d16;
  --bg-secondary: #0f1626;
  --bg-tertiary: #172033;
  --glass-bg: rgba(15, 22, 38, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-violet: #a855f7;
  --accent-blue: #3b82f6;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  
  --gradient-primary: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
  --gradient-glow: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  
  --hero-overlay: linear-gradient(to bottom, rgba(9, 13, 22, 0.4) 0%, rgba(9, 13, 22, 0.95) 100%);
  --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --glow-opacity: 0.15;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.06);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --accent-violet: #8b5cf6;
  --accent-blue: #2563eb;
  --accent-pink: #db2777;
  --accent-emerald: #059669;
  
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #2563eb 100%);
  --gradient-glow: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(37, 99, 235, 0.02) 50%, transparent 100%);
  
  --hero-overlay: linear-gradient(to bottom, rgba(248, 250, 252, 0.2) 0%, rgba(248, 250, 252, 0.95) 100%);
  --card-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.1);
  --glow-opacity: 0.05;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ==========================================================================
   CUSTOM CURSOR / GLOW EFFECT
   ========================================================================== */

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, var(--glow-opacity)) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: width 0.3s ease, height 0.3s ease;
  mix-blend-mode: screen;
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, rgba(37, 99, 235, 0) 70%);
  mix-blend-mode: multiply;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: padding var(--transition-normal), background-color var(--transition-normal), backdrop-filter var(--transition-normal);
}

.main-header.scrolled {
  padding: 12px 0;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent-violet);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.logo-text span {
  color: var(--accent-blue);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform var(--transition-fast), background-color var(--transition-normal);
}

.theme-toggle-btn:hover {
  transform: scale(1.05);
  background-color: var(--glass-border);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

[data-theme="dark"] .sun-icon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

[data-theme="dark"] .moon-icon {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

[data-theme="light"] .sun-icon {
  transform: rotate(-90deg) scale(0);
  opacity: 0;
}

[data-theme="light"] .moon-icon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  z-index: 2;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 10s ease;
  filter: brightness(0.65);
}

.hero-section:hover .hero-bg-image {
  transform: scale(1.05);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -2px;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(168, 85, 247, 0.35);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--glass-border);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 3;
}

.scroll-indicator span {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  position: relative;
  display: block;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--text-primary);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
  0% {
    top: 8px;
    opacity: 1;
  }
  50% {
    top: 24px;
    opacity: 0;
  }
  100% {
    top: 8px;
    opacity: 1;
  }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */

.section-padding {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 60px;
  max-width: 600px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ==========================================================================
   CREATIVE PILLARS SECTION
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.pillar-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 40px -10px rgba(168, 85, 247, 0.15);
}

.pillar-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: -1;
  transition: transform 0.5s ease;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  color: white;
}

.pillar-icon-box svg {
  width: 28px;
  height: 28px;
}

/* Icon Gradients */
.music-gradient {
  background: linear-gradient(135deg, #a855f7 0%, #d8b4fe 100%);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.code-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #93c5fd 100%);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.ai-gradient {
  background: linear-gradient(135deg, #ec4899 0%, #fbcfe8 100%);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.design-gradient {
  background: linear-gradient(135deg, #10b981 0%, #a7f3d0 100%);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.pillar-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.pillar-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pillar-details {
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-details li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-details li span {
  color: var(--accent-violet);
}

/* Custom gradients for individual card hover */
.pillar-card:nth-child(2):hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15);
}
.pillar-card:nth-child(2) .pillar-details li span {
  color: var(--accent-blue);
}

.pillar-card:nth-child(3):hover {
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 20px 40px -10px rgba(236, 72, 153, 0.15);
}
.pillar-card:nth-child(3) .pillar-details li span {
  color: var(--accent-pink);
}

.pillar-card:nth-child(4):hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.15);
}
.pillar-card:nth-child(4) .pillar-details li span {
  color: var(--accent-emerald);
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.about-card-visual {
  background: #1e1e2e;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 450px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .about-card-visual {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.visual-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .visual-header {
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.visual-dot.red { background-color: #ef4444; }
.visual-dot.yellow { background-color: #f59e0b; }
.visual-dot.green { background-color: #10b981; }

.visual-title {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.visual-content {
  padding: 24px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
}

.code-line {
  margin-bottom: 6px;
  color: #cdd6f4;
}

[data-theme="light"] .code-line {
  color: #334155;
}

.code-line.indent { margin-left: 20px; }
.code-line.indent-2 { margin-left: 40px; }

.code-keyword { color: #cba6f7; }
[data-theme="light"] .code-keyword { color: #7c3aed; }

.code-string { color: #a6e3a1; }
[data-theme="light"] .code-string { color: #0d9488; }

.visual-location {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

[data-theme="light"] .visual-location {
  background: rgba(0, 0, 0, 0.04);
}

.about-floating-card {
  position: absolute;
  bottom: 150px;
  right: -60px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 260px;
  z-index: 10;
}

.floating-icon {
  font-size: 1.5rem;
  background: var(--bg-tertiary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-floating-card h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.about-floating-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.about-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.quote-text {
  border-left: 3px solid var(--accent-violet);
  padding-left: 16px;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 10px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
  color: var(--accent-violet);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin-bottom: 12px;
}

.contact-subtitle {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.email-box {
  width: 100%;
  max-width: 420px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.email-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.email-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.email-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--text-primary);
}

.email-link:hover {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Copy Button Styling */
.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.copy-btn:hover {
  color: var(--text-primary);
  background-color: var(--glass-border);
}

.copy-btn svg {
  width: 20px;
  height: 20px;
}

.copy-btn .hidden {
  display: none;
}

.copy-btn .check-icon {
  color: var(--accent-emerald);
}

/* Tooltip */
.copy-btn .tooltip {
  visibility: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  text-align: center;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  white-space: nowrap;
  pointer-events: none;
}

.copy-btn:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.contact-cta .btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
  background-color: var(--bg-secondary);
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
}

.footer-logo-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-violet);
}

.footer-logo span span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS (SCROLL REVEAL)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for cards when animated */
.reveal-card:nth-child(1) { transition-delay: 0.0s; }
.reveal-card:nth-child(2) { transition-delay: 0.15s; }
.reveal-card:nth-child(3) { transition-delay: 0.3s; }
.reveal-card:nth-child(4) { transition-delay: 0.45s; }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media screen and (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image-column {
    order: 2;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  
  .about-text-column {
    order: 1;
  }

  .about-floating-card {
    position: relative;
    bottom: auto;
    right: auto;
    max-width: 450px;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
  
  /* Navigation mobile menu */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    transition: right var(--transition-normal);
    z-index: 105;
  }
  
  .nav-menu.open {
    right: 0;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
  }
  
  .mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .header-actions {
    margin-right: 40px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media screen and (max-width: 480px) {
  .hero-actions-row {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .contact-card {
    padding: 40px 20px;
  }
  
  .email-box {
    padding: 12px 16px;
  }
}

/* ==========================================================================
   INTERACTIVE WIDGETS & MODAL STYLES
   ========================================================================== */

/* Common Card Widgets */
.card-widget {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 5;
}

.widget-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.widget-btn:hover {
  background: var(--bg-primary);
  border-color: var(--accent-violet);
  transform: translateY(-1px);
}

/* Music Visualizer */
.music-widget-container {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.visualizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.visualizer-bars.hidden {
  display: none;
}

.visualizer-bars span {
  width: 3px;
  height: 100%;
  background-color: var(--accent-violet);
  border-radius: var(--radius-full);
  animation: bounce 0.8s ease-in-out infinite alternate;
}

.visualizer-bars span:nth-child(2) { animation-delay: 0.15s; background-color: var(--accent-blue); }
.visualizer-bars span:nth-child(3) { animation-delay: 0.3s; background-color: var(--accent-pink); }
.visualizer-bars span:nth-child(4) { animation-delay: 0.45s; background-color: var(--accent-emerald); }
.visualizer-bars span:nth-child(5) { animation-delay: 0.6s; background-color: var(--accent-violet); }

@keyframes bounce {
  0% { height: 4px; }
  100% { height: 24px; }
}

/* Prompt Box */
.prompt-display-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

[data-theme="light"] .prompt-display-box {
  background: rgba(255, 255, 255, 0.6);
}

.prompt-display-box.hidden {
  display: none;
}

.prompt-text {
  color: var(--text-secondary);
  font-family: monospace;
  line-height: 1.4;
  margin: 0;
  text-align: left;
}

.copy-prompt-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.copy-prompt-btn:hover {
  color: var(--text-primary);
  background-color: var(--glass-border);
}

/* Terminal CLI */
.terminal-cli {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
  font-family: monospace;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

[data-theme="light"] .terminal-cli {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cli-output {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 150px;
  overflow-y: auto;
  text-align: left;
}

.cli-line {
  margin: 0;
  line-height: 1.4;
  word-break: break-all;
}

.cli-line.cmd-echo { color: var(--text-muted); }
.cli-line.success { color: var(--accent-emerald); }
.cli-line.info { color: var(--accent-blue); }
.cli-line.warn { color: #f59e0b; }
.cli-line.error { color: #ef4444; }

.cli-input-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cli-prompt {
  color: var(--accent-emerald);
  font-weight: bold;
}

#cliInput {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: monospace;
  font-size: 0.85rem;
  flex-grow: 1;
  width: 100%;
}

/* Slider Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 700px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.1rem;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

/* Before After Slider CSS */
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  user-select: none;
}

@media screen and (max-width: 576px) {
  .slider-wrapper {
    height: 250px;
  }
}

.image-before, .image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.image-before {
  filter: grayscale(1) contrast(1.1) brightness(0.85);
  z-index: 1;
}

.image-after {
  z-index: 2;
  width: 50%;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: white;
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.handle-line {
  width: 100%;
  height: 100%;
  background-color: var(--accent-violet);
}

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--bg-secondary);
  border: 2px solid var(--accent-violet);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

/* Hero Particle Canvas */
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Playable Synth Keyboard */
.piano-keys {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 16px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.piano-key {
  flex: 1;
  height: 60px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 8px;
  position: relative;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.piano-key::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-violet);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.piano-key span {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.piano-key:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(2px);
}

.piano-key:hover::before {
  opacity: 1;
}

.piano-key.active {
  background: rgba(168, 85, 247, 0.25);
  border-color: var(--accent-violet);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
  transform: translateY(4px);
}

.piano-key.active::before {
  opacity: 1;
  background-color: var(--accent-violet);
}

/* Colors for specific keys to make it visual */
.piano-key:nth-child(even)::before {
  background-color: var(--accent-blue);
}
.piano-key:nth-child(even).active {
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}
.piano-key:nth-child(3n)::before {
  background-color: var(--accent-pink);
}
.piano-key:nth-child(3n).active {
  border-color: var(--accent-pink);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

/* Sound Reactive UI Pulse Styles */
.pillar-card.bass-hit {
  border-color: var(--accent-violet) !important;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.35) !important;
  transform: perspective(1000px) translateY(-8px) scale(1.018) !important;
  transition: transform 0.05s ease, border-color 0.05s ease, box-shadow 0.05s ease !important;
}

.pillar-card.bass-hit .pillar-icon-box {
  transform: scale(1.12);
  transition: transform 0.05s ease !important;
}

/* Profile Image Box Optimizations */
.about-profile-image-box {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 5;
  transition: transform var(--transition-normal);
}

.about-profile-image-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}

.about-profile-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(1.02);
  transition: filter var(--transition-fast);
}

.about-profile-image-box:hover .about-profile-img {
  filter: brightness(1.0) contrast(1.05);
}


/* Contact Grid Layout & Form styling */
.contact-grid-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .contact-grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.contact-info-columnData {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.contact-desc-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

.contact-form-box {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media screen and (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-violet);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.form-feedback {
  display: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.form-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.send-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.form-submit-btn:hover .send-icon {
  transform: translate(2px, -2px);
}
