/* ═══ INDEX PAGE STYLES ═══ */

/* ─── Hero ─── */
#hero {
  position: relative; width: 100%; height: 100vh; min-height: 700px;
  display: flex; align-items: center; overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,10,15,0.93) 0%, rgba(8,10,15,0.5) 60%, rgba(8,10,15,0.05) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 10;
  padding: 0 48px; max-width: 820px;
  margin-top: 72px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 30px; height: 1px; background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(70px, 9.5vw, 140px);
  line-height: 0.9; letter-spacing: 2px;
  color: var(--text); margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px; font-weight: 300; line-height: 1.7;
  color: var(--text-muted); max-width: 500px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; gap: 4px; }
.hstat-num {
  font-family: var(--font-display);
  font-size: 36px; letter-spacing: 1px; color: var(--accent);
  line-height: 1;
}
.hstat-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.hstat-div { width: 1px; height: 40px; background: var(--border); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10; animation: fadeIn 1s 1.4s forwards; opacity: 0;
}
.scroll-hint span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ─── Marquee ─── */
.marquee-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 28s linear infinite; white-space: nowrap;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 14px;
}
.dot-sep {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ─── Services Preview ─── */
.sp-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: end; margin-bottom: 56px;
}
.sp-sub { font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--text-muted); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.svc-card {
  display: block;
  padding: 40px 32px 32px;
  position: relative; overflow: hidden;
  text-decoration: none;
}
.svc-num {
  font-family: var(--font-display);
  font-size: 52px; color: rgba(255,255,255,0.04);
  line-height: 1; position: absolute; top: 20px; right: 24px;
}
.svc-icon { font-size: 30px; margin-bottom: 16px; }
.svc-name {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: 1px; color: var(--text);
  margin-bottom: 12px;
}
.svc-desc { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin-bottom: 20px; }
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.svc-arrow {
  font-size: 18px; color: var(--accent);
  transition: transform var(--transition);
  display: block;
}
.svc-card:hover .svc-arrow { transform: translateX(6px); }
.sp-cta { text-align: center; margin-top: 40px; }

/* ─── Section Dark ─── */
.section-dark { background: var(--surface); }

/* ─── Work Grid ─── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}
.work-card { display: block; }
.work-card--large { grid-row: span 2; }
.work-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
}
.work-card--large .work-thumb { aspect-ratio: 3/4; }
.work-thumb-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s ease;
}
.work-card:hover .work-thumb-bg { transform: scale(1.03); }
.work-overlay {
  position: absolute; inset: 0;
  background: rgba(0,240,160,0.08);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.work-card:hover .work-overlay { opacity: 1; }
.work-view {
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.work-icon-preview { font-size: 64px; animation: float 4s ease-in-out infinite; }
.work-info { padding: 28px 32px; background: var(--surface2); }
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.work-title {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: 1px; color: var(--text); margin-bottom: 8px;
}
.work-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Process ─── */
.process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  margin-top: 56px;
}
.process-step {
  background: var(--surface); padding: 40px 28px;
  position: relative; border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}
.process-step:hover { transform: translateY(-4px); border-color: rgba(0,240,160,0.3); }
.process-num {
  font-family: var(--font-display); font-size: 48px;
  color: rgba(255,255,255,0.04); margin-bottom: 20px;
}
.process-icon { font-size: 28px; margin-bottom: 12px; }
.process-title {
  font-family: var(--font-display); font-size: 20px;
  letter-spacing: 1px; color: var(--text); margin-bottom: 10px;
}
.process-desc { font-size: 13px; line-height: 1.7; color: var(--text-muted); }

/* ─── Testimonials ─── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 56px; }
.testi-card { padding: 40px 36px; }
.testi-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; margin-bottom: 20px; }
.testi-text { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 28px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-role { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }

/* ─── CTA Banner ─── */
#cta-banner {
  position: relative; padding: 120px 48px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg2);
  border-top: 1px solid var(--border);
}
#cta-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.4;
}
.cta-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 700px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.95; letter-spacing: 2px;
  color: var(--text); margin-bottom: 24px;
}
.cta-sub { font-size: 17px; color: var(--text-muted); margin-bottom: 44px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(3,1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  .hero-content { padding: 0 24px; }
  .hero-title { font-size: 64px; }
  .sp-header { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card--large { grid-row: span 1; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  #cta-banner { padding: 80px 24px; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}
