/* ═══════════════════════════════════════════════════════════
   IT BOY — Refinements CSS v2 — All 10 Changes
   ═══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   CHANGE 01 — Robot Message Bubble (Premium Glass)
══════════════════════════════════════════════════ */
.robot-message-box {
  position: absolute;
  /* Shoulder area: right edge of robot zone, mid-body height */
  top: 58%;
  left: 26%;
  z-index: 20;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}
.robot-message-box.rmb-ready {
  pointer-events: auto;
  animation: rmbEnter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             rmbFloat 4s ease-in-out 0.7s infinite;
}
.robot-message-box.rmb-ready { opacity: 1; }

@keyframes rmbEnter {
  0%   { opacity: 0; transform: translateY(-24px) scale(0.82); }
  100% { opacity: 1; transform: translateY(0)     scale(1); }
}
@keyframes rmbFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Glow halo */
.rmb-glow {
  position: absolute;
  inset: -16px;
  background: radial-gradient(ellipse 80% 70% at 50% 60%, rgba(26,86,219,0.3) 0%, transparent 70%);
  border-radius: 28px;
  pointer-events: none;
  animation: rmbGlow 3s ease-in-out infinite;
}
@keyframes rmbGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

/* Glass pill */
.rmb-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  background: rgba(12, 16, 26, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(59, 130, 246, 0.38);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.07) inset,
    0 12px 40px rgba(0,0,0,0.45),
    0 0 30px rgba(26,86,219,0.12);
  min-width: 226px;
  max-width: 310px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
  user-select: none;
}
.robot-message-box:hover .rmb-inner {
  border-color: rgba(59,130,246,0.65);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.1) inset,
    0 16px 48px rgba(26,86,219,0.28),
    0 0 40px rgba(59,130,246,0.15);
  transform: scale(1.03);
}
.robot-message-box:active .rmb-inner { transform: scale(0.98); }

/* Status dot */
.rmb-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.08), 0 0 10px rgba(34,197,94,0.4); }
}
.robot-message-box:hover .rmb-dot {
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59,130,246,0.6);
  animation: none;
}

/* Text */
.rmb-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(240,242,245,0.95);
  letter-spacing: 0.2px;
  line-height: 1.35;
  transition: opacity 0.22s ease;
  white-space: nowrap;
}
.rmb-text.fade-out { opacity: 0; }
.rmb-text.fade-in  { opacity: 1; }

/* Speech tail */
.rmb-tail {
  position: absolute;
  bottom: -11px;
  left: 30px;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid rgba(59,130,246,0.38);
  filter: drop-shadow(0 3px 6px rgba(26,86,219,0.2));
}
.rmb-tail::after {
  content: '';
  position: absolute;
  top: -13px;
  left: -8px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 11px solid rgba(12,16,26,0.82);
}

