/* ===================================================================
   MESANDA SETHUMIKA — SIGNATURE PORTFOLIO & BRAND IDENTITY
   Aesthetic: Creative Executive Engineering (Modern Awwwards / Luxury Tech)
   Features: Interactive Spotlight Cards, Dynamic Micro-Interactions & Custom MS Logo
   =================================================================== */

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

:root {
  /* Surface System */
  --bg-deep: #06070a;
  --bg-page: #0a0b10;
  --bg-card: rgba(14, 16, 24, 0.75);
  --bg-card-hover: rgba(20, 24, 36, 0.88);
  --bg-surface-elevated: #151824;
  --bg-code: #050608;

  /* Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-muted: rgba(255, 255, 255, 0.14);
  --border-active: #3b82f6;
  --border-gold: rgba(245, 158, 11, 0.35);

  /* Typography */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-dim: #475569;

  /* Accents */
  --accent-blue: #3b82f6;
  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
  --grad-platinum: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #64748b 100%);
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --trans-fast: 0.18s ease;
  --trans: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-elevation: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-blue-glow: 0 0 35px rgba(59, 130, 246, 0.2);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Background Atmosphere */
.bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(99, 102, 241, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

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

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

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

/* ==================== HEADER & BRAND ==================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: var(--trans);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
  object-fit: cover;
  transition: transform var(--trans);
}

.brand-logo-img:hover {
  transform: rotate(-4deg) scale(1.05);
}

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

.brand-title-main {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-title-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  display: inline-block;
}

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

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

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-blue);
  border-radius: var(--radius-full);
}

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

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: #f8fafc;
  color: #06070a;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-muted);
  transform: translateY(-2px);
}

.btn-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.35);
}

.btn-blue:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #4ade80;
  border-color: rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #25d366;
  color: #04240f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-xs);
}

/* ==================== HERO SECTION ==================== */
.hero {
  padding: 85px 0 65px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--accent-emerald);
  font-size: 0.82rem;
  font-weight: 500;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1.1;
}

.hero-subheadline {
  font-size: 1.22rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.5;
}

.hero-bio {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.hero-badges-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 4px 11px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

/* Hero Portrait Showcase */
.portrait-stage {
  position: relative;
}

.portrait-frame {
  position: relative;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevation), var(--shadow-blue-glow);
  transition: transform var(--trans), border-color var(--trans);
}

.portrait-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.portrait-img-box {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #000;
}

.portrait-full-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-frame:hover .portrait-full-photo {
  transform: scale(1.03);
}

.portrait-overlay-shading {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(6, 7, 10, 0.95) 100%);
}

.portrait-info-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.portrait-logo-floating {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.portrait-lead-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.portrait-lead-role {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.portrait-lead-loc {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==================== METRICS STRIP ==================== */
.metrics-strip {
  padding: 30px 0;
  margin: 30px 0 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 70px 0;
}

.section-head {
  margin-bottom: 44px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.7;
}

/* ==================== SPECIALIZATIONS ==================== */
.specializations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-muted);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-elevation);
}

.spec-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.spec-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

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

/* ==================== PROJECTS SHOWCASE ==================== */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-chip {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--trans);
}

.filter-chip:hover, .filter-chip.active {
  background: #fff;
  color: #06070a;
  border-color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}

.project-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevation);
}

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

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-weight: 500;
}

.card-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.card-tagline {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 22px;
}

.card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 3px 9px;
  border-radius: var(--radius-xs);
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.action-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-link:hover {
  color: #fff;
}

.linkedin-link-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans);
}

.linkedin-link-btn:hover {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.4);
}

/* ==================== TECHNICAL ARSENAL ==================== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stack-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(14px);
}

.stack-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 5px 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  transition: var(--trans-fast);
}

.stack-item:hover {
  border-color: var(--accent-cyan);
  color: #fff;
}

/* ==================== HARDWARE BENCH ==================== */
.bench-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  backdrop-filter: blur(14px);
}

.bench-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.bench-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.bench-lamps {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.bench-lamp {
  flex: 1;
  background: var(--bg-code);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  transition: var(--trans);
}

.lamp-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #334155;
  margin: 0 auto 10px auto;
  transition: var(--trans);
}

.bench-lamp.on .lamp-indicator {
  background: var(--accent-emerald);
  box-shadow: 0 0 14px var(--accent-emerald);
}

.lamp-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.bench-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bench-terminal {
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #a1a1aa;
  height: 185px;
  overflow-y: auto;
  line-height: 1.55;
}

