@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #08090f;
  --bg-secondary: #0d0f18;
  --bg-card: rgba(16, 19, 35, 0.88);
  --bg-card-solid: #101323;
  --bg-elevated: rgba(22, 26, 48, 0.92);
  --bg-glass: rgba(16, 19, 35, 0.6);
  --bg-footer: #050610;

  --accent: #e11d48;
  --accent-light: #fb7185;
  --accent-dark: #9f1239;
  --cyan: #22d3ee;
  --violet: #a78bfa;

  --accent-glow: 0 0 40px rgba(225, 29, 72, 0.22);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(225, 29, 72, 0.25);
  --border-cyan: rgba(34, 211, 238, 0.2);

  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 16px 48px rgba(225, 29, 72, 0.12);

  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  --container: 1260px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; color-scheme: dark; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 800; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === AMBIENT BG — static, no moving particles === */
.bg-ambience {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(225,29,72,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(34,211,238,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(167,139,250,0.03) 0%, transparent 50%);
}

.bg-ambience::after {
  content: '';
  position: fixed; inset: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* === ANIMATED CYBER TECH CANVAS === */
.tech-canvas {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; z-index: 1;
}

/* === SCATTERED FLOATING BACKGROUND TECH LOGOS === */
.scatter-tech-bg {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; z-index: 1;
  overflow: hidden;
}

.floating-bg-logo {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.22));
  will-change: transform;
}

.floating-bg-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.2) contrast(1.1);
}

/* === ROBOTIC HUD & NEXUM BRANDING ACCENTS === */
.hud-prefix {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.hud-card {
  position: relative;
}

.hud-corner {
  position: absolute;
  width: 8px; height: 8px;
  border: 2px solid var(--accent);
  pointer-events: none;
  opacity: 0.7;
}

.hud-corner-tl {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
  border-top-left-radius: var(--r-md);
}

.hud-corner-br {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
  border-bottom-right-radius: var(--r-md);
}

.hud-line-dec {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 1rem auto;
}

/* === PCB CIRCUIT TRACE SVG DECORATION & ANIMATION === */
.circuit-trace-decor {
  width: 100%;
  max-width: 480px;
  height: 90px;
  margin: 0 auto -0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 4;
  pointer-events: none;
}

.circuit-trace-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.4));
}

.circuit-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.4s var(--ease);
  will-change: stroke-dashoffset;
}

.circuit-path.drawn {
  stroke-dashoffset: 0 !important;
}

.circuit-node {
  transform-origin: center;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), fill 0.4s;
}

.circuit-node.active {
  opacity: 1;
  transform: scale(1);
  animation: pcb-node-pulse 2.5s ease-in-out infinite alternate;
}

@keyframes pcb-node-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 6px var(--cyan)); }
}

.project-thumb--nexum {
  background: radial-gradient(circle at center, rgba(163, 28, 36, 0.15) 0%, rgba(13, 15, 24, 0.95) 75%) !important;
}

.nexum-brand-logo-container {
  width: 100%;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nexum-logo-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(163, 28, 36, 0.35));
  transition: transform 0.3s var(--ease);
}

.project-card:hover .nexum-logo-img {
  transform: scale(1.05);
}

/* === CONTAINER & SECTIONS === */
.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 1.5rem;
  position: relative; z-index: 5;
}

.section { padding: 6.5rem 0; position: relative; z-index: 2; }
.section--alt { background: var(--bg-secondary); }

/* === SECTION HEADERS === */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(225,29,72,0.07);
  border: 1px solid var(--border-accent);
  padding: 0.4rem 1.1rem;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}
