/* ═══════════════════════════════════════════════════════════════════
   GLENDALE LIVE — Shared Stylesheet v4
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg-0: #08090b;
  --bg-1: #0d0f13;
  --bg-2: #14171d;
  --bg-3: #1b1f27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text-0: #f4f5f7;
  --text-1: #c7cad1;
  --text-2: #8b8f98;
  --text-3: #5b5f68;

  --brand: #cf6300;
  --brand-hot: #ff7a14;
  --brand-glow: rgba(255, 122, 20, 0.28);

  --signal: #30d158;
  --amber:  #ffb020;
  --danger: #ff453a;

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-mono:    "SF Mono", ui-monospace, "Menlo", "Consolas", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}
body, input, button, textarea, select { font-family: var(--font-display); }

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--text-0); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(44px, 6vw, 88px); letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 14px; font-weight: 600; }
p  { margin: 0 0 16px; color: var(--text-1); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }
section { padding: 100px 0; }
.section-header { max-width: 680px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header .lead { font-size: clamp(15px, 1.3vw, 17px); color: var(--text-2); max-width: 560px; }
.section-header.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-hot);
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════════ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 9, 11, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 18px 24px; max-width: 1200px; margin: 0 auto;
}
/* Logo — larger */
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin: 0 0 0 auto; padding: 0; list-style: none;
}
.nav-links li { position: relative; }
.nav-links a {
  font-size: 14px; color: var(--text-0);
  transition: color 0.2s var(--ease);
  font-weight: 500;
}
.nav-links a:hover { color: var(--brand-hot); }
.nav-links a.active { color: var(--brand-hot); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher — discreet globe + dropdown */
.lang-dropdown { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  padding: 0; justify-content: center;
}
.lang-trigger:hover {
  color: var(--text-0);
  border-color: var(--line-strong);
  background: var(--bg-1);
}
.lang-trigger svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 4px; min-width: 120px;
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: all 0.2s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 101;
}
.lang-dropdown.open .lang-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 10px 12px;
  background: transparent; border: none;
  font-family: inherit; font-size: 13px;
  color: var(--text-1); cursor: pointer;
  border-radius: 6px;
}
.lang-menu button:hover { background: var(--bg-2); color: var(--text-0); }
.lang-menu button.active { color: var(--brand-hot); }
.lang-menu button.active::after {
  content: "✓"; font-size: 12px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(180deg, var(--brand-hot), var(--brand));
  color: #fff !important;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  transition: all 0.2s var(--ease);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 14px -4px var(--brand-glow);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px var(--brand-glow);
  filter: brightness(1.05);
}

/* Suite dropdown */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 0;
  color: var(--text-0); cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-dropdown-trigger:hover { color: var(--brand-hot); }
.nav-dropdown-trigger svg {
  width: 12px; height: 12px;
  transition: transform 0.2s var(--ease);
  opacity: 0.6;
}
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown.open .nav-dropdown-trigger { color: var(--brand-hot); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 260px;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 8px;
  opacity: 0; pointer-events: none;
  transition: all 0.2s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  z-index: 101;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px; color: var(--text-0);
  text-decoration: none;
  transition: background 0.15s var(--ease);
}
.nav-dropdown-item:not(.disabled):hover { background: var(--bg-2); }
.nav-dropdown-item.disabled { color: var(--text-3); cursor: not-allowed; }
.nav-dropdown-item.disabled:hover { background: transparent; }
.nav-dropdown-item.current {
  color: var(--brand-hot);
  background: rgba(255, 122, 20, 0.06);
}
.nav-dropdown-item .coming {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3);
  padding: 2px 7px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .brand-logo { height: 30px; }
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px;
  border-radius: 100px;
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer; transition: all 0.2s var(--ease);
  white-space: nowrap;
  background: var(--bg-1); color: var(--text-0);
  font-family: inherit;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.btn-brand {
  background: linear-gradient(180deg, var(--brand-hot), var(--brand));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px -4px var(--brand-glow);
}
.btn-brand:hover {
  box-shadow: 0 10px 30px -6px var(--brand-glow);
  filter: brightness(1.05);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text-0);
}
.btn-ghost:hover { background: var(--bg-1); border-color: var(--line); }

/* ═══════════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════════ */
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-3); font-weight: 500;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-0);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s var(--ease);
}
.form-field input::placeholder, .form-field textarea::placeholder {
  color: var(--text-3);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--brand-hot);
  box-shadow: 0 0 0 3px rgba(255, 122, 20, 0.12);
}
.form-field textarea { resize: vertical; min-height: 80px; line-height: 1.55; }
.form-hint { font-size: 11px; color: var(--text-3); margin: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-alert {
  padding: 12px 16px;
  border-radius: 10px;
  display: none;
  align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.5;
}
.form-alert.show { display: flex; }
.form-alert.success {
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.3);
  color: #7fd89a;
}
.form-alert.error {
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: #ff7a70;
}
.form-alert svg { flex-shrink: 0; margin-top: 1px; }

.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════════════
   STATUS PILLS
   ═══════════════════════════════════════════════════════════════════ */
.status-pill {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px;
  border: 1px solid transparent;
  font-weight: 600; white-space: nowrap;
}
.status-pill.open,     .status-pill.pending  { color: var(--amber);  background: rgba(255,176,32,0.1);  border-color: rgba(255,176,32,0.3); }
.status-pill.resolved, .status-pill.approved { color: var(--signal); background: rgba(48,209,88,0.1);   border-color: rgba(48,209,88,0.3); }
.status-pill.closed,   .status-pill.rejected { color: var(--text-3); background: rgba(139,143,152,0.08); border-color: rgba(139,143,152,0.2); }
.status-pill.priority-low    { color: var(--text-2); background: rgba(139,143,152,0.08); border-color: rgba(139,143,152,0.2); }
.status-pill.priority-normal { color: var(--text-1); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.status-pill.priority-high   { color: var(--amber);  background: rgba(255,176,32,0.1);  border-color: rgba(255,176,32,0.3); }
.status-pill.priority-urgent { color: var(--danger); background: rgba(255,69,58,0.1);   border-color: rgba(255,69,58,0.3); }

/* ═══════════════════════════════════════════════════════════════════
   CARD
   ═══════════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-2); max-width: 280px; margin: 0; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px; color: var(--text-1);
  transition: color 0.15s var(--ease);
}
.footer-col a:hover { color: var(--brand-hot); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 12px; color: var(--text-2);
}

/* ═══════════════════════════════════════════════════════════════════
   REVEAL
   ═══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  padding: 12px 18px; border-radius: 100px;
  font-size: 13px; color: var(--text-0);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 300;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.success { border-color: rgba(48,209,88,0.3); }
.toast.success svg { color: var(--signal); }
.toast.error { border-color: rgba(255,69,58,0.3); }
.toast.error svg { color: var(--danger); }

/* ═══════════════════════════════════════════════════════════════════
   UTIL
   ═══════════════════════════════════════════════════════════════════ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
