/**
 * =============================================================================
 * MUHAMMED ASHRAF SAIED — PERSONAL PORTFOLIO STYLESHEET
 * WordPress Developer & Technical Product Owner
 * Built with Modern CSS3, Custom Properties, Glassmorphism, & Mobile-First UX
 * =============================================================================
 */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-primary: #06131f;
  --bg-secondary: #0b1e2d;
  --surface: #102a3d;
  --surface-light: #16364c;
  --surface-translucent: rgba(16, 42, 61, 0.75);
  --surface-card: rgba(11, 30, 45, 0.85);

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Accent Colors */
  --accent-primary: #27e0c1;       /* Vibrant Cyan / Mint */
  --accent-secondary: #38bdf8;     /* Sky Blue */
  --accent-gold: #e5b94f;          /* Warm Gold */
  --accent-purple: #818cf8;        /* Soft Indigo */
  --success: #22c55e;
  --danger: #f87171;

  /* Borders & Glows */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.04);
  --border-glow: rgba(39, 224, 193, 0.35);
  --border-sky-glow: rgba(56, 189, 248, 0.35);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #27e0c1 0%, #38bdf8 100%);
  --grad-gold: linear-gradient(135deg, #e5b94f 0%, #f59e0b 100%);
  --grad-surface: linear-gradient(180deg, rgba(16, 42, 61, 0.8) 0%, rgba(11, 30, 45, 0.9) 100%);
  --grad-hero-glow: radial-gradient(circle at 75% 30%, rgba(39, 224, 193, 0.12) 0%, transparent 60%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 28px rgba(39, 224, 193, 0.2);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Cairo', system-ui, sans-serif;

  /* Spacing & Layout */
  --container-max: 1240px;
  --header-height: 76px;
  --header-height-mobile: 64px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & GLOBAL BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: transparent;
}

button {
  cursor: pointer;
}

/* Skip to Content Accessibility Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent-primary);
  color: var(--bg-primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 20px;
}

/* --------------------------------------------------------------------------
   3. BACKGROUND PATTERNS & AMBIENT LIGHTING
   -------------------------------------------------------------------------- */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #27e0c1 0%, rgba(39, 224, 193, 0) 70%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0) 70%);
  bottom: 20%;
  left: -150px;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #e5b94f 0%, rgba(229, 185, 79, 0) 70%);
  bottom: -100px;
  right: 10%;
  opacity: 0.18;
}

/* --------------------------------------------------------------------------
   4. CUSTOM CURSOR (DESKTOP ONLY)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
  }

  .cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-primary);
  }

  .cursor-ring {
    position: absolute;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(39, 224, 193, 0.45);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
  }

  .custom-cursor.hovering .cursor-ring {
    width: 52px;
    height: 52px;
    border-color: var(--accent-primary);
    background: rgba(39, 224, 193, 0.08);
  }
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   5. SESSION PRELOADER
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 360px;
  width: 100%;
}

.preloader-monogram {
  margin-bottom: 24px;
  animation: preloaderPulse 2s ease-in-out infinite alternate;
}

.preloader-logo-img {
  width: 84px;
  height: 84px;
}

@keyframes preloaderPulse {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 8px rgba(39, 224, 193, 0.3)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 24px rgba(39, 224, 193, 0.7)); }
}

.preloader-brand {
  margin-bottom: 24px;
}

.preloader-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.preloader-role {
  display: block;
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.preloader-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 14px;
}

.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  transition: width 0.1s linear;
}

.preloader-status {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.btn-skip-intro {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-decoration: underline;
  padding: 4px 8px;
}

.btn-skip-intro:hover {
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   6. FLOATING HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: padding var(--transition-smooth), background-color var(--transition-smooth), backdrop-filter var(--transition-smooth), border-color var(--transition-smooth);
}

.header-nav.scrolled, .header-nav.compact {
  padding: 10px 0;
  background-color: rgba(6, 19, 31, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.scroll-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--grad-primary);
  transition: width 0.05s linear;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-badge {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-badge {
  transform: rotate(-6deg) scale(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--accent-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Desktop Navigation */
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-translucent);
  padding: 4px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-link {
  padding: 7px 13px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #06131f;
  background: var(--accent-primary);
  box-shadow: 0 0 12px rgba(39, 224, 193, 0.35);
}

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

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-glow);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: all var(--transition-fast);
}

