/**
 * Woman Xperience — Global UI styles
 * Base visual system for landing, checkout and future ticketing modules.
 * The current prototype still uses Tailwind CSS utilities for layout.
 * Reusable brand tokens and shared components live here.
 */

:root {
  /* Brand */
  --wx-primary: #2f020d;
  --wx-primary-container: #4a1521;
  --wx-on-primary: #ffffff;

  --wx-wine-50: #FBF4F5;
  --wx-wine-100: #F5E7EA;
  --wx-wine-200: #EBD0D6;
  --wx-wine-600: #8A1F3D;
  --wx-wine-700: #6E142E;
  --wx-wine-800: #520D21;
  --wx-wine-900: #3D0717;
  --wx-wine-950: #23020B;

  --wx-champagne-100: #FBF7EE;
  --wx-champagne-200: #F5ECDA;
  --wx-champagne-300: #E9DAC0;
  --wx-champagne-400: #D6C098;
  --wx-champagne-500: #BFA16F;

  --wx-pearl: #FBF9F6;
  --wx-surface: #fbf9f6;
  --wx-surface-low: #f5f3f0;
  --wx-surface-base: #efeeeb;
  --wx-surface-high: #eae8e5;
  --wx-graphite: #1B1C1A;

  /* Typography */
  --wx-font-serif: "Playfair Display", serif;
  --wx-font-sans: "Plus Jakarta Sans", sans-serif;

  /* Layout */
  --wx-content-max: 80rem;
  --wx-radius-card: 1.5rem;
  --wx-radius-control: 9999px;

  /* Effects */
  --wx-shadow-card: 0 20px 50px rgba(35, 2, 11, 0.14);
  --wx-transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wx-pearl);
  color: #292524;
  font-family: var(--wx-font-sans);
}

/* Existing landing helpers */
.text-balance {
  text-wrap: balance;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #ECC880 0%, #D4AF37 50%, #AA7C11 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.wine-gradient-bg {
  background: radial-gradient(circle at 80% 20%, #520D21 0%, #23020B 100%);
}

.luxury-card-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card-hover:hover {
  transform: translateY(-4px);
}

/* Reusable building blocks for future PHP modules */
.wx-container {
  width: min(calc(100% - 3rem), var(--wx-content-max));
  margin-inline: auto;
}

.wx-page {
  min-height: 100vh;
  background: var(--wx-pearl);
  color: var(--wx-graphite);
  font-family: var(--wx-font-sans);
}

.wx-heading {
  font-family: var(--wx-font-serif);
  color: var(--wx-graphite);
  line-height: 1.1;
}

.wx-eyebrow {
  color: var(--wx-wine-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wx-card {
  border: 1px solid #e7e5e4;
  border-radius: var(--wx-radius-card);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wx-card-dark {
  border: 1px solid rgba(214, 192, 152, 0.35);
  border-radius: var(--wx-radius-card);
  background: linear-gradient(180deg, #1c1917 0%, var(--wx-wine-950) 58%, #0c0a09 100%);
  color: #ffffff;
  box-shadow: var(--wx-shadow-card);
}

.wx-btn-primary,
.wx-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--wx-radius-control);
  font-family: var(--wx-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--wx-transition), background var(--wx-transition), color var(--wx-transition);
}

.wx-btn-primary {
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--wx-wine-600), var(--wx-wine-700), var(--wx-wine-800));
  color: #ffffff;
}

.wx-btn-primary:hover {
  transform: translateY(-1px);
}

.wx-btn-secondary {
  border: 1px solid var(--wx-wine-800);
  background: transparent;
  color: var(--wx-wine-900);
}

.wx-btn-secondary:hover {
  background: var(--wx-wine-900);
  color: #ffffff;
}

.wx-form-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #57534e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wx-input,
.wx-select,
.wx-textarea {
  width: 100%;
  border: 1px solid #d6d3d1;
  border-radius: 0.9rem;
  background: #ffffff;
  color: var(--wx-graphite);
  font: inherit;
  outline: none;
  transition: border-color var(--wx-transition), box-shadow var(--wx-transition);
}

.wx-input,
.wx-select {
  min-height: 46px;
  padding: 0.7rem 0.9rem;
}

.wx-textarea {
  min-height: 120px;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.wx-input:focus,
.wx-select:focus,
.wx-textarea:focus {
  border-color: var(--wx-wine-700);
  box-shadow: 0 0 0 3px rgba(110, 20, 46, 0.12);
}

.wx-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--wx-radius-control);
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.wx-status--success {
  background: #ecfdf5;
  color: #047857;
}

.wx-status--warning {
  background: #fffbeb;
  color: #b45309;
}

.wx-status--danger {
  background: #fef2f2;
  color: #b91c1c;
}

@media (max-width: 640px) {
  .wx-container {
    width: min(calc(100% - 2rem), var(--wx-content-max));
  }
}
