/* ═══════════════════════════════════════════════════════════════
   TECH-X — Corporate Software Solutions Website
   Design System, Animations & Responsive Layout
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  /* Brand colors */
  --deep: #1A1A2E;
  --accent: #6C63FF;
  --service-web: #6C63FF;
  --service-mobile: #00D4AA;
  --service-ai: #FF6B6B;
  --service-design: #FFD93D;
  --service-uiux: #4ECDC4;

  /* Light theme (default) */
  --bg-primary: #dcdcdc;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-elevated: #F0F2F8;
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A6A;
  --text-muted: #8888A0;
  --border-color: rgba(108, 99, 255, 0.12);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 8px 40px rgba(108, 99, 255, 0.12);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);

  --nav-height: 80px;
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-mono: 'Fira Code', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-lg: 24px;
}

/* Light theme is now the default in :root */
[data-theme="light"] {
  --bg-primary: #dcdcdc;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-elevated: #F0F2F8;
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A6A;
  --text-muted: #8888A0;
  --border-color: rgba(108, 99, 255, 0.12);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 8px 40px rgba(108, 99, 255, 0.12);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
  --bg-primary: #1A1A2E;
  --bg-secondary: #16213E;
  --bg-card: #1F2544;
  --bg-elevated: #252B48;
  --text-primary: #F0F0F5;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B80;
  --border-color: rgba(108, 99, 255, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.15);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }
fieldset { border: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 5rem 0; position: relative; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }

/* ─── Typography ─── */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  font-size: 1.05rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc { margin: 0 auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #5a52e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
}