.btn-nav-cta:hover {
  background: var(--accent-primary);
  color: #06131f;
  box-shadow: 0 0 18px rgba(39, 224, 193, 0.4);
}

/* Vector SVG Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.mobile-menu-toggle:hover, .mobile-menu-toggle:active {
  background: var(--surface-light);
  border-color: var(--border-glow);
}

.hamburger-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ham-line {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: 12px 12px;
}

.mobile-menu-toggle.open .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.open .line-2 {
  opacity: 0;
}

.mobile-menu-toggle.open .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s ease;
}

.mobile-nav-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.open .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-content {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 84%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #0b1e2d;
  border-left: 1px solid var(--border-glow);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.7);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 100000;
}

.mobile-nav-drawer.open .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: color var(--transition-fast);
}

.mobile-nav-close:hover {
  color: var(--accent-primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 24px;
}

.mobile-link {
  display: block;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-link:hover, .mobile-link:active {
  background: var(--surface);
  color: var(--accent-primary);
  padding-left: 16px;
}

.mobile-nav-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.mobile-talk-btn {
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   7. BUTTONS & UI CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  text-align: center;
  min-height: 44px;
}

.btn-primary {
  background: var(--accent-primary);
  color: #06131f;
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(39, 224, 193, 0.3);
}

.btn-primary:hover {
  background: #2fe9ca;
  box-shadow: 0 6px 24px rgba(39, 224, 193, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-light);
  border-color: var(--border-glow);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  background: rgba(56, 189, 248, 0.06);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  min-height: 36px;
}

.btn-block {
  width: 100%;
}

.text-gradient-cyan {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-underline {
  position: relative;
  display: inline-block;
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   8. LAYOUT CONTAINERS & SECTION STRUCTURE
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section-padding {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.bg-secondary {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

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

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  background: var(--grad-hero-glow);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-intro {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

/* Rotating Roles */
.rotating-roles-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 20px;
  min-height: 38px;
}

.roles-prefix {
  color: var(--text-secondary);
}

.roles-rotator {
  position: relative;
  display: inline-block;
  height: 36px;
  overflow: hidden;
}

.role-item {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
  color: var(--accent-primary);
}

.role-item.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.hero-supporting-copy {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 500;
  max-width: 620px;
}

.hero-additional-copy {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

/* Hero Proof Indicators Grid */
.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.proof-card {
  display: flex;
  flex-direction: column;
}

.proof-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.proof-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-top: 2px;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.visual-stack-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.connecting-circuit-lines {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  pointer-events: none;
  z-index: 1;
}

.pulse-line-1 {
  animation: pulseStroke 4s linear infinite;
}

.pulse-line-2 {
  animation: pulseStroke 5s linear infinite reverse;
}

@keyframes pulseStroke {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 32; }
}

.composition-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.composition-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-cyan);
}

/* Main Portrait Frame Card */
.portrait-frame-card {
  position: relative;
  overflow: hidden;
  z-index: 2;
  border: 1px solid rgba(39, 224, 193, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(39, 224, 193, 0.12);
}

.portrait-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  background: #081a28;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform var(--transition-smooth);
}

.portrait-frame-card:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-badge-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(6, 19, 31, 0.95) 0%, rgba(6, 19, 31, 0.5) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
}

.badge-role-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.status-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-primary);
}

.badge-sub-tag {
  font-size: 0.75rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-top: 2px;
}

