/* ============================================
   PINKU SHARMA — PORTFOLIO 2026
   Neo-Glass Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --neon: #a78bfa;
  --surface: #0a0a1a;
  --surface-2: #12122a;
  --surface-3: #1e1e3a;
  --text: #cbd5e1;
  --text-muted: #64748b;
  --text-bright: #f1f5f9;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --gradient-1: linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-2: linear-gradient(135deg, #a78bfa, #6366f1);
  --gradient-3: linear-gradient(135deg, #06b6d4, #10b981);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.12);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --surface-3: #e2e8f0;
  --text: #334155;
  --text-muted: #64748b;
  --text-bright: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.85);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s ease, color 0.5s ease;
}

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-bright);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.8;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-1);
  z-index: 9999;
  border-radius: 0 2px 2px 0;
  transition: width 0.05s linear;
}

/* --- Mesh Gradient Background --- */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.mesh-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: orb-float 25s ease-in-out infinite;
}

[data-theme="light"] .mesh-bg .orb { opacity: 0.06; }

.mesh-bg .orb:nth-child(1) {
  width: 600px; height: 600px;
  background: #6366f1;
  top: -15%; right: -10%;
}

.mesh-bg .orb:nth-child(2) {
  width: 500px; height: 500px;
  background: #06b6d4;
  bottom: -10%; left: -8%;
  animation-delay: -8s;
}

.mesh-bg .orb:nth-child(3) {
  width: 400px; height: 400px;
  background: #a78bfa;
  top: 40%; left: 40%;
  animation-delay: -16s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -60px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.94); }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.6rem 0;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(248, 250, 252, 0.8);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-bright);
}

.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

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

.nav-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-bright);
  background: var(--glass-bg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  background: var(--glass-bg);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.theme-toggle:hover {
  background: var(--glass-hover);
  border-color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-1);
  border: none;
  border-radius: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 26, 0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

[data-theme="light"] .mobile-menu {
  background: rgba(248, 250, 252, 0.97);
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-bright);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--primary-light); }

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: var(--gradient-1);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  color: var(--text-bright);
  background: transparent;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--glass-hover);
  border-color: var(--primary);
  color: var(--primary-light);
}

.btn-ghost {
  color: var(--text-muted);
  background: transparent;
  padding: 0.75rem 1rem;
}

.btn-ghost:hover { color: var(--primary-light); }

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  font-size: 0.82rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge .pulse {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .line { display: block; }

.typing-wrapper {
  display: inline;
  color: var(--accent);
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  background: var(--accent);
  margin-left: 2px;
  animation: blink 0.7s step-end infinite;
  vertical-align: baseline;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stat { text-align: center; }

.hero-stat .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-bright);
}

.hero-stat .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.hero-image-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-1);
  z-index: 0;
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--surface);
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface);
  position: relative;
  z-index: 1;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-bright);
  box-shadow: var(--shadow);
  animation: float-card 5s ease-in-out infinite;
  z-index: 3;
  white-space: nowrap;
}

.floating-card.c1 { top: 8%; right: -20%; }
.floating-card.c2 { bottom: 20%; left: -18%; animation-delay: -2s; }
.floating-card.c3 { bottom: 0; right: -8%; animation-delay: -3.5s; }

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

/* --- Bento Grid (About) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1.25rem;
}

.bento-item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  overflow: hidden;
}

.bento-item:hover {
  background: var(--glass-hover);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.bento-item.span-2 { grid-column: span 2; }

.bento-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.bento-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.bento-icon {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  border-radius: 0.75rem;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.bento-kpi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bento-kpi .kpi-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.bento-kpi .kpi-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Tech Stack --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}

.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
}

.tech-card:hover {
  background: var(--glass-hover);
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.tech-card .tech-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.tech-card .tech-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-bright);
}

.tech-card .tech-bar {
  width: 100%;
  height: 3px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
}

.tech-card .tech-bar-fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Projects --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  background: var(--glass-hover);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.project-card .project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card .project-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-card .project-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 26, 0.8), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.project-card:hover .overlay { opacity: 1; }

.project-body {
  padding: 1.5rem;
}

.project-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}

.tag {
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-links {
  display: flex;
  gap: 0.75rem;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.project-links a:hover { color: var(--primary-light); }

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

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

.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 0.3rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gradient-1);
  border: 3px solid var(--surface);
  transform: translateX(calc(50% - 1px));
  z-index: 1;
}

.timeline-content {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.timeline-content:hover {
  background: var(--glass-hover);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-glow);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.timeline-header h3 { font-size: 1.1rem; }

.timeline-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: 2rem;
}

.timeline-company {
  font-size: 0.88rem;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: var(--glass-hover);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.testimonial-card .quote-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-author .name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-bright);
}

.testimonial-author .role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

.contact-link:hover {
  background: var(--glass-hover);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateX(6px);
}

.contact-link .link-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-link .link-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-link .link-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-bright);
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  transition: var(--transition);
  outline: none;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background: rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

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

/* --- Footer --- */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-border);
}

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

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-socials a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-socials a:hover {
  background: var(--gradient-1);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(11) { transition-delay: 0.55s; }
.stagger.visible > *:nth-child(12) { transition-delay: 0.6s; }

/* --- Marquee (Clients) --- */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

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

.marquee-track .marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.4;
  white-space: nowrap;
  padding: 1rem 0;
}

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

/* --- Case Study Page --- */
.case-hero {
  padding: 8rem 0 3rem;
  position: relative;
}

.case-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-1);
  opacity: 0.05;
  pointer-events: none;
}

.case-content {
  max-width: 800px;
  margin: 0 auto;
}

.case-section {
  margin-bottom: 3rem;
}

.case-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.case-section h2 .case-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--gradient-1);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.case-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.case-section li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-muted);
  line-height: 1.7;
}

.case-section li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-wrapper { width: 280px; height: 280px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 7rem 0 3rem; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-item.span-2 { grid-column: span 1; }
  .projects-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-image-wrapper { width: 200px; height: 200px; }
  .floating-card { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .timeline { padding-left: 2rem; }
  .timeline::before { left: 5px; }
  .timeline-dot { left: -2rem; transform: translateX(calc(50% - 1px)); }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.65rem; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 1.25rem; }
}
