/* ============================================================
   HOME PAGE — index.html specific styles
============================================================ */

/* ---- HERO ---- */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 120px 0 80px;
}
.hero-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(34,211,238,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 55%, rgba(14,165,233,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 15% 80%, rgba(34,211,238,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: none;
}
.home-hero .container {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

/* Hero Text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.badge-pulse {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseAnim 2s ease-in-out infinite;
}
@keyframes pulseAnim {
  0%,100% { opacity:1; transform:scale(1); box-shadow:0 0 0 0 rgba(34,211,238,0.5); }
  50%      { opacity:0.7; transform:scale(1.3); box-shadow:0 0 0 5px rgba(34,211,238,0); }
}
.hero-text h1 { margin-bottom: 20px; }

/* ── Hero H1 override ── */
.hero-h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  white-space: nowrap;
}
.hero-h1-highlight {
  font-style: italic;
  font-weight: 600;
  color: #22D3EE;
  text-shadow:
    0 0 18px rgba(34, 211, 238, 0.55),
    0 0 42px rgba(34, 211, 238, 0.25);
}
@media (max-width: 1100px) {
  .hero-h1 { font-size: clamp(1.9rem, 3vw, 2.8rem); white-space: normal; }
}
@media (max-width: 900px) {
  .hero-h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); white-space: normal; }
}
@media (max-width: 768px) {
  .hero-h1 { font-size: clamp(1.55rem, 6vw, 2rem); white-space: normal; line-height: 1.18; }
}
.hero-text p  { font-size: 1.05rem; max-width: 490px; margin-bottom: 36px; }
.hero-btns    { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-mini-stats { display: flex; align-items: center; gap: 28px; }
.hero-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}
.hero-stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.stat-sep { width: 1px; height: 38px; background: var(--border-faint); }

/* ============================================================
   HERO — VERTICAL SCROLLING COLUMNS  (Superside-style)
============================================================ */

/* Outer container */
.hero-cols-outer {
  position: relative;
  height: 620px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 11%,
    black 89%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 11%,
    black 89%,
    transparent 100%
  );
}

/* Three columns */
.hero-cols {
  display: flex;
  gap: 14px;
  height: 100%;
  align-items: flex-start;
}

.hcol {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* Scrolling inner track */
.hcol-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  will-change: transform;
}

/* Scroll animations */
@keyframes colScrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes colScrollDown {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

.hcol-inner--up   { animation: colScrollUp   28s linear infinite; }
.hcol-inner--down { animation: colScrollDown 22s linear infinite; }
.hcol-inner--slow { animation-duration: 38s; }

/* Stagger start offsets */
.hcol:nth-child(1) .hcol-inner { animation-delay: 0s; }
.hcol:nth-child(2) .hcol-inner { animation-delay: -6s; }
.hcol:nth-child(3) .hcol-inner { animation-delay: -16s; }

/* Pause on hover */
.hero-cols-outer:hover .hcol-inner { animation-play-state: paused; }

/* ── BASE CARD ── */
.hcard {
  border-radius: 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-height: 155px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.07);
}
.hcard::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}
.hcard:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  z-index: 10;
}
.hcard--tall { min-height: 210px; }

