/* ============================================================
   LEEMOTECH — HERO SECTIONS
   Drop this file in: assets/css/heroes.css
   Then add to header.php: <link rel="stylesheet" href="/assets/css/heroes.css">
   ============================================================ */

/* ── Shared hero base ──────────────────────────────────────── */
.lmt-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.lmt-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}
.lmt-hero-left { max-width: 560px; }

/* grid overlay */
.lmt-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,124,246,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,124,246,.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

/* glow blobs */
.lmt-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

/* eyebrow badge */
.lmt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.lmt-eyebrow .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  animation: lmt-pulse 2s infinite;
}
@keyframes lmt-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(43,124,246,.6); }
  60%      { box-shadow: 0 0 0 9px rgba(43,124,246,0); }
}

/* heading */
.lmt-hero-h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -2px;
  margin-bottom: 18px;
}
.lmt-hero-h1 em { font-style: normal; }

.lmt-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 440px;
}

/* CTA row */
.lmt-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.lmt-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.lmt-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.lmt-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}

/* stats strip */
.lmt-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.lmt-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.lmt-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 4px;
  font-weight: 500;
}

/* floating card */
.lmt-float-card {
  position: absolute;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(8px);
  animation: lmt-float 4s ease-in-out infinite;
  white-space: nowrap;
  z-index: 3;
}
.lmt-float-card:nth-child(2) { animation-delay: .8s; }
.lmt-float-card:nth-child(3) { animation-delay: 1.6s; }
@keyframes lmt-float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}

/* screen mockup card */
.lmt-screen {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(10px);
  position: relative;
}
.lmt-screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.lmt-screen-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: block;
}
.lmt-code-line {
  height: 8px;
  border-radius: 3px;
  margin-bottom: 7px;
}