.btn-outline {
  border-color: var(--border-color);
  color: var(--text-primary);
  background: transparent;
}

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

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-service {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.service-web-cta { background: var(--service-web); color: #fff; }
.service-mobile-cta { background: var(--service-mobile); color: #1A1A2E; }
.service-ai-cta { background: var(--service-ai); color: #fff; }
.service-design-cta { background: var(--service-design); color: #1A1A2E; }
.service-uiux-cta { background: var(--service-uiux); color: #1A1A2E; }

/* ─── Service Badges ─── */
.service-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-badge-web { background: rgba(108, 99, 255, 0.15); color: var(--service-web); }
.service-badge-mobile { background: rgba(0, 212, 170, 0.15); color: var(--service-mobile); }
.service-badge-ai { background: rgba(255, 107, 107, 0.15); color: var(--service-ai); }
.service-badge-design { background: rgba(255, 217, 61, 0.15); color: var(--service-design); }
.service-badge-uiux { background: rgba(78, 205, 196, 0.15); color: var(--service-uiux); }

.service-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.service-web { background: var(--service-web); }
.service-mobile { background: var(--service-mobile); }
.service-ai { background: var(--service-ai); }
.service-design { background: var(--service-design); }
.service-uiux { background: var(--service-uiux); }

/* ═══════════════════════════════════════════════════════════════
   KEYFRAMES — Service-specific animations
   ═══════════════════════════════════════════════════════════════ */

@keyframes codeType {
  from { width: 0; }
  to { width: 100%; }
}

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

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

@keyframes deployRocket {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-60px) rotate(-15deg); opacity: 0; }
}

@keyframes appInstall {
  0% { transform: scale(0.8) rotateY(90deg); opacity: 0; }
  50% { transform: scale(1.05) rotateY(0deg); opacity: 1; }
  100% { transform: scale(1) rotateY(0deg); opacity: 1; }
}

@keyframes screenTransition {
  0%, 40% { transform: translateX(0); }
  50%, 90% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes phoneRotate {
  0%, 100% { transform: rotateY(-15deg) rotateX(5deg); }
  50% { transform: rotateY(15deg) rotateX(-5deg); }
}

@keyframes notificationPop {
  0%, 70% { transform: translateY(20px); opacity: 0; }
  80%, 95% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.7; }
}

@keyframes neuralFire {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes dataProcess {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes colorBlend {
  0%, 100% { filter: hue-rotate(0deg); transform: scale(1); }
  33% { filter: hue-rotate(60deg); transform: scale(1.1); }
  66% { filter: hue-rotate(-60deg); transform: scale(0.95); }
}

@keyframes logoAssemble {
  0% { transform: translateY(-20px) rotate(-10deg); opacity: 0; }
  100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}

@keyframes floatCreative {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes wireframeTransform {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes prototypeReveal {
  0%, 45% { opacity: 0; transform: scale(0.95); }
  50%, 95% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.95); }
}

@keyframes userFlow {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

@keyframes serviceConnect {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4); }
  50% { transform: scale(1.15); box-shadow: 0 0 20px 4px rgba(108, 99, 255, 0.3); }
}

@keyframes projectFlow {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes metricCount {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoMorph {
  0%, 45% { opacity: 1; transform: rotate(0deg) scale(1); }
  50%, 95% { opacity: 0; transform: rotate(180deg) scale(0.5); }
  100% { opacity: 1; transform: rotate(360deg) scale(1); }
}

@keyframes logoMorphAlt {
  0%, 45% { opacity: 0; transform: rotate(-180deg) scale(0.5); }
  50%, 95% { opacity: 1; transform: rotate(0deg) scale(1); }
  100% { opacity: 0; transform: rotate(180deg) scale(0.5); }
}

@keyframes heroFade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes connectPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(26, 26, 46, 0.85);
  border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Clash Display', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.logo-morph {
  position: relative;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-code, .logo-design {
  position: absolute;
  font-size: 1.1rem;
  color: var(--accent);
}

.logo-code {
  font-family: var(--font-mono);
  animation: logoMorph 4s ease-in-out infinite;
}

.logo-design {
  animation: logoMorphAlt 4s ease-in-out infinite;
}

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

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(108, 99, 255, 0.1);
}

/* Services dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-trigger i {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-dropdown.open .nav-dropdown-trigger i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background var(--transition);
}

.nav-dropdown-menu a:hover {
  background: rgba(108, 99, 255, 0.1);
}

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

.nav-badge {
  display: none;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  background: rgba(108, 99, 255, 0.15);
  color: var(--accent);
  white-space: nowrap;
}

.btn-nav-cta {
  display: none;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.theme-toggle:hover {
  background: rgba(108, 99, 255, 0.1);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

[data-theme="dark"] .menu-toggle {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  box-shadow: none;
}

.menu-toggle:hover {
  background: rgba(108, 99, 255, 0.1);
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

.hamburger-line {
  width: 20px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 1001;
  overflow-y: auto;
  /* Hidden by default: pushed off to the right */
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* Ensure it's a proper block-level stacking context */
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .mobile-menu {
  background: var(--bg-primary);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem 2rem;
  gap: 0.25rem;
  width: 100%;
}

.mobile-link {
  display: block;
  padding: 0.9rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition), color var(--transition);
}

.mobile-link-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0.2rem;
  border-bottom: none;
}

.toggle-icon {
  transition: transform var(--transition);
}

.mobile-link-heading[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.mobile-sub-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition), margin-bottom var(--transition);
  padding-left: 0.5rem;
  margin-bottom: 0;
  border-left: 2px solid var(--border-color);
  margin-left: 1.25rem;
  overflow: hidden;
}

.mobile-sub-menu.open {
  grid-template-rows: 1fr;
  margin-bottom: 0.5rem;
}

.mobile-sub-menu-inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.mobile-link.sub-link {
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  border-bottom: none;
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-link.sub-link i {
  color: var(--accent);
  font-size: 1.1rem;
  opacity: 0.8;
}

.mobile-link.sub-link:hover {
  background: rgba(108, 99, 255, 0.06);
  color: var(--text-primary);
}

.mobile-link:last-child {
  border-bottom: none;
}

.mobile-link:hover {
  background: rgba(108, 99, 255, 0.08);
  color: var(--accent);
}

.mobile-link.btn.btn-primary {
  margin-top: 1.25rem;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-bottom: none;
  border-radius: 50px;
  padding: 1rem 1.25rem;
  font-weight: 600;
  display: block;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

.mobile-link.btn.btn-primary:hover {
  background: #5a52e0;
  color: #fff;
  box-shadow: 0 6px 24px rgba(108, 99, 255, 0.45);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 3rem;
  overflow: hidden;
  gap: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-bg-layer.active { opacity: 1; }

.hero-bg-layer[data-service="web"] {
  background: radial-gradient(ellipse at 30% 50%, rgba(108, 99, 255, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .hero-bg-layer[data-service="web"] {
  background: radial-gradient(ellipse at 30% 50%, rgba(108, 99, 255, 0.25) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-bg-layer[data-service="mobile"] {
  background: radial-gradient(ellipse at 70% 40%, rgba(0, 212, 170, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .hero-bg-layer[data-service="mobile"] {
  background: radial-gradient(ellipse at 70% 40%, rgba(0, 212, 170, 0.2) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-bg-layer[data-service="ai"] {
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 107, 107, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .hero-bg-layer[data-service="ai"] {
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 107, 107, 0.2) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-bg-layer[data-service="design"] {
  background: radial-gradient(ellipse at 40% 30%, rgba(255, 217, 61, 0.06) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .hero-bg-layer[data-service="design"] {
  background: radial-gradient(ellipse at 40% 30%, rgba(255, 217, 61, 0.15) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-bg-layer[data-service="uiux"] {
  background: radial-gradient(ellipse at 60% 50%, rgba(78, 205, 196, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .hero-bg-layer[data-service="uiux"] {
  background: radial-gradient(ellipse at 60% 50%, rgba(78, 205, 196, 0.2) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

/* Hero slideshow */
.hero-slideshow {
  flex: 1;
  position: relative;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .hero-slideshow {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg);
}

.hero-slide.active {
  opacity: 1;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-family: 'Clash Display', 'Poppins', sans-serif;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  min-height: 3.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
  transition: opacity 0.4s ease;
}

.hero-subtitle.fade { opacity: 0; }

.hero-service-label {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-pill {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--border-color);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
}

.hero-pill:hover {
  border-color: var(--text-muted);
}

.hero-pill[data-service="web"].active {
  background: var(--service-web);
  color: #fff;
  border-color: var(--service-web);
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
  transform: scale(1.05);
}
.hero-pill[data-service="mobile"].active {
  background: var(--service-mobile);
  color: #1A1A2E;
  border-color: var(--service-mobile);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
  transform: scale(1.05);
}
.hero-pill[data-service="ai"].active {
  background: var(--service-ai);
  color: #fff;
  border-color: var(--service-ai);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
  transform: scale(1.05);
}
.hero-pill[data-service="design"].active {
  background: var(--service-design);
  color: #1A1A2E;
  border-color: var(--service-design);
  box-shadow: 0 4px 12px rgba(255, 217, 61, 0.3);
  transform: scale(1.05);
}
.hero-pill[data-service="uiux"].active {
  background: var(--service-uiux);
  color: #1A1A2E;
  border-color: var(--service-uiux);
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
  transform: scale(1.05);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeInUp 0.8s ease 0.5s both;
  box-shadow: var(--shadow-card);
}

[data-theme="dark"] .trust-bar {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-color);
  box-shadow: none;
}

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

.trust-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  animation: metricCount 0.6s ease forwards;
}

.trust-suffix {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.trust-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-left: auto;
}

.trust-logo {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES SHOWCASE
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.service-card-visual {
  position: relative;
  height: 220px;
  background: var(--bg-elevated);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex: 1;
}

.service-stats {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-stat strong { color: var(--accent); }

.tech-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-stack-tag {
  padding: 0.2rem 0.6rem;
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.project-card:hover .tech-stack-tag {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Web Development — Premium IDE & Browser ── */
.web-visual-bg {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2B55 100%) !important;
  overflow: hidden;
}

.web-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Premium Code Editor */
.code-editor-premium {
  position: absolute;
  left: 10px;
  top: 20px;
  width: 65%;
  height: 140px;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: rotateY(5deg) rotateX(5deg);
  animation: floatEditor 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

@keyframes floatEditor {
  0%, 100% { transform: translateY(0) rotateY(5deg) rotateX(5deg); }
  50% { transform: translateY(-8px) rotateY(2deg) rotateX(2deg); }
}

.code-editor-bar-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px 12px 0 0;
}

.editor-dots {
  display: flex;
  gap: 6px;
}

.editor-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.editor-dots span:nth-child(1) { background: #FF5F57; }
.editor-dots span:nth-child(2) { background: #FFBD2E; }
.editor-dots span:nth-child(3) { background: #28CA41; }

.code-filename-premium {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #8B949E;
  display: flex;
  align-items: center;
  gap: 4px;
}
.code-filename-premium i { color: #61DAFB; }

.code-editor-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.code-sidebar {
  width: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  align-items: center;
}

.sidebar-line {
  width: 14px; height: 3px; background: rgba(255, 255, 255, 0.1); border-radius: 2px;
}
.sidebar-line.short { width: 8px; }

.code-editor-body-premium {
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #79C0FF;
  line-height: 1.5;
}

/* Mini Browser */
.mini-browser-premium {
  position: absolute;
  right: 10px;
  bottom: 20px;
  width: 55%;
  height: 120px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transform: translateZ(30px) rotateY(-5deg);
  animation: floatBrowser 5s ease-in-out infinite 1s;
  display: flex;
  flex-direction: column;
  z-index: 2;
  overflow: hidden;
}

@keyframes floatBrowser {
  0%, 100% { transform: translateZ(30px) translateY(0) rotateY(-5deg); }
  50% { transform: translateZ(30px) translateY(-5px) rotateY(-2deg); }
}

.browser-bar {
  background: #f0f2f5;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e1e4e8;
}

.browser-address {
  background: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.45rem;
  color: #586069;
  border: 1px solid #e1e4e8;
  width: 80%;
  text-align: center;
}

.browser-body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.browser-hero {
  height: 30px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(108, 99, 255, 0.05));
  border-radius: 6px;
}

.browser-grid {
  display: flex;
  gap: 6px;
}

.browser-grid span {
  flex: 1;
  height: 25px;
  background: #f0f2f5;
  border-radius: 4px;
}

/* Floating Tech Icons */
.floating-tech-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.tech-icon-float {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.tech-icon-float.react { top: 10px; right: 20px; color: #61DAFB; animation: iconFloat 4s ease-in-out infinite; }
.tech-icon-float.node { bottom: 40px; left: 15px; color: #339933; animation: iconFloat 4.5s ease-in-out infinite 0.5s; }
.tech-icon-float.db { top: 60px; right: 50%; color: #336791; animation: iconFloat 3.5s ease-in-out infinite 1s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.1); }
}

/* ── AI Solutions — Premium Dashboard ── */
.ai-visual-bg {
  background: radial-gradient(circle at center, #2B1B3D 0%, #1A1025 100%) !important;
  overflow: hidden;
}

.neural-canvas-premium {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.ai-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* AI Core Orb */
.ai-core-orb {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #FF6B6B, #C92A2A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 0 30px rgba(255, 107, 107, 0.6);
  animation: orbPulse 3s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 20px rgba(255, 107, 107, 0.4); }
  50% { transform: translateX(-50%) scale(1.05); box-shadow: 0 0 40px rgba(255, 107, 107, 0.8); }
}

.orb-ring {
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(255, 107, 107, 0.5);
  border-radius: 50%;
  animation: spinRing 10s linear infinite;
}
.orb-ring.reverse {
  inset: -20px;
  border: 1px dotted rgba(255, 107, 107, 0.3);
  animation: spinRing 15s linear infinite reverse;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

/* Floating Data Pills */
.ai-data-pills {
  position: absolute;
  top: 40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
}

.ai-data-pill {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.5rem;
  color: #A0A0B8;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: floatPill 4s ease-in-out infinite;
}
.ai-data-pill i { color: #FFD93D; }
.ai-data-pill.highlight {
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.3);
  color: #FF6B6B;
  animation-delay: 1s;
}

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

/* Premium Chat */
.ai-chat-premium {
  position: absolute;
  bottom: 15px;
  width: 85%;
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.chat-bubble-premium {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.65rem;
  max-width: 85%;
  line-height: 1.4;
}

.chat-user-premium {
  background: rgba(255, 255, 255, 0.1);
  color: #F0F0F5;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-ai-premium {
  background: rgba(255, 107, 107, 0.15);
  color: #FF6B6B;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-avatar {
  background: #FF6B6B;
  color: #fff;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
}

.ai-response-typing {
  display: flex;
  gap: 3px;
  padding: 0 4px;
}

.ai-response-typing span {
  width: 4px; height: 4px;
  background: currentColor;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}
.ai-response-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-response-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.chat-input-premium {
  margin-top: 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.input-placeholder {
  font-size: 0.6rem;
  color: #6B6B80;
}
.chat-input-premium i {
  color: #FF6B6B;
  font-size: 0.7rem;
}

/* Logo assemble (shared) */
.logo-assemble {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 2px;
}

.logo-piece {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--service-design);
  animation: logoAssemble 0.6s ease forwards;
}

.logo-piece:nth-child(1) { animation-delay: 0s; }
.logo-piece:nth-child(2) { animation-delay: 0.15s; }
.logo-piece:nth-child(3) { animation-delay: 0.3s; }
.logo-piece:nth-child(4) { animation-delay: 0.45s; }

/* Mobile — Premium Phone Mockup */
.mobile-visual-bg {
  background: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0d1f3c 100%) !important;
  overflow: visible;
}

.phone-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.phone-mockup-premium {
  position: relative;
  z-index: 2;
}

.phone-frame-premium {
  width: 130px;
  height: 260px;
  background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
  border-radius: 28px;
  padding: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 212, 170, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 16px;
  background: #1a1a2e;
  border-radius: 0 0 12px 12px;
  z-index: 5;
}

.phone-screen-premium {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 2px;
  font-size: 0.45rem;
  font-weight: 700;
  color: #1a1a2e;
  background: #f8f8fa;
}

.status-icons {
  display: flex;
  gap: 3px;
  font-size: 0.4rem;
}

.app-screen-body {
  flex: 1;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.app-greeting {
  font-size: 0.55rem;
  font-weight: 700;
  color: #1a1a2e;
}

.app-profile-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.app-avatar-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D4AA, #4ECDC4);
  flex-shrink: 0;
}

.app-profile-info {
  display: flex;
  flex-direction: column;
}

.app-profile-name {
  font-size: 0.45rem;
  font-weight: 600;
  color: #1a1a2e;
}

.app-profile-role {
  font-size: 0.35rem;
  color: #8888A0;
}

.app-stats-row {
  display: flex;
  gap: 4px;
}

.app-stat-pill {
  flex: 1;
  background: rgba(0, 212, 170, 0.08);
  border-radius: 8px;
  padding: 4px 6px;
  text-align: center;
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.app-stat-pill.accent {
  background: rgba(0, 212, 170, 0.15);
  border-color: rgba(0, 212, 170, 0.3);
}

.stat-value {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  color: #00D4AA;
}

.stat-label {
  font-size: 0.3rem;
  color: #8888A0;
  text-transform: uppercase;
}

.app-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 30px;
  padding: 4px 0;
}

.chart-bar {
  flex: 1;
  height: var(--h);
  background: rgba(0, 212, 170, 0.25);
  border-radius: 3px 3px 0 0;
  transition: all 0.3s ease;
}

.chart-bar.active {
  background: linear-gradient(180deg, #00D4AA, #4ECDC4);
  box-shadow: 0 0 8px rgba(0, 212, 170, 0.4);
}

.app-card-modern {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(78, 205, 196, 0.05));
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 170, 0.12);
  font-size: 0.42rem;
  font-weight: 600;
  color: #1a1a2e;
}

.app-card-modern i {
  color: #00D4AA;
  font-size: 0.5rem;
}

.card-arrow {
  margin-left: auto;
  color: #8888A0;
  font-size: 0.35rem;
}

.app-nav-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  background: #f8f8fa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.55rem;
  color: #B8B8CC;
}

.app-nav-bar .active-nav {
  color: #00D4AA;
}

.app-nav-bar .nav-fab {
  font-size: 0.75rem;
  color: #00D4AA;
  margin-top: -4px;
}

/* Primary phone animation */
.primary-phone {
  z-index: 3;
  animation: phonePrimaryFloat 5s ease-in-out infinite;
}

@keyframes phonePrimaryFloat {
  0%, 100% { transform: translateY(0) rotateY(-5deg); }
  50% { transform: translateY(-8px) rotateY(5deg); }
}

/* Secondary phone */
.secondary-phone {
  position: absolute;
  right: -20px;
  top: 15px;
  z-index: 1;
  opacity: 0.5;
  transform: scale(0.8) rotateY(-25deg) translateX(30px);
  filter: blur(1px);
}

.secondary-screen {
  padding: 22px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f0f2f8 !important;
}

.secondary-header {
  height: 14px;
  background: rgba(0, 212, 170, 0.3);
  border-radius: 4px;
}

.secondary-card {
  height: 28px;
  background: rgba(0, 212, 170, 0.12);
  border-radius: 6px;
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.secondary-card.short {
  height: 18px;
}

.secondary-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.secondary-list-item {
  height: 10px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
}

/* Floating notification */
.floating-notification {
  position: absolute;
  top: 10px;
  right: 5px;
  background: linear-gradient(135deg, #00D4AA, #4ECDC4);
  color: #1A1A2E;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.55rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.4);
  z-index: 10;
  animation: notifFloat 3s ease-in-out infinite;
}

@keyframes notifFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-5px) scale(1.05); opacity: 0.9; }
}

/* Platform badges */
.platform-badges {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 50px;
  font-size: 0.55rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.platform-badge.apple {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.platform-badge.android {
  background: rgba(0, 212, 170, 0.12);
  color: #00D4AA;
}

.platform-badge.cross {
  background: rgba(78, 205, 196, 0.12);
  color: #4ECDC4;
}

/* ── Graphic Design — Premium Palette ── */
.design-visual-bg {
  background: linear-gradient(135deg, #1a1a2e 0%, #252b48 50%, #1f2544 100%) !important;
  overflow: visible;
}

.design-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.color-palette-premium {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
}

.palette-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.palette-label {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.palette-row {
  display: flex;
  gap: 4px;
}

.palette-swatch-premium {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--swatch);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: swatchPop 0.5s ease var(--delay) both;
  cursor: pointer;
}

.palette-swatch-premium:hover {
  transform: scale(1.2) translateY(-3px);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.4),
    0 0 20px color-mix(in srgb, var(--swatch) 50%, transparent);
}

@keyframes swatchPop {
  from { transform: scale(0) rotate(-15deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.palette-arrow {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.55rem;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.25; }
  50% { transform: translateX(3px); opacity: 0.6; }
}

/* Gradient orbs */
.design-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.design-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.25;
}

.orb-1 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #6C63FF, transparent 70%);
  top: -20px;
  left: -20px;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, #FF6B9D, transparent 70%);
  bottom: -10px;
  right: -10px;
  animation: orbFloat 6s ease-in-out 2s infinite;
}

.orb-3 {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, #4ECDC4, transparent 70%);
  top: 50%;
  right: 30%;
  animation: orbFloat 7s ease-in-out 1s infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -10px) scale(1.1); }
  66% { transform: translate(-10px, 15px) scale(0.9); }
}

.design-showcase .logo-assemble {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.design-showcase .logo-piece {
  color: #FFD93D;
  text-shadow: 0 0 12px rgba(255, 217, 61, 0.4);
}

.design-tools-premium {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.design-tool-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  animation: floatCreative 3s ease-in-out infinite;
}

.design-tool-badge:nth-child(2) { animation-delay: 0.5s; }
.design-tool-badge:nth-child(3) { animation-delay: 1s; }

.design-tool-badge:hover {
  background: rgba(255, 217, 61, 0.15);
  color: #FFD93D;
  border-color: rgba(255, 217, 61, 0.3);
}

/* ── UI/UX — Phone Showcase (Wireframe → Design) ── */
.uiux-visual-bg {
  background: linear-gradient(135deg, #0d2137 0%, #162b44 50%, #0a1e35 100%) !important;
  overflow: visible;
}

.uiux-phone-showcase {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  height: 100%;
  width: 100%;
  justify-content: center;
}

.uiux-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.uiux-phone-frame {
  width: 92px;
  height: 175px;
  background: linear-gradient(145deg, #3a3a4e, #2a2a3e);
  border-radius: 18px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.uiux-phone-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 10px;
  background: #2a2a3e;
  border-radius: 0 0 8px 8px;
  z-index: 5;
}

.uiux-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}

/* Wireframe screen */
.wireframe-screen {
  background: #f0f2f4;
  padding: 16px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wire-element {
  border: 1.5px dashed #B8B8CC;
  border-radius: 3px;
  background: transparent;
}

.wire-top-bar {
  height: 8px;
  width: 100%;
}

.wire-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  align-self: center;
  margin: 2px 0;
}

.wire-title-line {
  height: 5px;
  width: 70%;
}

.wire-text-line {
  height: 3px;
  width: 90%;
}

.wire-text-line.short {
  width: 55%;
}

.wire-row {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.wire-btn {
  flex: 1;
  height: 10px;
}

.wire-card-block {
  height: 18px;
  margin-top: 2px;
}

.wire-card-block.small {
  height: 12px;
}

/* Phone labels */
.phone-label {
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

/* Morph arrow */
.morph-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #4ECDC4;
  font-size: 0.7rem;
  animation: morphPulse 2s ease-in-out infinite;
}

.morph-dots {
  display: flex;
  gap: 3px;
}

.morph-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4ECDC4;
  animation: dotWave 1.5s ease-in-out infinite;
}

.morph-dots span:nth-child(2) { animation-delay: 0.15s; }
.morph-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes dotWave {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes morphPulse {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(4px); opacity: 1; }
}

/* Polished screen */
.polished-frame {
  border-color: rgba(78, 205, 196, 0.2);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(78, 205, 196, 0.1);
}

.polished-screen {
  background: #fff;
  padding: 16px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.polished-header {
  display: flex;
  align-items: center;
  gap: 5px;
}

.polished-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ECDC4, #00D4AA);
  flex-shrink: 0;
}

.polished-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ph-name {
  width: 38px;
  height: 4px;
  background: #1a1a2e;
  border-radius: 2px;
}

.ph-sub {
  width: 28px;
  height: 3px;
  background: #B8B8CC;
  border-radius: 2px;
}

.polished-hero-card {
  height: 32px;
  background: linear-gradient(135deg, #4ECDC4, #00D4AA);
  border-radius: 8px;
  opacity: 0.85;
}

.polished-pills {
  display: flex;
  gap: 3px;
}

.pp {
  height: 8px;
  flex: 1;
  border-radius: 4px;
  background: rgba(78, 205, 196, 0.12);
  border: 1px solid rgba(78, 205, 196, 0.15);
}

.pp.active {
  background: rgba(78, 205, 196, 0.25);
  border-color: #4ECDC4;
}

.polished-list-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 0;
}

.pli-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B8B8CC;
  flex-shrink: 0;
}

.pli-dot.accent {
  background: #4ECDC4;
}

.pli-text {
  flex: 1;
  height: 3px;
  background: #e0e0e0;
  border-radius: 2px;
}

.pli-badge {
  width: 16px;
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.06);
}

.pli-badge.accent {
  background: rgba(78, 205, 196, 0.3);
}

.polished-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 5px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pn-item {
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: #d0d0d0;
}

.pn-item.active {
  background: #4ECDC4;
  width: 16px;
}

/* Wireframe phone hover animation */
.wireframe-phone {
  animation: wirePhoneFloat 4s ease-in-out infinite;
}

.polished-phone {
  animation: polishedPhoneFloat 4s ease-in-out 0.5s infinite;
}

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

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

/* UX Tool badges */
.ux-tool-badges {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}

.ux-tool-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 50px;
  font-size: 0.5rem;
  font-weight: 600;
  background: rgba(78, 205, 196, 0.1);
  color: #4ECDC4;
  border: 1px solid rgba(78, 205, 196, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════════════════════════════
   INTEGRATED SOLUTIONS
   ═══════════════════════════════════════════════════════════════ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.package-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

.package-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08) 0%, var(--bg-card) 100%);
}

.package-badge, .pricing-badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
}

.package-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
}

.connect-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  animation: serviceConnect 2s ease-in-out infinite;
}

.connect-icon.service-web { background: rgba(108,99,255,0.2); color: var(--service-web); animation-delay: 0s; }
.connect-icon.service-mobile { background: rgba(0,212,170,0.2); color: var(--service-mobile); animation-delay: 0.3s; }
.connect-icon.service-ai { background: rgba(255,107,107,0.2); color: var(--service-ai); animation-delay: 0.6s; }
.connect-icon.service-design { background: rgba(255,217,61,0.2); color: var(--service-design); animation-delay: 0.9s; }
.connect-icon.service-uiux { background: rgba(78,205,196,0.2); color: var(--service-uiux); animation-delay: 1.2s; }

.connect-line {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  animation: connectPulse 2s ease-in-out infinite;
}

.package-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.package-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.package-includes {
  margin-bottom: 1.5rem;
}

.package-includes li {
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.package-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════ */
.process-pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.process-track {
  display: none;
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--border-color);
  border-radius: 3px;
  z-index: 0;
}

.process-track-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--service-mobile));
  border-radius: 3px;
  transition: width 1s ease;
  animation: projectFlow 8s ease-in-out infinite alternate;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.process-step.active,
.process-step.in-view {
  background: rgba(108, 99, 255, 0.08);
}

.process-step-icon {
  position: relative;
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
  transition: all var(--transition);
}

.process-step.active .process-step-icon,
.process-step.in-view .process-step-icon {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
}

.process-step-num {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.process-step-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.process-expand {
  font-size: 0.75rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.process-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  text-align: left;
}

.process-detail p {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
}

.process-step.expanded .process-detail { max-height: 100px; }
.process-step.expanded .process-expand i { transform: rotate(180deg); }

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO — Real Projects Showcase
   ═══════════════════════════════════════════════════════════════ */
.portfolio-section {
  position: relative;
  overflow: hidden;
}

.portfolio-bg-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .portfolio-bg-glow {
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
}

/* Portfolio Stats Bar */
.portfolio-stats-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.portfolio-stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-stat-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.portfolio-stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.portfolio-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Filter buttons */
.portfolio-filters,
.testimonial-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn, .filter-btn-sm {
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-btn i {
  font-size: 0.75rem;
  opacity: 0.7;
}

.filter-btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
}

.filter-btn.active, .filter-btn-sm.active,
.filter-btn:hover, .filter-btn-sm:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

.filter-btn.active i, .filter-btn:hover i {
  opacity: 1;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

/* Portfolio Item Card */
.portfolio-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: portfolioCardIn 0.6s ease forwards;
  animation-delay: var(--card-delay, 0s);
  opacity: 0;
  transform: translateY(20px);
  box-shadow: var(--shadow-card);
  position: relative;
}

@keyframes portfolioCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--service-color, var(--accent));
}

[data-theme="dark"] .portfolio-item:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(108, 99, 255, 0.1), 0 0 0 1px var(--service-color, var(--accent));
}

/* Portfolio Thumbnail */
.portfolio-thumb {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
}

.portfolio-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.portfolio-item:hover .portfolio-thumb-img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

/* Fallback for projects without images */
.portfolio-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
}

.portfolio-thumb-fallback i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-thumb-fallback i {
  transform: scale(1.15) rotate(-5deg);
}

.portfolio-thumb-fallback .fallback-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hover Overlay */
.portfolio-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.portfolio-item:hover .portfolio-thumb-overlay {
  opacity: 1;
}

.portfolio-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1A1A2E;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: translateY(12px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover .portfolio-overlay-btn {
  transform: translateY(0);
}

/* Year Badge */
.portfolio-year-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 3;
  letter-spacing: 0.03em;
}

/* Platform Badge */
.portfolio-platform-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 500;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.portfolio-platform-badge i {
  font-size: 0.6rem;
}

/* Portfolio Body */
.portfolio-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.portfolio-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Tech Stack Pills Row */
.portfolio-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.portfolio-tech-pill {
  padding: 0.2rem 0.55rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.portfolio-tech-pill.more {
  background: rgba(108, 99, 255, 0.1);
  color: var(--accent);
  border-color: rgba(108, 99, 255, 0.2);
}

.portfolio-item:hover .portfolio-tech-pill {
  border-color: rgba(108, 99, 255, 0.15);
}

/* Portfolio Footer */
.portfolio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.portfolio-metric {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--service-color, var(--accent));
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.portfolio-metric i {
  font-size: 0.7rem;
  opacity: 0.8;
}

.portfolio-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: all var(--transition);
}

.portfolio-item:hover .portfolio-arrow {
  background: var(--service-color, var(--accent));
  color: #fff;
  transform: translateX(3px);
}

/* View Counter */
.portfolio-view-counter {
  text-align: center;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
}

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

.showing-text strong {
  color: var(--accent);
}

/* Summary line was removed */
.portfolio-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  z-index: 1;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.lightbox.open .lightbox-content {
  transform: scale(1) translateY(0);
}

.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
  font-size: 0.9rem;
}

.lightbox-close:hover {
  background: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}

/* Lightbox Hero */
.lightbox-hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.lightbox-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-hero-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-hero-fallback i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
}

.lightbox-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: flex-end;
}

/* Lightbox Details */
.lightbox-details {
  padding: 1.75rem 2rem 2rem;
}

.lightbox-header {
  margin-bottom: 1rem;
}

.lightbox-project-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.lightbox-project-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Meta Row */
.lightbox-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.lightbox-meta-chip {
  padding: 0.35rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lightbox-meta-chip i {
  color: var(--accent);
  font-size: 0.7rem;
}

/* Case Study Sections */
.lightbox-case-study {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lightbox-section {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.lightbox-section-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.lightbox-section h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.lightbox-section p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.lightbox-result {
  color: var(--accent) !important;
  font-weight: 600;
}

/* Metric Highlight */
.lightbox-metric-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(108, 99, 255, 0.03));
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: var(--radius);
  text-align: center;
}

[data-theme="dark"] .lightbox-metric-highlight {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(108, 99, 255, 0.05));
}

.lightbox-metric-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--lb-color, var(--accent));
}

.lightbox-metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Tech Stack Section */
.lightbox-tech-section {
  margin-bottom: 0.5rem;
}

.lightbox-tech-section h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.lightbox-tech-section h4 i {
  color: var(--accent);
}

.lightbox-tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lightbox-tech-tag {
  padding: 0.35rem 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.lightbox-tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(108, 99, 255, 0.08);
}



/* ═══════════════════════════════════════════════════════════════
   TECH STACK VISUALIZER (Premium Overhaul)
   ═══════════════════════════════════════════════════════════════ */
.tech-visualizer {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.tech-service-nodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tech-node {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.tech-node i {
  font-size: 1.1rem;
}

.tech-node:hover {
  transform: translateY(-2px);
  color: var(--text-color);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.15);
}

.tech-node.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #4834d4);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.25);
}

/* Specific theme active colors */
.tech-node.active[data-service="mobile"] {
  background: linear-gradient(135deg, #00D4AA, #00b894);
  border-color: #00D4AA;
  box-shadow: 0 8px 20px rgba(0, 212, 170, 0.25);
}
.tech-node.active[data-service="ai"] {
  background: linear-gradient(135deg, #FF6B6B, #ee5a24);
  border-color: #FF6B6B;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.25);
}
.tech-node.active[data-service="design"] {
  background: linear-gradient(135deg, #FFD93D, #f0932b);
  border-color: #FFD93D;
  color: #1a1a1a;
  box-shadow: 0 8px 20px rgba(255, 217, 61, 0.25);
}
.tech-node.active[data-service="uiux"] {
  background: linear-gradient(135deg, #4ECDC4, #0abde3);
  border-color: #4ECDC4;
  box-shadow: 0 8px 20px rgba(78, 205, 196, 0.25);
}

.tech-visualizer-content {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 2.5rem;
  align-items: center;
}

.tech-visualizer-left {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, rgba(108, 99, 255, 0.03) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.tech-graphic-container {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  position: relative;
}

/* SVG Styling */
.tech-svg {
  overflow: visible;
}

.tech-svg-line {
  transition: stroke 0.5s ease, stroke-width 0.3s ease, opacity 0.3s ease;
}

.tech-svg-line.active {
  stroke-width: 3px;
  opacity: 0.8 !important;
}

.tech-svg-line-flow {
  stroke-dasharray: 8, 8;
  animation: techLineFlow 1.5s linear infinite;
  transition: stroke 0.5s ease;
}

@keyframes techLineFlow {
  to {
    stroke-dashoffset: -16;
  }
}

.tech-center-node {
  transition: all 0.5s ease;
  filter: drop-shadow(0 0 15px rgba(108, 99, 255, 0.2));
}

.tech-orbit-node {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-orbit-node:hover,
.tech-orbit-node.active {
  r: 25;
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 12px var(--node-color));
}

.tech-orbit-label {
  pointer-events: none;
  font-family: var(--font-mono);
  font-weight: 600;
  fill: var(--text-color);
  transition: font-size 0.3s ease;
}

/* Tech Grid & Cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Custom Scrollbar for Tech Grid */
.tech-grid::-webkit-scrollbar {
  width: 6px;
}
.tech-grid::-webkit-scrollbar-track {
  background: transparent;
}
.tech-grid::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}
.tech-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.tech-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-color, var(--accent));
  transition: height 0.3s ease;
  border-radius-top-left: var(--radius);
  border-radius-bottom-left: var(--radius);
}

.tech-card:hover,
.tech-card.active {
  transform: translateY(-3px);
  border-color: var(--accent-color, var(--accent));
  background: var(--bg-card);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.tech-card:hover::before,
.tech-card.active::before {
  height: 100%;
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tech-card-icon {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.tech-card:hover .tech-card-icon {
  transform: scale(1.15) rotate(5deg);
}

.tech-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.tech-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
}

.tech-card-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--accent-color, var(--accent));
}

.tech-card-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .tech-visualizer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tech-visualizer-left {
    display: none; /* Hide visualizer graph on tablets/mobile to keep it clean */
  }
  .tech-grid {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

@media (max-width: 575px) {
  .tech-service-nodes {
    gap: 0.5rem;
  }
  .tech-node {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS CAROUSEL
   ═══════════════════════════════════════════════════════════════ */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.testimonial-progression {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-phase {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.testimonial-phase.challenge { background: rgba(255, 107, 107, 0.1); border-left: 3px solid var(--service-ai); }
.testimonial-phase.solution { background: rgba(108, 99, 255, 0.1); border-left: 3px solid var(--accent); }
.testimonial-phase.delight { background: rgba(0, 212, 170, 0.1); border-left: 3px solid var(--service-mobile); }

.testimonial-phase strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

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

.testimonial-name { font-weight: 600; }
.testimonial-role { font-size: 0.85rem; color: var(--text-muted); }

.testimonial-metric {
  margin-left: auto;
  text-align: right;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.testimonial-metric span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(108,99,255,0.08) 0%, var(--bg-card) 100%);
}

.pricing-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  background: rgba(108, 99, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent);
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.pricing-features {
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   INQUIRY FORM
   ═══════════════════════════════════════════════════════════════ */
.inquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.inquiry-benefits {
  margin-top: 1.5rem;
}

.inquiry-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.inquiry-benefits i { color: var(--service-mobile); }

.inquiry-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

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

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

.form-group label,
.form-group legend {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--service-ai);
}

.form-error {
  display: block;
  font-size: 0.75rem;
  color: var(--service-ai);
  margin-top: 0.25rem;
  min-height: 1rem;
}

.service-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-checkbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.service-checkbox:has(input:checked) {
  border-color: currentColor;
}

.service-checkbox input { width: auto; accent-color: var(--accent); }

.file-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color var(--transition);
}

.file-label:hover { border-color: var(--accent); }

.file-input { display: none; }

.file-name {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-success {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 212, 170, 0.15);
  color: var(--service-mobile);
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Clash Display', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links li,
.footer-contact li {
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links a:hover { color: var(--accent); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.newsletter-form .btn {
  padding: 0.6rem 1rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cert-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cert-badge i { color: var(--accent); }

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

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-4px); }

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.wa-icon-container {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-icon-container::before {
  content: '';
  position: absolute;
  top: -4px; right: -4px; bottom: -4px; left: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: wa-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.whatsapp-float:hover .wa-icon-container {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all var(--transition);
  position: relative;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 1rem));
    left: 1rem;
    z-index: 9999;
  }
  .wa-icon-container {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
  .wa-tooltip {
    display: none;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 320px to 1440px+ (Apple-style breakpoints)
   ═══════════════════════════════════════════════════════════════ */

/* ── Large screens (992px+) ── */
@media (min-width: 992px) {
  .nav-badge { display: inline-block; }
  .btn-nav-cta { display: inline-flex; }
  .process-track { display: block; }
  .testimonial-progression { grid-template-columns: repeat(3, 1fr); }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card[data-service="ai"] {
    grid-column: span 2;
  }

  .packages-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* ── Medium screens (768px – 991px) ── */
@media (min-width: 768px) and (max-width: 991px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-badge { display: inline-block; }
  .btn-nav-cta { display: inline-flex; }
  .process-track { display: block; }
  .testimonial-progression { grid-template-columns: repeat(3, 1fr); }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card[data-service="ai"] {
    grid-column: span 2;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inquiry-layout { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }

  .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-slideshow {
    max-width: 400px;
    width: 100%;
  }

  .hero-service-pills {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }
}

/* ── Small screens (480px – 767px) ── */
@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 3rem 0 2rem;
  }

  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-slideshow {
    max-width: 340px;
    width: 100%;
    aspect-ratio: 1;
  }

  .hero-service-pills {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  /* Trust bar: 2×2 grid on mobile */
  .trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
    text-align: center;
  }

  .trust-stat {
    background: var(--bg-elevated);
    padding: 1rem 0.75rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  }

  .trust-divider { display: none; }

  .trust-logos {
    grid-column: 1 / -1;
    margin-left: 0;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
  }

  .trust-number { font-size: 1.5rem; }
  .trust-label { font-size: 0.7rem; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card[data-service="ai"] { grid-column: span 1; }

  .packages-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }

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

  .process-pipeline { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .inquiry-layout { grid-template-columns: 1fr; }

  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }

  .testimonial-card { padding: 1.5rem; }
  .testimonial-quote { font-size: 0.95rem; }

  .testimonial-author {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .testimonial-metric {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: left;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-certifications {
    justify-content: center;
  }
}

/* ── Extra small screens (≤479px) ── */
@media (max-width: 479px) {
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; }
  .nav-badge { display: none; }

  .hero-slideshow {
    max-width: 280px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .process-pipeline { grid-template-columns: 1fr; }

  .testimonial-progression { grid-template-columns: 1fr; }

  .service-checkboxes {
    flex-direction: column;
  }

  .trust-bar {
    grid-template-columns: 1fr 1fr;
  }

  .package-card,
  .pricing-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ── Tiny screens (≤359px) ── */
@media (max-width: 359px) {
  .container { padding: 0 1rem; }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .hero-slideshow { max-width: 240px; }
  .trust-bar { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   PROMO NOTIFICATION BANNER (iOS Style inside Original Container Shape)
   ═══════════════════════════════════════════════════════════════ */
.projectunite-notification-container {
  background: linear-gradient(135deg, #667eea 0%, #715b86 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 4px 20px;
  display: flex;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  height: auto;
}

[data-theme="light"] .projectunite-notification-container {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.projectunite-notification-container.projectunite-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.projectunite-liquid-glass-bar {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 8px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  width: 100%;
  min-height: 42px;
  position: relative;
  overflow: hidden;
  animation: projectuniteGlassShimmer 3s ease-in-out infinite;
}

[data-theme="light"] .projectunite-liquid-glass-bar {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.projectunite-liquid-glass-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: projectuniteLiquidFlow 4s ease-in-out infinite;
}

@keyframes projectuniteGlassShimmer {
  0%,
  100% {
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.3),
          inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  }

  50% {
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15),
          inset 0 1px 0 rgba(255, 255, 255, 0.4),
          inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  }
}

@keyframes projectuniteLiquidFlow {
  0% {
      left: -100%;
  }

  50% {
      left: 100%;
  }

  100% {
      left: 100%;
  }
}

/* iOS inner elements inside projectunite bar */
.ios-inner-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.ios-app-icon {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #6C63FF, #4E46E5);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.ios-icon-symbol {
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  font-family: var(--font-mono);
}

.ios-text-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ios-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.ios-app-name {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
}

[data-theme="light"] .ios-app-name {
  color: rgba(0, 0, 0, 0.6);
}

.ios-time-sep {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .ios-time-sep {
  color: rgba(0, 0, 0, 0.3);
}

.ios-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .ios-time {
  color: rgba(0, 0, 0, 0.4);
}

.ios-message-container {
  display: grid;
  grid-template-areas: "stack";
  overflow: hidden;
  perspective: 400px;
}

.ios-message {
  grid-area: stack;
  font-size: 11px;
  color: white;
  line-height: 1.35;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease;
  opacity: 0;
  transform: translateY(100%) rotateX(90deg);
  transform-origin: center bottom;
  pointer-events: none;
  backface-visibility: hidden;
}

.ios-message.active {
  opacity: 1;
  transform: translateY(0) rotateX(0);
  pointer-events: auto;
}

.ios-message.exit {
  opacity: 0;
  transform: translateY(-100%) rotateX(-90deg);
  transform-origin: center top;
}

[data-theme="light"] .ios-message {
  color: #1a1a2e;
}

.ios-message strong {
  font-weight: 700;
  color: #FFD93D;
}

[data-theme="light"] .ios-message strong {
  color: #4E46E5;
}

.projectunite-right-section {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 15px;
}

.projectunite-register-link {
  background: linear-gradient(45deg, #daa520a8, #8e79458e);
  color: white;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.projectunite-register-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.projectunite-register-link:hover::before {
  left: 100%;
}

.projectunite-register-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.projectunite-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .projectunite-close-btn {
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a2e;
}

.projectunite-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

[data-theme="light"] .projectunite-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.projectunite-close-btn:active {
  transform: scale(0.95);
}

/* Adjust sticky navbar and mobile menu transition/position */
.navbar {
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1), background var(--transition), box-shadow var(--transition);
}

body.projectunite-notification-visible .navbar {
  top: 50px; /* height of notification */
}

body.projectunite-notification-visible .mobile-menu {
  top: calc(50px + var(--nav-height));
}

@media (max-width: 768px) {
  .projectunite-notification-container {
    padding: 4px 8px;
  }

  body.projectunite-notification-visible .navbar {
    top: 50px;
  }

  body.projectunite-notification-visible .mobile-menu {
    top: calc(50px + var(--nav-height));
  }

  .projectunite-liquid-glass-bar {
    padding: 6px 12px;
    min-height: 37px;
  }

  .ios-inner-notification {
    gap: 8px;
  }

  .ios-app-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
  }

  .ios-icon-symbol {
    font-size: 8px;
  }

  .ios-message {
    font-size: 10px;
  }

  .projectunite-right-section {
    margin-left: 8px;
  }

  .projectunite-register-link {
    padding: 5px 10px;
    font-size: 10px;
  }

  .projectunite-close-btn {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}

