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

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --blue: #5ba4f5;
  --blue-light: #e8f1fd;
  --blue-dark: #3b82f6;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-800: #262626;
  --gray-900: #171717;
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.28s; }
.reveal-delay-4 { transition-delay: 0.38s; }

.reveal-clip {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), clip-path 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-clip.visible { opacity: 1; clip-path: inset(0 0 0% 0); transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-clip { opacity: 1; transform: none; clip-path: none; transition: none; }
}

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

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

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; padding-left: 0; position: relative; }
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-left: 20px; }
.nav-logo-img { height: 50px; width: auto; display: block; }
.nav-logo-text { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: #0a0a0a; letter-spacing: -0.02em; }
.nav-logo-text span { color: #4da6d6; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500; color: var(--gray-600);
  transition: color 0.2s; cursor: pointer; white-space: nowrap;
}
.nav-links a:hover { color: var(--black); }
.nav-links a.active { color: var(--black); font-weight: 600; }

@keyframes dropdown-in {
  from { opacity: 0; transform: scale(0.94) translateY(-6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
/* Dropdown anchored to .nav-right */
.nav-right .nav-links-dropdown {
  display: none; flex-direction: column; gap: 2px;
  position: absolute; top: calc(100% + 12px); right: 0;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 6px; min-width: 200px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  z-index: 300; transform-origin: top right;
  list-style: none;
}
.nav-right .nav-links-dropdown.open {
  display: flex;
  animation: dropdown-in 0.22s cubic-bezier(0.16,1,0.3,1);
}
.nav-right .nav-links-dropdown a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 0.78rem; font-weight: 500; color: var(--gray-700);
  transition: background 0.15s, color 0.15s;
}
.nav-right .nav-links-dropdown a:hover { background: var(--gray-50); color: var(--black); }
.nav-right .nav-links-dropdown a.active { color: var(--black); font-weight: 600; }
.nav-cta {
  font-size: 0.78rem; font-weight: 600; padding: 7px 16px;
  background: var(--black); color: var(--white); border: none; border-radius: 7px;
  cursor: pointer; transition: background 0.2s, transform 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--gray-800); transform: translateY(-1px); }
.nav-right {
  display: flex; align-items: center; gap: 12px; position: relative;
}
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 7px; border-radius: 8px;
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle span {
  width: 22px; height: 2px; background: var(--black); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── NAV on dark hero pages (project detail pages) ─── */
.nav-on-dark:not(.scrolled) .nav-logo-text { color: var(--white); }
.nav-on-dark:not(.scrolled) .nav-logo-text span { color: var(--blue); }
.nav-on-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.65); }
.nav-on-dark:not(.scrolled) .nav-links a:hover,
.nav-on-dark:not(.scrolled) .nav-links a.active { color: var(--white); }
.nav-on-dark:not(.scrolled) .nav-toggle span { background: var(--white); }
.nav-on-dark:not(.scrolled) .nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-on-dark:not(.scrolled) .nav-cta { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.nav-on-dark:not(.scrolled) .nav-cta:hover { background: rgba(255,255,255,0.22); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  filter: blur(120px); opacity: 0.15; animation: float 20s ease-in-out infinite;
}
.hero-gradient-1 { background: var(--blue); top: -200px; right: -100px; }
.hero-gradient-2 { background: var(--blue-dark); bottom: -200px; left: -100px; animation-delay: -10s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: var(--blue-light); color: var(--blue-dark);
  border-radius: 100px; font-size: 0.8125rem; font-weight: 600; margin-bottom: 32px;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--blue-dark); border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: var(--black);
  margin-bottom: 24px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
  font-size: 1.125rem; color: var(--gray-500); max-width: 520px;
  margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--black); color: var(--white);
  border: none; border-radius: 10px; font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s var(--ease); font-family: var(--font-body);
}
.btn-primary:hover { background: var(--gray-800); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: transparent; color: var(--black);
  border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-size: 0.9375rem; font-weight: 600; cursor: pointer;
  transition: all 0.25s var(--ease); font-family: var(--font-body);
}
.btn-secondary:hover { border-color: var(--gray-400); transform: translateY(-2px); }