/* ==================== CREDENTIALS & REFERENCES ==================== */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  backdrop-filter: blur(14px);
}

.timeline-main h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.timeline-sub {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.timeline-notes {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.timeline-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.cert-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.cert-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  backdrop-filter: blur(14px);
  transition: var(--trans);
}

.cert-box:hover {
  border-color: var(--accent-amber);
  transform: translateY(-2px);
}

.cert-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.cert-issuer {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* References */
.references-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.reference-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(14px);
}

.reference-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.reference-role {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.reference-contact {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.channel-row:last-child {
  border-bottom: none;
}

.channel-label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.channel-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-main);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 18px;
  background: var(--bg-deep);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--trans);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
}

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

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-elevation);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-xs);
  transition: var(--trans-fast);
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.modal-arch {
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #38bdf8;
  overflow-x: auto;
  line-height: 1.5;
  margin: 16px 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-muted);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transform: translateY(60px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-elevation);
}

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

/* Floating Back-To-Top Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(17, 17, 22, 0.85);
  border: 1px solid var(--border-muted);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-subtle);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Footer */
.footer {
  padding: 50px 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 90px;
  background: #040508;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===================================================================
   SMOOTH TRANSITIONS & MICRO-ANIMATIONS SYSTEM
   =================================================================== */

/* Keyframes */
@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPortraitIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes projectCardEnter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ambientRimGlow {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.12);
  }
  50% {
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(99, 102, 241, 0.22);
  }
}

@keyframes floatBadgeIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

@keyframes pulseLiveDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px var(--accent-emerald);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
    box-shadow: 0 0 16px var(--accent-emerald);
  }
}

/* Applied Animations */
.hero-content {
  animation: heroEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.portrait-stage {
  animation: heroPortraitIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.portrait-frame {
  animation: ambientRimGlow 8s ease-in-out infinite;
}

.portrait-logo-floating {
  animation: floatBadgeIcon 5s ease-in-out infinite;
}

.live-dot {
  animation: pulseLiveDot 2s infinite ease-in-out;
}

/* Scroll Reveal Elements */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger Delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }

/* Interactive Card Spotlight */
.project-card, .spec-card, .stack-box, .bench-card, .timeline-card, .contact-card {
  position: relative;
  background-image: radial-gradient(
    650px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(56, 189, 248, 0.06),
    transparent 40%
  );
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease,
              background-color 0.22s ease;
}

.project-card:hover, .spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.15);
}

.project-card.card-enter {
  animation: projectCardEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Interactive Button Hover & Press */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              border-color 0.25s ease;
}

.btn:active {
  transform: scale(0.97) !important;
}

.filter-chip {
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-chip:active {
  transform: scale(0.95);
}

/* Responsive Queries */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portrait-img-box {
    height: 440px;
  }

  .specializations-grid, .projects-grid, .stack-grid, .bench-card, .contact-grid, .cert-strip, .references-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .back-to-top {
    bottom: 20px;
    left: 20px;
  }
}

/* ===================================================================
   CINEMATIC SECTION "EDIT" TRANSITIONS
   Each section has a distinct, memorable motion personality:
   - Specializations: 3D Isometric Deck Spread
   - Selected Work: Parallax Alternating Film-Strip Slide
   - Technical Arsenal: Cyber Matrix Circuit Boot
   - Hardware Bench: Oscilloscope Aperture Wipe
   - Credentials: Circuit Timeline Pathway Draw & Flip Node
   - Contact: Dual Horizon Convergence Snap
   - Nav Jumps: Section Highlight Flash Wave
   =================================================================== */

/* Section Highlight Flash on Nav Click */
.section {
  position: relative;
  transition: background-color 0.4s ease;
}

.section-beam-sweep {
  position: relative;
  overflow: hidden;
}

.section-beam-sweep::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #6366f1, #a855f7);
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
}

.section-beam-sweep.active::after {
  width: 100%;
}

/* 1. Specializations: 3D Isometric Deck Spread */
.spec-deck-1, .spec-deck-2, .spec-deck-3 {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease, border-color 0.3s ease;
}

.spec-deck-1 {
  transform: perspective(1000px) rotateY(18deg) translateX(-50px) translateY(30px);
}

.spec-deck-2 {
  transform: perspective(1000px) scale(0.88) translateY(45px);
  transition-delay: 0.12s;
}

.spec-deck-3 {
  transform: perspective(1000px) rotateY(-18deg) translateX(50px) translateY(30px);
  transition-delay: 0.24s;
}