.eyebrow--cyan { color: var(--cyan); background: rgba(34,211,238,0.07); border-color: var(--border-cyan); }

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900; line-height: 1.15;
  letter-spacing: -0.025em; margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem; color: var(--text-secondary);
  line-height: 1.75; max-width: 640px; margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 15%, var(--accent) 55%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; padding: 1.1rem 0;
  transition: all 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 0.7rem 0;
  background: rgba(8,9,15,0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

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

.nav-brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-weight: 800; font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.nav-brand--text-only {
  min-height: 38px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.nav-brand-text { display: inline; }

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

.nav-link {
  color: var(--text-muted); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; transition: color 0.25s;
  position: relative; padding: 0.25rem 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.8rem 1.7rem; border-radius: var(--r-md);
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap; font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; box-shadow: 0 4px 20px rgba(225,29,72,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(225,29,72,0.5); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
  border-color: transparent;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  color: #fff;
}

.channel-btn--whatsapp:hover {
  border-color: rgba(37,211,102,0.5);
  background: rgba(37,211,102,0.08);
}

.btn-outline {
  background: transparent; color: var(--text-primary);
  border-color: var(--border-accent);
}
.btn-outline:hover { background: rgba(225,29,72,0.08); border-color: var(--accent); transform: translateY(-3px); }

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

/* === MOBILE TOGGLE === */
.mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem; color: var(--text-primary);
}
.hamburger-icon { width: 24px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.hamburger-icon span { display: block; width: 100%; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s ease; }
.mobile-toggle.active .hamburger-icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active .hamburger-icon span:nth-child(2) { opacity: 0; }
.mobile-toggle.active .hamburger-icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 6, 16, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(84vw, 340px);
  height: 100dvh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-accent);
  z-index: 1001;
  padding: 5.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: right 0.35s var(--ease);
  backdrop-filter: blur(20px);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer-close {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  min-width: 94px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--text-primary);
  background: rgba(18, 22, 38, 0.92);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-full);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.mobile-drawer-close:hover,
.mobile-drawer-close:focus-visible {
  background: rgba(225, 29, 72, 0.12);
  border-color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}
.mobile-drawer-close svg { flex-shrink: 0; }
body.menu-open { overflow: hidden; }

/* ========== HERO ========== */
.hero-section {
  padding: 7rem 0 4rem;
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

/* Smooth intro overlay */
.scatter-overlay {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: clamp(0.65rem, 1.4vw, 1rem);
  padding: 2rem;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.scatter-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255, 47, 92, 0.12), transparent 38%);
  opacity: 0.65;
  z-index: -1;
}

.scatter-name-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  will-change: transform, opacity;
}

.scatter-tagline {
  margin-top: 0;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.8vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  will-change: transform, opacity;
}

.scatter-word {
  display: flex; align-items: center; justify-content: center;
  gap: 0.08rem;
}

.scatter-letter {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  color: #ffffff;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.scatter-letter.accent-letter { color: var(--accent); }

.scatter-overlay.done { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .scatter-overlay { display: none; }
}

/* Hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  position: relative; z-index: 5;
}

.hero-content { display: flex; flex-direction: column; align-items: flex-start; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(225,29,72,0.07);
  border: 1px solid var(--border-accent);
  padding: 0.45rem 1rem; border-radius: var(--r-full);
  margin-bottom: 1.75rem;
}

.status-dot {
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  font-weight: 900; line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem; max-width: 600px;
}

.hero-paragraph {
  font-size: 1.1rem; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 2.25rem; max-width: 520px;
}

.hero-cta-group { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Profile card */
.hero-profile-container { position: relative; display: flex; justify-content: center; }

.profile-card-frame {
  position: relative;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xl);
  padding: 0.75rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), var(--accent-glow);
  max-width: 400px; width: 100%;
  overflow: visible;
}

.profile-card-frame::after {
  content: '';
  position: absolute;
  inset: 0.75rem;
  border-radius: calc(var(--r-xl) - 6px);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.profile-card-frame::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: var(--r-xl);
  background: conic-gradient(from 0deg, var(--accent), var(--cyan), var(--violet), var(--accent));
  z-index: -1;
  opacity: 0.35;
}

.profile-avatar-img {
  width: 100%; height: 440px;
  object-fit: cover; object-position: top center;
  border-radius: calc(var(--r-xl) - 6px);
  display: block;
}

.profile-overlay-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(8,9,15,0.9);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-md);
  padding: 0.6rem 1rem;
  backdrop-filter: blur(14px);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* Floating pills (clean, hugging photo card) */
.hero-float-pill {
  position: absolute;
  padding: 0.65rem 1.25rem;
  background: rgba(13, 15, 24, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.85rem; font-weight: 800;
  color: var(--text-primary);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; gap: 0.55rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono);
  white-space: nowrap; z-index: 6;
  transition: transform 0.3s var(--ease);
}
.hero-float-pill svg, .hero-float-pill img { width: 18px; height: 18px; flex-shrink: 0; display: block; }

.pill-1 { top: 5%; right: -24px; border-color: var(--border-accent); }
.pill-2 { bottom: 24%; left: -28px; border-color: var(--border-cyan); }
.pill-3 { bottom: 6%; right: -24px; border-color: rgba(167,139,250,0.35); }
.pill-4 { top: 26%; left: -28px; border-color: rgba(251,191,36,0.35); }