/* ─── SECTIONS ─── */
section { padding: 120px 0; }
.section-label {
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.02em; color: var(--black);
  margin-bottom: 16px; line-height: 1.15;
}
.section-desc { font-size: 1.0625rem; color: var(--gray-500); max-width: 560px; line-height: 1.7; }

/* ─── MARQUEE ─── */
.marquee-section {
  padding: 64px 0; border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200); overflow: hidden;
}
.marquee-section { cursor: grab; user-select: none; }
.marquee-section:active { cursor: grabbing; }
.marquee { display: flex; gap: 64px; will-change: transform; }
.marquee-item {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--gray-300); white-space: nowrap; flex-shrink: 0;
  transition: color 0.2s;
}
.marquee-item:hover { color: var(--blue); }

/* ─── SERVICES ─── */
.services { background: var(--gray-50); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px;
  padding: 40px 32px; transition: all 0.35s var(--ease); cursor: default;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); border-color: transparent; }
.service-icon {
  width: 48px; height: 48px; background: var(--blue-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: background 0.3s;
}
.service-card:hover .service-icon { background: var(--blue); }
.service-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.5; transition: stroke 0.3s; }
.service-card:hover .service-icon svg { stroke: var(--white); }
.service-card h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--black); }
.service-card p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.65; }
.services-cta { margin-top: 48px; display: flex; justify-content: center; }

/* ─── PORTFOLIO ─── */
/* ─── PORTFOLIO / OUR WORK ─── */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 64px;
  perspective: 1400px;
}
.portfolio-card {
  position: relative; border-radius: 20px;
  background: var(--gray-900, #111);
  overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.4s ease;
}
.portfolio-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.12);
}
/* number badge */
.portfolio-num {
  position: absolute; top: 18px; left: 22px; z-index: 3;
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.35); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 10px; border-radius: 20px;
  transition: color 0.3s, background 0.3s;
}
.portfolio-card:hover .portfolio-num {
  color: rgba(255,255,255,0.9); background: rgba(91,164,245,0.3);
  border-color: rgba(91,164,245,0.4);
}
/* image area */
.portfolio-card-inner {
  position: relative; aspect-ratio: 16/10; overflow: hidden; flex-shrink: 0;
}
.portfolio-card-inner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.portfolio-card:hover .portfolio-card-inner img { transform: scale(1.07); }
/* shimmer highlight that follows tilt */
.portfolio-shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-shine { opacity: 1; }
/* always-visible info bar */
.portfolio-info {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; gap: 12px;
  background: var(--white); border-top: 1px solid var(--gray-100);
  transition: background 0.3s;
}
.portfolio-card:hover .portfolio-info { background: var(--gray-50); }
.portfolio-info-left h3 {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  color: var(--black); margin-bottom: 3px; letter-spacing: -0.01em;
  transition: color 0.25s;
}
.portfolio-card:hover .portfolio-info-left h3 { color: var(--blue); }
.portfolio-info-left p { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }
.portfolio-arrow {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--gray-100); border: 1.5px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.35s cubic-bezier(0.16,1,0.3,1);
  color: var(--gray-500);
}
.portfolio-card:hover .portfolio-arrow {
  background: var(--blue); border-color: var(--blue); color: var(--white);
  transform: rotate(45deg);
}

/* ─── PROJECT MODAL ─── */
.project-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.project-overlay.active { opacity: 1; pointer-events: all; }
.project-modal {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(700px, 100vw);
  background: var(--white); z-index: 201; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column;
}
.project-modal.active { transform: translateX(0); }
.project-modal-header {
  position: sticky; top: 0; background: var(--white); z-index: 1;
  padding: 24px 32px; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
}
.project-modal-header h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; }
.project-modal-close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gray-200);
  background: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.project-modal-close:hover { background: var(--gray-100); }
.project-modal-body { padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.project-modal-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--blue); text-transform: uppercase; }
.project-modal-desc { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; }
.project-screenshots { display: flex; flex-direction: column; gap: 16px; }
.project-screenshots img { width: 100%; border-radius: 12px; border: 1px solid var(--gray-200); display: block; }

