/* ==========================================================================
   ADITYA KUMAR - PORTFOLIO STYLESHEET
   Automation & CRM Architect Design System (Dark Theme Native)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Dark Theme */
  --bg-main: #070a13;
  --bg-secondary: #0d1322;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 33, 62, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-strong: rgba(255, 255, 255, 0.07);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(0, 242, 254, 0.4);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070a13;

  /* Accent Colors */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #8b5cf6;
  --accent-fuchsia: #d946ef;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-coral: #ff4757;

  /* Gradients */
  --grad-cyan-blue: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-purple-pink: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  --grad-amber-coral: linear-gradient(135deg, #f59e0b 0%, #ff4757 100%);
  --grad-dark-mesh: radial-gradient(at 0% 0%, rgba(79, 172, 254, 0.15) 0px, transparent 50%),
                    radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
                    radial-gradient(at 50% 100%, rgba(0, 242, 254, 0.08) 0px, transparent 50%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-cyan-glow: 0 0 25px rgba(0, 242, 254, 0.35);
  --shadow-purple-glow: 0 0 25px rgba(139, 92, 246, 0.35);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --container-max: 1240px;
  --nav-height: 76px;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 22px;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background-image: var(--grad-dark-mesh);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Subtle Animated Grid Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

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

.mono {
  font-family: var(--font-mono);
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-medium);
  height: 68px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-md);
  background: rgba(13, 25, 48, 0.9);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  overflow: hidden;
  padding: 5px;
  transition: all var(--transition-fast);
}

.logo-badge:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-cyan-glow);
  transform: scale(1.05);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-cyan-blue);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Availability Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  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 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-cyan-blue);
  color: #070a13;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* --- Hero Section --- */
.hero-section {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
}

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

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--border-radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Hero Metrics Bar */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 2px;
}

/* --- Hero Profile Image Frame --- */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card-container {
  position: relative;
  width: 360px;
  max-width: 100%;
}

.profile-glow-ring {
  position: absolute;
  inset: -15px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.4), rgba(139, 92, 246, 0.4), rgba(217, 70, 239, 0.3));
  filter: blur(25px);
  opacity: 0.7;
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0% { transform: scale(0.96); opacity: 0.5; }
  100% { transform: scale(1.04); opacity: 0.85; }
}

.profile-frame {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.profile-image-box {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #0d1527, #131d36);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--transition-smooth);
}

.profile-img:hover {
  transform: scale(1.03);
}

/* Fallback Stylized Avatar SVG */
.profile-placeholder-svg {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 242, 254, 0.15) 0%, rgba(13, 21, 39, 0.95) 75%);
}

.avatar-icon-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--grad-cyan-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #070a13;
  margin-bottom: 14px;
  box-shadow: var(--shadow-cyan-glow);
}

.avatar-caption {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.avatar-subcaption {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.profile-card-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 4;
}

.profile-identity h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.profile-identity p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Floating Tech Badges */
.floating-tech-badge {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-medium);
  padding: 8px 14px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 10;
  animation: float-badge 4s ease-in-out infinite alternate;
}

.badge-ghl {
  top: 10px;
  left: -28px;
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.35);
}

.badge-n8n {
  top: 42%;
  right: -28px;
  color: #ff6d5a;
  border-color: rgba(255, 109, 90, 0.35);
  animation-delay: -1.5s;
}

.badge-make, .badge-supabase {
  bottom: 95px;
  left: -28px;
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.35);
  animation-delay: -3s;
}

@keyframes float-badge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* --- Section Global Structure --- */
section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Interactive Workflow Simulator Studio --- */
.simulator-container {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.simulator-header {
  padding: 20px 28px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.simulator-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-btn {
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.preset-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.preset-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.simulator-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.simulator-body {
  display: block;
  width: 100%;
}

/* Workflow Visual Graph Canvas (Full Width) */
.workflow-graph-canvas {
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 50%, rgba(13, 25, 48, 0.5) 0%, transparent 80%);
  overflow: hidden;
}

.workflow-canvas-header {
  margin-bottom: 24px;
  width: 100%;
}

.workflow-nodes-track {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 20px;
  scrollbar-width: thin;
}

.nodes-flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: 20px;
  min-width: 720px;
}

.workflow-canvas-hint {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-node {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-md);
  padding: 18px 16px;
  width: 175px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.workflow-node:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.2);
}

.workflow-node.active-step {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

.workflow-node.active-step::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid var(--accent-cyan);
  animation: pulse-node 1.5s infinite;
}

@keyframes pulse-node {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.08); opacity: 0; }
}

.node-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
}

.node-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.node-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.node-status-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: var(--border-radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-weight: 600;
}

.workflow-connector {
  flex: 1;
  height: 3px;
  background: var(--border-subtle);
  position: relative;
  min-width: 36px;
}

.workflow-connector.active {
  background: var(--grad-cyan-blue);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.packet-dot {
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: move-packet 2s infinite linear;
}

@keyframes move-packet {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* --- Core Skillset Matrix --- */
.skills-tab-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.filter-tab {
  padding: 10px 20px;
  border-radius: var(--border-radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.filter-tab.active {
  background: var(--grad-cyan-blue);
  color: #070a13;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
}

.skill-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-cyan-blue);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.skill-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1.6rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.15);
  padding: 10px;
  transition: all var(--transition-fast);
}

.skill-icon img {
  display: block;
  flex-shrink: 0;
}

.skill-card:hover .skill-icon {
  background: rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.tech-tag img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.skill-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.skill-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.skill-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
  flex: 1;
}

.skill-features {
  list-style: none;
  margin-bottom: 22px;
}

.skill-features li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.skill-features li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* --- Experience & Agency Ops Timeline --- */
.timeline-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 68px;
  margin-bottom: 40px;
}

