/* ==========================================================================
   AHMED ABUZAR — PRIYANSH JOLAPARA 1:1 INPIRED PORTFOLIO SYSTEM
   Includes: Custom Orange Cursor, Pixel Mosaic Dissolve, Cyan Retro Badge,
   Tool Badges Row, Bento Footer Grid, and Social Dock Pills
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-black: #050505;
  --bg-light: #f4f4f7;
  --card-dark: #0d0d12;
  --card-dark-hover: #13131a;
  
  --text-white: #f5f5f7;
  --text-dark: #08080a;
  --text-muted: #8e8e98;
  --text-faint: #5a5a64;
  
  --accent-orange: #e85d2a;
  --accent-glow: rgba(232, 93, 42, 0.3);
  --cyan-bright: #00d4ff;
  
  /* Typography Tokens */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-pixel: 'VT323', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-black);
  cursor: none !important;
}

html, body, *, a, button, input, textarea {
  cursor: none !important;
}

/* Dynamic Custom Orange Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, opacity 0.2s ease;
}

.custom-cursor .cursor-hand {
  display: none;
}

.custom-cursor.hand-mode .cursor-arrow {
  display: none;
}

.custom-cursor.hand-mode .cursor-hand {
  display: block;
}

body:hover .custom-cursor {
  opacity: 1;
}

.custom-cursor.hovering {
  transform: translate(-50%, -50%) scale(1.06);
  filter: drop-shadow(0 0 8px var(--accent-orange));
}

.custom-cursor.hand-mode {
  transform: translate(-50%, -50%) scale(1);
}

.custom-cursor.hand-mode.grabbing-mode {
  transform: translate(-50%, -50%) scale(0.88);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
  background: #1c1c24;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Helper Utilities */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0;
}

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-body { font-family: var(--font-body); }
.font-pixel { font-family: var(--font-pixel); }
.text-accent { color: var(--accent-orange); }
.text-muted { color: var(--text-muted); }
.text-bone { color: var(--text-white); }
.text-center { text-align: center; }
.text-xs { font-size: 0.72rem; }

a {
  color: inherit;
  text-decoration: none;
}

/* Preloader Screen */
.preloader {
  position: fixed;
  inset: 0;
  background-color: #030304;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

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

.preloader-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text-white);
}

.preloader-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

.preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 1.5rem;
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-orange);
  box-shadow: 0 0 12px var(--accent-orange);
  transition: width 0.05s linear;
}