/* ─── STATS ─── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.stat { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--black); line-height: 1; margin-bottom: 8px; }
.stat-number .blue { color: var(--blue); }
.stat-label { font-size: 0.875rem; color: var(--gray-500); }

/* ─── PRICING ─── */
.pricing { background: var(--gray-50); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.pricing-card {
  background: var(--white); border: 1.5px solid var(--gray-200); border-radius: 16px;
  padding: 40px 32px; transition: all 0.35s var(--ease); position: relative;
}
.pricing-card.featured { border-color: var(--blue); box-shadow: 0 8px 40px rgba(91,164,245,0.12); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: var(--blue); color: var(--white);
  font-size: 0.75rem; font-weight: 700; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-card h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.pricing-card .price { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--gray-500); }
.pricing-card .price-desc { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 32px; }
.pricing-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--gray-600); }
.pricing-features li svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; flex-shrink: 0; }
.pricing-btn {
  width: 100%; padding: 14px; border-radius: 10px; font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s var(--ease); border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--black); font-family: var(--font-body);
  display: block; text-align: center;
}
.pricing-btn:hover { border-color: var(--black); transform: translateY(-1px); }
.pricing-card.featured .pricing-btn { background: var(--black); color: var(--white); border-color: var(--black); }
.pricing-card.featured .pricing-btn:hover { background: var(--gray-800); }

/* ─── TESTIMONIALS ─── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px;
  padding: 36px 32px; transition: all 0.35s var(--ease);
}
.testimonial-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.04); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 20px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: #fbbf24; }
.testimonial-card blockquote { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; color: var(--blue);
}
.testimonial-info h4 { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; color: var(--black); }
.testimonial-info p { font-size: 0.8125rem; color: var(--gray-500); }

/* ─── TEAM ─── */
.team { background: var(--gray-50); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 64px; max-width: 720px; margin-left: auto; margin-right: auto; }
.team-card { text-align: center; cursor: pointer; display: block; text-decoration: none; color: inherit; }
.team-avatar {
  width: 140px; height: 140px; border-radius: 18px; background: var(--gray-200);
  margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.75rem;
  color: var(--gray-400); transition: all 0.4s cubic-bezier(0.16,1,0.3,1); overflow: hidden;
  border: 3px solid transparent;
}
.team-card:hover .team-avatar {
  background: var(--blue-light); color: var(--blue);
  transform: scale(1.08) translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 16px 40px rgba(91,164,245,0.2);
}
.team-card h3 {
  font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700;
  color: var(--black); margin-bottom: 6px; cursor: pointer;
  text-decoration: none; transition: color 0.2s;
}
.team-card:hover h3 { color: var(--blue); }
.team-card .team-role { font-size: 0.875rem; color: var(--gray-500); }

/* ─── PROFILE MODAL ─── */
.profile-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.profile-overlay.open { opacity: 1; pointer-events: all; }
.profile-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(520px, 100vw);
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.profile-panel.open { transform: translateX(0); }
.profile-panel-inner { padding: 48px 40px; flex: 1; }
.profile-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gray-100); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.profile-close:hover { background: var(--gray-200); transform: rotate(90deg); }
.profile-close svg { width: 18px; height: 18px; stroke: var(--black); fill: none; stroke-width: 2; stroke-linecap: round; }
.profile-photo {
  width: 120px; height: 120px; border-radius: 50%; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: var(--blue);
  margin-bottom: 24px; border: 4px solid var(--blue-light);
  box-shadow: 0 8px 32px rgba(91,164,245,0.15);
}
.profile-name { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--black); margin-bottom: 4px; letter-spacing: -0.02em; }
.profile-role { font-size: 1rem; color: var(--blue); font-weight: 600; margin-bottom: 28px; }
.profile-meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--gray-200); }
.profile-meta-item { display: flex; align-items: center; gap: 12px; }
.profile-meta-item svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.profile-meta-item span { font-size: 0.9375rem; color: var(--gray-600); }
.profile-bio-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 12px; }
.profile-bio-text { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.75; }