.timeline-node-pin {
  position: absolute;
  left: 14px;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  z-index: 2;
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 26px;
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  border-color: var(--border-medium);
  transform: translateX(4px);
}

.timeline-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
}

.timeline-company {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 600;
}

.timeline-badge {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.timeline-bullets {
  list-style: none;
  margin-top: 14px;
}

.timeline-bullets li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.timeline-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* --- Contact & Booking Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 36px;
}

.contact-info-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.direct-contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.direct-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: var(--border-radius-md);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.direct-item:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
}

.direct-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.direct-item-info {
  flex: 1;
  min-width: 0;
}

.direct-item-info h5 {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.direct-item-info p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
  word-break: break-all;
}

.contact-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

/* Contact Mode Tabs & Booking Calendar Embed */
.contact-mode-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-subtle);
}

.contact-mode-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.contact-mode-tab:hover {
  color: var(--text-primary);
}

.contact-mode-tab.active {
  background: var(--grad-cyan-blue);
  color: #070a13;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.3);
}

.contact-tab-pane {
  width: 100%;
  animation: fadeIn 0.3s ease forwards;
}

.booking-calendar-wrapper {
  width: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: rgba(13, 19, 34, 0.7);
  border: 1px solid var(--border-subtle);
  min-height: 640px;
}

.booking-calendar-wrapper iframe {
  width: 100%;
  border: none;
  display: block;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

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

/* --- Toast Notification --- */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0f172a;
  border: 1px solid var(--accent-cyan);
  color: var(--text-primary);
  padding: 14px 22px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-cyan-glow);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Footer --- */
.site-footer {
  padding: 60px 0 0;
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 8, 15, 0.97);
}

/* Full-width booking/inquiry hub wrapper */
.contact-hub-fullwidth {
  width: 100%;
}

.contact-hub-fullwidth .contact-form-card {
  max-width: 100%;
  width: 100%;
}

/* Footer layout */
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand,
.footer-contact,
.footer-nav,
.footer-cta {
  display: flex;
  flex-direction: column;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- Responsive Media Queries --- */

/* Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.9rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(4, 1fr);
    max-width: 700px;
    margin: 0 auto;
  }

  .hero-visual-wrapper {
    margin-top: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Tablets (<= 768px) */
@media (max-width: 768px) {
  .navbar {
    height: 68px;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(7, 10, 19, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-medium);
    padding: 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    transform: translateY(-160%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 1.05rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-subtle);
  }

  .status-pill {
    display: none;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 2.4rem;
    letter-spacing: -0.8px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 20px;
  }

  .timeline-container::before {
    left: 10px;
  }

  .timeline-item {
    padding-left: 36px;
  }

  .timeline-node-pin {
    left: 0;
    width: 20px;
    height: 20px;
  }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.4rem);
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .hero-badge-tag {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  /* Profile Card & Badges */
  .profile-card-container {
    width: 320px;
    max-width: 100%;
  }

  .floating-tech-badge {
    padding: 6px 10px;
    font-size: 0.72rem;
    border-radius: var(--border-radius-sm);
  }

  .badge-ghl {
    top: 5px;
    left: -6px;
  }

  .badge-n8n {
    top: 40%;
    right: -6px;
  }

  .badge-make, .badge-supabase {
    bottom: 85px;
    left: -6px;
  }

  /* Simulator */
  .simulator-header {
    padding: 16px;
  }

  .simulator-presets {
    gap: 6px;
    width: 100%;
  }

  .preset-btn {
    font-size: 0.78rem;
    padding: 6px 12px;
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }

  .simulator-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .workflow-graph-canvas {
    padding: 20px 16px;
  }

  /* Filter Tabs */
  .skills-tab-filter {
    gap: 6px;
    margin-bottom: 32px;
  }

  .filter-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .skill-card {
    padding: 22px 18px;
  }

  /* Timeline */
  .timeline-card {
    padding: 20px 16px;
  }

  .timeline-role {
    font-size: 1.1rem;
  }

  /* Contact Section */
  .contact-info-card, .contact-form-card {
    padding: 22px 16px;
  }

  .contact-info-card h3 {
    font-size: 1.35rem;
  }

  .direct-item {
    padding: 10px 12px;
    gap: 12px;
  }

  .direct-item-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .direct-item-info p {
    font-size: 0.84rem;
    word-break: break-all;
  }

  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-field {
    margin-bottom: 14px;
  }

  .form-control {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .profile-card-container {
    width: 100%;
    max-width: 290px;
  }

  .badge-ghl {
    top: 5px;
    left: 0px;
  }

  .badge-n8n {
    top: 38%;
    right: 0px;
  }

  .badge-make, .badge-supabase {
    bottom: 85px;
    left: 0px;
  }

  .preset-btn {
    flex: 1 1 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Ultra Compact (<= 360px) */
@media (max-width: 360px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .metric-item {
    text-align: center;
  }
}