/* tech cards grid */
.lmt-tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lmt-tc {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 16px;
  transition: transform .2s;
}
.lmt-tc:hover { transform: translateY(-3px); }
.lmt-tc-icon { font-size: 24px; margin-bottom: 8px; }
.lmt-tc-label { font-size: 11px; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.lmt-tc-val   { font-size: 14px; font-weight: 700; color: #fff; }

/* ── PAGE HERO (inner pages, shorter) ─────────────────────── */
.lmt-page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 70px;
  min-height: auto;
}
.lmt-page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.lmt-page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.lmt-page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── COLOUR VARIANTS ───────────────────────────────────────── */

/* Blue (Home, How It Works) */
.lmt-hero--blue {
  background: linear-gradient(140deg, #060d1a 0%, #0b1930 50%, #081424 100%);
}
.lmt-hero--blue .lmt-glow-1 {
  width: 700px; height: 600px;
  background: radial-gradient(circle, rgba(43,124,246,.22) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.lmt-hero--blue .lmt-glow-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(124,58,237,.14) 0%, transparent 70%);
  bottom: -80px; left: 20%;
}
.lmt-hero--blue .lmt-hero-h1 em {
  background: linear-gradient(90deg, #2B7CF6, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lmt-hero--blue .lmt-eyebrow {
  background: rgba(43,124,246,.15);
  border: 1px solid rgba(43,124,246,.35);
  color: #7DD3FC;
}
.lmt-hero--blue .lmt-eyebrow .pulse-dot { background: #2B7CF6; }
.lmt-hero--blue .lmt-stat-num em { color: #2B7CF6; font-style: normal; }
.lmt-hero--blue .lmt-btn-primary { background: linear-gradient(135deg, #2563EB, #3B82F6); box-shadow: 0 8px 24px rgba(43,124,246,.35); }
.lmt-hero--blue .lmt-btn-outline { color: #93C5FD; border: 1px solid rgba(43,124,246,.4); }
.lmt-hero--blue .lmt-btn-outline:hover { background: rgba(43,124,246,.1); }

/* Purple (AI Consulting) */
.lmt-hero--purple {
  background: linear-gradient(140deg, #0a0218 0%, #150630 50%, #0b0f1e 100%);
}
.lmt-hero--purple .lmt-glow-1 {
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.3) 0%, transparent 70%);
  top: -150px; right: -80px;
}
.lmt-hero--purple .lmt-glow-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(43,124,246,.18) 0%, transparent 70%);
  bottom: -60px; left: 25%;
}
.lmt-hero--purple .lmt-hero-h1 em {
  background: linear-gradient(90deg, #A78BFA, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lmt-hero--purple .lmt-eyebrow {
  background: rgba(124,58,237,.18);
  border: 1px solid rgba(124,58,237,.4);
  color: #C4B5FD;
}
.lmt-hero--purple .lmt-eyebrow .pulse-dot { background: #7C3AED; animation-name: lmt-pulse-purple; }
@keyframes lmt-pulse-purple {
  0%,100% { box-shadow: 0 0 0 0 rgba(124,58,237,.6); }
  60%      { box-shadow: 0 0 0 9px rgba(124,58,237,0); }
}
.lmt-hero--purple .lmt-stat-num em { color: #A78BFA; font-style: normal; }
.lmt-hero--purple .lmt-btn-primary { background: linear-gradient(135deg, #6D28D9, #7C3AED); box-shadow: 0 8px 24px rgba(124,58,237,.4); }
.lmt-hero--purple .lmt-btn-outline { color: #C4B5FD; border: 1px solid rgba(124,58,237,.4); }
.lmt-hero--purple .lmt-btn-outline:hover { background: rgba(124,58,237,.1); }

/* Teal (Offshore Teams, Why Sri Lanka) */
.lmt-hero--teal {
  background: linear-gradient(140deg, #050f12 0%, #091e20 50%, #061218 100%);
}
.lmt-hero--teal .lmt-glow-1 {
  width: 600px; height: 500px;
  background: radial-gradient(circle, rgba(0,180,120,.2) 0%, transparent 70%);
  top: -120px; right: -60px;
}
.lmt-hero--teal .lmt-glow-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(43,124,246,.15) 0%, transparent 70%);
  bottom: -60px; left: 30%;
}
.lmt-hero--teal .lmt-hero-h1 em {
  background: linear-gradient(90deg, #34D399, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lmt-hero--teal .lmt-eyebrow {
  background: rgba(0,180,120,.15);
  border: 1px solid rgba(0,180,120,.35);
  color: #34D399;
}
.lmt-hero--teal .lmt-eyebrow .pulse-dot { background: #10B981; animation-name: lmt-pulse-teal; }
@keyframes lmt-pulse-teal {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  60%      { box-shadow: 0 0 0 9px rgba(16,185,129,0); }
}
.lmt-hero--teal .lmt-stat-num em { color: #34D399; font-style: normal; }
.lmt-hero--teal .lmt-btn-primary { background: linear-gradient(135deg, #047857, #10B981); box-shadow: 0 8px 24px rgba(0,180,120,.35); }
.lmt-hero--teal .lmt-btn-outline { color: #34D399; border: 1px solid rgba(0,180,120,.4); }
.lmt-hero--teal .lmt-btn-outline:hover { background: rgba(0,180,120,.1); }
.lmt-tc--teal { border-color: rgba(0,180,120,.3) !important; background: rgba(0,180,120,.08) !important; }
.lmt-tc--blue { border-color: rgba(43,124,246,.3) !important; background: rgba(43,124,246,.08) !important; }
.lmt-tc--purple { border-color: rgba(124,58,237,.3) !important; background: rgba(124,58,237,.08) !important; }
.lmt-tc--green { border-color: rgba(34,197,94,.3) !important; background: rgba(34,197,94,.08) !important; }

/* Green (Dev / App) */
.lmt-hero--green {
  background: linear-gradient(140deg, #030d05 0%, #071a0a 50%, #06100e 100%);
}
.lmt-hero--green .lmt-glow-1 {
  width: 600px; height: 450px;
  background: radial-gradient(circle, rgba(34,197,94,.15) 0%, transparent 70%);
  top: -100px; right: -60px;
}
.lmt-hero--green .lmt-glow-2 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(43,124,246,.14) 0%, transparent 70%);
  bottom: -50px; left: 25%;
}
.lmt-hero--green .lmt-hero-h1 em {
  background: linear-gradient(90deg, #4ADE80, #16A34A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lmt-hero--green .lmt-eyebrow {
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.35);
  color: #4ADE80;
}
.lmt-hero--green .lmt-eyebrow .pulse-dot { background: #22C55E; animation-name: lmt-pulse-green; }
@keyframes lmt-pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  60%      { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
}
.lmt-hero--green .lmt-stat-num em { color: #4ADE80; font-style: normal; }
.lmt-hero--green .lmt-btn-primary { background: linear-gradient(135deg, #15803D, #22C55E); box-shadow: 0 8px 24px rgba(34,197,94,.35); }
.lmt-hero--green .lmt-btn-outline { color: #4ADE80; border: 1px solid rgba(34,197,94,.4); }
.lmt-hero--green .lmt-btn-outline:hover { background: rgba(34,197,94,.1); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .lmt-hero { min-height: auto; padding: 100px 0 60px; }
  .lmt-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lmt-hero-left { max-width: 100%; }
  .lmt-hero-visual { display: none; }
  .lmt-hero-h1 { font-size: clamp(28px, 7vw, 42px); }
}
@media (max-width: 600px) {
  .lmt-hero-inner { padding: 0 20px; }
  .lmt-page-hero-inner { padding: 0 20px; }
  .lmt-cta-row { flex-direction: column; }
  .lmt-btn-primary, .lmt-btn-outline { text-align: center; justify-content: center; }
}