/* ─── TEAM PROFILES PAGE ─── */
.team-profiles { padding: 80px 0 120px; }
.team-profile {
  display: grid; grid-template-columns: 260px 1fr; gap: 80px;
  align-items: start; padding: 80px 0;
}
.team-profile-divider {
  border: none; border-top: 1px solid var(--gray-200); margin: 0;
}
.team-profile-avatar-col { display: flex; flex-direction: column; align-items: center; gap: 24px; position: sticky; top: 100px; }
.team-profile-avatar {
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 2.5rem;
  border: 4px solid rgba(91,164,245,0.2);
  box-shadow: 0 16px 48px rgba(91,164,245,0.15);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-profile-avatar-alt { background: #f0f9ff; color: #0ea5e9; border-color: rgba(14,165,233,0.2); box-shadow: 0 16px 48px rgba(14,165,233,0.12); }
.team-profile:hover .team-profile-avatar { transform: scale(1.04) translateY(-4px); box-shadow: 0 24px 64px rgba(91,164,245,0.2); }
.team-profile-social { display: flex; flex-direction: column; gap: 10px; align-items: center; width: 100%; }
.team-profile-tag {
  display: inline-flex; align-items: center; padding: 6px 16px;
  background: var(--gray-100); border-radius: 100px;
  font-size: 0.8125rem; font-weight: 500; color: var(--gray-600);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.team-profile-name {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--black); letter-spacing: -0.03em;
  margin: 8px 0 28px; line-height: 1.1;
}
.team-profile-bio {
  font-size: 1.0625rem; color: var(--gray-600); line-height: 1.8;
  margin-bottom: 20px; max-width: 600px;
}
.team-profile-skills { display: flex; flex-direction: column; gap: 14px; margin: 32px 0 40px; }
.team-skill-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9375rem; color: var(--gray-700);
}
.team-skill-item svg { stroke: var(--blue); flex-shrink: 0; }

@media (max-width: 1024px) {
  .team-profile { grid-template-columns: 200px 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .team-profile { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .team-profile-avatar-col { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .team-profile-social { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .team-profile-avatar { width: 120px; height: 120px; font-size: 2rem; }
  .team-profile-name { font-size: 1.75rem; }
  .team-profile-bio { font-size: 1rem; }
}

/* ─── CTA BANNER ─── */
.cta-banner { background: var(--black); padding: 100px 0; text-align: center; }
.cta-banner .section-label { color: var(--blue); }
.cta-banner .section-title { color: var(--white); }
.cta-banner .section-desc { color: var(--gray-400); margin: 0 auto 40px; }
.cta-banner .btn-primary { background: var(--blue); color: var(--white); }
.cta-banner .btn-primary:hover { background: var(--blue-dark); }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 64px; align-items: start; max-width: 900px; margin-left: auto; margin-right: auto; }
.contact-info { display: flex; flex-direction: column; gap: 32px; align-self: start; }
.contact-item { display: flex; gap: 16px; }
.contact-item-icon {
  width: 48px; height: 48px; background: var(--blue-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.5; }
.contact-item h4 { font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.contact-item p { font-size: 0.9375rem; color: var(--gray-500); }
.contact-form { display: flex; flex-direction: column; gap: 20px; align-self: start; margin-top: -28px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--gray-800); }
.form-group input, .form-group textarea {
  padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-family: var(--font-body); font-size: max(1rem, 0.9375rem); color: var(--black);
  background: var(--white); transition: border-color 0.2s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ─── FOOTER ─── */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--gray-200); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .nav-logo { margin-left: 0; }
.footer-brand p { font-size: 0.875rem; color: var(--gray-500); margin-top: 12px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; color: var(--black); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: var(--gray-500); transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: var(--black); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem; color: var(--gray-500);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid, .pricing-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* Layout */
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  /* Nav CTA smaller, toggle bigger touch target */
  .nav-cta { font-size: 0.75rem; padding: 9px 14px; min-height: 40px; }
  .nav-toggle { padding: 11px; }
  /* Dropdown links: bigger touch targets on mobile */
  .nav-right .nav-links-dropdown a { padding: 13px 14px; font-size: 0.875rem; }
  /* Grids single-column */
  .services-grid, .pricing-grid, .testimonials-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* Hero */
  .hero { min-height: auto; padding: 130px 0 72px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero p { font-size: 1rem; }
  /* Stats */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-number { font-size: 2.25rem; }
  /* CTA banner */
  .cta-banner { padding: 72px 0; }
  .cta-banner .section-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  /* Section titles */
  .section-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  /* Marquee */
  .marquee-section { padding: 20px 0; }
  /* Pricing cards */
  .pricing-card.featured { order: -1; }
  /* Quiz */
  .pkg-quiz-options { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .team-grid { grid-template-columns: 1fr; }
  /* Full-width buttons on small screens */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  /* Tighten hero text-to-button gap */
  .hero p { margin-bottom: 20px; }
  /* Services grid: force single column even with inline style */
  .services-grid { grid-template-columns: 1fr !important; }
  /* Footer stacks completely */
  .footer-grid { grid-template-columns: 1fr; }
  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; }
  /* Pricing quiz */
  .pkg-quiz-options { grid-template-columns: 1fr; }
  /* Input sizing - prevent iOS zoom (font-size must be ≥16px) */
  .form-group input, .form-group textarea, .form-group select { font-size: 1rem; }
  /* Nav dropdown full width on very small */
  .nav-right .nav-links-dropdown { right: -16px; min-width: 180px; }
  /* CTA banner */
  .cta-banner { padding: 60px 0; }
  .cta-banner .btn-primary { width: 100%; justify-content: center; }
}

[id] { scroll-margin-top: 80px; }

/* ─── SCROLL PROGRESS BAR ─── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  z-index: 999; transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(91,164,245,0.6);
}

/* ─── CURSOR GLOW ─── */
.cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,164,245,0.10) 0%, transparent 70%);
  top: 0; left: 0;
  will-change: transform;
  transition: opacity 0.3s;
  opacity: 0;
}

/* ─── FEATURED PRICING GLOW ANIMATION ─── */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 8px 40px rgba(91,164,245,0.12), 0 0 0 0 rgba(91,164,245,0.25); }
  50% { box-shadow: 0 8px 40px rgba(91,164,245,0.25), 0 0 0 6px rgba(91,164,245,0.08); }
}
.pricing-card.featured { animation: glow-pulse 3s ease-in-out infinite; }

/* ─── BUTTON RIPPLE ─── */
.btn-primary, .btn-secondary, .pricing-btn, .nav-cta {
  position: relative; overflow: hidden;
}
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0); animation: ripple-out 0.55s linear;
  pointer-events: none;
}
.pricing-btn .ripple { background: rgba(0,0,0,0.08); }
@keyframes ripple-out {
  to { transform: scale(4); opacity: 0; }
}