/* ── CARD THEME COLORS ── */
.hcard--brand    { background: linear-gradient(145deg, #0f2460 0%, #1a3a8f 60%, #2d6be4 100%); }
.hcard--web      { background: linear-gradient(145deg, #052e16 0%, #064e3b 60%, #059669 100%); }
.hcard--social   { background: linear-gradient(145deg, #0a1535 0%, #0D1B3E 60%, #1e3a8a 100%); border-color: rgba(34,211,238,0.18); }
.hcard--motion   { background: linear-gradient(145deg, #1e0a4a 0%, #3b0764 55%, #7c3aed 100%); }
.hcard--ui       { background: linear-gradient(145deg, #042f2e 0%, #134e4a 60%, #0d9488 100%); }
.hcard--identity { background: linear-gradient(145deg, #050e2a 0%, #083344 55%, #0ea5e9 100%); }
.hcard--video    { background: linear-gradient(145deg, #3a0f05 0%, #7c2d12 55%, #ea580c 100%); }
.hcard--system   { background: linear-gradient(145deg, #0d0a2e 0%, #1e1b4b 55%, #4338ca 100%); }
.hcard--pack     { background: linear-gradient(145deg, #032010 0%, #0c4a26 55%, #16a34a 100%); }
.hcard--ads      { background: linear-gradient(145deg, #0a1535 0%, #1e3a8a 55%, #2563eb 100%); border-color: rgba(34,211,238,0.15); }
.hcard--app      { background: linear-gradient(145deg, #160a32 0%, #312e81 55%, #6d28d9 100%); }
.hcard--campaign { background: linear-gradient(145deg, #050e24 0%, #0e2048 55%, #1a3a8f 100%); border-color: rgba(34,211,238,0.2); }
.hcard--deck     { background: linear-gradient(145deg, #2a1503 0%, #78350f 55%, #d97706 100%); }
.hcard--content  { background: linear-gradient(145deg, #052230 0%, #0c4a6e 55%, #0ea5e9 100%); }
.hcard--print    { background: linear-gradient(145deg, #0a1535 0%, #1e3a8a 55%, #22d3ee 100%); }

/* ── TAG chip ── */
.hcard-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 4px 9px;
  border-radius: 999px;
  z-index: 3;
}

/* ── MOCKUP area ── */
.hcard-mockup {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 16px 12px;
  position: relative;
  z-index: 1;
  min-height: 90px;
}

/* ── REAL IMAGE REPLACEMENT ── */
.hcard-img-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  z-index: 1;
  min-height: 140px;
  border-radius: 10px 10px 0 0;
}
.hcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.hcard:hover .hcard-img {
  transform: scale(1.04);
}

/* ── META (title + client) ── */
.hcard-meta {
  padding: 10px 14px 14px;
  position: relative;
  z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%);
}
.hcard-title {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.3;
}
.hcard-client {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   MOCKUP ILLUSTRATIONS — pure CSS "mini designs"
═══════════════════════════════════════════════════════════ */

/* ── Logo mockup ── */
.hcard-mockup--logo { position: relative; }
.mock-logo-ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(34,211,238,0.7);
  box-shadow: 0 0 18px rgba(34,211,238,0.35), inset 0 0 14px rgba(34,211,238,0.15);
}
.mock-logo-inner {
  position: absolute;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(34,211,238,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #22D3EE; font-size: 0.95rem;
}

/* ── Browser mockup ── */
.hcard-mockup--browser {
  flex-direction: column;
  align-items: stretch;
  padding: 38px 12px 10px;
  gap: 6px;
}
.mbr-bar {
  display: flex; gap: 5px; align-items: center;
  padding: 6px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 7px 7px 0 0;
}
.mbr-bar span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.mbr-bar span:first-child { background: rgba(239,68,68,0.7); }
.mbr-bar span:nth-child(2) { background: rgba(234,179,8,0.7); }
.mbr-bar span:nth-child(3) { background: rgba(34,197,94,0.7); }
.mbr-hero {
  height: 46px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(34,211,238,0.25) 0%, rgba(59,130,246,0.2) 100%);
  border: 1px solid rgba(34,211,238,0.12);
}
.mbr-rows { display: flex; flex-direction: column; gap: 5px; }
.mbr-row {
  height: 7px; border-radius: 3px;
  background: rgba(255,255,255,0.12);
}
.mbr-row--short { width: 65%; }

/* ── 3×2 social grid ── */
.hcard-mockup--grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
  padding: 38px 10px 10px;
  align-items: stretch;
}
.mg-cell {
  height: 34px;
  border-radius: 5px;
}
.mg-cell--cyan { background: linear-gradient(135deg, #22D3EE, #0EA5E9); }
.mg-cell--dark { background: rgba(255,255,255,0.08); }
.mg-cell--mid  { background: rgba(34,211,238,0.2); }

/* ── 3-D cube mockup ── */
.hcard-mockup--3d {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 14px;
}
.m3d-cube {
  position: relative;
  width: 52px; height: 52px;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(-30deg);
}
.m3d-face {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 4px;
}
.m3d-face--front {
  background: linear-gradient(135deg, rgba(124,58,237,0.9), rgba(109,40,217,0.7));
  transform: translateZ(26px);
  border: 1px solid rgba(167,139,250,0.4);
}
.m3d-face--right {
  background: linear-gradient(135deg, rgba(91,33,182,0.8), rgba(76,29,149,0.6));
  transform: rotateY(90deg) translateZ(26px);
  border: 1px solid rgba(139,92,246,0.3);
}
.m3d-face--top {
  background: linear-gradient(135deg, rgba(167,139,250,0.7), rgba(124,58,237,0.5));
  transform: rotateX(90deg) translateZ(26px);
  border: 1px solid rgba(196,181,253,0.3);
}
.m3d-shadow {
  width: 50px; height: 10px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: 6px;
}

/* ── Phone/app mockup ── */
.hcard-mockup--phone {
  align-items: center;
  padding: 40px 18px 10px;
}
.mph-screen {
  width: 54px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mph-nav {
  height: 7px;
  background: rgba(34,211,238,0.4);
  border-radius: 3px;
}
.mph-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
  padding-top: 4px;
}
.mph-bar {
  flex: 1;
  background: linear-gradient(to top, #22D3EE, #0EA5E9);
  border-radius: 2px 2px 0 0;
  opacity: 0.8;
}

/* ── Color palette mockup ── */
.hcard-mockup--palette {
  flex-direction: column;
  align-items: flex-start;
  padding: 42px 14px 10px;
  gap: 6px;
  width: 100%;
}
.pal-swatch {
  width: 100%;
  height: 18px;
  border-radius: 5px;
}
.pal-typo {
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  letter-spacing: -0.02em;
}

/* ── Video mockup ── */
.hcard-mockup--video {
  padding: 38px 12px 10px;
  width: 100%;
}
.mvid-thumb {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mvid-play {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(234,88,12,0.85);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: #fff;
  box-shadow: 0 0 16px rgba(234,88,12,0.4);
}
.mvid-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
}
.mvid-bar {
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, #ea580c, #f97316);
  border-radius: 2px;
}

/* ── Design system tokens ── */
.hcard-mockup--tokens {
  flex-direction: column;
  align-items: stretch;
  padding: 40px 14px 10px;
  gap: 7px;
  width: 100%;
}
.tok-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 5px 9px;
}
.tok-circle {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tok-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Packaging box ── */
.hcard-mockup--box {
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 12px;
}
.mbox-outer {
  position: relative;
  width: 52px; height: 52px;
  transform-style: preserve-3d;
  transform: rotateX(18deg) rotateY(-24deg);
}
.mbox-face {
  position: absolute;
  border-radius: 3px;
}
.mbox-face--front {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(22,163,74,0.85), rgba(16,185,129,0.7));
  transform: translateZ(26px);
  border: 1px solid rgba(134,239,172,0.3);
}
.mbox-face--side {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(15,118,110,0.7), rgba(20,83,45,0.6));
  transform: rotateY(90deg) translateZ(26px);
}
.mbox-face--top {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(74,222,128,0.6), rgba(22,163,74,0.4));
  transform: rotateX(90deg) translateZ(26px);
}

/* ── Ad set mockup ── */
.hcard-mockup--adset {
  gap: 6px;
  padding: 40px 10px 10px;
  align-items: flex-end;
  width: 100%;
}
.mad-banner {
  width: 100%; height: 20px;
  background: linear-gradient(90deg, rgba(37,99,235,0.7), rgba(14,165,233,0.5));
  border-radius: 5px;
}
.mad-square {
  width: 38px; height: 38px;
  background: rgba(37,99,235,0.4);
  border-radius: 6px;
  border: 1px solid rgba(59,130,246,0.3);
}
.mad-story {
  width: 22px; height: 38px;
  background: linear-gradient(to bottom, rgba(14,165,233,0.6), rgba(37,99,235,0.4));
  border-radius: 5px;
}

/* ── App screen mockup ── */
.hcard-mockup--appscreen {
  flex-direction: column;
  align-items: stretch;
  padding: 40px 12px 10px;
  gap: 6px;
  width: 100%;
}
.mapp-header {
  height: 22px;
  background: linear-gradient(90deg, rgba(124,58,237,0.5), rgba(109,40,217,0.3));
  border-radius: 6px;
}
.mapp-list { display: flex; flex-direction: column; gap: 5px; }
.mapp-item {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  padding: 5px 7px;
}
.mapp-item--active { background: rgba(109,40,217,0.2); border: 1px solid rgba(167,139,250,0.25); }
.mapp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.mapp-dot--active { background: #a78bfa; box-shadow: 0 0 6px rgba(167,139,250,0.6); }
.mapp-line {
  flex: 1; height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}
.mapp-line--short { max-width: 65%; }
.mapp-cta {
  height: 18px;
  background: linear-gradient(90deg, rgba(124,58,237,0.55), rgba(167,139,250,0.3));
  border-radius: 5px;
  margin-top: 2px;
}

/* ── Stories mockup ── */
.hcard-mockup--stories {
  gap: 6px;
  padding: 38px 10px 10px;
  width: 100%;
}
.mst-card {
  flex: 1;
  height: 52px;
  border-radius: 8px;
}
.mst-card--1 { background: linear-gradient(135deg, #22D3EE, #0EA5E9); }
.mst-card--2 { background: rgba(34,211,238,0.15); border: 1px solid rgba(34,211,238,0.25); }
.mst-card--3 { background: linear-gradient(135deg, #0EA5E9, #2563EB); }

/* ── Slides/deck mockup ── */
.hcard-mockup--slides {
  gap: 8px;
  padding: 38px 10px 10px;
  width: 100%;
  align-items: flex-start;
}
.msl-slide--main {
  flex: 1;
  height: 55px;
  background: linear-gradient(135deg, rgba(217,119,6,0.6), rgba(180,83,9,0.4));
  border-radius: 7px;
  border: 1px solid rgba(251,191,36,0.2);
}
.msl-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 28px;
}
.msl-mini {
  height: 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
.msl-mini:first-child { background: rgba(217,119,6,0.35); }

/* ── Content kit mockup ── */
.hcard-mockup--contentkit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 5px;
  padding: 40px 10px 10px;
  width: 100%;
  align-items: start;
}
.mck-post--main {
  grid-column: 1 / -1;
  height: 40px;
  background: linear-gradient(135deg, rgba(14,165,233,0.5), rgba(34,211,238,0.3));
  border-radius: 7px;
}
.mck-post--sm {
  height: 28px;
  border-radius: 6px;
}
.mck-post--a { background: rgba(34,211,238,0.2); border: 1px solid rgba(34,211,238,0.2); }
.mck-post--b { background: rgba(14,165,233,0.25); }

/* ── Print cards mockup ── */
.hcard-mockup--print {
  position: relative;
  padding: 40px 14px 10px;
  width: 100%;
  justify-content: flex-end;
}
.mpr-card {
  width: 52px; height: 32px;
  background: linear-gradient(135deg, rgba(34,211,238,0.55), rgba(14,165,233,0.35));
  border-radius: 5px;
  border: 1px solid rgba(34,211,238,0.3);
}
.mpr-card--offset {
  position: absolute;
  bottom: 18px; left: 22px;
  transform: rotate(-8deg);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--text-muted); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  animation: fadeUp 1s ease 1.2s both;
}
.scroll-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollFlow 2.2s ease-in-out infinite;
}
@keyframes scrollFlow { 0%,100%{opacity:0.3;} 50%{opacity:1;} }
@keyframes fadeUp { from{opacity:0;transform:translateX(-50%) translateY(16px);} to{opacity:1;transform:translateX(-50%) translateY(0);} }

/* ---- OUR WORK (preview) ---- */
.home-work { background: var(--bg-secondary); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.work-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.work-item:hover { transform: scale(1.02); }
.work-item:hover .work-overlay { opacity: 0; }
.work-visual {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.work-visual i { font-size: 3rem; color: rgba(255,255,255,0.2); transition: var(--transition); }
.work-item:hover .work-visual i { color: rgba(255,255,255,0.45); transform: scale(1.1); }
.wi-1 { background: linear-gradient(135deg,#1e3a8a,#2563eb); }
.wi-2 { background: linear-gradient(135deg,#0c4a26,#16a34a); }
.wi-3 { background: linear-gradient(135deg,#3b0764,#7c3aed); }
.wi-4 { background: linear-gradient(135deg,#7c2d12,#ea580c); }
.wi-5 { background: linear-gradient(135deg,#0f172a,#22d3ee20,#0D1B3E); border:1px solid rgba(34,211,238,0.15); }
.wi-6 { background: linear-gradient(135deg,#134e4a,#0d9488); }

/* Real project images */
.work-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.work-item:hover .work-img { transform: scale(1.07); }

/* Overlay — visible by default, fades out on hover */
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 8, 20, 0.92) 0%,
    rgba(6, 8, 20, 0.55) 40%,
    rgba(6, 8, 20, 0.18) 75%,
    transparent 100%
  );
  opacity: 1;
  transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 24px;
}
.work-item:hover .work-overlay { opacity: 0; }

/* Text — fades independently for a staged feel */
.work-overlay-text {
  transform: translateY(0);
  transition:
    opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}
.work-item:hover .work-overlay-text {
  opacity: 0;
  transform: translateY(8px);
}
.work-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
  display: block;
}
.work-overlay h4 { font-size: 1.05rem; color: var(--white); font-weight: 600; line-height: 1.3; }
.work-footer { text-align: center; margin-top: 48px; }

/* ---- WHAT WE DO (home preview) ---- */
.home-services { background: var(--bg-primary); }
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
  margin-bottom: 48px;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,var(--cyan),#0ea5e9);
  transform: scaleX(0); transition: transform 0.3s ease;
}
.svc-card:hover { border-color: var(--cyan-border); transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--cyan-dim); border: 1px solid var(--cyan-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--cyan); margin-bottom: 18px;
  transition: var(--transition);
}
.svc-card:hover .svc-icon { background: rgba(34,211,238,0.22); box-shadow: 0 0 20px rgba(34,211,238,0.18); }
.svc-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.svc-card p  { font-size: 0.87rem; }
.services-preview-footer { text-align: center; }

/* ============================================================
   CLIENT LOVE — 2-row horizontal scrolling marquee (Superside-style)
============================================================ */

/* ═══════════════════════════════════════════════════════════
   WHO WE ARE — Trust & Identity Strip
============================================================ */
.home-trust {
  background: var(--bg-primary);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

/* Left column */
.trust-identity h2 { margin: 12px 0 20px; }
.trust-identity p  { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; margin-bottom: 14px; }

.trust-founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 24px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 6px;
}
.trust-founder-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.trust-founder-bio {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.trust-founder-bio strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.trust-founder-bio span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.trust-about-btn { margin-top: 4px; }

/* Right column — pillars */
.trust-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.trust-pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.trust-pillar:first-child { border-top: 1px solid var(--border); }
.trust-pillar:hover { background: transparent; }
.trust-pillar:hover .trust-pillar-icon { background: var(--cyan-dim); border-color: var(--cyan-border); color: var(--cyan); }

.trust-pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.trust-pillar-body h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}
.trust-pillar-body p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   CLIENT LOVE — 2-row horizontal scrolling marquee (Superside-style)
============================================================ */
.home-testimonials {
  background: var(--bg-secondary);
  padding: 100px 0 110px;
  overflow: hidden;
  position: relative;
}

/* Section header */
.tl-header {
  text-align: center;
  margin-bottom: 56px;
}
.tl-header h2 { margin: 10px 0 12px; }
.tl-header .section-sub {
  max-width: 540px;
  margin: 0 auto 36px;
}

/* ── Platform trust badges ── */
.tl-platform-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 32px;
}
.tl-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
}
.tl-badge-stars {
  display: flex;
  gap: 2px;
}
.tl-badge-stars i {
  color: #FBBF24;
  font-size: 0.8rem;
}
.tl-badge-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}
.tl-badge-info strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.tl-badge-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.2;
}
.tl-badge-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}
.tl-tp-logo {
  width: 72px;
  height: auto;
  opacity: 0.85;
}

/* ── Track wrapper — full viewport width, clips overflow ── */
.tl-track-wrap {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  margin-bottom: 16px;
}
.tl-track-wrap:last-child { margin-bottom: 0; }

/* ── The scrolling track ── */
.tl-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 10px 0;
}

/* Row 1 scrolls LEFT */
@keyframes tlScrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Row 2 scrolls RIGHT */
@keyframes tlScrollRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.tl-track--left  { animation: tlScrollLeft  40s linear infinite; }
.tl-track--right { animation: tlScrollRight 44s linear infinite; }

/* Pause on hover */
.tl-track-wrap:hover .tl-track { animation-play-state: paused; }

/* ── Individual card ── */
.tl-card {
  background: rgba(9, 11, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 26px 28px 24px;
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.tl-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,211,238,0.04) 0%, transparent 55%);
  pointer-events: none;
  border-radius: inherit;
}
.tl-card:hover {
  border-color: rgba(34,211,238,0.28);
  box-shadow: 0 12px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(34,211,238,0.08);
  transform: translateY(-5px);
}

/* ── Card top row: stars + platform tag ── */
.tl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Stars */
.tl-card-stars {
  display: flex;
  gap: 3px;
}
.tl-card-stars i { color: #FBBF24; font-size: 0.78rem; }
.tl-card-stars i.tl-star-empty { color: rgba(255,255,255,0.18); }

/* Platform tag */
.tl-platform-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid;
  line-height: 1.5;
}
.tl-tag--google {
  color: #4285F4;
  border-color: rgba(66,133,244,0.3);
  background: rgba(66,133,244,0.07);
}
.tl-tag--clutch {
  color: #FF3D2E;
  border-color: rgba(255,61,46,0.3);
  background: rgba(255,61,46,0.07);
}
.tl-tag--trustpilot {
  color: #00b67a;
  border-color: rgba(0,182,122,0.3);
  background: rgba(0,182,122,0.07);
}

/* Quote */
.tl-card-quote {
  font-size: 0.915rem;
  line-height: 1.76;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
  flex: 1;
}

/* Author row */
.tl-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.tl-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tl-author-info strong {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.tl-author-info span {
  font-size: 0.73rem;
  color: var(--text-muted);
}

/* ── Avatars ── */
.tl-av {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.73rem; font-weight: 800;
  flex-shrink: 0; letter-spacing: 0.03em;
}
.av-1 { background: linear-gradient(135deg,#0ea5e9,#22d3ee); color:#060915; }
.av-2 { background: linear-gradient(135deg,#22d3ee,#0284c7); color:#060915; }
.av-3 { background: linear-gradient(135deg,#2563eb,#0ea5e9); color:#fff; }
.av-4 { background: linear-gradient(135deg,#7c3aed,#a78bfa); color:#fff; }
.av-5 { background: linear-gradient(135deg,#ea580c,#f97316); color:#fff; }
.av-6 { background: linear-gradient(135deg,#059669,#34d399); color:#fff; }

/* ── Mobile responsive ── */
@media (max-width: 768px) {
  .tl-card {
    width: 300px;
    padding: 20px 20px;
    text-align: center;
  }
  .tl-card-top {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .tl-card-stars { justify-content: center; }
  .tl-card-author { justify-content: center; text-align: center; }
  .tl-track--left  { animation-duration: 12s; }
  .tl-track--right { animation-duration: 15s; }
  .tl-track-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  }
  .tl-platform-badges {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .tl-badge {
    justify-content: center;
    padding: 0;
    width: 100%;
    max-width: 220px;
  }
  .tl-badge-info {
    text-align: center;
    align-items: center;
  }
  .tl-badge-divider { display: none; }
  .tl-badge { padding: 0 16px; }
}
@media (max-width: 540px) {
  .tl-platform-badges { flex-direction: column; align-items: center; gap: 14px; }
  .tl-badge-divider { display: none; }
}




/* ---- HOME CTA ---- */
.home-cta { background: var(--bg-primary); }

/* ============================================================
   HERO — MOBILE HORIZONTAL SCROLLING ROWS
   JS-driven scroll (no CSS animation — works on all browsers)
============================================================ */

/* Hidden on desktop */
.hero-mobile-rows { display: none; }

@media (max-width: 768px) {

  .hero-mobile-rows {
    display: block;
    width: 100%;
    padding-bottom: 52px;
  }

  /* Each row wrapper clips overflow */
  .hmr-track-wrap {
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
  }

  /* The scrolling track — JS sets transform */
  .hmr-track {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-flex-direction: row;
    flex-direction: row;
    gap: 14px;
    width: -webkit-max-content;
    width: max-content;
    padding: 4px 0 8px;
    will-change: transform;
  }

  /* Card sizing — bigger on mobile */
  .hero-mobile-rows .hcard {
    width: 220px;
    min-height: 0;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    border-radius: 16px;
    cursor: default;
  }

  .hero-mobile-rows .hcard-img-wrap {
    min-height: 155px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
  }

  .hero-mobile-rows .hcard-img {
    height: 155px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .hero-mobile-rows .hcard-meta {
    padding: 10px 12px 12px;
  }

  .hero-mobile-rows .hcard-title {
    font-size: 0.85rem;
    margin-bottom: 3px;
  }

  .hero-mobile-rows .hcard-client {
    font-size: 0.72rem;
  }

  .hero-mobile-rows .hcard-tag {
    font-size: 0.6rem;
    padding: 4px 8px;
    top: 9px;
    left: 9px;
  }

  /* No hover on touch */
  .hero-mobile-rows .hcard:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .hero-mobile-rows {
    padding-bottom: 40px;
    gap: 12px;
  }

  .hero-mobile-rows .hcard         { width: 190px; }
  .hero-mobile-rows .hcard-img-wrap { min-height: 135px; }
  .hero-mobile-rows .hcard-img      { height: 135px; }
  .hero-mobile-rows .hcard-title    { font-size: 0.8rem; }

  .hmr-track--left  { animation-duration: 26s; }
  .hmr-track--right { animation-duration: 22s; }
}

@media (max-width: 380px) {
  .hero-mobile-rows .hcard         { width: 165px; }
  .hero-mobile-rows .hcard-img-wrap { min-height: 118px; }
  .hero-mobile-rows .hcard-img      { height: 118px; }
}

@media (max-width: 1100px) {
  .home-hero .container { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-cols-outer { height: 520px; }
}

@media (max-width: 900px) {
  .home-hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-cols-outer { height: 300px; }
  .hero-text p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-mini-stats { justify-content: center; }
  .services-preview-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .work-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
}

/* NOTE: Hero-specific mobile rules are in mobile.css section 7.
   Only non-hero, non-conflicting rules live here. */
@media (max-width: 768px) {
  .services-preview-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-footer { margin-top: 28px; }
  .work-footer .btn { width: 100%; justify-content: center; }
  .home-testimonials { padding: 60px 0 68px; }
  .tl-header { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .svc-card { padding: 24px 20px; }
  .services-preview-footer .btn { width: 100%; justify-content: center; }
}