.spec-deck-1.active, .spec-deck-2.active, .spec-deck-3.active {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg) translateX(0) translateY(0) scale(1);
}

/* 2. Selected Work: Parallax Alternating Film-Strip Slide */
.work-slide-left {
  opacity: 0;
  transform: translateX(-45px) translateY(25px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.work-slide-right {
  opacity: 0;
  transform: translateX(45px) translateY(25px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.work-slide-left.active, .work-slide-right.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* 3. Technical Arsenal: Cyber Matrix Circuit Boot */
.circuit-box {
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.circuit-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.circuit-box.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.circuit-box.active::after {
  left: 100%;
}

/* 4. Hardware Lab: Oscilloscope Aperture Wipe */
.hardware-aperture {
  opacity: 0;
  clip-path: inset(0 45% 0 45% round 18px);
  transform: scale(0.96) translateY(25px);
  transition: clip-path 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.7s ease;
}

.hardware-aperture.active {
  opacity: 1;
  clip-path: inset(0 0% 0 0% round 18px);
  transform: scale(1) translateY(0);
}

/* 5. Credentials: Circuit Timeline Pathway Draw */
.timeline-card-step {
  opacity: 0;
  transform: translateX(60px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.timeline-card-step.active {
  opacity: 1;
  transform: translateX(0);
}

.cert-card-flip {
  opacity: 0;
  transform: perspective(800px) rotateX(28deg) translateY(25px);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-card-flip.active {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) translateY(0);
}

/* 6. Contact: Dual Horizon Convergence Snap */
.contact-converge-left {
  opacity: 0;
  transform: translateX(-65px) scale(0.97);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.contact-converge-right {
  opacity: 0;
  transform: translateX(65px) scale(0.97);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.12s;
  will-change: transform, opacity;
}

.contact-converge-left.active, .contact-converge-right.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* ===================================================================
   CINEMATIC SITE ENTRY ANIMATION (BOOT SEQUENCE & DUAL SHUTTER REVEAL)
   =================================================================== */
.site-entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  overflow: hidden;
  user-select: none;
  background: transparent;
}

/* Dual cinematic shutter doors */
.entry-shutter {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: #030712;
  z-index: 1;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.entry-shutter-top {
  top: 0;
  background: radial-gradient(circle at 50% 100%, rgba(15, 23, 42, 0.98), #030712 70%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.entry-shutter-bottom {
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(15, 23, 42, 0.98), #030712 70%);
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.8);
}

/* Cinematic Shutter Split Action */
.site-entry-overlay.entry-opening .entry-shutter-top {
  transform: translateY(-100%);
}

.site-entry-overlay.entry-opening .entry-shutter-bottom {
  transform: translateY(100%);
}

.site-entry-overlay.entry-hidden {
  display: none !important;
}

/* Center Stage Content */
.entry-center-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  width: 90%;
  padding: 24px;
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
}

.site-entry-overlay.entry-opening .entry-center-stage {
  opacity: 0;
  transform: scale(1.08) translateY(-10px);
}

/* Monogram Logo & Concentric Orbit Rings */
.entry-logo-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.entry-logo-glow {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(99, 102, 241, 0.2) 50%, transparent 70%);
  filter: blur(14px);
  animation: entryPulseGlow 2.4s ease-in-out infinite alternate;
}

.entry-ring-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  pointer-events: none;
}

.entry-ring-outer {
  inset: -14px;
  border-top-color: #38bdf8;
  border-bottom-color: #818cf8;
  animation: entrySpinCW 8s linear infinite;
}

.entry-ring-inner {
  inset: -5px;
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-left-color: #00f2fe;
  animation: entrySpinCCW 5s linear infinite;
}

.entry-brand-logo {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.3);
  position: relative;
  z-index: 2;
  object-fit: contain;
  animation: entryLogoFloat 3s ease-in-out infinite;
}

/* Badge & Identity */
.entry-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.entry-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: entryPulseDot 1.2s infinite;
}

.entry-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.entry-role-ticker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 24px;
}

/* Progress bar container */
.entry-progress-container {
  width: 100%;
  margin-bottom: 16px;
}

.entry-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}

.entry-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 50%, #818cf8 100%);
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
  transition: width 0.08s linear;
}

.entry-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: #64748b;
}