/* === TECH STRIP === */
.tech-strip {
  padding: 1.75rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.strip-track {
  display: flex; align-items: center; gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.strip-item {
  display: flex; align-items: center; gap: 0.6rem;
  white-space: nowrap; font-size: 0.85rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.04em;
}
.strip-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; opacity: 0.4; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.about-text { font-size: 1.05rem; line-height: 1.85; color: var(--text-secondary); }
.about-text p { margin-bottom: 1.2rem; }

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.4rem;
  border-radius: var(--r-md);
  margin-top: 1.5rem;
  font-weight: 800; font-size: 0.95rem;
}

.about-cards-grid { display: grid; gap: 1.2rem; }

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.6rem 1.8rem;
  min-height: 150px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.35s var(--ease);
  backdrop-filter: blur(8px);
}
.about-card:hover { transform: translateY(-5px); border-color: var(--border-accent); box-shadow: var(--shadow-hover); }

.card-num { font-size: 1.6rem; font-weight: 900; color: var(--accent); font-family: var(--font-mono); margin-bottom: 0.4rem; }
.card-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.35rem; }
.card-subtext { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* === EXPERTISE PILLARS === */
.pillars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; align-items: stretch; }

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: all 0.35s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 315px;
  position: relative; overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0; transition: opacity 0.35s;
}
.pillar-card:hover { border-color: var(--border-accent); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.pillar-card:hover::before { opacity: 1; }

.pillar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }

.pillar-number { font-family: var(--font-mono); font-size: 2rem; font-weight: 900; color: rgba(255,255,255,0.07); }

.pillar-icon-box {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: radial-gradient(circle at 35% 25%, rgba(34,211,238,0.16), rgba(225,29,72,0.12));
  border: 1px solid var(--border-accent);
  display: grid; place-items: center; color: var(--accent);
  box-shadow: inset 0 0 22px rgba(225,29,72,0.08), 0 10px 28px rgba(0,0,0,0.28);
}
.pillar-icon-box svg { width: 28px; height: 28px; stroke-width: 1.8; }

.pillar-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.8rem; }
.pillar-desc { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.4rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.tech-tag {
  font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  transition: all 0.25s;
}
.tech-tag:hover { border-color: var(--border-accent); color: var(--text-primary); }

/* === WEB DISCIPLINES === */
.disciplines-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; align-items: stretch; }

.discipline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 360px;
  transition: all 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.discipline-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.discipline-card:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: var(--shadow-hover); }
.discipline-card:hover::after { opacity: 1; }

.disc-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }

.disc-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: rgba(225,29,72,0.1);
  border: 1px solid var(--border-accent);
  display: grid; place-items: center; font-size: 1.3rem;
}

.disc-title { font-size: 1.1rem; font-weight: 800; }
.disc-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.3rem; }
.discipline-card > .logo-pills { margin-top: auto; }

/* Logo pills with real icons */
.logo-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }

.logo-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 42px;
  padding: 0.42rem 0.8rem;
  background: rgba(18, 22, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  font-size: 0.82rem; font-weight: 700;
  line-height: 1;
  font-family: var(--font-mono);
  transition: all 0.25s var(--ease);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.logo-pill:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 211, 238, 0.2);
}

.logo-pill img, .logo-pill svg {
  width: 18px; height: 18px; flex-shrink: 0;
  display: block;
}
.logo-pill img[alt="AWS"] { width: 24px; height: 24px; }


.icon-bg-light { background: #ffffff; border-radius: 50%; padding: 1px; }
.icon-invert { filter: invert(1); }
.section-desc--flush { margin: 0; }
.tag-row--spaced { margin-top: 1.5rem; }
.mobile-grid .tag-row--spaced { justify-content: center; align-items: center; }
.tech-tag--icon { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; line-height: 1; }
.tech-tag--icon img { flex: 0 0 auto; display: block; }
.phone-label--android { color: #3DDC84; }
.phone-label--ios { color: var(--cyan); }
.phone-bar--android { background: #3DDC84; }
.phone-bar--ios { background: var(--cyan); }
.phone-bar--55 { width: 55%; }
.phone-bar--60 { width: 60%; }
.phone-bar--70 { width: 70%; }
.phone-bar--80 { width: 80%; }
.phone-bar--85 { width: 85%; }
.phone-bar--90 { width: 90%; }
.phone-fill { flex: 1; border-radius: 10px; margin-top: 0.4rem; }
.phone-fill--android { background: rgba(61,220,132,0.08); border: 1px solid rgba(61,220,132,0.2); }
.phone-fill--ios { background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.2); }
.ai-engine-title { font-weight: 800; color: var(--accent); font-size: 1rem; }
.feature-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.6rem; }
.feature-copy { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; margin-bottom: 1.4rem; }
.chatbot-name { font-size: 0.82rem; font-weight: 700; }
.ai-feature-card--centered { justify-content: center; }
.stat-fill--90 { width: 90%; }
.stat-fill--94 { width: 94%; }
.stat-fill--100, .stat-fill--full { width: 100%; }
.modal-title { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.4rem; }
.modal-status { display: inline-block; margin-bottom: 1.2rem; }
.modal-role { font-weight: 700; font-size: 0.92rem; }

/* === MOBILE DEV === */
.mobile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }

