/* ==========================================================================
   LUMO CUBE — shared design system
   ========================================================================== */

:root {
  --bg: #0a0a0d;
  --bg-raised: #131318;
  --bg-card: #16161c;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f6;
  --text-dim: #a5a5b0;
  --text-faint: #6c6c78;
  --accent: #ffb020;
  --accent-soft: rgba(255, 176, 32, 0.14);
  --white: #ffffff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

section { padding: 100px 0; position: relative; }
@media (max-width: 640px) { section { padding: 72px 0; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--white); color: #0a0a0d; }
.btn-primary:hover { background: #e9e9ec; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--white); }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 13, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(10, 10, 13, 0.92); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.logo .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--accent); flex: none; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border-strong); border-radius: 10px;
  color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg); padding: 20px 24px; border-top: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-links a { padding: 14px 4px; width: 100%; border-bottom: 1px solid var(--border); font-size: 17px; }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-primary { padding: 0 18px; font-size: 14px; }
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand p { margin-top: 12px; color: var(--text-faint); font-size: 14px; max-width: 260px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--text-dim); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-faint);
}
.footer-contact { color: var(--text-dim); font-size: 13px; }
.footer-contact:hover { color: var(--text); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
}
.social-row a svg { width: 16px; height: 16px; stroke: var(--text-dim); }
.social-row a:hover svg { stroke: var(--text); }

/* Coming soon page */
.cs-main {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-h) + 40px) 24px 60px;
  background: radial-gradient(60% 50% at 50% 20%, rgba(255,176,32,0.12), transparent 70%);
}
.cs-badge {
  width: 72px; height: 72px; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
}
.cs-badge svg { width: 32px; height: 32px; stroke: var(--accent); }
.cs-main h1 { font-size: clamp(30px, 5vw, 48px); max-width: 640px; }
.cs-main .lede { margin-top: 16px; color: var(--text-dim); font-size: 17px; max-width: 480px; }
.cs-form {
  margin-top: 32px; display: flex; gap: 10px; width: 100%; max-width: 420px; flex-wrap: wrap; justify-content: center;
}
.cs-form input {
  flex: 1; min-width: 220px; height: 50px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--bg-card); color: var(--text); font-size: 15px;
}
.cs-form input::placeholder { color: var(--text-faint); }
.cs-form input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.cs-note { margin-top: 16px; font-size: 13.5px; color: var(--text-faint); }
.cs-success { margin-top: 16px; font-size: 14.5px; color: var(--accent); display: none; }
.cs-success.show { display: block; }
.contact-form { margin-top: 32px; width: 100%; max-width: 480px; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.cf-opt { text-transform: none; letter-spacing: 0; color: var(--text-faint); }
.cf-field input, .cf-field textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--border-strong);
  background: var(--bg-card); color: var(--text); font: inherit; font-size: 15px;
}
.cf-field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--text-faint); }
.cf-field input:focus, .cf-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.cf-field.has-err input, .cf-field.has-err textarea { border-color: #ff6b6b; }
.cf-hint { font-size: 12.5px; color: var(--text-faint); }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-error { display: none; margin: 0; font-size: 14px; color: #ff6b6b; }
.cf-success { display: none; margin: 0; font-size: 14.5px; color: var(--accent); }
.contact-form .btn { height: 50px; cursor: pointer; }
.contact-form .btn:disabled { opacity: 0.6; cursor: default; }
.contact-fine { margin-top: 22px; font-size: 12.5px; line-height: 1.7; color: var(--text-faint); }
.contact-fine a { color: var(--text-dim); }
.contact-fine a:hover { color: var(--text); text-decoration: underline; }
.cs-back { margin-top: 40px; font-size: 14.5px; color: var(--text-dim); display: inline-flex; align-items: center; gap: 6px; }
.cs-back:hover { color: var(--text); }
.cs-back svg { width: 16px; height: 16px; stroke: currentColor; }
