/* ═══ HOME-SPECIFIC — LIGHT THEME ═══ */

/* HERO ZOOM SCROLL */
.hero-wrap { height: 600vh; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(180deg, #e8eeff 0%, #f2f4fa 60%, #f7f8fc 100%);
}
.hero-scene {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* HERO TEXT CENTER */
.hero-center {
  position: relative; z-index: 10;
  text-align: center; padding: 2rem;
  pointer-events: none;
  max-width: 100vw; overflow: visible;
}
.hero-eyebrow {
  font-size: clamp(.65rem, 1.1vw, .8rem);
  letter-spacing: .5em; color: var(--accent); font-weight: 600;
  opacity: 0; transform: translateY(16px);
  display: inline-block; margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: 1.4rem;
  opacity: 0; transform: translateY(28px);
  color: var(--text);
  overflow: visible; white-space: normal;
  word-wrap: break-word;
  padding: 0 0.5rem;
}
.hero-title .line2 {
  display: block;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-l) 40%, #667eea 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(.9rem, 1.6vw, 1.15rem);
  color: var(--text-secondary); max-width: 580px; margin: 0 auto 2.5rem;
  line-height: 1.85; opacity: 0; transform: translateY(20px);
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px); pointer-events: all;
}

/* FLOATING STAT CARDS — GLASSMORPHISM */
.stat-card {
  position: absolute; z-index: 8;
  padding: 1rem 1.3rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 30, 120, 0.08), inset 0 1px 0 rgba(255,255,255,0.6);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s, transform .6s;
  pointer-events: none; min-width: 150px;
}
.stat-card.sc-in { opacity: 1; transform: translateY(0); }
.sc-label { font-size: .7rem; color: var(--muted); letter-spacing: .08em; margin-bottom: .4rem; }
.sc-val { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.sc-val.pos { color: #00b386; }
.sc-change { font-size: .72rem; color: #00b386; margin-top: .2rem; }
.sc-change.neg { color: #e94667; }
.sc-mini-bar {
  height: 3px; border-radius: 2px;
  background: rgba(0, 71, 255, .08); margin-top: .6rem; overflow: hidden;
}
.sc-mini-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-l));
  transition: width 1.5s var(--ease-out);
}
.sc1 { top: 14%; left: 5%; }
.sc2 { top: 12%; right: 5%; }
.sc3 { bottom: 20%; left: 4%; }
.sc4 { bottom: 22%; right: 4%; }
.sc5 { top: 50%; transform: translateY(-50%); left: 2%; }
.sc5.sc-in { transform: translateY(-50%); }

/* SCROLL INDICATOR */
.scroll-ind {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 10; opacity: .4;
  animation: scrollBob 2s ease-in-out infinite;
}
.scroll-ind span { font-size: .65rem; letter-spacing: .4em; color: var(--text-secondary); }
.scroll-ind-line { width: 1px; height: 48px; background: linear-gradient(180deg, var(--accent), transparent); }
@keyframes scrollBob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ZOOM STAGES */
.zoom-stage {
  position: absolute; z-index: 9;
  text-align: center; width: 100%;
  opacity: 0; pointer-events: none;
  transition: opacity .4s;
}
.zoom-stage.zs-active { opacity: 1; }

/* ═══ MARQUEE ═══ */
.marquee-wrap {
  overflow: hidden; background: var(--accent);
  padding: .65rem 0; position: relative; z-index: 2;
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  color: #fff; white-space: nowrap;
  padding: 0 2.5rem;
}
.marquee-dot { color: rgba(255,255,255,.5); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ═══ WORK SECTION ═══ */
.work-section { padding: 7rem 3.5rem; max-width: 1240px; margin: 0 auto; }
.work-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem;
}
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.work-card {
  border-radius: 24px; overflow: hidden; position: relative;
  cursor: pointer; transition: transform .5s var(--ease-out), box-shadow .5s;
  border: 1px solid rgba(0, 71, 255, .06);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 30, 120, 0.06);
}
.work-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 30, 120, 0.12);
}
.work-card:first-child { grid-row: span 2; }
.work-canvas-wrap { height: 260px; position: relative; overflow: hidden; }
.work-card:first-child .work-canvas-wrap { height: 100%; min-height: 400px; }
.work-canvas { width: 100%; height: 100%; display: block; }
.work-card-body { padding: 1.8rem; }
.work-tag { font-size: .7rem; letter-spacing: .1em; color: var(--accent); margin-bottom: .5rem; }
.work-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.35; color: var(--text); }
.work-metric { font-size: .82rem; color: #00b386; font-weight: 600; margin-top: .6rem; }

/* ═══ METRICS STRIP ═══ */
.metrics-strip { padding: 5rem 3.5rem; }
.metrics-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  border: 1px solid rgba(0, 71, 255, .06); border-radius: 24px; overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 30, 120, 0.06);
}
.metric-item {
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(0, 71, 255, .06);
  transition: background .3s;
}
.metric-item:last-child { border-right: none; }
.metric-item:hover { background: rgba(0, 71, 255, .04); }
.metric-num {
  font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 900;
  letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent-l));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .6rem;
}
.metric-label { font-size: .85rem; color: var(--text-secondary); line-height: 1.5; }