.phone-mockup-wrapper { display: flex; justify-content: center; align-items: center; gap: 1.5rem; }

.phone-mockup {
  width: 200px; height: 400px;
  background: #000;
  border-radius: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.3s var(--ease);
}

.phone-mockup--android {
  border: 5px solid #2d3748;
  box-shadow: 0 20px 50px rgba(61, 220, 132, 0.15);
}
.phone-mockup--android .phone-camera-dot {
  width: 8px; height: 8px;
  background: #1a202c; border: 1px solid #4a5568;
  border-radius: 50%;
  margin: 6px auto 2px;
}

.phone-mockup--ios {
  border: 5px solid #1e293b;
  box-shadow: 0 20px 50px rgba(34, 211, 238, 0.15);
  transform: translateY(-16px);
}
.phone-mockup--ios .phone-dynamic-island {
  width: 54px; height: 12px;
  background: #090d16; border-radius: 12px;
  margin: 6px auto 2px;
  border: 1px solid rgba(255,255,255,0.1);
}

.phone-status-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.65rem; font-weight: 700; color: var(--text-muted);
  padding: 0 0.2rem; margin-bottom: 0.2rem;
}

.android-nav-bar {
  width: 32px; height: 3px; background: rgba(61, 220, 132, 0.6);
  border-radius: 2px; margin: 4px auto 2px;
}
.ios-home-indicator {
  width: 44px; height: 3px; background: rgba(255, 255, 255, 0.4);
  border-radius: 2px; margin: 4px auto 2px;
}

.phone-screen {
  flex: 1; background: var(--bg-card-solid);
  padding: 0.85rem; display: flex; flex-direction: column; gap: 0.5rem;
}

.phone-label { font-size: 0.7rem; font-weight: 800; font-family: var(--font-mono); letter-spacing: 0.06em; }
.phone-bar { height: 8px; border-radius: 4px; opacity: 0.6; }

/* === AI SECTION === */
.ai-bg { background: radial-gradient(ellipse at 50% 20%, rgba(225,29,72,0.035) 0%, transparent 60%); }

.ai-hub-card {
  background: var(--bg-card); border: 1px solid var(--border-accent);
  border-radius: var(--r-xl); padding: 2.5rem; margin-bottom: 3rem; text-align: center;
}

.ai-core-orb {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid; place-items: center; margin: 0 auto 1rem;
  box-shadow: 0 0 50px rgba(225,29,72,0.35);
  color: #fff;
  animation: pulse-orb 3s ease-in-out infinite;
}
@keyframes pulse-orb { 0%,100%{box-shadow:0 0 40px rgba(225,29,72,.25)} 50%{box-shadow:0 0 70px rgba(225,29,72,.5)} }

.ai-nodes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; margin-top: 1.5rem; }

.ai-node {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0.8rem 0.4rem;
  text-align: center; font-size: 0.75rem; font-weight: 700;
  transition: border-color 0.3s;
}
.ai-node:hover { border-color: var(--border-accent); }

.ai-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: stretch; }

.ai-feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2rem;
  display: flex; flex-direction: column;
}