/* Light mode */
[data-theme="light"] .rmb-inner {
  background: rgba(255,255,255,0.88);
  border-color: rgba(26,86,219,0.28);
  border-top-color: rgba(255,255,255,0.9);
  box-shadow: 0 12px 40px rgba(26,86,219,0.12), 0 2px 0 rgba(255,255,255,0.95) inset;
}
[data-theme="light"] .rmb-text { color: #111827; }
[data-theme="light"] .rmb-tail { border-top-color: rgba(26,86,219,0.28); }
[data-theme="light"] .rmb-tail::after { border-top-color: rgba(255,255,255,0.88); }


/* ══════════════════════════════════════════════════
   CHANGE 02 — Premium Theme Toggle
══════════════════════════════════════════════════ */
/* Hide old simple toggle */
.theme-toggle { display: none !important; }

.theme-toggle-wrap {
  position: relative;
  width: 68px;
  height: 34px;
  background: rgba(26,86,219,0.12);
  border: 1.5px solid rgba(26,86,219,0.28);
  border-radius: 100px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.3s ease;
  overflow: visible;
  flex-shrink: 0;
}
.theme-toggle-wrap:hover {
  border-color: rgba(26,86,219,0.5);
  box-shadow: 0 0 16px rgba(26,86,219,0.2);
}

.theme-icon-track {
  position: relative;
  width: 100%;
  height: 26px;
  display: flex;
  align-items: center;
}

.theme-sun,
.theme-moon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.theme-sun svg, .theme-moon svg { width: 13px; height: 13px; }

/* Dark mode: show sun on left, moon faded on right */
.theme-sun  { left: 5px;  color: #fbbf24; opacity: 1;    transform: rotate(0)   scale(1);   }
.theme-moon { right: 5px; color: #93c5fd; opacity: 0.3;  transform: rotate(-45deg) scale(0.75); }

/* Sliding knob */
.theme-knob {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 24px; height: 24px;
  background: linear-gradient(145deg, #1d63f5, #3b82f6);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(26,86,219,0.5), 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), background 0.45s ease, box-shadow 0.3s ease;
  z-index: 3;
}

/* Glow ring on hover */
.theme-toggle-wrap:hover .theme-knob {
  box-shadow: 0 0 0 3px rgba(59,130,246,0.25), 0 2px 10px rgba(26,86,219,0.5);
}

/* Light mode state */
[data-theme="light"] .theme-toggle-wrap {
  background: rgba(251,191,36,0.1);
  border-color: rgba(251,191,36,0.38);
}
[data-theme="light"] .theme-toggle-wrap:hover {
  border-color: rgba(251,191,36,0.6);
  box-shadow: 0 0 16px rgba(251,191,36,0.2);
}
[data-theme="light"] .theme-knob {
  transform: translateX(34px);
  background: linear-gradient(145deg, #f59e0b, #fbbf24);
  box-shadow: 0 2px 10px rgba(245,158,11,0.55), 0 1px 3px rgba(0,0,0,0.15);
}
[data-theme="light"] .theme-toggle-wrap:hover .theme-knob {
  box-shadow: 0 0 0 3px rgba(251,191,36,0.25), 0 2px 10px rgba(245,158,11,0.55);
}
[data-theme="light"] .theme-sun  { opacity: 0.3;  transform: rotate(45deg) scale(0.75); }
[data-theme="light"] .theme-moon { opacity: 1;    transform: rotate(0) scale(1); color: #93c5fd; }


/* ══════════════════════════════════════════════════
   CHANGE 03 — Hero Background Theme Adaptation
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg-dark,
.hero-bg-light {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cinematic dark: deep blue-black, radial glow accents */
.hero-bg-dark {
  background:
    radial-gradient(ellipse 55% 85% at 8% 45%, rgba(26,86,219,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 35% 55% at 78% 18%, rgba(59,130,246,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 55% 85%, rgba(14,30,80,0.6) 0%, transparent 70%),
    linear-gradient(170deg, #090b0f 0%, #0c1018 45%, #0e1420 100%);
  opacity: 1;
}
/* Premium light: bright elegant with soft depth */
.hero-bg-light {
  background:
    radial-gradient(ellipse 55% 75% at 10% 45%, rgba(219,234,254,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at 85% 15%, rgba(186,230,253,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 60% 90%, rgba(224,231,255,0.4) 0%, transparent 60%),
    linear-gradient(155deg, #f8faff 0%, #eef4ff 40%, #f3f6fb 100%);
  opacity: 0;
}
[data-theme="light"] .hero-bg-dark  { opacity: 0; }
[data-theme="light"] .hero-bg-light { opacity: 1; }
[data-theme="dark"]  section.hero   { background: #090b0f !important; }
[data-theme="light"] section.hero   { background: #f5f7fa !important; }

/* Particle canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.9s ease;
}
[data-theme="light"] .hero-particles { opacity: 0; }

/* Light mode hero text */
[data-theme="light"] .hero-content h1 { color: #0d1117 !important; }
[data-theme="light"] .hero-content p   { color: #374151 !important; }
[data-theme="light"] .hero-tag {
  background: rgba(26,86,219,0.09);
  border-color: rgba(26,86,219,0.2);
  color: #1d4ed8;
}

/* Layer ordering */
.robot-zone         { z-index: 10; position: relative; }
.robot-message-box  { z-index: 20; }
.hero-content       { z-index: 10; position: relative; }


/* ══════════════════════════════════════════════════
   CHANGE 04 — Full Hero Cursor Tracking (CSS only)
   The actual tracking is handled in JS
══════════════════════════════════════════════════ */
/* Ensure the hero section captures pointer events properly */
#heroSection { cursor: none; }


/* ══════════════════════════════════════════════════
   CHANGE 05 — Preview Sections
══════════════════════════════════════════════════ */
.preview-section {
  position: relative;
  border-top: 1px solid var(--border);
}
.preview-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 0 0 3px 3px;
}

/* Preview two-column layout */
.preview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.preview-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
}
.preview-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.preview-highlight span { font-size: 1.1rem; }

/* Card stack for About preview */
.preview-card-stack { display: flex; flex-direction: column; gap: 12px; }
.pcs-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pcs-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-light));
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
  border-radius: 0 2px 2px 0;
}
.pcs-card:hover { border-color: var(--border-brand); transform: translateX(4px); }
.pcs-card:hover::before { transform: scaleY(1); }
.pcs-card > span { font-size: 1.6rem; flex-shrink: 0; }
.pcs-card strong { display: block; font-size: 0.9rem; color: var(--text-primary); font-weight: 700; margin-bottom: 3px; }
.pcs-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }

/* Portfolio preview mini-grid */
.portfolio-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.port-prev-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.port-prev-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow-brand);
}
.port-prev-icon {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  transition: transform 0.3s ease;
}
.port-prev-card:hover .port-prev-icon { transform: scale(1.1); }
.port-prev-icon.web       { background: linear-gradient(135deg, rgba(26,86,219,0.15), rgba(59,130,246,0.07)); }
.port-prev-icon.marketing { background: linear-gradient(135deg, rgba(220,38,38,0.1),  rgba(239,68,68,0.05));  }
.port-prev-icon.system    { background: linear-gradient(135deg, rgba(5,150,105,0.1),  rgba(16,185,129,0.05)); }
.port-prev-icon.video     { background: linear-gradient(135deg, rgba(147,51,234,0.1), rgba(168,85,247,0.05)); }
.port-prev-body { padding: 14px 16px; }
.port-prev-body h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin: 8px 0 4px; }
.port-prev-body p  { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

/* ══════════════════════════════════════════════════
   Portfolio preview — real-image BENTO COLLAGE
   Replaces the single icon with a 1-large + 2-stacked
   grid of actual category project images. The original
   category gradient stays as a tint layer, and the emoji
   icon becomes a floating glass badge so identity is kept.
   Rounded corners, hover scale, and shadows preserved.
══════════════════════════════════════════════════ */
.port-prev-collage {
  position: relative;
  height: 110px;              /* identical height to the old icon block */
  padding: 0;
  overflow: hidden;
}
.port-prev-collage .ppc-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 6px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.port-prev-collage .ppc-cell {
  position: relative;
  overflow: hidden;
  border-radius: 8px;         /* rounded corners on each tile */
  background: var(--bg-secondary);
}
.port-prev-collage .ppc-big {
  grid-row: 1 / span 2;       /* large hero tile on the left */
}
.port-prev-collage .ppc-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* intelligent crop, no stretching */
  object-position: center top;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.94) saturate(1.04);
}
/* Category gradient stays as a subtle tint over the collage,
   preserving each card's colour identity from the original design. */
.port-prev-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.port-prev-collage.web::after       { background: linear-gradient(135deg, rgba(26,86,219,0.28), rgba(59,130,246,0.05)); }
.port-prev-collage.marketing::after { background: linear-gradient(135deg, rgba(220,38,38,0.24),  rgba(239,68,68,0.05));  }
.port-prev-collage.system::after    { background: linear-gradient(135deg, rgba(5,150,105,0.24),  rgba(16,185,129,0.05)); }
.port-prev-collage.video::after     { background: linear-gradient(135deg, rgba(147,51,234,0.26), rgba(168,85,247,0.05)); }

/* Floating glass icon badge — keeps instant category recognition */
.port-prev-collage .ppc-badge-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 8px;
  background: rgba(12,14,16,0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}
[data-theme="light"] .port-prev-collage .ppc-badge-icon {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.08);
}

/* Hover — reuse the same motion language as the original icon (scale) */
.port-prev-card:hover .port-prev-collage .ppc-cell img {
  transform: scale(1.06);
  filter: brightness(1.02) saturate(1.1);
}
.port-prev-card:hover .port-prev-collage::after { opacity: 0.36; }
.port-prev-card:hover .port-prev-collage .ppc-badge-icon { transform: scale(1.1); }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .port-prev-collage .ppc-cell img,
  .port-prev-collage .ppc-badge-icon { transition: none; }
  .port-prev-card:hover .port-prev-collage .ppc-cell img { transform: none; }
}

/* Focus-visible outline for keyboard navigation on clickable cards */
.port-prev-card[role="link"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Client testimonials mini */
.clients-preview-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cpt-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.3s ease;
}
.cpt-item:hover { border-color: var(--border-brand); transform: translateY(-2px); }
.cpt-item p { font-size: 0.85rem; color: var(--text-secondary); font-style: italic; line-height: 1.6; margin: 8px 0 10px; }
.cpt-item strong { font-size: 0.78rem; color: var(--brand-light); font-weight: 600; }

/* Office Tools preview */
.tools-portal-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tools-portal-preview::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(26,86,219,0.1), transparent 70%);
  pointer-events: none;
}
.tpp-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.tools-portal-preview h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.tools-portal-preview p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }
.tpp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; }
.tpp-item {
  background: rgba(26,86,219,0.08);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-light);
  transition: all 0.3s ease;
}
.tpp-item:hover { background: rgba(26,86,219,0.18); transform: scale(1.04); }


