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

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --bg-primary: #060913;
  --bg-secondary: #0c1020;
  --bg-card: rgba(13, 18, 36, 0.45);
  --bg-card-hover: rgba(19, 27, 54, 0.6);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(0, 242, 254, 0.35);
  
  /* Glowing Color Palettes */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-violet: #9d4edd;
  --accent-emerald: #00f5d4;
  --accent-rose: #ff477e;
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  --gradient-violet: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-blue) 100%);
  --gradient-emerald: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-blue) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --gradient-glow: 0 0 25px rgba(0, 242, 254, 0.2);
  --gradient-glow-strong: 0 0 35px rgba(0, 242, 254, 0.4);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- CORE RESET & SETUP --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(157, 78, 221, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.03) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-primary);
}

/* --- UTILITIES --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-gradient-violet {
  background: var(--gradient-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-gradient-emerald {
  background: var(--gradient-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 254, 0.08);
}

.glow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #fff;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 1;
  transition: var(--transition-normal);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.glow-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-violet);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glow-btn:hover {
  box-shadow: var(--gradient-glow-strong);
  transform: scale(1.03);
}

.glow-btn:hover::before {
  opacity: 1;
}

.glow-btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.glow-btn-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  color: var(--accent-cyan);
  box-shadow: var(--gradient-glow);
  transform: translateY(-2px);
}

/* Section Formatting */
section {
  padding: 8rem 0 4rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.badge {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: inline-block;
}

/* --- NAVIGATION BAR --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition-normal);
}

nav.scrolled {
  padding: 0.8rem 0;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 10px var(--accent-cyan);
  display: inline-block;
  animation: pulseGlowing 2s infinite;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-links a.active::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2.5px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-title-greeting {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  height: 2.8rem;
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--accent-cyan);
  margin-left: 4px;
  animation: typingCursor 0.8s infinite;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
}

/* Hero Right Side Visualization */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-sphere-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
}

.hero-glow-sphere {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,242,254,0.15) 0%, rgba(79,172,254,0.02) 60%, transparent 100%);
  border-radius: 50%;
  animation: pulseGlowing 4s infinite alternate;
}

.hero-orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateOrbit linear infinite;
}

.orbit-1 { width: 100%; height: 100%; animation-duration: 25s; }
.orbit-2 { width: 80%; height: 80%; animation-duration: 18s; animation-direction: reverse; }
.orbit-3 { width: 55%; height: 55%; animation-duration: 12s; }

.orbit-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.node-2 { bottom: 20%; right: 5%; }
.node-3 { top: 30%; left: 0%; background: var(--accent-violet); box-shadow: 0 0 10px var(--accent-violet); }

/* Central visual stats card */
.hero-stats-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  padding: 1.5rem;
  text-align: center;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: floatUp 5s ease-in-out infinite alternate;
}

.hero-stats-card .stats-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-stats-card .stats-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* --- STATS COUNTDOWN SECTION --- */
.stats-banner {
  padding: 0;
  margin-top: -3rem;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  padding: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- ABOUT & SKILLS SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: stretch;
}

.about-desc-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.about-desc-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  border-left: 3.5px solid var(--accent-cyan);
  padding-left: 0.75rem;
}

.about-desc-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-skills-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skills-cat-card {
  padding: 1.5rem;
}

.skills-cat-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 242, 254, 0.05);
}

.skills-cat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.75rem;
}

.skills-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
}

.skills-cat-card:nth-child(2) .skills-cat-icon {
  background: rgba(157, 78, 221, 0.05);
  border-color: rgba(157, 78, 221, 0.15);
  color: var(--accent-violet);
}

.skills-cat-card:nth-child(3) .skills-cat-icon {
  background: rgba(0, 245, 212, 0.05);
  border-color: rgba(0, 245, 212, 0.15);
  color: var(--accent-emerald);
}

.skills-cat-header h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.skills-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skills-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.skills-pill:hover {
  background: rgba(0, 242, 254, 0.05);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
  transform: translateY(-1px);
}

/* --- INTERACTIVE ML PLAYGROUND --- */
.ml-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.ml-inputs-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.ml-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.ml-title-bar h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.ml-title-bar span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
}

.slider-label {
  color: var(--text-primary);
}

.slider-value-display {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Slider Track Styling */
input[type="range"].ml-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: background var(--transition-fast);
}

input[type="range"].ml-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

input[type="range"].ml-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #fff;
}

input[type="range"].ml-slider:active::-webkit-slider-thumb {
  transform: scale(1.3);
}

.ml-outputs-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.ml-outputs-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.04) 0%, transparent 70%);
  z-index: 0;
}