/* Chatbot */
.chat-widget {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; height: 360px; margin-top: 1rem;
}
.chat-header {
  background: var(--bg-elevated); padding: 0.8rem 1.2rem;
  display: flex; align-items: center; gap: 0.7rem;
  border-bottom: 1px solid var(--border);
}
.bot-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 0.7rem;
}
.chat-body { flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: 0.8rem; overflow-y: auto; }
.chat-bubble { max-width: 82%; padding: 0.65rem 0.9rem; border-radius: 14px; font-size: 0.84rem; line-height: 1.5; }
.bubble-user { align-self: flex-end; background: var(--accent); color: #fff; font-weight: 600; }
.bubble-ai { align-self: flex-start; background: var(--bg-elevated); border: 1px solid var(--border); }
.chat-input-bar { padding: 0.65rem 0.85rem; background: var(--bg-elevated); border-top: 1px solid var(--border); display: flex; gap: 0.5rem; }
.chat-input {
  flex: 1; background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 0.5rem 1rem;
  color: var(--text-primary); font-size: 0.84rem; font-family: var(--font-body); outline: none;
}
.chat-input:focus { border-color: var(--accent); }
.chat-send-btn {
  background: var(--accent); color: #fff; border: none;
  border-radius: 50%; width: 34px; height: 34px;
  display: grid; place-items: center; cursor: pointer;
  font-weight: 800; font-size: 1rem; transition: transform 0.2s;
}
.chat-send-btn:hover { transform: scale(1.1); }

/* === MANAGEMENT DASHBOARD — TECH NETWORK HUB === */
.pm-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--accent-glow);
  position: relative;
  overflow: hidden;
}

.dash-tabs {
  display: flex; gap: 0.8rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.85rem; margin-bottom: 1.75rem;
  overflow-x: auto;
}

.dash-tab {
  background: none; border: none; color: var(--text-muted);
  font-size: 0.82rem; font-weight: 800; cursor: pointer;
  padding: 0.4rem 0.8rem; font-family: var(--font-mono);
  letter-spacing: 0.05em; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.25s var(--ease);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.dash-tab:hover { color: var(--text-primary); }
.dash-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); background: rgba(34, 211, 238, 0.06); }

.dash-panel {
  display: none;
  animation: fadeInPanel 0.4s var(--ease);
}
.dash-panel.active { display: block; }
@keyframes fadeInPanel { 0%{opacity:0;transform:translateY(8px)} 100%{opacity:1;transform:translateY(0)} }

/* Tech Network Pipeline Wrapper */
.pm-network-wrapper {
  position: relative;
  padding: 1.5rem 0.5rem;
  background: radial-gradient(circle at center, rgba(16, 19, 35, 0.95) 0%, rgba(8, 9, 15, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.pm-network-svg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

.net-pulse-dot {
  animation: netPulseAnim 3s ease-in-out infinite alternate;
}
@keyframes netPulseAnim { 0%{r:3px;opacity:0.4} 100%{r:6px;opacity:1;filter:drop-shadow(0 0 8px var(--cyan))} }

.pm-nodes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  position: relative; z-index: 2;
}

.pm-net-node {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.1rem 0.75rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.pm-net-node.active, .pm-net-node:hover {
  border-color: var(--border-accent);
  background: rgba(225, 29, 72, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.2);
}

.pm-node-icon {
  font-family: var(--font-mono);
  font-size: 1.1rem; font-weight: 900;
  color: var(--accent); margin-bottom: 0.3rem;
}

.pm-node-title {
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.04em; color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.pm-node-sub {
  font-size: 0.7rem; color: var(--text-muted);
  line-height: 1.35;
}

/* AI Workflow Grid */
.pm-ai-workflow-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}

.pm-ai-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem;
  transition: all 0.3s;
}
.pm-ai-card:hover { border-color: var(--border-cyan); transform: translateY(-3px); }

.pm-ai-step { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 800; color: var(--cyan); letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.pm-ai-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.4rem; }
.pm-ai-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* Deploy Status Grid */
.pm-deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.deploy-status-box {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem;
  transition: all 0.3s;
}
.deploy-status-box:hover { border-color: var(--border-accent); }

.deploy-header { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.deploy-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.stat-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.1rem; }
.stat-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; font-family: var(--font-mono); letter-spacing: 0.06em; }
.stat-value { font-size: 1.6rem; font-weight: 900; margin: 0.15rem 0; }
.stat-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.stat-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--cyan)); border-radius: 3px; transition: width 0.6s var(--ease); }

/* === PROJECTS === */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 2.5rem; }
.filter-btn {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 0.5rem 1.1rem;
  border-radius: var(--r-full); font-weight: 700; font-size: 0.82rem;
  cursor: pointer; font-family: var(--font-body); transition: all 0.25s;
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; align-items: stretch; }

.project-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 430px;
  transition: all 0.35s var(--ease);
}
.project-card:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: var(--shadow-hover); }

.project-thumb {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--bg-secondary), rgba(225,29,72,0.06));
  position: relative; display: grid; place-items: center; overflow: hidden;
}
.project-thumb-icon { font-size: 3rem; opacity: 0.25; }

