/* ==========================================================================
   ANDERSON RAMIREZ — ARTIST 3D PORTFOLIO STYLES
   Inspired by DesignGemStudio (Wix Studio 3D Portfolio)
   ========================================================================== */

:root {
  --bg-dark: #070709;
  --bg-dark-card: #0f0f14;
  --bg-dark-border: rgba(255, 255, 255, 0.12);
  --bg-dark-border-hover: rgba(255, 255, 255, 0.28);
  
  --bg-light: #ffffff;
  --bg-light-surface: #f7f7f9;
  --text-dark-primary: #ffffff;
  --text-dark-secondary: #a1a1aa;
  --text-dark-muted: #71717a;
  
  --text-light-primary: #09090b;
  --text-light-secondary: #52525b;
  --text-light-muted: #a1a1aa;

  --accent-purple: #9d4edd;
  --accent-pink: #f72585;
  --accent-cyan: #4cc9f0;
  --accent-orange: #ff7b00;
  --accent-yellow: #ffb703;
  --gradient-cta: linear-gradient(135deg, #c77dff 0%, #7b2cbf 100%);
  --gradient-glow: linear-gradient(135deg, rgba(157, 78, 221, 0.3), rgba(247, 37, 133, 0.2));

  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-pill: 9999px;
  --radius-sheet: 42px;
  --radius-card: 22px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.35);
}

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

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

body {
  overflow-x: hidden;
  line-height: 1.5;
  background-color: var(--bg-dark);
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ==========================================================================
   FLOATING PILL NAVIGATION
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(18, 18, 24, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-dark-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.sound-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-dark-border);
  color: var(--text-dark-secondary);
  margin-left: 4px;
  transition: var(--transition-smooth);
}

.sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.sound-wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
}

.sound-wave span {
  display: block;
  width: 2.5px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.sound-toggle-btn.playing .sound-wave span:nth-child(1) { animation: wave 0.8s infinite ease-in-out; }
.sound-toggle-btn.playing .sound-wave span:nth-child(2) { animation: wave 1.1s infinite ease-in-out 0.2s; }
.sound-toggle-btn.playing .sound-wave span:nth-child(3) { animation: wave 0.9s infinite ease-in-out 0.4s; }
.sound-toggle-btn.playing .sound-wave span:nth-child(4) { animation: wave 1.2s infinite ease-in-out 0.1s; }

@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 110px 24px 60px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(120, 50, 180, 0.12) 0%, transparent 60%);
}

.hero-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9.5vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.hero-stage {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 20px;
}

.hero-left {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tagline-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-dark-border);
  padding: 18px 22px;
  border-radius: var(--radius-card);
  backdrop-filter: blur(8px);
  position: relative;
}

.badge-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: inline-block;
}

.tagline-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: #e4e4e7;
  letter-spacing: 0.01em;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dark-secondary);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-pill);
  width: fit-content;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}

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

/* 3D Hero Avatar */
.hero-center {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#avatarCanvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 440px;
  cursor: grab;
  outline: none;
  filter: drop-shadow(0 20px 40px rgba(123, 44, 191, 0.25));
}

#avatarCanvas:active {
  cursor: grabbing;
}

.avatar-hint {
  position: absolute;
  bottom: 0px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dark-muted);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}

.pill-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--gradient-cta);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(157, 78, 221, 0.45);
  transition: var(--transition-smooth);
}

.pill-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 40px rgba(157, 78, 221, 0.65);
}

.cta-arrow {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.pill-cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

.experience-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.counter-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: linear-gradient(180deg, #fff 40%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dark-muted);
  max-width: 170px;
  line-height: 1.4;
}

/* ==========================================================================
   CUSTOMERS / MARQUEE & 3D ART STREAM
   ========================================================================== */
.customers-section {
  padding: 60px 0 100px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.customers-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-microtag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  letter-spacing: 0.15em;
}

.marquee-wrapper {
  overflow: hidden;
  user-select: none;
  border-top: 1px solid var(--bg-dark-border);
  border-bottom: 1px solid var(--bg-dark-border);
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.015);
}

.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo-icon {
  color: var(--accent-purple);
  font-size: 1.3rem;
}

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