/* Top Navigation Header */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 1.35rem 2.5rem;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.brand-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.top-bar-meta {
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Interactive Hero Dotted Grid (Priyansh Radial Spotlight Mask) */
.hero-dotted-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(#e85d2a 1.4px, transparent 1.4px);
  background-size: 13px 13px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(circle 185px at var(--mouse-x, -1000px) var(--mouse-y, -1000px), black 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  mask-image: radial-gradient(circle 185px at var(--mouse-x, -1000px) var(--mouse-y, -1000px), black 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

/* Hero Section (Center-Aligned per User Reference) */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #050505;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content-center {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Centered Circular Headshot Avatar with Glowing Dashed Outer Ring */
.hero-avatar-wrapper {
  margin-bottom: 1.75rem;
}

.profile-avatar-circle {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  padding: 6px;
  border: 2px dashed rgba(232, 93, 42, 0.7);
  box-shadow: 0 0 35px rgba(232, 93, 42, 0.3), inset 0 0 20px rgba(232, 93, 42, 0.15);
  background: rgba(15, 15, 20, 0.8);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.profile-avatar-circle:hover {
  transform: scale(1.06);
  border-color: var(--accent-orange);
  box-shadow: 0 0 45px rgba(232, 93, 42, 0.5), inset 0 0 25px rgba(232, 93, 42, 0.25);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(100%) brightness(1.05) contrast(1.2);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-avatar-circle:hover .avatar-img,
.profile-avatar-circle.photo-active .avatar-img {
  filter: grayscale(0%) brightness(1.15) contrast(1.2) saturate(1.3);
  transform: scale(1.06);
}

/* Social Links - Muted Gray by Default, Brand Colors on Hover (Except RESUME) */
.link-email {
  color: var(--text-muted);
}
.link-email:hover {
  color: var(--text-white);
}
.link-email::after {
  background-color: var(--text-white) !important;
}

.link-linkedin {
  color: var(--text-muted);
}
.link-linkedin:hover {
  color: #2d9cdb;
  text-shadow: 0 0 14px rgba(45, 156, 219, 0.45);
}
.link-linkedin::after {
  background-color: #2d9cdb !important;
}

.link-github {
  color: var(--text-muted);
}
.link-github:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.link-github::after {
  background-color: #ffffff !important;
}

.link-instagram {
  color: var(--text-muted);
  background: none;
  -webkit-text-fill-color: initial;
}
.link-instagram:hover {
  background: linear-gradient(45deg, #fcaf45, #f77737, #fd1d1d, #e1306c, #c13584, #833ab4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.25) saturate(1.4);
}
.link-instagram::after {
  background: linear-gradient(45deg, #f77737, #e1306c, #833ab4) !important;
}

.link-resume {
  color: var(--accent-orange);
}
.link-resume:hover {
  color: #ff7040;
  text-shadow: 0 0 12px rgba(232, 93, 42, 0.4);
}
.link-resume::after {
  background-color: var(--accent-orange) !important;
}

/* Hero Title (Reduced sleek font size per request) */
.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-align: center;
}

/* Subtitle Box */
.hero-subtitle-box {
  margin-bottom: 1.5rem;
  max-width: 680px;
}

.hero-subheading {
  font-size: 1.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.underline-white {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* BUILDS // Typewriter Line (from 2nd photo reference) */
.hero-builds-typewriter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-top: 0.65rem;
}

.builds-prefix {
  color: #71717a;
  font-weight: 500;
}

.builds-value {
  color: var(--accent-orange);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(232, 93, 42, 0.35);
}

.cursor-block-cyan,
.cursor-block-accent {
  color: var(--accent-orange);
  font-weight: 700;
  animation: blinkCursor 0.9s infinite;
}

.hero-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
  text-align: center;
}

/* Monospace Slash Links (Centered) */
.hero-slash-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 2.5rem;
}

.slash-link {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s, filter 0.25s;
  text-decoration: none;
}

.slash-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent-orange);
  transition: width 0.3s ease;
}

.slash-link:hover::after {
  width: 100%;
}

.slash-divider {
  color: var(--text-faint);
}

/* Explore Selected Work Link (Exact match to User Reference Image) */
.hero-explore-wrapper {
  margin-top: 0.5rem;
}

.explore-work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 93, 42, 0.55);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.explore-work-link:hover {
  color: var(--text-white);
  border-color: var(--accent-orange);
  transform: translateY(2px);
}

.arrow-down {
  color: var(--accent-orange);
  transition: transform 0.3s ease;
}

.explore-work-link:hover .arrow-down {
  transform: translate(2px, 2px);
}

.starburst-arrow {
  position: absolute;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  pointer-events: none;
}

.starburst-btn:hover {
  transform: scale(1.12) translateY(4px);
}

/* Scroll Transition 1: Full-Bleed Curved Light Theme Section */
.light-section-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -2.5rem;
}

.light-section-card {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-radius: 36px 36px 0 0;
  padding: 7rem 0 0 0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: visible;
}

.section-tag {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.light-heading {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 2rem;
  max-width: 760px;
}

.light-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a20;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 780px;
}

.light-body {
  font-size: 1rem;
  color: #555562;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 780px;
}

/* Black Action Pill Button */
.light-action-row {
  margin-bottom: 3.5rem;
}

.black-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--text-dark);
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.black-action-pill:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: #000000;
}

.pill-arrow-circle {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.black-action-pill:hover .pill-arrow-circle {
  transform: translate(2px, -2px);
  background: var(--accent-orange);
}

/* Tech Pills Container */
.tech-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 4rem;
}