.project-badge {
  position: absolute; top: 0.8rem; right: 0.8rem;
  font-size: 0.68rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: var(--r-full);
  font-family: var(--font-mono);
}
.badge-production { background: rgba(225,29,72,0.15); color: var(--accent-light); border: 1px solid var(--border-accent); }
.badge-completed { background: rgba(34,211,238,0.15); color: var(--cyan); border: 1px solid var(--border-cyan); }
.badge-dev { background: rgba(255,255,255,0.08); color: var(--text-muted); border: 1px solid var(--border); }

.project-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.project-body .btn { align-self: flex-start; }
.project-cat { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-family: var(--font-mono); margin-bottom: 0.4rem; }
.project-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.project-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.1rem; }

/* === MODAL === */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(8,9,15,0.85); backdrop-filter: blur(12px);
  z-index: 2000; display: grid; place-items: center;
  padding: 1.5rem; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal-content {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xl);
  max-width: 680px; width: 100%; max-height: 88vh;
  overflow-y: auto; padding: 2.5rem; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}
.modal-close-btn {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--text-primary); width: 36px; height: 36px;
  border-radius: 50%; display: grid; place-items: center;
  cursor: pointer; font-size: 1.2rem; transition: border-color 0.25s;
}
.modal-close-btn:hover { border-color: var(--accent); }

.modal-section { margin-bottom: 1.2rem; }
.modal-label { color: var(--accent); font-size: 0.78rem; font-weight: 700; font-family: var(--font-mono); margin-bottom: 0.25rem; letter-spacing: 0.06em; }
.modal-text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }

/* === PROCESS === */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }

.process-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem;
  min-height: 220px;
  transition: all 0.3s var(--ease); position: relative; overflow: hidden;
}
.process-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--accent);
  transition: height 0.4s var(--ease);
}
.process-card:hover { border-color: var(--border-accent); }
.process-card:hover::before { height: 100%; }

.process-num { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 900; color: var(--accent); margin-bottom: 0.7rem; }
.process-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.4rem; }
.process-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* === TIMELINE === */
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.timeline-col-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.2rem; }
.timeline { display: flex; flex-direction: column; gap: 1.4rem; position: relative; }
.timeline::before { content: ''; position: absolute; top: 8px; left: 18px; width: 2px; height: calc(100% - 16px); background: var(--border); }
.timeline-item { position: relative; padding-left: 3.2rem; }
.timeline-dot { position: absolute; left: 10px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-primary); border: 3px solid var(--accent); }
.timeline-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; transition: border-color 0.3s; }
.timeline-card:hover { border-color: var(--border-accent); }
.tl-role { font-size: 1.05rem; font-weight: 800; }
.tl-company { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; }
.tl-date { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 0.6rem; }
.tl-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* === TRAINING & CERTIFICATIONS === */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 1rem;
  align-items: stretch;
}

.training-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  min-height: 285px;
  box-shadow: var(--shadow-card);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
}

.training-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0;
  transition: opacity 0.35s;
}

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

.training-card:hover::before {
  opacity: 1;
}

.training-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.training-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.training-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
}

.training-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === EXPLORING === */
.exploring-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; }
.exploring-tag {
  background: var(--bg-card); border: 1px solid var(--border-accent);
  padding: 0.7rem 1.4rem; border-radius: var(--r-full);
  font-size: 0.9rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.5rem;
  transition: all 0.25s;
}
.exploring-tag:hover { background: rgba(225,29,72,0.08); transform: translateY(-2px); }

/* === PHILOSOPHY BANNER === */
.philosophy-banner {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
  padding: 5.5rem 0; text-align: center;
  position: relative; z-index: 2;
}
.philosophy-text { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; line-height: 1.3; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr); gap: clamp(2.5rem, 5vw, 3.5rem); align-items: center; }
.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}
.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: auto;
  background: rgba(18, 22, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-full);
  padding: 0.65rem 1.25rem;
  font-weight: 700; font-size: 0.86rem;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.25s var(--ease);
}
.channel-btn:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 211, 238, 0.2);
}
.channel-btn svg, .channel-btn img { flex-shrink: 0; }
.contact-icon { width: 1.25rem; height: 1.25rem; display: block; object-fit: contain; }