/* ─── HERO EXTRA ORBS ─── */
.hero-gradient-3 { background: #a78bfa; top: 40%; left: 30%; animation-delay: -5s; opacity: 0.07; width: 400px; height: 400px; }
.hero-gradient-4 { background: var(--blue); bottom: 10%; right: 20%; animation-delay: -15s; opacity: 0.08; width: 300px; height: 300px; }

/* ─── SECTION LABEL ANIMATED UNDERLINE ─── */
.section-label {
  display: inline-block; position: relative;
}
.section-label::after {
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1.5px; background: var(--blue);
  transition: width 0.6s cubic-bezier(0.16,1,0.3,1) 0.3s;
}
.reveal.visible .section-label::after, .reveal-clip.visible .section-label::after { width: 100%; }

/* ─── TESTIMONIAL CARD 3D ─── */
.testimonial-card { transform-style: preserve-3d; }

/* ─── PRICING CARD 3D ─── */
.pricing-card:not(.featured) { transform-style: preserve-3d; }

/* ══════════════════════════════════════════════
   OUR PROCESS
══════════════════════════════════════════════ */
/* Process section */
.process { background: #e8eff7; padding: 120px 0; }
.process-intro { margin-bottom: 64px; }
.process-intro .section-sub {
  font-size: 1.0625rem; color: var(--gray-500);
  margin-top: 14px; max-width: 480px;
}
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; perspective: 1200px;
}
.process-card {
  background: var(--white); border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.03);
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default; transition: box-shadow 0.3s;
}
.process-num {
  font-family: var(--font-heading); font-size: 4rem; font-weight: 700;
  color: rgba(91,164,245,0.22); letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 28px; display: block;
  transition: color 0.3s;
}
.process-card:hover .process-num { color: rgba(91,164,245,0.45); }
.process-card h3 {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--black); margin-bottom: 14px; letter-spacing: -0.015em;
}
.process-card p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.72; }
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .process { padding: 80px 0; }
  .process-grid { grid-template-columns: 1fr; gap: 14px; perspective: none; }
  .process-card { padding: 32px 28px; }
  .process-num { font-size: 3rem; }
}
@media (max-width: 480px) {
  .process-card { padding: 26px 22px; }
}

