/* ─── Reset & Variables ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #050505;
  --bg-secondary: #0C0C0C;
  --bg-card: #111111;
  --accent-1: #8B5CF6;
  --accent-2: #EC4899;
  --accent-3: #F97316;
  --gradient: linear-gradient(135deg, #8B5CF6, #EC4899, #F97316);
  --gradient-text: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F97316 100%);
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Utility ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent-2);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: clamp(40px, 6vw, 80px);
}

/* ─── Custom Cursor ─── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.3s;
  mix-blend-mode: difference;
  opacity: 0; /* JS reveals on first mousemove */
}
.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s;
  opacity: 0; /* JS reveals on first mousemove */
}
@media (hover: none) {
  .cursor, .cursor-follower { display: none !important; }
  body { cursor: auto !important; }
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.3s, background 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.logo-icon {
  font-size: 22px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}
.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gradient);
  transition: width var(--transition-fast);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.nav-cta:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5,5,5,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  text-align: center;
}
.mobile-menu li { margin: 20px 0; }
.mob-link {
  font-family: var(--font-head);
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.mob-link:hover { color: #fff; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, transparent 70%);
  top: -10%; left: -10%;
  animation-delay: 0s;
}
.blob-2 {
  width: clamp(250px, 40vw, 500px);
  height: clamp(250px, 40vw, 500px);
  background: radial-gradient(circle, rgba(236,72,153,0.2) 0%, transparent 70%);
  top: 30%; right: -10%;
  animation-delay: 3s;
}
.blob-3 {
  width: clamp(200px, 35vw, 400px);
  height: clamp(200px, 35vw, 400px);
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 70%);
  bottom: -10%; left: 30%;
  animation-delay: 6s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,15px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 80px);
  max-width: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  background: rgba(255,255,255,0.03);
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 6.5vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  overflow: hidden;
}
.hero-title .word { display: inline-block; }

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}
.br-desk { display: inline; }
@media (max-width: 600px) { .br-desk { display: none; } }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--gradient);
  border: none;
  border-radius: 100px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(139,92,246,0.3);
}
.btn-arrow {
  width: 16px; height: 16px;
  transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--text-secondary));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* Floating stats */
.hero-float {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 16px 24px;
  animation: floatUpDown 4s ease-in-out infinite;
}
.hero-float-1 { bottom: 20%; left: 5%; animation-delay: 0s; }
.hero-float-2 { bottom: 30%; right: 5%; animation-delay: 2s; }
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-num {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.float-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}
@media (max-width: 600px) {
  .hero-float { display: none; }
}

/* ─── Why ─── */
.why {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s, border-color 0.3s;
}
.why-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139,92,246,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.why-card:hover { border-color: var(--border-hover); }
.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 52px; height: 52px;
  margin-bottom: 24px;
}
.why-icon svg { width: 100%; height: 100%; }

.why-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ─── Services ─── */
.services {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}

.service-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card-inner {
  padding: 40px 36px;
  position: relative;
  height: 100%;
  transition: background 0.3s;
}
.service-card:hover .service-card-inner {
  background: rgba(255,255,255,0.02);
}

.service-card[data-index]::after {
  content: attr(data-index);
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.15);
}

.service-icon {
  width: 40px; height: 40px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card:hover .service-icon { color: var(--accent-1); }

.service-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.service-hover-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-hover-line { width: 100%; }

/* ─── Process ─── */
.process {
  padding: clamp(80px, 10vw, 140px) 0;
}

.timeline {
  position: relative;
  padding-left: 60px;
}
.timeline-line {
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient);
  transition: height 0.1s;
}

.timeline-step {
  position: relative;
  padding: 40px 0 40px 40px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s, transform 0.6s;
}
.timeline-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-dot {
  position: absolute;
  left: -49px;
  top: 44px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border);
  transition: border-color 0.4s, background 0.4s;
}
.timeline-step.visible .step-dot {
  border-color: var(--accent-1);
  background: var(--accent-1);
  box-shadow: 0 0 16px rgba(139,92,246,0.5);
}

