/*
 * Tactical Glass Design System
 * Shared between taekup-lp/index.html and /request-access
 *
 * Edit THIS file to update both pages simultaneously.
 * Do not duplicate these tokens inline in either page.
 *
 * Loaded via:
 *   - taekup-lp/index.html  → <link rel="stylesheet" href="/styles/tactical-glass.css">
 *   - index.html (Vite root) → <link rel="stylesheet" href="/styles/tactical-glass.css">
 */

/* ── Design tokens ── */
:root {
  --color-vanta: #050505;
  --color-dojo-red: #E3242B;
  --color-dojo-red-dark: #B91C23;
  --color-steel: #A1A1AA;
  --glass-bg: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.07);
  --glass-blur: blur(16px);
  --font-display: 'Clash Display', 'Inter', system-ui, sans-serif;
}

/* ── Display font utility ── */
.font-display { font-family: var(--font-display); }

/* ── Glass card ── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 1.25rem;
}

.glass-card-inner {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
}

/* ── Architectural grid background ── */
.grid-bg {
  position: relative;
}
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(227,36,43,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(227,36,43,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ── Nav — blur on scroll ── */
.nav-scrolled {
  background: rgba(5,5,5,0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.06) !important;
}

/* ── Buttons ── */
.btn-primary-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--color-dojo-red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 0 32px rgba(227,36,43,0.35);
  text-decoration: none;
  line-height: 1;
}
.btn-primary-red:hover {
  background: #C41E24;
  box-shadow: 0 0 48px rgba(227,36,43,0.5);
  transform: translateY(-1px);
}
.btn-primary-red:active { transform: translateY(0); }
.btn-primary-red:disabled,
.btn-primary-red[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* A/B variant */
.btn-primary-warm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #E3242B 0%, #991B1B 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 0 32px rgba(227,36,43,0.35);
  text-decoration: none;
  line-height: 1;
}
.btn-primary-warm:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: #f4f4f5;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}

/* ── Glass form inputs ──
   Apply class="glass-input" to <input> elements to get
   the Tactical Glass input style with correct placeholder color.
*/
.glass-input {
  display: block;
  width: 100%;
  height: 56px;
  background: var(--color-vanta);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.glass-input::placeholder {
  color: rgba(255,255,255,0.35);
}
.glass-input:focus {
  border-color: var(--color-dojo-red);
  box-shadow: 0 0 0 3px rgba(227,36,43,0.15);
}
.glass-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