/* ─── PORTFOLIO RESPONSIVE ─── */
@media (max-width: 768px) {
  .portfolio-grid { gap: 16px; perspective: none; }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card { border-radius: 16px; }
}

/* ── Package Finder Section ── */
.pkg-finder-section { background: var(--white); padding: 80px 0 120px; }
.pkg-finder {
  background: var(--gray-50); border-radius: 24px;
  border: 1px solid var(--gray-200); padding: 64px;
  text-align: center; overflow: hidden;
}
.pkg-finder-header { margin-bottom: 48px; }
.pkg-finder-header h2 { font-size: 2rem; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pkg-question { display: none; flex-direction: column; align-items: center; animation: fadeSlideIn 0.45s cubic-bezier(0.16,1,0.3,1); }
.pkg-question.active { display: flex; }
.pkg-result { display: none; flex-direction: column; align-items: center; animation: fadeSlideIn 0.5s cubic-bezier(0.16,1,0.3,1); }
.pkg-result.active { display: flex; }
.pkg-q-text { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; color: var(--black); margin-bottom: 32px; max-width: 560px; }
.pkg-q-sub { font-size: 0.9375rem; color: var(--gray-500); margin-top: -20px; margin-bottom: 32px; }
.pkg-choices { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.pkg-choice { padding: 14px 32px; border-radius: 12px; border: 1.5px solid var(--gray-200); background: var(--white); font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600; color: var(--black); cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s; }
.pkg-choice:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(91,164,245,0.15); transform: translateY(-2px); background: var(--blue-light); }
.pkg-result-emoji { font-size: 3rem; margin-bottom: 16px; }
.pkg-result-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.pkg-result h3 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.pkg-result .pkg-price { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.pkg-result p { font-size: 1rem; color: var(--gray-500); max-width: 460px; margin-bottom: 32px; }
.pkg-result-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pkg-restart { padding: 10px 20px; border-radius: 10px; border: 1.5px solid var(--gray-200); background: transparent; font-size: 0.875rem; color: var(--gray-600); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.pkg-restart:hover { border-color: var(--gray-400); color: var(--black); }
.pkg-progress { display: flex; gap: 8px; margin-bottom: 40px; }
.pkg-progress-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); transition: background 0.3s, transform 0.3s; }
.pkg-progress-dot.active { background: var(--blue); transform: scale(1.3); }
.pkg-progress-dot.done { background: var(--blue-dark); }

/* ── Package Finder Responsive ── */
@media (max-width: 1024px) {
  .pkg-finder { padding: 48px 32px; }
}
@media (max-width: 768px) {
  .pkg-finder { padding: 40px 24px; }
  .pkg-q-text { font-size: 1.125rem; }
  .pkg-quiz-options { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   PAGE HERO (inner pages — services, work, contact)
══════════════════════════════════════════════ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-gradient {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  filter: blur(120px); opacity: 0.12; animation: float 20s ease-in-out infinite;
}
.page-hero-gradient-1 { background: var(--blue); top: -200px; right: -100px; }
.page-hero-gradient-2 { background: var(--blue-dark); bottom: -200px; left: -100px; animation-delay: -10s; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label {
  display: inline-block; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue); margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -0.03em; color: var(--black);
  line-height: 1.1; margin-bottom: 20px;
}
.page-hero p {
  font-size: 1.125rem; color: var(--gray-500); max-width: 560px; line-height: 1.7;
}
.page-hero-divider {
  border: none; border-top: 1px solid var(--gray-200); margin-top: 64px;
}

/* ══════════════════════════════════════════════
   SERVICES DETAIL PAGE
══════════════════════════════════════════════ */
.services-detail { background: var(--white); }
.services-detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 64px;
}
.service-detail-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 20px;
  padding: 48px 40px; transition: all 0.35s var(--ease);
}
.service-detail-card:hover {
  transform: translateY(-4px); box-shadow: 0 24px 64px rgba(0,0,0,0.07);
  border-color: transparent;
}
.service-detail-card .service-icon {
  width: 56px; height: 56px; margin-bottom: 28px; border-radius: 14px;
}
.service-detail-card .service-icon svg { width: 26px; height: 26px; }
.service-detail-card h3 { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; margin-bottom: 14px; color: var(--black); }
.service-detail-card .service-desc { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 28px; }
.service-includes-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gray-400); margin-bottom: 14px;
}
.service-includes { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-includes li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--gray-600); }
.service-includes li svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2; flex-shrink: 0; }