.ml-gauge-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  z-index: 1;
}

.prediction-display {
  text-align: center;
  margin-top: 1rem;
}

.prediction-title {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prediction-price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.5rem 0;
  text-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
  line-height: 1;
}

.prediction-delta {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.prediction-delta.down {
  color: var(--accent-rose);
}

/* Custom Visual ML Gauge */
.gauge-container {
  position: relative;
  width: 220px;
  height: 110px;
  overflow: hidden;
}

.gauge-svg {
  width: 100%;
  height: 100%;
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 14;
  stroke-linecap: round;
}

.gauge-fill {
  fill: none;
  stroke: url(#gauge-grad);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 141; /* Controls the position, 283 represents 0%, 141 represents 50%, 0 represents 100% */
  transition: stroke-dashoffset 0.4s ease-out;
}

.gauge-needle {
  position: absolute;
  width: 4px;
  height: 80px;
  background: #fff;
  border-radius: 4px;
  bottom: 0;
  left: calc(50% - 2px);
  transform-origin: bottom center;
  transform: rotate(-90deg); /* Range: -90deg to 90deg */
  transition: transform 0.4s ease-out;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.gauge-needle::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  bottom: -8px;
  left: -6px;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.ml-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  z-index: 1;
}

.metric-box {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
}

.metric-box-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.metric-box-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}

/* --- INTERACTIVE SQL SANDBOX --- */
.sql-wrapper {
  width: 100%;
}

.sql-console {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Header bar */
.console-header {
  background: #0d1222;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.console-dots {
  display: flex;
  gap: 0.5rem;
}

.console-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.console-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.console-db-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.sql-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  background: #080c16;
  min-height: 480px;
}

/* Sidebar with Queries */
.sql-sidebar {
  background: #090e1b;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 700;
}

.query-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.query-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-normal);
  color: var(--text-secondary);
}

.query-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.query-tab-btn.active {
  background: rgba(0, 242, 254, 0.06);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.query-tab-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.query-tab-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.query-tab-btn.active .query-tab-desc {
  color: rgba(0, 242, 254, 0.7);
}

/* Editor + Results Screen */
.sql-body {
  display: grid;
  grid-template-rows: auto 1fr;
}

.sql-editor-pane {
  background: #090e1c;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.sql-code-area {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #fff;
  background: transparent;
  border: none;
  width: 100%;
  height: 90px;
  resize: none;
  outline: none;
  line-height: 1.5;
}

.sql-run-bar {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.sql-run-btn {
  background: var(--gradient-primary);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
  transition: var(--transition-normal);
}

.sql-run-btn:hover {
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
  transform: translateY(-1px);
}

/* Results Window */
.sql-results-pane {
  padding: 1.5rem;
  overflow: auto;
  background: #060913;
  display: flex;
  flex-direction: column;
}

.results-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-stats {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-emerald);
}

.results-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Simulated Table styles */
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-align: left;
}

.results-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.results-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.results-table tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.results-table tr:last-child td {
  border-bottom: none;
}

.results-empty {
  margin: auto;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 0;
}

.results-empty-icon {
  font-size: 2rem;
  color: rgba(255,255,255,0.15);
}

