/* ============================================================
   Lightech LLC — styles
   Theme: ambient light, glass surfaces, warm-to-cool accents
   ============================================================ */
:root {
  --bg: #060912;
  --bg-alt: #0a1020;
  --surface: rgba(20, 30, 56, 0.55);
  --surface-solid: #111a30;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f0f4ff;
  --muted: #97a4c2;
  --brand: #ffc94d;       /* warm light */
  --brand-glow: rgba(255, 201, 77, 0.5);
  --brand-2: #4dd0ff;     /* tech blue  */
  --accent: #8b5cff;
  --green: #34d399;
  --radius: 18px;
  --radius-sm: 11px;
  --maxw: 1180px;
  --shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 0 1px rgba(255,201,77,0.25), 0 24px 60px -20px rgba(255, 201, 77, 0.25);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand);
  color: #000; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.aurora-1 {
  top: -260px; right: -160px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(255,201,77,0.5), transparent 62%);
  animation: drift1 22s ease-in-out infinite;
}
.aurora-2 {
  bottom: -320px; left: -220px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(77,208,255,0.38), transparent 62%);
  animation: drift2 26s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-60px,40px) scale(1.12);} }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(50px,-50px) scale(1.1);} }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; border: 1px solid transparent; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #ffd96b, var(--brand) 45%, #ff9e2c);
  color: #2a1c00; box-shadow: 0 14px 34px -12px var(--brand-glow);
}
/* shimmer sweep */
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .6s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px var(--brand-glow); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { background: rgba(255,255,255,0.05); border-color: var(--border-strong); color: var(--text); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); border-color: var(--brand); }
.btn-block { width: 100%; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-strong);
  font-size: 0.82rem; font-weight: 500; color: var(--text); margin-bottom: 22px; backdrop-filter: blur(6px);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,0.6); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.55);} 70%,100% { box-shadow: 0 0 0 8px rgba(52,211,153,0);} }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 9, 18, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; }
.brand-mark { color: var(--brand); display: grid; place-items: center; filter: drop-shadow(0 0 10px var(--brand-glow)); }
.brand-dot { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color .15s ease; }
.main-nav a:not(.nav-cta):hover { color: var(--text); }
.nav-cta {
  background: var(--brand); color: #2a1c00 !important; padding: 9px 20px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 8px 22px -10px var(--brand-glow); transition: transform .15s ease, filter .15s ease;
}
.nav-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -160px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(255,201,77,0.16), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
/* a soft light beam slanting across the hero */
.hero-beam {
  position: absolute; top: -10%; left: 30%; width: 280px; height: 150%;
  background: linear-gradient(180deg, rgba(255,201,77,0.14), transparent 70%);
  transform: rotate(18deg); filter: blur(36px); pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 52px; align-items: center; position: relative; }