.contact-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.25rem; width: 100%; }
.form-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.2rem; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--text-secondary); font-family: var(--font-mono); }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0.75rem 1rem;
  color: var(--text-primary); font-family: var(--font-body);
  font-size: 0.9rem; outline: none; transition: border-color 0.25s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-feedback { font-size: 0.84rem; margin-top: 0.4rem; display: none; }
.form-feedback.error { color: #ef4444; display: block; }
.form-feedback.success { color: #10b981; display: block; }

.contact-intro { margin: 0 0 1rem; }
.btn-full { width: 100%; margin-top: 0.6rem; }
.footer-brand-heading { margin-bottom: 0.5rem; }
.footer-brand-name { font-weight: 800; font-size: 1.2rem; }

.footer {
  background: var(--bg-footer); border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem; position: relative; z-index: 10;
}
.footer-grid { display: grid; grid-template-columns: minmax(260px, 2fr) minmax(140px, 1fr) minmax(150px, 1fr) minmax(220px, 1.5fr); gap: 2.5rem; align-items: start; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer-brand-desc { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; max-width: 340px; margin-top: 0.6rem; }
.footer-brand-heading--text-only { gap: 0; }
.footer-col-title { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.86rem; font-weight: 600; transition: all 0.2s; display: inline-block; }
.footer-links a:hover { color: var(--text-primary); transform: translateX(4px); }

.footer-icon-link {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}
.footer-icon-link svg, .footer-icon-link img {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.footer-icon-link:hover {
  color: var(--text-primary) !important;
  transform: translateX(4px);
}
.footer-icon-link:hover svg, .footer-icon-link:hover img {
  transform: scale(1.15);
}

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.75rem; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; gap: 1rem; }

/* === FLOATING SIDE WHATSAPP POPUP WIDGET === */
.whatsapp-float-widget {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}

.whatsapp-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: all 0.3s var(--ease);
}

.whatsapp-icon-bubble::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: pulse-wa-ring 2s infinite;
}

@keyframes pulse-wa-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.2; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.whatsapp-tooltip {
  background: rgba(13, 15, 24, 0.95);
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  font-family: var(--font-body);
}

.whatsapp-float-widget:hover {
  transform: translateY(-4px) scale(1.05);
}

.whatsapp-float-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .whatsapp-float-widget { right: 1.2rem; bottom: 5rem; }
  .whatsapp-tooltip { display: none; }
  .mobile-drawer { width: min(88vw, 340px); }
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none;
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease); z-index: 900;
  box-shadow: var(--accent-glow);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); }

/* === RESPONSIVE MEDIA QUERIES === */

@media (min-width: 993px) {
  .mobile-nav-backdrop { display: none; }
}

@media (max-width: 1200px) {
  .disciplines-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-nodes { grid-template-columns: repeat(3, 1fr); }
  .projects-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
}