/* 3D Art Gallery Stream */
.art-gallery-stream {
  margin-top: 60px;
  padding: 10px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.art-gallery-stream::-webkit-scrollbar {
  display: none;
}

.stream-track {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 1400px;
  margin: 0 auto;
}

.art-card {
  flex: 0 0 210px;
  height: 250px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--bg-dark-border);
  background: var(--bg-dark-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  position: relative;
  cursor: pointer;
}

.art-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 36px rgba(157, 78, 221, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
}

.art-image {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.art-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Beautiful Rich 3D Gradients representing artistic 3D artworks */
.img-gradient-1 {
  background: radial-gradient(circle at 70% 30%, #ff8fab 0%, #7b2cbf 60%, #10002b 100%);
}
.img-gradient-2 {
  background: radial-gradient(circle at 30% 70%, #4cc9f0 0%, #4361ee 50%, #3a0ca3 100%);
}
.img-gradient-3 {
  background: radial-gradient(circle at 50% 50%, #70e000 0%, #38b000 40%, #004b23 100%);
}
.img-gradient-4 {
  background: radial-gradient(circle at 75% 25%, #ffb703 0%, #fb8500 50%, #d00000 100%);
}
.img-gradient-5 {
  background: radial-gradient(circle at 20% 40%, #f72585 0%, #b5179e 50%, #7209b7 100%);
}
.img-gradient-6 {
  background: radial-gradient(circle at 60% 60%, #90e0ef 0%, #0077b6 50%, #03045e 100%);
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-section {
  padding: 120px 24px 140px;
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}

.about-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.about-container {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.outlined-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  letter-spacing: 0.03em;
  user-select: none;
}

.about-card {
  background: rgba(22, 22, 30, 0.6);
  border: 1px solid var(--bg-dark-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-sheet);
  padding: 60px 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

.about-p-main {
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  font-weight: 400;
  line-height: 1.45;
  color: #f4f4f5;
  margin-bottom: 24px;
}

.about-p-sub {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.about-skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 34px;
}

.skill-chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, background 0.2s ease;
}

.skill-chip:hover {
  transform: translateY(-2px);
  background: rgba(168, 85, 247, 0.22);
}

.about-btn {
  display: inline-flex;
}

/* Floating Badges around About */
.floating-props-visual {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

.prop-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-dark-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: floatBounce 4s infinite ease-in-out;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.prop-badge:hover {
  transform: scale(1.2) rotate(15deg) !important;
}

.prop-star { color: #f1f2f6; animation-delay: 0s; text-shadow: 0 0 15px rgba(255,255,255,0.7); }
.prop-cube { color: #a855f7; animation-delay: 0.8s; text-shadow: 0 0 15px rgba(168,85,247,0.7); }
.prop-flower { color: #ec4899; animation-delay: 1.6s; text-shadow: 0 0 15px rgba(236,72,153,0.7); }
.prop-heart { color: #ef4444; animation-delay: 2.4s; text-shadow: 0 0 15px rgba(239,68,68,0.7); }

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

/* ==========================================================================
   SERVICES SECTION — WHITE SHEET CONTRAST
   ========================================================================== */
.services-wrapper {
  background: var(--bg-dark);
  padding: 0;
  position: relative;
  z-index: 10;
}

.services-sheet {
  background: var(--bg-light);
  color: var(--text-light-primary);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  padding: 100px 32px 120px;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
  max-width: 1400px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 70px;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
  text-transform: uppercase;
}

.services-subtitle {
  font-size: 1.15rem;
  color: var(--text-light-secondary);
  margin-top: 8px;
}

.services-list {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 2px solid #e4e4e7;
}

.service-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: start;
  gap: 32px;
  padding: 40px 24px;
  border-bottom: 1px solid #e4e4e7;
  border-radius: 20px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.service-row:hover,
.service-row.is-scroll-focused {
  background-color: #f1f5f9;
  transform: translateX(12px);
  border-left: 5px solid var(--accent-purple);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.service-row.is-scroll-focused .service-num {
  color: var(--accent-purple);
  transform: scale(1.08);
}

.service-meta {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: 0.02em;
}

.service-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #3f3f46;
  margin-bottom: 16px;
}

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

.service-tags span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  color: #475569;
}

/* ==========================================================================
   PROJECTS SECTION (Stacked Deck that Ungroups & Unfolds on Scroll)
   ========================================================================== */
.projects-section {
  padding: 120px 24px 180px;
  background: var(--bg-dark);
  position: relative;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.projects-stack-container {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 50px;
  text-align: left;
}

/* Individual Project Card: Smooth scroll-scrubbed cards */
.project-card {
  background: linear-gradient(145deg, #13131c 0%, #0b0b10 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 24px 34px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  margin-top: 24px;
  will-change: transform, margin-top, border-color, box-shadow;
  transition: background 0.3s ease;
}

.project-card:first-child {
  margin-top: 0 !important;
}

.project-card:hover {
  background: linear-gradient(145deg, #171724 0%, #0e0e14 100%);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.project-meta-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.project-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

.project-client-group {
  display: flex;
  flex-direction: column;
}

.project-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dark-muted);
  letter-spacing: 0.12em;
}

.project-client-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.project-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.live-project-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: var(--transition-smooth);
}

.live-project-pill:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: scale(1.05);
}

.live-project-pill i {
  width: 15px;
  height: 15px;
}

/* Continuous Scroll-Scrubbed 3D Render Gallery */
.project-preview-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  height: 0px;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transform: translateY(-8px) scale(0.98);
  will-change: height, opacity, margin-top, transform;
}

.gallery-tile {
  height: 240px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.gallery-tile:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.tile-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Rich Project Themes */
.tile-coral-1 { background: radial-gradient(circle at 60% 40%, #ff5e7e, #880e4f, #2a0845); }
.tile-coral-2 { background: radial-gradient(circle at 30% 60%, #9c27b0, #673ab7, #0d1b2a); }
.tile-coral-3 { background: radial-gradient(circle at 50% 50%, #e91e63, #ff9800, #4a148c); }

.tile-fox-1 { background: radial-gradient(circle at 40% 40%, #fb8500, #d90429, #2b2d42); }
.tile-fox-2 { background: radial-gradient(circle at 70% 30%, #52b788, #2d6a4f, #081c15); }
.tile-fox-3 { background: radial-gradient(circle at 30% 70%, #ffb703, #e76f51, #264653); }

.tile-mindful-1 { background: radial-gradient(circle at 50% 30%, #00f5d4, #7b2cbf, #03045e); }
.tile-mindful-2 { background: radial-gradient(circle at 70% 70%, #fee440, #f72585, #3a0ca3); }
.tile-mindful-3 { background: radial-gradient(circle at 30% 50%, #9b5de5, #00bbf9, #001219); }

.tile-scaler-1 { background: radial-gradient(circle at 60% 50%, #06d6a0, #118ab2, #073b4c); }
.tile-scaler-2 { background: radial-gradient(circle at 40% 60%, #ff0054, #9e0059, #390040); }
.tile-scaler-3 { background: radial-gradient(circle at 50% 50%, #48cae4, #0077b6, #03045e); }

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 100px 24px 140px;
  background: var(--bg-dark);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.testimonials-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.testimonials-emoji {
  font-size: 3.2rem;
  animation: floatBounce 3s infinite ease-in-out;
}

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

.testimonial-card {
  background: rgba(18, 18, 26, 0.7);
  border: 1px solid var(--bg-dark-border);
  border-radius: 28px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: rgba(199, 125, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(123, 44, 191, 0.2);
}

.testimonial-quote {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #e4e4e7;
  font-weight: 400;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.avatar-1 { background: linear-gradient(135deg, #f72585, #7209b7); }
.avatar-2 { background: linear-gradient(135deg, #4361ee, #4cc9f0); }
.avatar-3 { background: linear-gradient(135deg, #fb8500, #ffb703); }
.avatar-4 { background: linear-gradient(135deg, #70e000, #38b000); }

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.author-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   CONTACT SECTION (White Sheet Contrast)
   ========================================================================== */
.contact-section {
  background: var(--bg-dark);
}

.contact-sheet {
  background: var(--bg-light);
  color: var(--text-light-primary);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  padding: 100px 32px 110px;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.contact-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.contact-info-col {
  position: relative;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.email-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.email-copy-pill:hover {
  background: #e2e8f0;
  transform: scale(1.02);
}

.copy-icon-btn {
  display: flex;
  align-items: center;
  color: #64748b;
}

.copy-toast {
  position: absolute;
  bottom: -40px;
  left: 0;
  background: #0f172a;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  pointer-events: none;
}

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

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #7b2cbf;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #94a3b8;
}

.submit-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  width: fit-content;
  align-self: flex-start;
  margin-top: 10px;
}

.submit-pill-btn:hover {
  background: #7b2cbf;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(123, 44, 191, 0.35);
}

/* ==========================================================================
   FOOTER (Dark Mode with Geometric Glyphs Banner)
   ========================================================================== */
.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 90px 24px 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.footer-links,
.footer-links-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links-info a,
.footer-links-info span,
.footer-links-info address {
  font-size: 0.95rem;
  color: #d4d4d8;
  font-style: normal;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links-info a:hover {
  color: #ffffff;
}

/* Iconic Geometric Glyphs Ribbon (Continuous Left-to-Right Marquee with Spinning Glyphs) */
.footer-glyphs-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  font-size: 2.6rem;
  margin-bottom: 40px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.glyphs-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: glyphsMarqueeLTR 26s linear infinite;
}

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

.glyphs-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.glyph-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 32px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glyph-item:hover {
  transform: scale(1.35);
}

.glyph-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: transform;
  line-height: 1;
}

/* Individual continuous spin animations */
.spin-clockwise {
  animation: glyphRotateCW 7s linear infinite;
}

.spin-counter {
  animation: glyphRotateCCW 7s linear infinite;
}

.spin-fast-cw {
  animation: glyphRotateCW 5s linear infinite;
}

.spin-slow-ccw {
  animation: glyphRotateCCW 9s linear infinite;
}

.spin-pulse {
  animation: glyphPulseRotate 6s ease-in-out infinite;
}

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

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

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

@keyframes glyphPulseRotate {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.25);
  }
}

.glyph-star-lavender { color: #d8b4fe; text-shadow: 0 0 16px rgba(216, 180, 254, 0.45); }
.glyph-pill-orange   { color: #fb923c; text-shadow: 0 0 16px rgba(251, 146, 60, 0.45); }
.glyph-arch-white    { color: #ffffff; text-shadow: 0 0 16px rgba(255, 255, 255, 0.35); }
.glyph-cross-cyan    { color: #38bdf8; text-shadow: 0 0 16px rgba(56, 189, 248, 0.45); }
.glyph-flower-purple { color: #c084fc; text-shadow: 0 0 16px rgba(192, 132, 252, 0.45); }
.glyph-torus-yellow  { color: #facc15; text-shadow: 0 0 16px rgba(250, 204, 21, 0.45); }
.glyph-diamond-white { color: #ffffff; text-shadow: 0 0 16px rgba(255, 255, 255, 0.35); }
.glyph-wave-orange   { color: #f97316; text-shadow: 0 0 16px rgba(249, 115, 22, 0.45); }
.glyph-pill-magenta  { color: #f43f5e; text-shadow: 0 0 16px rgba(244, 63, 94, 0.45); }
.glyph-donut-cyan    { color: #22d3ee; text-shadow: 0 0 16px rgba(34, 211, 238, 0.45); }

.footer-bottom-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   PROJECT MODAL
   ========================================================================== */
.project-modal {
  margin: auto;
  border: 1px solid var(--bg-dark-border);
  border-radius: 28px;
  background: #0d0d14;
  color: #fff;
  padding: 0;
  max-width: 800px;
  width: 90vw;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.project-modal::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-box {
  position: relative;
  padding: 40px;
}

.close-modal-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-content-inner h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.modal-content-inner p {
  color: #a1a1aa;
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-hero-render {
  height: 280px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-stage {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-left, .hero-right {
    text-align: center;
    align-items: center;
  }

  .hero-status {
    margin: 0 auto;
  }

  .experience-counter {
    align-items: center;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

@media (max-width: 768px) {
  .pill-nav {
    gap: 4px;
    padding: 4px 8px;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  .hero-center {
    height: 360px;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .project-preview-gallery {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-glyphs-banner {
    font-size: 1.5rem;
  }

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