/* ══════════════════════════════════════════════
   WORK PAGE
══════════════════════════════════════════════ */
.work-section { background: var(--white); }
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 64px;
}
.work-card {
  border-radius: 20px; background: var(--gray-100); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.09), 0 8px 32px rgba(0,0,0,0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none; display: block;
}
.work-card:hover { box-shadow: 0 0 0 1px rgba(0,0,0,0.13), 0 20px 56px rgba(0,0,0,0.22); transform: translateY(-4px); }
.work-card-img-wrap { overflow: hidden; aspect-ratio: 16/10; }
.work-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.work-card:hover .work-card-img { transform: scale(1.04); }
.work-card-info {
  padding: 28px 32px; background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.work-card-info h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.work-card-tag { font-size: 0.8125rem; color: var(--gray-500); }
.work-card-arrow {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 0.8125rem; font-weight: 600; color: var(--blue);
  transition: gap 0.2s;
}
.work-card:hover .work-card-arrow { gap: 10px; }

/* ══════════════════════════════════════════════
   PROJECT DETAIL PAGE
══════════════════════════════════════════════ */
.project-hero {
  padding: 160px 0 80px; background: var(--black); position: relative; overflow: hidden;
}
.project-hero-orb {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  filter: blur(100px); opacity: 0.12;
}
.project-hero-orb-1 { background: var(--blue); top: -200px; right: -100px; }
.project-hero-orb-2 { background: var(--blue-dark); bottom: -200px; left: -100px; }
.project-hero .container { position: relative; z-index: 1; }
.project-hero-tag {
  display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 20px;
}
.project-hero h1 {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -0.03em; color: var(--white);
  line-height: 1.1; margin-bottom: 24px;
}
.project-hero-desc { font-size: 1.125rem; color: rgba(255,255,255,0.65); max-width: 600px; line-height: 1.7; }
.project-hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 10px;
  font-size: 0.9rem; font-weight: 500; transition: all 0.25s var(--ease);
}
.btn-back:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }
.btn-live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: var(--blue); color: var(--white);
  border-radius: 10px; font-size: 0.9rem; font-weight: 600;
  transition: all 0.25s var(--ease);
}
.btn-live:hover { background: var(--blue-dark); transform: translateY(-2px); }

.project-content { padding: 80px 0; }
.project-content .container { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.project-screenshots-col { display: flex; flex-direction: column; gap: 20px; }
.project-screenshot {
  width: 100%; border-radius: 16px; border: 1px solid var(--gray-200); display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.project-sidebar { position: sticky; top: 100px; }
.project-sidebar-card {
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 16px;
  padding: 32px; margin-bottom: 24px;
}
.project-sidebar-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 20px; }
.project-sidebar-card p { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; }
.project-meta-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.project-meta-list li { display: flex; flex-direction: column; gap: 2px; }
.project-meta-list .meta-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); }
.project-meta-list .meta-value { font-size: 0.9375rem; color: var(--gray-800); font-weight: 500; }