/* ══════════════════════════════════════════════════
   CHANGE 06 — Active Nav Highlight on Scroll
══════════════════════════════════════════════════ */
.nav-menu a {
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 2px;
  transition: left 0.35s ease, right 0.35s ease, box-shadow 0.35s ease;
  box-shadow: none;
}
.nav-menu a.scroll-active::after,
.nav-menu a.active::after {
  left: 16px; right: 16px;
  box-shadow: 0 0 8px rgba(59,130,246,0.5);
}
.nav-menu a.scroll-active {
  color: var(--brand-light) !important;
}


/* ══════════════════════════════════════════════════
   CHANGE 07 — More Reviews Button styling
══════════════════════════════════════════════════ */
/* Already handled by btn-outline class — ensure it has proper spacing */
.clients-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}


/* ══════════════════════════════════════════════════
   CHANGE 08 & 09 — Image folder + Logo dual-theme
══════════════════════════════════════════════════ */
.logo-img { display: none; }
.logo-img-dark  { display: block; }
[data-theme="light"] .logo-img-dark  { display: none; }
[data-theme="light"] .logo-img-light { display: block; }


/* ══════════════════════════════════════════════════
   CHANGE 10 — Responsive Robot Layout Fix
══════════════════════════════════════════════════ */

/* Desktop: robot left, content right — current layout is correct */
@media (min-width: 1025px) {
  .hero { height: 100vh; min-height: 680px; }
  .robot-zone { position: absolute; top: 0; left: 0; width: 58%; height: 100%; }
  .hero-content {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    max-width: 500px;
    z-index: 10;
  }
  /* Shoulder position: right edge of robot zone, mid-body */
  .robot-message-box { top: 58%; left: 26%; }
}