/* ═══ SERVICES PREVIEW ═══ */
.services-preview { padding: 7rem 3.5rem; max-width: 1240px; margin: 0 auto; }
.services-list { margin-top: 3.5rem; border-top: 1px solid rgba(0, 71, 255, .08); }
.svc-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0; border-bottom: 1px solid rgba(0, 71, 255, .06);
  cursor: pointer; transition: padding .4s var(--ease-out), background .3s;
  text-decoration: none; color: inherit;
}
.svc-item:hover { padding-left: 1.2rem; background: rgba(0, 71, 255, .02); }
.svc-left { display: flex; align-items: center; gap: 1.5rem; }
.svc-num { font-size: .75rem; color: var(--accent); font-weight: 700; letter-spacing: .08em; min-width: 28px; }
.svc-name { font-size: clamp(1.1rem, 2.5vw, 1.8rem); font-weight: 800; letter-spacing: -.01em; transition: color .3s; color: var(--text); }
.svc-item:hover .svc-name { color: var(--accent); }
.svc-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.svc-tag {
  font-size: .7rem; padding: .3rem .7rem;
  background: rgba(0, 71, 255, .06); border-radius: 100px;
  color: var(--text-secondary); letter-spacing: .05em;
}
.svc-arrow {
  font-size: 1.2rem; color: rgba(0, 71, 255, .2);
  transition: color .3s, transform .3s;
}
.svc-item:hover .svc-arrow { color: var(--accent); transform: translateX(6px) rotate(-45deg); }

/* ═══ TESTIMONIALS ═══ */
.testi-section { padding: 7rem 3.5rem; max-width: 1240px; margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.testi-card {
  padding: 2.2rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  transition: all .4s;
  box-shadow: 0 4px 24px rgba(0, 30, 120, 0.06), inset 0 1px 0 rgba(255,255,255,0.5);
}
.testi-card:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 71, 255, .15);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 30, 120, 0.1);
}
.testi-stars { color: #f59e0b; font-size: .9rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testi-quote { font-size: .92rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-l));
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; flex-shrink: 0; color: #fff;
}
.testi-name { font-size: .85rem; font-weight: 700; color: var(--text); }
.testi-company { font-size: .75rem; color: var(--muted); }

/* ═══ CTA BANNER ═══ */
.cta-section {
  margin: 2rem 3.5rem 7rem;
  max-width: 1240px; margin-left: auto; margin-right: auto;
}
.cta-banner {
  border-radius: 28px; padding: 5rem 4rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-l) 50%, #667eea 100%);
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 71, 255, .2);
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.12), transparent 70%);
}
.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -.02em;
  position: relative; z-index: 1; margin-bottom: 1rem; color: #fff;
}
.cta-banner p {
  color: rgba(255,255,255,.8); font-size: 1.05rem;
  margin-bottom: 2.5rem; position: relative; z-index: 1;
}
.cta-banner .btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.cta-banner .btn-p {
  background: #fff; color: var(--accent);
}
.cta-banner .btn-p:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.cta-banner .btn-o {
  border-color: rgba(255,255,255,.4); color: #fff;
}
.cta-banner .btn-o:hover {
  border-color: #fff; color: #fff;
  background: rgba(255,255,255,.1);
}

/* ═══ PORTFOLIO SECTION ═══ */
.portfolio-section { padding: 7rem 3.5rem; max-width: 1240px; margin: 0 auto; }
.portfolio-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem;
}
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card {
  border-radius: 24px; overflow: hidden; position: relative;
  cursor: pointer; transition: transform .5s var(--ease-out), box-shadow .5s;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 30, 120, 0.06);
}
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 30, 120, 0.12);
}
.portfolio-canvas-wrap { height: 220px; position: relative; overflow: hidden; }
.portfolio-canvas { width: 100%; height: 100%; display: block; }
.portfolio-card-body { padding: 1.6rem; }
.portfolio-tag { font-size: .7rem; letter-spacing: .1em; color: var(--accent); margin-bottom: .5rem; font-weight: 600; }
.portfolio-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; line-height: 1.35; color: var(--text); }
.portfolio-desc { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .metrics-inner { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 9vw, 4rem); }
  .hero-sub { font-size: .9rem; padding: 0 .5rem; }
  .sc3, .sc4, .sc5 { display: none; }
  .sc1 { left: 2%; top: 10%; } .sc2 { right: 2%; top: 8%; }
  .stat-card { min-width: 120px; padding: .75rem 1rem; }
  .sc-val { font-size: 1.2rem; }
  .services-preview, .portfolio-section, .testi-section, .metrics-strip, .cta-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .cta-banner { padding: 3rem 1.5rem; border-radius: 20px; }
  .cta-banner h2 { font-size: clamp(1.5rem, 6vw, 2.5rem); }
  .svc-item { grid-template-columns: auto 1fr auto; gap: 1rem; padding: 1.5rem 0; }
  .svc-name { font-size: clamp(1rem, 4vw, 1.3rem); }
  .scroll-ind { display: none; }
  .hero-center { padding: 1rem; }
  .hero-btns { gap: .7rem; }
  .hero-btns .btn-p, .hero-btns .btn-o { padding: .7rem 1.5rem; font-size: .82rem; }
  .metric-item { padding: 2rem 1.2rem; }
  .metric-num { font-size: clamp(2rem, 6vw, 3rem); }
  .testi-card { padding: 1.5rem; }
  .portfolio-header { margin-bottom: 2rem; }
}
@media (max-width: 600px) {
  .metrics-inner { grid-template-columns: 1fr 1fr; }
  .svc-tags { display: none; }
  .svc-item { grid-template-columns: auto 1fr auto; }
  .hero-eyebrow { font-size: .6rem; letter-spacing: .3em; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .stat-card { transform: scale(.85); }
  .sc1 { top: 8%; left: 0%; } .sc2 { top: 6%; right: 0%; }
  .cta-section { margin-bottom: 3rem; }
}