.tech-pill {
  background: #e6e6ec;
  color: #1a1a24;
  border-radius: 9999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.tech-pill:hover {
  background: var(--accent-orange);
  color: #ffffff;
}

/* Bento Stats Grid in Light Theme */
.bento-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.bento-card {
  background: #ffffff;
  border: 1px solid #e1e1e8;
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.bento-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.bento-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #777785;
}

/* Image 1 Pixel Mosaic Dissolve Canvas Transition */
.pixel-dissolve-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 550px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, var(--bg-light) 0%, #bbbbc4 20%, #666670 45%, #2a2a32 65%, var(--bg-black) 100%);
}

.pixel-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Cyan Retro Pill Badge (Image 1 Exact Match) */
.cyan-retro-badge {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #00b4ff;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 12px;
  padding: 0.6rem 1.4rem;
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.4);
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cyan-retro-badge:hover {
  transform: scale(1.06);
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.8);
}

.cyan-code {
  font-size: 1.2rem;
  font-weight: 700;
}

.cyan-text {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* Dark Sections Shared */
.dark-section {
  padding: 7.5rem 0;
  background-color: var(--bg-black);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 3.5rem;
}

/* Experience Stack */
.experience-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.experience-card {
  background: var(--card-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.experience-card:hover {
  border-color: rgba(232, 93, 42, 0.4);
  background: var(--card-dark-hover);
}

.exp-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.exp-company {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
}

.exp-role {
  font-size: 0.95rem;
  display: block;
  margin-top: 0.25rem;
}

.exp-date {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.exp-description {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.exp-tags {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.exp-tags span {
  color: var(--text-muted);
}

/* Selected Work Projects */
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.priyansh-project-card {
  background: var(--card-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 2.5rem;
  transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease;
}

.priyansh-project-card:hover {
  border-color: rgba(232, 93, 42, 0.45);
  background: var(--card-dark-hover);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.card-num {
  font-size: 0.95rem;
  font-weight: 700;
}

.visit-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-radius: 9999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
}

.priyansh-project-card:hover .visit-pill-btn {
  background: var(--accent-orange);
  color: #ffffff;
}

.project-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.project-summary {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.project-tech-tags {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.project-tech-tags span {
  color: var(--text-muted);
}

/* About Me Footer Section (Priyansh Exact) */
.aboutme-footer-section {
  padding-bottom: 5rem;
}

/* Scroll Color Reveal — Priyansh-style character-by-character opacity reveal */
.scroll-reveal-title {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem auto;
  letter-spacing: -0.015em;
  display: block;
  color: #ffffff;
  word-spacing: 0.05em;
}

.scroll-reveal-title .scroll-char {
  opacity: 0.12;
  display: inline;
  will-change: opacity;
  color: #ffffff;
  transition: none;
}

.scroll-reveal-title .scroll-space {
  display: inline;
  width: 0.35em;
}

/* Centered Narrative Paragraphs */
.aboutme-narrative {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 4rem auto;
}

.narrative-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.narrative-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Interactive Physics Sandbox (Priyansh 1:1 2D Rigid Body Sandbox - Stretched Full Viewport Width) */
#physics-sandbox {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 220px;
  background: transparent;
  border: none;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.sandbox-label {
  display: none;
}

.physics-item {
  position: absolute !important;
  cursor: none !important;
  user-select: none;
  touch-action: none;
  will-change: transform;
  z-index: 10;
  margin: 0 !important;
}

.physics-item * {
  cursor: none !important;
}

.physics-item.is-dragging {
  cursor: none !important;
  z-index: 100 !important;
  box-shadow: none !important;
}

.tool-icon-square {
  width: 60px;
  height: 60px;
  overflow: hidden;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
}

.antigravity-logo {
  display: block;
  flex: 0 0 32px;
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain;
}

.tool-icon-tall {
  height: 68px;
}

.tool-icon-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4ea8de;
}

.status-pill-orange {
  background: var(--accent-orange);
  color: #000000;
  border-radius: 9999px;
  padding: 0.75rem 1.7rem;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: none !important;
  transition: transform 0.2s ease;
}

/* 3-Column Bento Footer Grid */
.bento-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1.25rem;
}

.bento-tall-card {
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  min-height: 240px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.bento-tall-card:hover {
  border-color: rgba(232, 93, 42, 0.4);
  transform: translateY(-4px);
}

/* Card 1: Decorative Dot Accent Card */
.card-decorative {
  justify-content: flex-start;
}

.deco-dots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: fit-content;
}

.deco-dots span {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  opacity: 0.7;
}

.deco-dots.top-left {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.deco-dots.bottom-right {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
}

.deco-line {
  position: absolute;
  top: 40%;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 42, 0.3), transparent);
}

/* Card 2: Showcase Card */
.card-showcase {
  padding: 0;
}

.showcase-img-area {
  flex: 1;
  background: linear-gradient(145deg, #161620 0%, #0e0e14 100%);
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.showcase-placeholder {
  text-align: center;
}

.showcase-project-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-top: 0.4rem;
}

.showcase-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 1rem;
}

.cdot {
  width: 24px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  transition: background 0.3s;
}

.cdot.active {
  background: var(--text-white);
}

/* Card 3: Thoughts Quote */
.card-thoughts {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.thoughts-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.thoughts-big-quote {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

/* Footer */
.footer {
  padding: 2.5rem 0 7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-link {
  color: var(--text-muted);
  transition: color 0.25s;
}

.top-link:hover {
  color: var(--accent-orange);
}

/* Priyansh Signature Bottom Floating Dock Navigation + Social Icon Pills */
.bottom-dock-wrapper {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dock-pill-container {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(12, 12, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.35rem 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif;
}

.dock-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 9999px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.dock-tab-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.dock-tab-label {
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin-left 0.3s ease;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.dock-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.dock-tab:hover .dock-tab-label {
  max-width: 110px;
  opacity: 1;
  margin-left: 0.45rem;
}

.dock-tab.active {
  background: var(--accent-orange);
  color: #ffffff;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.dock-tab.active .dock-tab-label {
  max-width: 110px;
  opacity: 1;
  margin-left: 0.45rem;
}

/* WHEN HOVERING OVER THE DOCK WRAPPER, ALL TAB LABELS EXPAND SMOOTHLY */
.bottom-dock-wrapper:hover .dock-tab-label {
  max-width: 110px;
  opacity: 1;
  margin-left: 0.45rem;
}

/* Image 2 Social Icon Pills attached to right of Dock */
.dock-social-pills {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.social-circle {
  height: 38px;
  min-width: 38px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  padding: 0;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-label {
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.social-circle.linkedin { background: #0077b5; }
.social-circle.github { background: #333333; }
.social-circle.email { background: var(--accent-orange); }

.social-circle:hover {
  transform: translateY(-2px);
  padding-right: 14px;
}

.social-circle:hover .social-label {
  max-width: 100px;
  opacity: 1;
}

/* Companion Status Pill */
.dock-companion-pill {
  background: rgba(13, 13, 18, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(232, 93, 42, 0.6);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-orange);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .hero-title { font-size: 2.1rem; }
  .scroll-reveal-title { font-size: 1.55rem; margin-bottom: 2rem; }
  .light-heading { font-size: 2.2rem; }
  .bento-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid-3col { grid-template-columns: 1fr; }
  .bento-tall-card { min-height: 180px; }
  .dock-companion-pill, .dock-social-pills { display: none; }
  .tool-row { gap: 0.6rem; }
  .tool-icon-square { width: 50px; height: 50px; border-radius: 14px; }
  .status-pill-orange { padding: 0.55rem 1.1rem; font-size: 0.8rem; }
  .brand-logo { font-size: 1.4rem; }
  .top-bar-meta { font-size: 0.9rem; }
}

@media (max-width: 500px) {
  .hero-title { font-size: 1.8rem; }
  .scroll-reveal-title { font-size: 1.25rem; }
  .dock-tab { padding: 0.4rem 0.65rem; font-size: 0.72rem; }
  .brand-logo { font-size: 1.15rem; }
  .top-bar-meta { font-size: 0.75rem; gap: 0.4rem; }
}
