:root {
  --coral: #FF6B6B;
  --coral-light: #FF8E8E;
  --coral-dark: #E55A5A;
  --salmon: #FFA07A;
  --peach: #FFDAB9;
  --bg: #FAFBFC;
  --bg-alt: #F0F2F5;
  --bg-card: #FFFFFF;
  --text: #1A1D23;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 30px rgba(255,107,107,0.15);
  --bg-dark: #1A1D23;
  --bg-dark-alt: #23262F;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
  --coral: #FF6B6B;
  --coral-light: #FF8E8E;
  --coral-dark: #FF8A8A;
  --salmon: #FFA07A;
  --peach: #FFDAB9;
  --bg: #0B0D12;
  --bg-alt: #11141C;
  --bg-card: #161922;
  --bg-dark: #1C1F2A;
  --bg-dark-alt: #232733;
  --text: #E4E6EB;
  --text-muted: #9CA3AF;
  --text-light: #6B7280;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 40px rgba(255,107,107,0.15);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

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

::selection { background: var(--coral); color: white; }

/* ─── Custom Cursor ─── */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s;
  opacity: 0.5;
}

.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--salmon); opacity: 0.8; }
.cursor-ring.click { width: 30px; height: 30px; opacity: 1; }

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 14px 40px;
  box-shadow: 0 1px 0 var(--border);
}

[data-theme="dark"] .nav.scrolled {
  background: rgba(11, 13, 18, 0.85);
  box-shadow: 0 1px 0 var(--border);
}

[data-theme="dark"] .btn-primary { color: #0B0D12; }

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .dot {
  width: 10px; height: 10px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1px;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  background: var(--text);
  color: white !important;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--coral) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Theme Toggle ─── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(255,107,107,0.06);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
}

.theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

.theme-toggle.dark .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle.dark .icon-moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 251, 252, 0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s;
}

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

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.three-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,107,107,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(255,160,122,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255,218,185,0.05) 0%, transparent 50%);
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--coral-dark);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-badge .badge-dot {
  width: 6px; height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
}

.hero h1 .line { display: block; }

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--coral) 0%, var(--salmon) 50%, var(--peach) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 44px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary { background: var(--text); color: white; }

.btn-primary:hover {
  background: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,107,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}

.btn .btn-arrow { transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 0.8s 2.5s forwards;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--coral), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fade-up { to { opacity: 0.6; } }

/* ─── Section Shared ─── */
.section { padding: 120px 40px; position: relative; }
.section-container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: 16px;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Marquee ─── */
.marquee-section {
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

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

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

.marquee-item {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s;
}

.marquee-item:hover { color: var(--coral); }
.marquee-item .m-dot {
  width: 8px; height: 8px;
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.4;
}

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

/* ─── Services ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--salmon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,107,107,0.15);
}

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(255,160,122,0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--coral), var(--salmon));
  transform: scale(1.05);
}

.service-card:hover .service-icon svg { filter: brightness(10); }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Stats ─── */
.stats-section {
  background: var(--bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(255,107,107,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(255,160,122,0.1) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--coral-light), var(--salmon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ─── Work / Portfolio ─── */
.work-section { background: var(--bg-alt); }

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

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card-img { transform: scale(1.05); }

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,29,35,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.work-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,107,107,0.2);
  color: var(--coral-light);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  width: fit-content;
}

.work-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.work-card-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* ─── Testimonials ─── */
.testimonials-section { background: var(--bg); }

.testimonials-wrapper { margin-top: 60px; position: relative; overflow: hidden; }

.testimonials-track {
  display: flex;
  gap: 28px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  min-width: calc(33.333% - 19px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--coral);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  left: 28px;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,107,107,0.15);
}

.testimonial-name { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

.testimonial-nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.testimonial-nav button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.testimonial-nav button:hover {
  border-color: var(--coral);
  background: var(--coral);
  color: white;
}

/* ─── CTA Section ─── */
.cta-section { background: var(--bg-alt); position: relative; overflow: hidden; }

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-box .section-title { margin-bottom: 20px; }
.cta-box .section-desc { margin: 0 auto 40px; text-align: center; }

.cta-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ─── Contact ─── */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(255,107,107,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text { font-size: 0.9rem; color: var(--text-muted); }
.contact-detail-text strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.3s;
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255,107,107,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit { align-self: flex-start; }

/* ─── Footer ─── */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 80px 40px 40px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.9rem; line-height: 1.7; margin-top: 16px; max-width: 300px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--coral-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.footer-socials { display: flex; gap: 16px; }

.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s;
  font-size: 0.85rem;
}

.footer-socials a:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(255,107,107,0.08);
}

/* ─── Magnetic Button ─── */
.magnetic { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

/* ─── Noise Overlay ─── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ─── Ripple ─── */
@keyframes ripple-effect { to { transform: scale(4); opacity: 0; } }

/* ─── Floating Orbs ─── */
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.05); }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .testimonial-card { min-width: calc(50% - 14px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 80px 24px; }
  .hero { padding: 100px 24px 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