/* ---------- Hero with background video ---------- */
.hero-video {
  padding: 132px 0 108px; min-height: 88vh; display: flex; align-items: center;
  position: relative; isolation: isolate; /* own stacking context for clean layering */
  background: #06121f url("assets/hero-poster.jpg") center/cover no-repeat; /* fallback before/without video */
}
/* Layer order inside the hero: video (0) -> scrim (1) -> content (2) */
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(6,9,18,0.92) 0%, rgba(6,9,18,0.72) 38%, rgba(6,9,18,0.32) 70%, rgba(6,9,18,0.55) 100%),
    linear-gradient(0deg, rgba(6,9,18,0.95) 0%, transparent 32%);
}
.hero-video .hero-inner { display: block; position: relative; z-index: 2; }
.hero-video .hero-copy { max-width: 660px; }
.hero-video .lede { text-shadow: 0 1px 18px rgba(0,0,0,0.5); }
.eyebrow { color: var(--brand); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); font-weight: 800; }
.gradient-text {
  background: linear-gradient(110deg, var(--brand), #ffe6a3 40%, var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 1.14rem; margin: 24px 0 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 36px; margin-top: 44px; list-style: none; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--text); }
.hero-trust span { color: var(--muted); font-size: 0.85rem; }

/* hero visual */
.hero-visual { display: flex; justify-content: center; perspective: 1000px; }
.bulb-card {
  position: relative; width: 100%; max-width: 372px;
  background: linear-gradient(160deg, rgba(26,38,71,0.85), rgba(10,16,32,0.9));
  border: 1px solid var(--border-strong); border-radius: 26px; padding: 44px 30px;
  box-shadow: var(--shadow); overflow: hidden;
  transform: rotateY(-7deg) rotateX(3deg); transition: transform .4s ease;
  animation: floaty 6s ease-in-out infinite;
}
.bulb-card:hover { transform: rotateY(0) rotateX(0); }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.bulb-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 26px; padding: 1px;
  background: linear-gradient(140deg, rgba(255,201,77,0.6), transparent 40%, rgba(77,208,255,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.bulb-ring {
  position: absolute; inset: -38% 28% auto auto; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,201,77,0.4), transparent 65%); filter: blur(10px);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .5; transform: scale(1);} 50% { opacity: 1; transform: scale(1.1);} }
.bulb-icon { color: var(--brand); width: 88px; height: 88px; margin: 0 auto 28px; position: relative; filter: drop-shadow(0 0 18px var(--brand-glow)); }
.bulb-stats { display: grid; gap: 12px; position: relative; }
.bulb-stats div { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 12px 15px; border-radius: var(--radius-sm); font-size: 0.92rem; }
.bulb-stats strong { color: var(--brand); margin-left: auto; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot.blue { background: var(--brand-2); box-shadow: 0 0 8px var(--brand-2); }
.dot.amber { background: var(--brand); box-shadow: 0 0 8px var(--brand); }

/* ---------- Trust bar ---------- */
.trustbar { border-block: 1px solid var(--border); background: rgba(10,16,32,0.5); backdrop-filter: blur(8px); }
.trustbar-inner { display: flex; flex-wrap: wrap; gap: 14px 44px; justify-content: center; padding: 22px 24px; }
.trustbar span { color: var(--muted); font-weight: 500; font-size: 0.92rem; position: relative; }
.trustbar span::before { content: "✦"; color: var(--brand); margin-right: 10px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(10,16,32,0.6), transparent); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.kicker { color: var(--brand-2); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 0.78rem; margin-bottom: 14px; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-sub { color: var(--muted); font-size: 1.06rem; margin-top: 16px; }

.grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; backdrop-filter: blur(10px); position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card { overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,201,77,0.12), transparent 60%);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255,201,77,0.45); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }
.card-icon {
  font-size: 1.7rem; width: 58px; height: 58px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(255,201,77,0.16), rgba(77,208,255,0.1));
  border: 1px solid var(--border); border-radius: 15px; margin-bottom: 20px;
}
.card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Why ---------- */
.why-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.check-list { list-style: none; margin: 28px 0 34px; display: grid; gap: 15px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check { color: #04240f; background: var(--green); width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; flex: none; margin-top: 2px; box-shadow: 0 0 12px rgba(52,211,153,0.4); }
.why-stats { display: grid; gap: 18px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(10px); transition: transform .2s ease, border-color .2s ease;
}
.stat-card:hover { transform: translateX(6px); border-color: rgba(255,201,77,0.35); }
.stat-card strong { font-family: var(--font-head); font-size: 2.5rem; color: var(--brand); display: block; line-height: 1; margin-bottom: 8px; text-shadow: 0 0 26px var(--brand-glow); }
.stat-card span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Process ---------- */
.process-grid { grid-template-columns: repeat(4, 1fr); list-style: none; }
.step-card { position: relative; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06121f;
  font-family: var(--font-head); font-weight: 700; margin-bottom: 18px;
  box-shadow: 0 8px 24px -8px var(--brand-glow);
}
.step-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.about-copy p { color: var(--muted); margin-top: 17px; }
.about-copy h2 { color: var(--text); }
.testimonial {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brand);
  border-radius: var(--radius); padding: 34px; backdrop-filter: blur(10px); position: relative;
}
.testimonial::before { content: "“"; position: absolute; top: 6px; right: 22px; font-family: var(--font-head); font-size: 5rem; color: rgba(255,201,77,0.18); line-height: 1; }
.testimonial p { font-size: 1.14rem; font-style: italic; color: var(--text); position: relative; }
.testimonial footer { margin-top: 18px; color: var(--muted); font-style: normal; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.contact-points { list-style: none; margin-top: 26px; display: grid; gap: 15px; }
.contact-points li { font-size: 1.05rem; }
.contact-points a:hover { color: var(--brand); }
.quote-form {
  background: linear-gradient(160deg, rgba(20,30,56,0.7), rgba(10,16,32,0.8));
  border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 34px;
  display: grid; gap: 16px; box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  background: rgba(6,9,18,0.6); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px;
  color: var(--text); font-family: inherit; font-size: 0.96rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,201,77,0.18); }
.field textarea { resize: vertical; }
.form-note { font-size: 0.9rem; margin-top: 4px; min-height: 1.2em; }
.form-note.ok { color: var(--green); }
.form-note.err { color: #ff8585; }

/* ---------- Footer ---------- */
.site-footer { background: rgba(10,16,32,0.6); border-top: 1px solid var(--border); padding-top: 56px; backdrop-filter: blur(8px); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; padding-bottom: 38px; }
.footer-brand .brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; }
.footer-brand p { color: var(--muted); margin-top: 11px; max-width: 320px; font-size: 0.95rem; }
.footer-nav, .footer-contact { display: grid; gap: 11px; align-content: start; }
.footer-nav a, .footer-contact a { color: var(--muted); font-size: 0.95rem; transition: color .15s ease; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.86rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner, .why-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .bulb-card { transform: none; animation: none; }
}
@media (max-width: 640px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(10,16,32,0.96); border-bottom: 1px solid var(--border); padding: 8px 24px 20px;
    transform: translateY(-130%); transition: transform .28s ease; align-items: stretch; backdrop-filter: blur(14px);
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0 !important; }
  .nav-toggle { display: flex; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-trust { gap: 24px; }
  .section { padding: 68px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .bulb-card { transform: none; }
  .hero-bg { display: none; } /* show static poster instead of motion */
}
