/* =========================================================
   Luminaton — Clean white + soft LED accent palette
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --surface: #ffffff;
  --surface-tint: #fbfcfe;
  --border: #e6ebf2;
  --text: #1a2233;
  --text-muted: #5a6478;
  --text-dim: #8993a6;

  --accent: #ffb400;          /* warm LED amber */
  --accent-soft: #fff4d6;
  --accent-2: #00b8d4;        /* cool LED cyan */
  --accent-2-soft: #d6f4f9;

  --shadow-sm: 0 1px 2px rgba(20, 27, 45, 0.04), 0 1px 3px rgba(20, 27, 45, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 27, 45, 0.06), 0 2px 4px rgba(20, 27, 45, 0.04);
  --shadow-lg: 0 20px 40px rgba(20, 27, 45, 0.08), 0 6px 12px rgba(20, 27, 45, 0.04);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --container: 1160px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1rem; color: var(--text-muted); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-2-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.text-accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.muted { color: var(--text-muted); }
.small { font-size: 0.875rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ffa726 100%);
  color: #1a2233;
  box-shadow: 0 6px 16px rgba(255, 180, 0, 0.28);
}
.btn-primary:hover {
  color: #1a2233;
  box-shadow: 0 10px 22px rgba(255, 180, 0, 0.36);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark { display: inline-flex; }

.primary-nav { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu a { font-weight: 500; color: var(--text-muted); font-size: 0.95rem; }
.nav-menu a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 90px;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(0, 184, 212, 0.10), transparent 60%),
    radial-gradient(900px 400px at 0% 20%, rgba(255, 180, 0, 0.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.hero-meta li { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.hero-meta span { color: var(--text-muted); font-size: 0.85rem; }

/* Hero visual — LED card */
.hero-visual {
  display: flex;
  justify-content: center;
}
.led-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.led-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  padding: 14px;
  background: #f0f3f8;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}
.led-strip span {
  height: 18px;
  border-radius: 4px;
  background: #ffe9a8;
  box-shadow:
    inset 0 0 6px rgba(255, 180, 0, 0.4),
    0 0 14px rgba(255, 180, 0, 0.5);
  animation: glow 2.4s ease-in-out infinite;
}
.led-strip span:nth-child(odd) {
  background: #c8f1f7;
  box-shadow:
    inset 0 0 6px rgba(0, 184, 212, 0.4),
    0 0 14px rgba(0, 184, 212, 0.5);
  animation-delay: 1.2s;
}
.led-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.led-dot {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #fff4d6 35%, #ffb400 80%);
  box-shadow: 0 0 24px rgba(255, 180, 0, 0.45);
  animation: pulse 3.2s ease-in-out infinite;
}
.led-dot:nth-child(2) {
  background: radial-gradient(circle at 30% 30%, #ffffff, #d6f4f9 35%, #00b8d4 80%);
  box-shadow: 0 0 24px rgba(0, 184, 212, 0.45);
  animation-delay: 0.5s;
}
.led-dot:nth-child(3) { animation-delay: 1s; }
.led-dot:nth-child(4) {
  background: radial-gradient(circle at 30% 30%, #ffffff, #d6f4f9 35%, #00b8d4 80%);
  box-shadow: 0 0 24px rgba(0, 184, 212, 0.45);
  animation-delay: 1.5s;
}
.led-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

@keyframes glow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.05); filter: brightness(1.15); }
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-tint { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ===== Products ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #d8e1ec;
}
.product-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(255, 180, 0, 0.12);
}
.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-2-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
}
.product-card.featured .product-icon { color: var(--accent-2); }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}

/* ===== Applications ===== */
.apps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.app-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.app-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.stat-card strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.stat-card span { color: var(--text-muted); font-size: 0.92rem; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-intro h2 { margin-bottom: 16px; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}
.contact-list svg { color: var(--accent-2); flex-shrink: 0; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.form-row label span {
  color: var(--accent);
  margin-left: 2px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.form-status {
  margin: 8px 0 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.form-status.success { color: #0a8a5a; }
.form-status.error { color: #c93b3b; }

/* ===== Footer ===== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.brand-footer { margin-bottom: 12px; }
.site-footer h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 14px; }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-menu.open { display: flex; }

  .hero { padding: 56px 0 64px; }
  .section { padding: 56px 0; }

  .product-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-meta { gap: 20px; }
}
