/* ============================================================
   L&M Computing — Home page styles
   ============================================================ */

/* ── INTRO OVERLAY ── */
#intro-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: #06112A;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
#intro-overlay.exit {
  opacity: 0; transform: translateY(-24px);
  pointer-events: none;
}

.intro-lm {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 8vw, 88px);
  letter-spacing: -0.03em; color: #fff; line-height: 1;
  opacity: 0;
}
.intro-lm.visible { animation: introLM 0.65s cubic-bezier(0.22,1,0.36,1) both; }
.intro-amp { color: #5B97E2; }

.intro-divider {
  display: block; width: 1.5px;
  height: clamp(36px, 5vw, 60px);
  background: rgba(255,255,255,0.2);
  transform-origin: top center;
  opacity: 0;
}
.intro-divider.visible { animation: introDivider 0.4s cubic-bezier(0.22,1,0.36,1) both; }

.intro-computing {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 1.4vw, 16px);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  opacity: 0;
}
.intro-computing.visible { animation: introComputing 0.55s cubic-bezier(0.22,1,0.36,1) both; }

.intro-tagline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300; font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: 0.08em; color: rgba(255,255,255,0.35); font-style: italic;
  opacity: 0;
}
.intro-tagline.visible { animation: introTagline 0.6s cubic-bezier(0.22,1,0.36,1) both; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: transparent;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
#hero-shader-root {
  position: fixed; inset: 0;
  pointer-events: none;
  background: #212121;
  z-index: 0;
}
#hero-shader-root canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 120px 64px 80px;
  position: relative; z-index: 1;
}
.hero-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: #fff;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 36px;
  animation: wordReveal 0.5s ease 0.05s both;
}
.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900; font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95; letter-spacing: -0.03em; color: #fff;
  margin-bottom: 40px; max-width: 820px;
  display: flex; flex-wrap: wrap; gap: 0.22em; align-items: baseline;
}
.hero-title .word { display: inline-block; }
.hero-title .word-1 { animation: wordReveal 0.35s cubic-bezier(0.22,1,0.36,1) 0.05s both; }
.hero-title .word-2 { animation: wordReveal 0.35s cubic-bezier(0.22,1,0.36,1) 0.11s both; }
.hero-title .word-3 { animation: wordReveal 0.35s cubic-bezier(0.22,1,0.36,1) 0.17s both; }
.hero-title .word-4 { animation: wordReveal 0.35s cubic-bezier(0.22,1,0.36,1) 0.23s both; color: #5B97E2; }

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; font-weight: 400;
  color: #fff; line-height: 1.75;
  max-width: 520px; margin-bottom: 52px;
  animation: wordReveal 0.65s ease 0.35s both;
}
.hero-sub strong { color: #fff; font-weight: 400; }

.hero-cta-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  animation: wordReveal 0.6s ease 0.5s both;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  animation: scrollBounce 2.2s ease-in-out infinite;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.22);
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em;
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(91,151,226,0.56), transparent);
}

/* ── STATS ── */
.stats-section {
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
  padding: 64px 0;
}
.stats-row {
  display: flex; align-items: center; justify-content: center; gap: 0;
}
.stat-item { text-align: center; padding: 0 48px; }
.stat-val {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800; font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 10px; display: inline-block;
}
.stat-val.orange { color: var(--orange); }
.stat-val.dark   { color: var(--gray-900); }
.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--gray-400);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.stat-divider { width: 1px; height: 56px; background: var(--gray-200); flex-shrink: 0; }
.stat-pop { animation: statPop 0.4s ease-out; }

/* ── SERVICES GRID ── */
.services-section {
  background: var(--pale);
  padding: 100px 0;
}
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.service-card {
  border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.09); }
.service-card.light { background: #fff; border: 1px solid var(--gray-100); }
.service-card.dark  { background: #0E1F4A; border: none; }
.service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-icon.light-bg { background: var(--pale); color: var(--primary); }
.service-icon.dark-bg  { background: rgba(91,151,226,0.15); color: var(--accent); }
.service-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.10em;
}
.service-tag.light { color: var(--interactive); }
.service-tag.dark  { color: var(--accent); }
.service-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700; font-size: 21px; line-height: 1.15;
}
.service-title.light { color: var(--gray-900); }
.service-title.dark  { color: #fff; }
.service-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; line-height: 1.75; flex-grow: 1;
}
.service-desc.light { color: var(--gray-500); }
.service-desc.dark  { color: rgba(255,255,255,0.45); }
.service-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.service-price {
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}
.service-price.light { background: var(--pale);                  color: var(--primary); }
.service-price.dark  { background: rgba(91,151,226,0.15);        color: var(--accent); }
.service-more {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
}
.service-more.light { color: var(--interactive); }
.service-more.dark  { color: var(--accent); }

/* ── VALUES ── */
.values-section {
  background: #fff; padding: 100px 0;
  border-top: 1px solid var(--gray-100);
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: 16px; padding: 40px 36px;
}
.value-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.value-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--pale); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.value-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800; font-size: 52px; color: var(--light); line-height: 1;
}
.value-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700; font-size: 22px; color: var(--gray-900); margin-bottom: 14px;
}
.value-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--gray-500); line-height: 1.75;
}

@media (max-width: 768px) {
  .hero-inner      { padding: 110px 20px 60px !important; }
  .hero-title      { font-size: clamp(36px, 11vw, 60px); }
  .hero-sub        { font-size: 16px; }
  .hero-cta-row    { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { text-align: center; }
  .services-grid   { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr; }
  .stats-row       { flex-direction: column; gap: 32px; }
  .stat-item       { padding: 0 24px; }
  .stat-divider    { display: none; }
  .value-card      { padding: 28px 24px; }
}