/* Floating UI Overlay Cards */
.float-card {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.wp-arch-card {
  top: -20px;
  left: -28px;
  width: 240px;
  animation: floatCard1 4.5s ease-in-out infinite alternate;
}

.roadmap-card {
  bottom: 24px;
  right: -32px;
  width: 230px;
  animation: floatCard2 5s ease-in-out infinite alternate;
}

.ai-node-card {
  bottom: -20px;
  left: 20px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  animation: floatCard1 4s ease-in-out infinite alternate-reverse;
}

.float-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wp-icon {
  background: rgba(39, 224, 193, 0.15);
  color: var(--accent-primary);
}

.po-icon {
  background: rgba(229, 185, 79, 0.15);
  color: var(--accent-gold);
}

.float-card-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.float-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.float-sub {
  font-size: 0.66rem;
  color: var(--text-secondary);
}

.badge-pill-cyan {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(39, 224, 193, 0.2);
  color: var(--accent-primary);
  border-radius: var(--radius-pill);
}

.badge-pill-gold {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(229, 185, 79, 0.2);
  color: var(--accent-gold);
  border-radius: var(--radius-pill);
}

.code-snippet-preview {
  background: rgba(6, 19, 31, 0.9);
  padding: 6px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.66rem;
  overflow: hidden;
  white-space: nowrap;
}

.code-keyword { color: var(--accent-secondary); }
.code-str { color: var(--accent-gold); }
.code-fn { color: var(--accent-primary); }

.progress-mini-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-mini-fill {
  height: 100%;
  background: var(--grad-gold);
  border-radius: var(--radius-pill);
}

.ai-node-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-primary);
  animation: pulseStatus 1.8s infinite;
}

.ai-node-text {
  display: flex;
  flex-direction: column;
}

.ai-label {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ai-desc {
  font-size: 0.64rem;
  color: var(--accent-primary);
}

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

@keyframes floatCard2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

/* --------------------------------------------------------------------------
   10. EXPERTISE MARQUEE
   -------------------------------------------------------------------------- */
.expertise-marquee-section {
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.bullet-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-primary);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   11. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-narrative-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
  align-items: center;
}

.about-story-col p {
  margin-bottom: 14px;
  font-size: 1rem;
}

.lead-text {
  font-size: 1.18rem !important;
  color: var(--text-primary) !important;
  font-weight: 500;
  line-height: 1.5;
}

.callout-card {
  background: var(--surface);
  border: 1px solid var(--border-glow);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.callout-title {
  font-size: 1.12rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.callout-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.55;
}

.callout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  background: rgba(39, 224, 193, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(39, 224, 193, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Capability Cards */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.capability-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-cyan);
}

.cap-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cyan-glow { background: rgba(39, 224, 193, 0.15); color: var(--accent-primary); }
.sky-glow { background: rgba(56, 189, 248, 0.15); color: var(--accent-secondary); }
.teal-glow { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.gold-glow { background: rgba(229, 185, 79, 0.15); color: var(--accent-gold); }

.cap-title {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.cap-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cap-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.cap-list li {
  font-size: 0.78rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 16px;
}

.cap-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   12. WORDPRESS EXPERTISE BENTO GRID
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-cyan);
}

.bento-col-2 {
  grid-column: span 2;
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-light) 100%);
  border-color: var(--border-glow);
}

.bento-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-primary);
  color: #06131f;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(39, 224, 193, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.bento-title {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bento-footer-tags {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.bento-footer-tags span {
  font-size: 0.7rem;
  color: var(--accent-secondary);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   13. WORDPRESS PROJECTS SHOWCASE
   -------------------------------------------------------------------------- */
.projects-main-container {
  overflow: hidden;
  width: 100%;
}

/* Desktop Horizontal Pinned Track */
@media (min-width: 1024px) {
  .projects-horizontal-track-container {
    position: relative;
    width: 100%;
  }

  .projects-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    padding: 12px 0;
  }

  .project-card {
    flex: 0 0 480px;
    width: 480px;
  }
}

/* Tablet & Mobile (<1024px): Standard Responsive Vertical Grid */
@media (max-width: 1023px) {
  .projects-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 12px 0;
  }

  .project-card {
    width: 100%;
  }
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-cyan);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(6, 19, 31, 0.4);
}

.project-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.project-tag-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.wp-badge { background: rgba(39, 224, 193, 0.15); color: var(--accent-primary); }
.woo-badge { background: rgba(229, 185, 79, 0.15); color: var(--accent-gold); }

.project-mockup-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-primary);
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.mockup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 31, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.project-card:hover .mockup-overlay,
.project-card:focus-within .mockup-overlay {
  opacity: 1;
}

.project-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-industry {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 3px;
}

.project-name {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.project-category {
  font-size: 0.8rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 10px;
}

.project-summary {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.project-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.project-link:hover {
  text-decoration: underline;
}

/* "And Many More" Card */
.project-card-more {
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-light) 100%);
  border: 1px dashed var(--border-glow);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
}