.entry-status-text {
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.entry-percent-text {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Telemetry HUD line */
.entry-telemetry-hud {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #00f2fe;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 6px;
  padding: 8px 14px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  min-height: 34px;
  text-align: left;
}

.hud-prompt {
  color: #38bdf8;
  font-weight: 700;
}

.hud-log {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.03em;
}

/* Skip button */
.entry-skip-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.entry-skip-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(56, 189, 248, 0.4);
}

/* Keyframes */
@keyframes entrySpinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes entrySpinCCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes entryPulseGlow {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

@keyframes entryPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes entryLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Hero Section Entrance Cascade (Triggered on Site Entry) */
body.site-entered .hero .status-badge {
  animation: heroBadgePop 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.site-entered .hero .hero-title {
  animation: heroTitleSlide 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

body.site-entered .hero .hero-subheadline {
  animation: heroSubFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

body.site-entered .hero .hero-bio {
  animation: heroSubFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

body.site-entered .hero .hero-badges-cluster {
  animation: heroSubFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

body.site-entered .hero .hero-cta-group {
  animation: heroSubFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

body.site-entered .portrait-stage {
  animation: heroPortraitGlide 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes heroBadgePop {
  0% { opacity: 0; transform: scale(0.8) translateY(-10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes heroTitleSlide {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroSubFade {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroPortraitGlide {
  0% { opacity: 0; transform: scale(0.92) translateX(30px); }
  100% { opacity: 1; transform: scale(1) translateX(0); }
}

/* ===================================================================
   ACTIVE EXPERIENCE CARD IN TIMELINE
   =================================================================== */
.active-experience-card {
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(13, 17, 23, 0.95) 100%) !important;
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.12) !important;
  position: relative;
}

.active-experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #10b981, #00f2fe);
  border-radius: 4px 0 0 4px;
}

.exp-badge-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.live-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: livePulsarGlow 1.4s infinite;
  display: inline-block;
}

.timeline-badge-current {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  font-weight: 700;
}

/* ===================================================================
   RUNNING BOTTOM EXPERIENCE TICKER (CONTINUOUS RUNNING ANIMATION)
   =================================================================== */
.running-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42px;
  background: rgba(3, 7, 18, 0.94);
  border-top: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.65), 0 -1px 12px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9990;
  display: flex;
  align-items: center;
  overflow: hidden;
  user-select: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.running-bottom-bar.minimized {
  transform: translateY(calc(100% - 10px));
}

.running-bottom-bar.minimized .running-toggle-btn svg {
  transform: rotate(180deg);
}

.running-anchor {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  border-right: 1px solid rgba(56, 189, 248, 0.2);
  flex-shrink: 0;
  z-index: 2;
}

.running-live-pulsar {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: livePulsarGlow 1.4s infinite;
}

@keyframes livePulsarGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.running-anchor-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #10b981;
}

.running-track-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.running-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: runningTickerScroll 30s linear infinite;
  will-change: transform;
}

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

.running-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
}

.running-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: #cbd5e1;
  font-family: var(--font-sans);
}

.running-item strong {
  color: #fff;
  font-weight: 700;
}

.highlight-cyan {
  color: var(--accent-cyan);
  font-weight: 600;
}

.running-sep {
  color: rgba(56, 189, 248, 0.4);
  font-size: 0.9rem;
}

.running-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  border-left: 1px solid rgba(56, 189, 248, 0.2);
  flex-shrink: 0;
  z-index: 2;
}

.running-view-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #38bdf8;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.running-view-link:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #fff;
}

.running-toggle-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.running-toggle-btn:hover {
  color: #fff;
}

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

/* Adjustments for fixed elements with running bottom bar */
.back-to-top {
  bottom: 56px !important;
}

.footer {
  padding-bottom: 64px !important;
}

@media (max-width: 768px) {
  .running-anchor {
    padding: 0 10px;
  }
  .running-actions {
    padding: 0 8px;
  }
  .running-item {
    font-size: 0.76rem;
  }
  .running-bottom-bar {
    height: 38px;
  }
}

/* ===================================================================
   MESANDA SETHUMIKA — 3D DESIGN SHOWCASE ANIMATIONS
   Inspired by thevinuvinan.com (App Design & Web Design Showcase)
   Features: Real 3D Perspective Tilt, Floating Gyro Hologram HUD Chips,
             Scroll-Triggered Cinematic 3D Reveal, & Dynamic Specular Sheen
   =================================================================== */

.showcase-section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}

.showcase-app-design {
  background: radial-gradient(circle at 80% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 20% 70%, rgba(168, 85, 247, 0.06) 0%, transparent 55%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-web-design {
  background: radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 80% 60%, rgba(16, 185, 129, 0.05) 0%, transparent 55%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-container {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.showcase-container.showcase-reverse {
  grid-template-columns: 1.08fr 1fr;
}

/* Content Blurb (Inspired by thevinuvinan.com) */
.showcase-content {
  position: relative;
  z-index: 3;
}

.showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.live-dot-purple {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
  animation: pulse-ring 2s infinite;
}

.showcase-heading {
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 10px;
}

.showcase-subheading {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.showcase-copy {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.showcase-copy strong {
  color: #ffffff;
  font-weight: 600;
}

/* Highlight Pills Cluster */
.showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: #cbd5e1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.showcase-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.pill-dot.cyan { background: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan); }
.pill-dot.purple { background: #a855f7; box-shadow: 0 0 6px #a855f7; }
.pill-dot.green { background: #10b981; box-shadow: 0 0 6px #10b981; }
.pill-dot.blue { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }
.pill-dot.amber { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

/* Action Links with "Check it out" signature hover */
.showcase-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.showcase-transform-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff8573;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 133, 115, 0.3);
  background: rgba(255, 133, 115, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.showcase-transform-link svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-transform-link:hover {
  color: #ffffff;
  background: rgba(255, 102, 82, 0.28);
  border-color: rgba(255, 102, 82, 0.7);
  box-shadow: 0 6px 20px rgba(255, 102, 82, 0.3);
  transform: translateX(6px);
}

.showcase-transform-link:hover svg {
  transform: translateX(5px);
}

.btn-orbit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-orbit-toggle:hover {
  color: #fff;
  border-color: var(--border-muted);
  background: rgba(255, 255, 255, 0.07);
}

.btn-orbit-toggle.orbit-active {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.btn-orbit-toggle.orbit-active .orbit-icon {
  animation: orbitSpin 3s linear infinite;
}

@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===================================================================
   3D VISUAL STAGE & PERSPECTIVE CAMERA
   =================================================================== */
.showcase-visual-wrapper {
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Scroll Entrance Animations (ScrollMagic / IntersectionObserver equivalent) */
.showcase-visual-right {
  opacity: 0;
  transform: perspective(1200px) rotateY(-22deg) rotateX(12deg) scale(0.88) translateX(90px);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s ease;
  will-change: transform, opacity;
}

.showcase-visual-right.active {
  opacity: 1;
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1) translateX(0);
}

.showcase-visual-left {
  opacity: 0;
  transform: perspective(1200px) rotateY(22deg) rotateX(12deg) scale(0.88) translateX(-90px);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s ease;
  will-change: transform, opacity;
}

.showcase-visual-left.active {
  opacity: 1;
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1) translateX(0);
}

/* 3D Stage Core */
.showcase-stage {
  position: relative;
  width: 100%;
  max-width: 530px;
  transform-style: preserve-3d;
  padding: 24px 16px;
  cursor: grab;
  user-select: none;
}

.showcase-stage:active {
  cursor: grabbing;
}

.stage-ambient-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(99, 102, 241, 0.14) 40%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.stage-ambient-glow.stage-glow-cyan {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(16, 185, 129, 0.14) 40%, transparent 70%);
}

.stage-grid-plane {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 180px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: perspective(600px) rotateX(72deg);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* 3D Device Card */
.stage-3d-card {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85),
              0 0 50px rgba(99, 102, 241, 0.22);
  transition: box-shadow 0.3s ease;
  animation: float3DDevice 5.5s ease-in-out infinite alternate;
  will-change: transform;
}

.showcase-web-design .stage-3d-card {
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85),
              0 0 50px rgba(56, 189, 248, 0.22);
}

.device-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}

/* Dynamic Gloss Sheen */
.card-reflection-sheen {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Continuous 3D Weightless Floating */
@keyframes float3DDevice {
  0% {
    transform: perspective(1000px) rotateX(6deg) rotateY(-8deg) translateY(0px) translateZ(0);
  }
  50% {
    transform: perspective(1000px) rotateX(2deg) rotateY(-3deg) translateY(-16px) translateZ(14px);
  }
  100% {
    transform: perspective(1000px) rotateX(6deg) rotateY(-8deg) translateY(0px) translateZ(0);
  }
}

/* Auto Orbit 3D Animation Mode */
.stage-3d-card.auto-orbit {
  animation: orbit3DDevice 9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite !important;
}

@keyframes orbit3DDevice {
  0% {
    transform: perspective(1000px) rotateX(8deg) rotateY(-14deg) translateY(0px);
  }
  25% {
    transform: perspective(1000px) rotateX(-6deg) rotateY(12deg) translateY(-14px);
  }
  50% {
    transform: perspective(1000px) rotateX(-10deg) rotateY(-10deg) translateY(-6px);
  }
  75% {
    transform: perspective(1000px) rotateX(5deg) rotateY(16deg) translateY(-18px);
  }
  100% {
    transform: perspective(1000px) rotateX(8deg) rotateY(-14deg) translateY(0px);
  }
}

/* ===================================================================
   FLOATING HOLOGRAPHIC 3D HUD CHIPS (Depth in Z-Space)
   =================================================================== */
.hud-3d-chip {
  position: absolute;
  z-index: 5;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  pointer-events: auto;
}

.hud-chip-inner {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 15px;
  background: rgba(14, 18, 30, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65),
              0 0 20px rgba(56, 189, 248, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  white-space: nowrap;
}

.hud-chip-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.hud-chip-text {
  display: flex;
  flex-direction: column;
}

.hud-chip-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hud-chip-val {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

/* Placement & Z-Depth Coordinates: App Design */
.hud-chip-pos-1 {
  top: -14px;
  right: -16px;
  transform: translateZ(70px);
}

.hud-chip-pos-2 {
  bottom: 60px;
  left: -24px;
  transform: translateZ(55px);
}

.hud-chip-pos-3 {
  bottom: -16px;
  right: 28px;
  transform: translateZ(80px);
}

/* Placement & Z-Depth Coordinates: Web Design */
.hud-chip-pos-web-1 {
  top: -16px;
  left: -18px;
  transform: translateZ(70px);
}

.hud-chip-pos-web-2 {
  bottom: 50px;
  right: -24px;
  transform: translateZ(60px);
}

.hud-chip-pos-web-3 {
  bottom: -16px;
  left: 28px;
  transform: translateZ(80px);
}

/* Chip Hover Interactions */
.hud-3d-chip:hover {
  transform: translateZ(95px) scale(1.08) !important;
}

.hud-3d-chip:hover .hud-chip-inner {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75),
              0 0 30px rgba(56, 189, 248, 0.4);
}

/* 3D Gyro Hint */
.stage-hint-tag {
  text-align: center;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.hint-gyro-icon {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  animation: gyroWobble 2.4s ease-in-out infinite alternate;
}

@keyframes gyroWobble {
  0% { transform: rotate(-20deg) scale(0.9); }
  100% { transform: rotate(20deg) scale(1.1); }
}

/* Highlight button in card */
.highlight-3d-btn {
  color: #ff8573 !important;
  font-weight: 700 !important;
  border-color: rgba(255, 133, 115, 0.3) !important;
  background: rgba(255, 133, 115, 0.08) !important;
}

.highlight-3d-btn:hover {
  background: rgba(255, 102, 82, 0.25) !important;
  color: #fff !important;
  border-color: rgba(255, 102, 82, 0.6) !important;
}

/* ===================================================================
   RESPONSIVE DESIGN FOR 3D SHOWCASE (991px & 768px BREAKPOINTS)
   =================================================================== */
@media (max-width: 991px) {
  .showcase-section {
    padding: 85px 0;
  }

  .showcase-container,
  .showcase-container.showcase-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  /* Keep content first on mobile/tablet */
  .showcase-container.showcase-reverse .showcase-content {
    order: 1;
  }

  .showcase-container.showcase-reverse .showcase-visual-wrapper {
    order: 2;
  }

  .showcase-heading {
    font-size: 2.8rem;
  }

  .showcase-pills,
  .showcase-actions {
    justify-content: center;
  }

  .showcase-visual-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }

  .hud-chip-pos-1, .hud-chip-pos-web-1 {
    top: -10px;
    right: 0;
  }

  .hud-chip-pos-2, .hud-chip-pos-web-2 {
    left: 0;
    bottom: 20px;
  }
}

@media (max-width: 640px) {
  .showcase-section {
    padding: 65px 0;
  }

  .showcase-heading {
    font-size: 2.2rem;
  }

  .showcase-subheading {
    font-size: 1.05rem;
  }

  .showcase-copy {
    font-size: 0.94rem;
  }

  .hud-3d-chip {
    display: none; /* Hide floating chips on small mobile to avoid cramped viewport */
  }

  .showcase-actions {
    flex-direction: column;
    width: 100%;
  }

  .showcase-actions .btn,
  .showcase-transform-link,
  .btn-orbit-toggle {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   MESANDA SETHUMIKA — SIGNATURE 3D HERO NAME (THEVINUVINAN STYLE)
   Features: Massive Spatial Typography, Real-time 3D Perspective Tilt,
             Multi-layered Extruded Text Shadows, & TVAG-style Watermark
   =================================================================== */

.introduction {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  width: 100%;
  padding: 60px 24px 70px;
  perspective: 1200px;
  perspective-origin: center center;
  transform-style: preserve-3d;
  overflow: hidden;
  box-sizing: border-box;
}

/* TVAG-Style Giant Monogram Watermark */
.introduction::before {
  content: "MS";
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(120px, 36vw, 540px);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #ffffff;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  user-select: none;
}

.introduction__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  transform-style: preserve-3d;
  will-change: transform;
}

.introduction__content-el {
  display: block;
  transform-style: preserve-3d;
}

.introduction__content-el--name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  transform: translateX(-35px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}

.introduction__content-el--description {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 16.5vw, 12.8rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 12px 0 16px;
  transform-style: preserve-3d;
  will-change: transform, text-shadow;
  cursor: grab;
  user-select: none;

  /* Iconic 3D Multi-Layer Extrusion Text Shadow directly from thevinuvinan.com */
  text-shadow:
    0 1px 0 #ffe6e2,
    0 2px 0 #ffcec7,
    0 3px 0 #ffb5ab,
    0 4px 0 #ff998c,
    0 5px 0 #ff8070,
    0 6px 0 #ff6652,
    0 7px 0 #e64f3c,
    0 8px 0 #cc3a28,
    0 9px 2px rgba(0, 0, 0, 0.18),
    0 16px 28px rgba(255, 102, 82, 0.42),
    0 28px 55px rgba(0, 0, 0, 0.55);
  transition: text-shadow 0.35s ease, transform 0.15s ease-out;
}

.introduction:hover .introduction__content-el--description,
.introduction__content-el--description.is-active-3d {
  text-shadow:
    0 1px 0 #ffe6e2,
    0 2px 0 #ffcec7,
    0 3px 0 #ffb5ab,
    0 4px 0 #ff998c,
    0 5px 0 #ff8070,
    0 6px 0 #ff6652,
    0 7px 0 #ea5340,
    0 8px 0 #d5412e,
    0 9px 0 #bf321f,
    0 10px 0 #a92412,
    0 12px 3px rgba(0, 0, 0, 0.22),
    0 24px 40px rgba(255, 102, 82, 0.55),
    0 38px 70px rgba(0, 0, 0, 0.65);
}

.introduction__content-el--job {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6652;
  text-align: right;
  transform: translateX(35px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.9s ease 0.15s;
}

/* Revealed animated states */
.site-entered .introduction__content-el--name,
.site-entered .introduction__content-el--job {
  transform: translateX(0);
  opacity: 1;
}

.intro-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.intro-role-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
}

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

/* Signature Bouncing 3D Arrow (thevinuvinan style) */
.introduction__arrow {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #ff6652;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: arrowBounce3D 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  cursor: pointer;
  z-index: 5;
  transition: color 0.25s ease;
}

.introduction__arrow svg {
  fill: none;
  stroke: #ff6652;
  transition: stroke 0.25s ease;
}

.introduction__arrow:hover {
  color: #ffffff;
}

.introduction__arrow:hover svg {
  stroke: #ffffff;
}

@keyframes arrowBounce3D {
  0%, 100% {
    transform: translate(-50%, 0) scale(1);
  }
  50% {
    transform: translate(-50%, 12px) scale(1.08);
  }
}

.hero.hero-overview {
  padding-top: 70px;
}

@media (max-width: 768px) {
  .introduction {
    min-height: 80vh;
    padding: 40px 18px 60px;
  }

  .introduction__content-el--description {
    font-size: clamp(3.2rem, 18vw, 6.5rem);
  }

  .intro-meta-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .intro-role-ticker {
    font-size: 0.78rem;
  }
}

/* ===================================================================
   THEVINUVINAN ARCHITECTURAL PAGE SYSTEM (STRUCTURE & FRAMING)
   Features: Universal .title, .blurb--framed, .about, .app-design,
             .web-design, .transform-link, and #brands 3D tilt marquee
   =================================================================== */

/* Universal Section Titles (thevinuvinan style) */
.title {
  margin: 0 0 45px 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.025em;
  position: relative;
}

.title::after {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  background: #ff6652;
  margin: 16px auto 0;
  border-radius: 99px;
  box-shadow: 0 0 12px rgba(255, 102, 82, 0.5);
}

.title-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: -30px auto 50px;
  line-height: 1.6;
}

/* Framed Blurb System */
.blurb--framed {
  padding: 32px 36px;
  background: rgba(14, 18, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 5px solid #ff6652;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.blurb__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ff6652;
  margin-bottom: 12px;
}

.blurb__heading {
  margin: 0 0 16px 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.blurb__copy {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.blurb__copy strong,
.blurb__copy b {
  color: #ffffff;
  font-weight: 600;
}

.blurb__copy--tight {
  max-width: 440px;
}

/* Signature Transform Link (thevinuvinan style) */
.transform-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #ff6652;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.transform-link::after {
  content: "→";
  display: inline-block;
  font-size: 19px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.transform-link:hover {
  color: #ffffff;
  transform: translateX(8px);
}

.transform-link:hover::after {
  transform: translateX(6px);
}

/* ===================================================================
   SECTION: ABOUT (thevinuvinan style)
   =================================================================== */
.about {
  position: relative;
  width: 100%;
  padding: 130px 0;
  overflow: hidden;
}

.about__wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 44px 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Structural Accent Framing Line (thevinuvinan signature) */
.about__wrapper::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid rgba(255, 102, 82, 0.35);
  pointer-events: none;
  z-index: 0;
  border-radius: 18px;
}

.about__content {
  position: relative;
  z-index: 2;
}

.about__quote {
  font-style: italic;
  color: var(--accent-cyan);
  font-size: 0.98rem;
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-cyan);
}

.about__visual-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

/* ===================================================================
   SECTIONS: APP DESIGN & WEB DESIGN (thevinuvinan style)
   =================================================================== */
.app-design,
.web-design {
  position: relative;
  width: 100%;
  padding: 120px 0;
  overflow: hidden;
}

.app-design {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.web-design {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-design__wrapper,
.web-design__wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.web-design__wrapper {
  grid-template-columns: 1.1fr 1fr;
}

/* ===================================================================
   SECTION: BRANDS & TECH ARSENAL MARQUEE (thevinuvinan style)
   =================================================================== */
.brands-section {
  position: relative;
  width: 100%;
  padding: 110px 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(255, 102, 82, 0.04) 0%, transparent 70%);
}

.brands-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 25px 0;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: brandsScroll 32s linear infinite;
}

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

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

.tech-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  background: rgba(14, 18, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  user-select: none;
  white-space: nowrap;
}

.tech-badge-item:hover {
  transform: perspective(800px) translateY(-8px) translateZ(24px) scale(1.08);
  border-color: #ff6652;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 102, 82, 0.35);
  position: relative;
  z-index: 10;
}

.tech-badge-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.tech-badge-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.tech-badge-desc {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

.app-design__content h3,
.web-design__content h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: -4px 0 16px 0;
  letter-spacing: -0.01em;
}

.app-design__visual-wrap,
.web-design__visual-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.hardware-design {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hardware-design .app-design__visual-wrap {
  max-width: 530px;
  margin: 0 auto;
}

/* Work Section Wrapper */
.work__wrapper {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px 60px;
}

/* ===================================================================
   SECTION: CONTACT (thevinuvinan framed style)
   =================================================================== */
.contact-section {
  position: relative;
  width: 100%;
  padding: 110px 0 90px;
  overflow: hidden;
}

.contact__wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 44px 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 40px;
}

/* Structural Accent Framing Box (thevinuvinan signature) */
.contact__wrapper::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid rgba(255, 102, 82, 0.35);
  pointer-events: none;
  z-index: 0;
  border-radius: 18px;
}

.contact__visual,
.contact__form-wrap {
  position: relative;
  z-index: 2;
}

/* ===================================================================
   RESPONSIVE DESIGN FOR STRUCTURAL SECTIONS
   =================================================================== */
@media (max-width: 991px) {
  .about__wrapper,
  .app-design__wrapper,
  .web-design__wrapper,
  .contact__wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 45px;
  }

  .web-design__wrapper .web-design__visual-wrap {
    order: 2;
  }

  .web-design__wrapper .web-design__content {
    order: 1;
  }

  .about__wrapper::before,
  .contact__wrapper::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
  }

  .blurb__copy--tight {
    max-width: 100%;
    margin: 0 auto;
  }
}