/* Tablet: balanced */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .robot-zone {
    position: relative;
    width: 100%;
    height: 56vh;
    min-height: 380px;
  }
  .hero-content {
    position: relative;
    top: auto; right: auto;
    transform: none;
    padding: 36px 32px 48px;
    max-width: 100%;
    background: transparent;
    text-align: center;
  }
  .hero-actions { justify-content: center; }
  /* Tablet: shoulder area lower-right of robot */
  .robot-message-box { top: 48%; left: 58%; }
}

/* Mobile: stacked, robot below content */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column-reverse; /* content top, robot bottom */
  }
  .robot-zone {
    position: relative;
    width: 100%;
    height: 55vw;
    min-height: 280px;
    max-height: 420px;
    flex-shrink: 0;
  }
  .hero-content {
    position: relative;
    top: auto; right: auto;
    transform: none;
    padding: 80px 24px 28px;
    max-width: 100%;
    z-index: 10;
    background: transparent;
  }
  .hero-content h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
  .hero-content p  { font-size: 0.95rem; }
  .hero-actions    { flex-wrap: wrap; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Mobile: bottom-left of robot zone, like it's speaking upward */
  .robot-message-box {
    top: auto;
    bottom: 16px;
    left: 12px;
    right: auto;
  }
  .rmb-inner { min-width: 185px; max-width: 250px; padding: 10px 14px; }
  .rmb-text  { font-size: 0.8rem; }
  .rmb-tail  { bottom: -10px; }

  .portfolio-preview-grid       { grid-template-columns: 1fr 1fr; }
  .clients-preview-testimonials { grid-template-columns: 1fr; }
  .preview-layout               { grid-template-columns: 1fr; gap: 32px; }
  .tpp-grid                     { grid-template-columns: repeat(2,1fr); }

  /* Cursor hidden on touch */
  #cursor, #cursor-ring { display: none; }
  body { cursor: auto; }
  #heroSection { cursor: auto; }
}

/* Small mobile */
@media (max-width: 480px) {
  .portfolio-preview-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 70px 18px 20px; }
  .robot-zone { height: 65vw; }
}

/* Ultra-wide */
@media (min-width: 1920px) {
  .hero-content { right: 8%; max-width: 580px; }
  .robot-zone   { width: 55%; }
  .robot-message-box { left: 43%; top: 54%; }
}