.more-content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.more-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(39, 224, 193, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.more-title {
  font-size: 1.25rem;
}

.more-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 300px;
}

/* --------------------------------------------------------------------------
   14. PRODUCT AND SOFTWARE PROJECTS ("Beyond WordPress")
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-cyan);
}

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

.product-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(229, 185, 79, 0.15);
  color: var(--accent-gold);
}

.product-platform {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.product-lead {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.product-responsibilities {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.resp-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
  margin-bottom: 6px;
}

.resp-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.resp-list li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 14px;
}

.resp-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   15. CAREER TIMELINE
   -------------------------------------------------------------------------- */
.timeline-wrapper {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline-line {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, rgba(255, 255, 255, 0.1) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

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

.timeline-dot {
  position: absolute;
  top: 6px;
  left: -36px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 10px rgba(39, 224, 193, 0.4);
}

.timeline-dot.current-role {
  background: var(--accent-primary);
  border-color: #f8fafc;
  animation: pulseStatus 2s infinite;
}

.timeline-dot.milestone-dot {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(229, 185, 79, 0.4);
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateX(6px);
  border-color: var(--border-glow);
}

.timeline-content.highlight-content {
  border-color: var(--border-glow);
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-light) 100%);
}

.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.timeline-period {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.timeline-location {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.timeline-role {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.timeline-company {
  font-size: 0.92rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-tasks {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.timeline-tasks li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 14px;
}

.timeline-tasks li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   16. SKILLS MATRIX & TABS
   -------------------------------------------------------------------------- */
.skills-filter-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.skill-tab-btn {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.skill-tab-btn:hover {
  background: var(--surface-light);
  color: var(--text-primary);
  border-color: var(--border-glow);
}

.skill-tab-btn.active {
  background: var(--accent-primary);
  color: #06131f;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(39, 224, 193, 0.35);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.skill-category-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.skill-group-title {
  font-size: 1rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  color: var(--accent-secondary);
}

.skill-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-badge {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.skill-badge:hover {
  background: rgba(39, 224, 193, 0.15);
  color: var(--accent-primary);
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

.skill-badge.primary-skill {
  background: rgba(39, 224, 193, 0.08);
  border-color: rgba(39, 224, 193, 0.25);
  color: var(--text-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   17. AI-ASSISTED DEVELOPMENT
   -------------------------------------------------------------------------- */
.workflow-stepper-container {
  position: relative;
  margin-bottom: 36px;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  position: relative;
  z-index: 2;
}

.workflow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-smooth);
}

.workflow-step:hover, .workflow-step.active {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.workflow-step.active .step-circle {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(39, 224, 193, 0.35);
}

.ai-step {
  border-color: var(--border-glow);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(39, 224, 193, 0.08) 100%);
}

.ai-pulse {
  border-color: var(--accent-primary) !important;
  color: var(--accent-primary) !important;
  box-shadow: 0 0 14px var(--accent-primary) !important;
}

.step-name {
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.ai-tooling-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
}

.tooling-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tooling-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.tooling-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.tooling-separator {
  width: 1px;
  height: 28px;
  background: var(--border-light);
}

/* --------------------------------------------------------------------------
   18. EDUCATION AND CERTIFICATIONS
   -------------------------------------------------------------------------- */
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  gap: 16px;
}

.degree-card {
  grid-column: span 2;
  border-color: var(--border-glow);
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-light) 100%);
}

.edu-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(39, 224, 193, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.edu-body {
  flex: 1;
}

.edu-years, .edu-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 3px;
}

.edu-title {
  font-size: 1.12rem;
  margin-bottom: 3px;
}

.edu-institution {
  font-size: 0.88rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.edu-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}

.cert-list li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 14px;
}

.cert-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.languages-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-flag {
  font-size: 1.6rem;
}

.lang-meta {
  display: flex;
  flex-direction: column;
}

.lang-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.lang-level {
  font-size: 0.8rem;
  color: var(--accent-primary);
}

.lang-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* --------------------------------------------------------------------------
   19. CONTACT & OPPORTUNITY HUB
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
}

.status-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.contact-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.direct-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.direct-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.direct-link-item:hover {
  border-color: var(--border-glow);
  transform: translateX(4px);
  background: var(--surface-light);
}

.link-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.email-icon { background: rgba(39, 224, 193, 0.15); color: var(--accent-primary); }
.whatsapp-icon { background: rgba(34, 197, 94, 0.15); color: var(--success); }
.linkedin-icon { background: rgba(56, 189, 248, 0.15); color: var(--accent-secondary); }
.github-icon { background: rgba(248, 250, 252, 0.15); color: var(--text-primary); }

.link-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.link-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.link-val {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Contact Form */
.form-wrapper-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.form-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.req {
  color: var(--accent-primary);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 16px; /* Crucial: 16px prevents iOS zoom on focus */
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(39, 224, 193, 0.25);
  background: rgba(6, 19, 31, 0.95);
}

.form-input.input-error, .form-select.input-error, .form-textarea.input-error {
  border-color: var(--danger);
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.3);
}

.error-msg {
  font-size: 0.72rem;
  color: var(--danger);
  min-height: 14px;
}

.form-select option {
  background: var(--surface);
  color: var(--text-primary);
}

.btn-submit {
  margin-top: 6px;
  cursor: pointer;
}

.form-feedback-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  display: none;
}

.form-feedback-notice.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.form-feedback-notice.error {
  display: block;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #030a11;
  border-top: 1px solid var(--border);
  padding: 44px 0 20px;
  position: relative;
  z-index: 1;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 0.8fr;
  gap: 30px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-top: 8px;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-cta-col {
  display: flex;
  justify-content: flex-end;
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-back-to-top:hover {
  background: var(--surface-light);
  color: var(--accent-primary);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-primary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   21. SCROLL REVEAL ANIMATION CLASSES
   -------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-left"] {
  transform: translateX(24px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */

/* Laptop / Small Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-container {
    gap: 30px;
  }
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cta-col {
    grid-column: span 2;
    justify-content: flex-start;
  }
}

/* Tablet (max-width: 1023px) */
@media (max-width: 1023px) {
  .header-nav {
    padding: 12px 0;
  }
  .nav-links, .btn-nav-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .availability-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-intro, .rotating-roles-wrapper, .hero-actions {
    justify-content: center;
  }
  .hero-supporting-copy, .hero-additional-copy {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-proof-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
  .hero-visual {
    margin-top: 10px;
  }
  .about-narrative-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .education-grid {
    grid-template-columns: 1fr;
  }
  .degree-card {
    grid-column: span 1;
  }
  .languages-box {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .lang-divider {
    width: 80%;
    height: 1px;
  }
}

/* Mobile Devices (max-width: 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
  .section-padding {
    padding: 55px 0;
  }
  .hero-section {
    padding-top: calc(var(--header-height-mobile) + 16px);
    padding-bottom: 45px;
  }
  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-col-2 {
    grid-column: span 1;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  
  /* 7-Stage AI Workflow on Mobile */
  .workflow-steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .workflow-step:last-child:nth-child(odd) {
    grid-column: span 2;
  }
  .ai-tooling-box {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .tooling-separator {
    width: 60%;
    height: 1px;
  }
  
  /* Footer Mobile */
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  /* Hide decorative floating cards on small mobile */
  .wp-arch-card, .roadmap-card, .ai-node-card, .connecting-circuit-lines {
    display: none !important;
  }

  /* Make sure direct project links are easy to click on mobile */
  .mockup-overlay {
    opacity: 1;
    background: linear-gradient(0deg, rgba(6, 19, 31, 0.85) 0%, transparent 60%);
    align-items: flex-end;
    padding-bottom: 10px;
  }
  .mockup-overlay .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
}

/* Extra Small Phones (max-width: 400px) */
@media (max-width: 400px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
  .workflow-step:last-child:nth-child(odd) {
    grid-column: span 1;
  }
  .skills-filter-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .skill-tab-btn {
    flex-shrink: 0;
  }
  .timeline-wrapper {
    padding-left: 26px;
  }
  .timeline-dot {
    left: -26px;
    width: 18px;
    height: 18px;
  }
  .timeline-content {
    padding: 16px 14px;
  }
}

/* --------------------------------------------------------------------------
   23. ACCESSIBILITY: PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .preloader {
    display: none !important;
  }
  .custom-cursor {
    display: none !important;
  }
  .ambient-glow {
    display: none !important;
  }
  .marquee-track {
    animation: none !important;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}