/* Highlighted keywords in editor */
.sql-keyword { color: #ff79c6; font-weight: 600; }
.sql-string { color: #f1fa8c; }
.sql-number { color: #bd93f9; }

/* --- INTERACTIVE DASHBOARD SECTION --- */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.dash-controls-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dash-menu-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 700;
}

.dash-menu-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-menu-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-menu-btn:hover {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.dash-menu-btn.active {
  background: rgba(0, 242, 254, 0.05);
  border-color: rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
}

.dash-filters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.glass-select {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.6rem;
  border-radius: 8px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.glass-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0,242,254,0.15);
}

.dash-viewer-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 480px;
}

.dash-viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.dash-viewer-title h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dash-viewer-title p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.dash-kpis {
  display: flex;
  gap: 2rem;
}

.dash-kpi {
  text-align: right;
}

.dash-kpi-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.dash-kpi-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-chart-container {
  position: relative;
  flex-grow: 1;
  width: 100%;
  height: 320px;
}

/* --- FEATURED PROJECTS --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.project-media {
  position: relative;
  height: 180px;
  background: var(--gradient-dark);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-media svg {
  width: 50%;
  height: 50%;
  transition: transform var(--transition-normal);
  opacity: 0.7;
}

.project-card:hover .project-media svg {
  transform: scale(1.1);
  opacity: 1;
}

.project-tech-badges {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-badge {
  background: rgba(6, 9, 19, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.project-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.project-card:hover .project-title {
  color: var(--accent-cyan);
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  flex-grow: 1;
}

.project-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.project-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
}

.project-link:hover {
  color: var(--accent-cyan);
}

.project-details-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  outline: none;
  transition: var(--transition-fast);
}

.project-details-toggle:hover {
  color: #fff;
}

.project-expanded-panel {
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  border-top: 0px solid transparent;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.project-expanded-panel.active {
  max-height: 1000px;
  border-top: 1px solid var(--border-color);
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0), padding 0.4s ease;
}

.project-code-wrapper {
  padding: 1.25rem;
  color: #a9b2c3;
  line-height: 1.4;
  overflow-x: auto;
}

/* --- EXPERIENCE & EDUCATION TIMELINE --- */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 10px;
  width: 2px;
  height: calc(100% - 20px);
  background: linear-gradient(to bottom, var(--accent-cyan) 0%, var(--accent-violet) 50%, rgba(255,255,255,0.02) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  z-index: 2;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.timeline-item:nth-child(even) .timeline-dot {
  border-color: var(--accent-violet);
  box-shadow: 0 0 10px var(--accent-violet);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  background: #fff;
}

.timeline-card {
  padding: 2rem;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.timeline-role {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.timeline-company {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-cyan);
  margin-top: 0.15rem;
}

.timeline-item:nth-child(even) .timeline-company {
  color: var(--accent-violet);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.timeline-achievements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.timeline-achievements li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.timeline-achievements li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.timeline-item:nth-child(even) .timeline-achievements li::before {
  color: var(--accent-violet);
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-info-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.contact-info-title h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info-title p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
}

.contact-detail-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.contact-detail-val {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-detail-val:hover {
  color: var(--accent-cyan);
}

.contact-socials {
  display: flex;
  gap: 1rem;
}

.social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 1.15rem;
  transition: var(--transition-normal);
}

.social-circle:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--gradient-glow);
  transform: translateY(-3px);
}

.contact-form-card {
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.glass-input, .glass-textarea {
  background: rgba(6, 9, 19, 0.45);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.glass-input:focus, .glass-textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(6, 9, 19, 0.7);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.glass-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-status.success {
  color: var(--accent-emerald);
  display: block;
}

.form-status.error {
  color: var(--accent-rose);
  display: block;
}

/* --- FOOTER --- */
footer {
  background: #04060c;
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  color: #fff;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes pulseGlowing {
  0% {
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
  }
  100% {
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
  }
}

@keyframes rotateOrbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes floatUp {
  0% {
    transform: translate(-50%, -46%);
  }
  100% {
    transform: translate(-50%, -54%);
  }
}

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

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

/* Intersection Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-title { font-size: 3.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .ml-grid { grid-template-columns: 1fr; }
  .sql-grid { grid-template-columns: 1fr; }
  .sql-sidebar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .dash-layout { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  body {
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 90% 80%, rgba(157, 78, 221, 0.04) 0%, transparent 50%);
  }
  
  .container { padding: 0 1.5rem; }
  section { padding: 6rem 0 3rem; }
  .section-header { margin-bottom: 3rem; }
  .section-header h2 { font-size: 2.25rem; }
  
  /* Mobile Header */
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(6, 9, 19, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
    transition: left var(--transition-normal);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-nav-toggle { display: block; }
  .mobile-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

  /* Hero */
  .hero { min-height: auto; padding-bottom: 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-title-greeting { justify-content: center; }
  .hero-subtitle { font-size: 1.5rem; height: auto; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-cta { justify-content: center; flex-wrap: wrap; }
  .hero-visual { display: none; }
  
  .stats-banner { margin-top: 0; }
  
  /* ML Playground */
  .ml-inputs-card, .ml-outputs-card { padding: 1.5rem; }
  .prediction-price { font-size: 2.75rem; }
  
  /* SQL Sandbox */
  .sql-editor-pane { padding: 1rem; }
  .sql-results-pane { padding: 1rem; }
  
  /* Featured Projects */
  .projects-grid { grid-template-columns: 1fr; }
  
  /* Timeline */
  .timeline-container::before { left: 16px; }
  .timeline-item { padding-left: 3rem; }
  .timeline-dot { left: 5px; width: 22px; height: 22px; }
  .timeline-header { flex-direction: column; gap: 0.5rem; }
  .timeline-date { align-self: flex-start; }
  .timeline-card { padding: 1.5rem; }
  
  /* Contact Form */
  .form-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-info-card, .contact-form-card { padding: 1.5rem; }
}