/* ══════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════ */
.contact-page { background: var(--white); }
.contact-page-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; margin-top: 64px; align-items: start;
}
.contact-page-info { display: flex; flex-direction: column; gap: 36px; }
.contact-page-info .contact-item { display: flex; gap: 16px; }
.contact-page-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; background: var(--blue-light); color: var(--blue-dark);
  border-radius: 100px; font-size: 0.8rem; font-weight: 600; margin-bottom: 20px;
}
.contact-page-badge-dot {
  width: 6px; height: 6px; background: var(--blue-dark); border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
.contact-page-heading {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  color: var(--black); margin-bottom: 12px; line-height: 1.2;
}
.contact-page-sub { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.7; }
.contact-divider { border: none; border-top: 1px solid var(--gray-200); margin: 8px 0; }

/* ══════════════════════════════════════════════
   PRICING COMPARISON TABLE
══════════════════════════════════════════════ */
.pricing-compare { margin-top: 64px; }
.pricing-compare-title {
  text-align: center; font-family: var(--font-heading); font-size: 1.25rem;
  font-weight: 700; color: var(--black); margin-bottom: 32px; letter-spacing: -0.01em;
}
.pricing-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; border: 1px solid var(--gray-200); }
.pricing-compare-table {
  width: 100%; border-collapse: collapse; min-width: 560px;
  font-size: 0.875rem;
}
.pricing-compare-table thead tr { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.pricing-compare-table thead th {
  padding: 18px 24px; text-align: center; font-weight: 700;
  font-family: var(--font-heading); color: var(--black); font-size: 0.9375rem;
}
.pricing-compare-table thead th:first-child { text-align: left; color: var(--gray-500); font-weight: 500; font-size: 0.8125rem; }
.pricing-compare-table thead th.col-featured { background: var(--black); color: var(--white); }
.pricing-compare-table thead th .col-price {
  display: block; font-size: 0.8125rem; font-weight: 500; margin-top: 2px;
  opacity: 0.65;
}
.pricing-compare-table thead th.col-featured .col-price { opacity: 0.7; }
.pricing-compare-table tbody tr { border-bottom: 1px solid var(--gray-100); transition: background 0.15s; }
.pricing-compare-table tbody tr:last-child { border-bottom: none; }
.pricing-compare-table tbody tr:hover { background: var(--gray-50); }
.pricing-compare-table tbody td {
  padding: 14px 24px; text-align: center; color: var(--gray-600);
}
.pricing-compare-table tbody td:first-child { text-align: left; color: var(--gray-700); font-weight: 500; }
.pricing-compare-table tbody td.col-featured { background: rgba(91,164,245,0.05); font-weight: 600; color: var(--black); }
.pct-check { color: var(--blue); font-size: 1.1rem; }
.pct-dash { color: var(--gray-300); font-size: 1.1rem; }
.pct-add { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; }

/* ─── RESPONSIVE (inner pages) ─── */
@media (max-width: 1024px) {
  .services-detail-grid { grid-template-columns: 1fr; }
  .project-content .container { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }
}
@media (max-width: 768px) {
  .work-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-hero { padding: 120px 0 56px; }
  .project-hero h1 { font-size: clamp(1.75rem, 6vw, 3rem); }
  .project-hero-desc { font-size: 1rem; }
  .page-hero { padding: 120px 0 56px; }
  .page-hero p { font-size: 1rem; }
  .services-detail-header h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .work-card-img { height: 220px; }
  /* Project detail layout: screenshot first, sidebar below */
  .project-screenshots-col img { border-radius: 14px; }
}
@media (max-width: 480px) {
  .project-hero { padding: 110px 0 48px; }
  .page-hero { padding: 110px 0 48px; }
  .work-card-img { height: 180px; }
  .project-hero-actions { flex-direction: column; }
  /* Pricing compare table: ensure it scrolls */
  .pricing-compare-wrap { border-radius: 14px; }
  .pricing-compare-table { font-size: 0.8125rem; }
}