.step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.step-content h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
}

/* ─── Portfolio ─── */
.portfolio {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-secondary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.7s, transform 0.7s, border-color 0.3s;
  cursor: pointer;
}
.portfolio-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.portfolio-card:hover { border-color: var(--border-hover); }

.portfolio-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-link {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 24px;
  border-radius: 100px;
  transition: background 0.2s;
}
.portfolio-link:hover { background: rgba(255,255,255,0.1); }

.portfolio-mockup {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.4s;
}
.portfolio-card:hover .portfolio-mockup { transform: translate(-50%, -52%) scale(1.04); }
.mock-bar {
  height: 24px;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
}
.mock-bar span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.mock-body {
  height: 100px;
  background: rgba(255,255,255,0.05);
}

.portfolio-info { padding: 24px; }
.portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.portfolio-tags span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.portfolio-info h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.portfolio-info p { font-size: 13px; color: var(--text-secondary); }

/* Tilt effect */
.tilt-card { transform-style: preserve-3d; }

/* ─── Testimonials ─── */
.testimonials {
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}
.testimonials .container { margin-bottom: 60px; }

.testimonials-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollTrack 40s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scrollTrack {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testi-card {
  flex-shrink: 0;
  width: 380px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s;
}
.testi-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.testi-stars {
  color: #F97316;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.testi-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.testi-author span {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}

@media (max-width: 500px) {
  .testi-card { width: 300px; }
}

/* ─── Stats ─── */
.stats {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.07) 0%, rgba(236,72,153,0.05) 50%, rgba(249,115,22,0.07) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item { }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ─── Contact ─── */
.contact {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.contact-bg-anim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(139,92,246,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(236,72,153,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
}
.contact-detail-item:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}
.cd-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cd-icon svg { width: 20px; height: 20px; color: var(--accent-1); }
.cd-label { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 2px; }
.contact-detail-item strong { font-size: 15px; }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
  background: rgba(139,92,246,0.04);
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.form-success.show { display: block; }
.success-icon {
  width: 56px; height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-family: var(--font-head);
  font-size: 24px;
  margin-bottom: 8px;
}
.form-success p { color: var(--text-secondary); }

/* ─── Footer ─── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
}
.footer-logo { margin-bottom: 4px; }

.footer-links-col strong,
.footer-contact-col strong {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-links-col ul { list-style: none; }
.footer-links-col li { margin-bottom: 10px; }
.footer-links-col a,
.footer-contact-col a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links-col a:hover,
.footer-contact-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-love .heart {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Magnetic button ─── */
.magnetic-btn { position: relative; }

/* ─── Reveal animations ─── */
.reveal-char { display: inline-block; overflow: hidden; }
.reveal-char .char { display: inline-block; transform: translateY(110%); }

/* ─── Spotlight overlay (on why cards) ─── */
.why-card .spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(circle 120px at var(--mx,50%) var(--my,50%), rgba(139,92,246,0.12), transparent 70%);
}
.why-card:hover .spotlight { opacity: 1; }
/* ─── JS-driven additions (missing ~10%) ─── */

/* Remove pseudo-element fill — replaced by JS .timeline-fill div */
.timeline-line::after { display: none; }

/* Page loader fade-in */
body { animation: pageFade 0.5s ease forwards; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

/* Contact detail item — label line-height fix */
.contact-detail-item > div { display: flex; flex-direction: column; justify-content: center; }

/* Form success icon — flex fix */
.form-success .success-icon { display: flex; }

/* Stat item — ensure no extra gap */
.stat-item { display: flex; flex-direction: column; align-items: center; }

/* Mobile hero float hidden (already in CSS — reaffirm) */
@media (max-width: 480px) {
  .hero-float-1, .hero-float-2 { display: none; }
}