/* Lumeteq — shared styles */

:root {
  --bg: #06070b;
  --bg-alt: #0b0d14;
  --surface: #10131c;
  --surface-hover: #151928;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaf0;
  --text-dim: #9aa1b2;
  --text-faint: #666d80;
  --accent: #7c5cff;
  --accent2: #22d3ee;
  --gradient: linear-gradient(120deg, var(--accent), var(--accent2));
  --radius: 14px;
  --max-width: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* Background glow */
body::before {
  content: "";
  position: fixed;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 7, 11, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 15px;
  height: 15px;
}

.logo-text span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  background: var(--gradient) !important;
  color: #06070b !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Main */
main {
  position: relative;
  z-index: 1;
}

section {
  padding: 96px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 640px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #06070b;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

.btn-outline:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Hero */
.hero {
  padding: 110px 0 80px;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent2);
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
}

.hero .lede {
  max-width: 560px;
  margin-bottom: 8px;
}

.stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* Cards / Grids */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.4);
  background: var(--surface-hover);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent2);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.card ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card ul li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent2);
}

/* Portfolio */
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
}

.work-thumb {
  height: 160px;
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(34,211,238,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.02em;
  overflow: hidden;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.9);
}

.work-body {
  padding: 26px 28px 30px;
}

.work-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
}

.work-body h3 {
  margin-bottom: 8px;
}

.work-body p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* CTA band */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px;
  text-align: center;
  margin: 0 24px;
  max-width: calc(var(--max-width) - 48px);
  margin-inline: auto;
}

.cta-band h2 {
  margin-bottom: 14px;
}

.cta-band .lede {
  margin: 0 auto 8px;
}

.cta-band .btn-row {
  justify-content: center;
}

/* Forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dim);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}

.contact-info-card h3 {
  margin-bottom: 6px;
}

.contact-info-card a {
  color: var(--accent2);
  font-weight: 600;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 0.9rem;
  max-width: 280px;
  margin-top: 12px;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  color: var(--text-faint);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* Page hero (secondary pages) */
.page-hero {
  padding: 72px 0 56px;
}

.page-hero h1 {
  max-width: 700px;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    padding: 12px 16px;
  }
  .nav-toggle {
    display: flex;
  }
  .cta-band {
    padding: 40px 24px;
  }
  .footer-top {
    flex-direction: column;
  }
  section {
    padding: 64px 0;
  }
  .stat-row {
    gap: 32px;
  }
}