@media (max-width: 992px) {
  .section { padding: 4.5rem 0; }
  .hero-section { padding: 5.5rem 0 2.5rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-content { align-items: center; text-align: center; }
  .hero-eyebrow { margin-bottom: 1.2rem; }
  .hero-paragraph { max-width: 580px; text-align: center; margin: 0 auto 1.5rem; }
  .hero-cta-group { justify-content: center; width: 100%; }

  .about-grid, .mobile-grid, .ai-split,
  .timeline-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .about-grid, .mobile-grid, .contact-grid { text-align: center; }
  .about-text, .mobile-grid .section-desc, .contact-intro { margin-left: auto; margin-right: auto; }
  .about-cards-grid, .contact-form-card { max-width: 680px; margin-left: auto; margin-right: auto; }
  
  .pillars-grid, .disciplines-grid { grid-template-columns: 1fr; }
  .pillar-card, .discipline-card, .project-card, .process-card, .training-card, .ai-feature-card { min-height: auto; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  
  .hero-eyebrow { font-size: 0.7rem; padding: 0.35rem 0.85rem; }
  .hero-title { font-size: clamp(1.8rem, 6.5vw, 2.3rem); line-height: 1.18; margin-bottom: 1rem; }
  .hero-paragraph { font-size: 0.92rem; line-height: 1.6; }
  .section-title { font-size: clamp(1.45rem, 5vw, 1.85rem); margin-bottom: 0.75rem; }
  .section-desc { font-size: 0.88rem; line-height: 1.6; }
  
  .scatter-overlay { padding: 1rem; gap: 0.65rem; }
  .scatter-name-wrap { gap: 0.25rem 0.8rem; }
  .scatter-word { gap: 0.02rem; }
  .scatter-letter { font-size: clamp(1.5rem, 6vw, 2.4rem); }
  .scatter-tagline { max-width: 18rem; line-height: 1.45; }

  /* Profile card & Pills on mobile */
  .hero-profile-container { margin-top: 1.5rem; width: 100%; display: flex; justify-content: center; }
  .profile-card-frame { max-width: 270px; padding: 0.45rem; border-radius: var(--r-lg); }
  .profile-avatar-img { height: 320px; border-radius: calc(var(--r-lg) - 4px); }

  .profile-overlay-badge {
    bottom: 0.85rem; left: 50%;
    transform: translateX(-50%);
    width: 85%; justify-content: center;
    font-size: 0.72rem; padding: 0.45rem 0.7rem;
    white-space: nowrap;
  }

  /* Compact floating pills hugging corners cleanly */
  .hero-float-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.68rem;
    gap: 0.3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
  }
  .hero-float-pill svg, .hero-float-pill img { width: 13px; height: 13px; }

  .pill-1 { top: 0.6rem; right: -1.1rem; }
  .pill-2 { bottom: 4.3rem; left: -1.1rem; }
  .pill-3 { bottom: 4.25rem; right: -1.1rem; }
  .pill-4 { top: 4.3rem; left: -1.1rem; }

  /* Buttons on mobile */
  .hero-cta-group { flex-direction: column; gap: 0.65rem; width: 100%; align-items: center; }
  .btn { width: 100%; max-width: 260px; padding: 0.7rem 1.2rem; font-size: 0.84rem; justify-content: center; }

  /* Cards padding on mobile */
  .pillar-card, .discipline-card, .project-card, .process-card, .training-card, .about-card {
    padding: 1.35rem; border-radius: var(--r-lg);
  }

  .ai-nodes { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .ai-node { padding: 0.65rem 0.3rem; font-size: 0.7rem; }
  .ai-hub-card { padding: 1.5rem 1rem; margin-bottom: 2rem; }
  .ai-feature-card { padding: 1.35rem; }

  .projects-grid, .process-grid, .training-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .project-body .btn { align-self: center; }
  .philosophy-banner { padding: 3.5rem 0; }
  .philosophy-text { font-size: clamp(1.3rem, 4.5vw, 1.75rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; text-align: center; }
  .footer-brand-heading, .footer-icon-link { justify-content: center; }
  .footer-brand-desc { margin-left: auto; margin-right: auto; }
  
  .phone-mockup-wrapper { gap: 0.75rem; }
  .phone-mockup { width: 130px; height: 260px; border-radius: 24px; border-width: 4px; }
  .phone-screen { padding: 0.5rem; }

  /* Contact section mobile */
  .contact-channels { margin-top: 1rem; gap: 0.75rem; justify-content: center; }
  .channel-btn { padding: 0.85rem 1rem; font-size: 0.82rem; }
  .contact-form-card { padding: 1.35rem; }

  /* Dashboard mobile */
  .pm-dashboard { padding: 1.1rem; }
  .dash-tabs { gap: 0.4rem; padding-bottom: 0.6rem; margin-bottom: 1.1rem; }
  .dash-tab { font-size: 0.72rem; padding: 0.25rem 0.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .stat-card { padding: 0.85rem; }
  .stat-value { font-size: 1.35rem; }

  /* Fixed Floating WhatsApp and Back-to-top at bottom corners */
  .whatsapp-float-widget {
    position: fixed !important;
    bottom: 1rem !important;
    right: 4.5rem !important;
    z-index: 9999 !important;
  }
  .whatsapp-icon-bubble {
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  .whatsapp-icon-bubble svg, .whatsapp-icon-bubble img { width: 22px; height: 22px; }
  .whatsapp-tooltip { display: none !important; }

  .back-to-top {
    position: fixed !important;
    bottom: 1rem !important;
    right: 1rem !important;
    width: 44px;
    height: 44px;
    z-index: 9998 !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  
  .profile-card-frame { max-width: 240px; }
  .profile-avatar-img { height: 280px; }
  
  .pill-1 { top: 0.5rem; right: -0.75rem; }
  .pill-2 { bottom: 3.9rem; left: -0.75rem; }
  .pill-3 { bottom: 3.9rem; right: -0.75rem; }
  .pill-4 { top: 3.9rem; left: -0.75rem; }

  .stats-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 0.3rem; }
  .filter-btn { padding: 0.35rem 0.75rem; font-size: 0.72rem; }
  
  .modal-content { padding: 1.2rem; max-height: 90vh; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}
