@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&display=swap');

:root {
  /* Colors */
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-surface-elevated: #1e1e1e;
  
  /* Brass/Gold Accents */
  --color-brass-light: #f3e5ab;
  --color-brass: #d4af37;
  --color-brass-dark: #aa8529;
  
  /* Typography Colors */
  --color-text-primary: #f5f5f5;
  --color-text-secondary: #a0a0a0;
  --color-text-tertiary: #666666;

  /* Typography */
  --font-heading: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.text-center {
  text-align: center;
}

.text-brass {
  color: var(--color-brass);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-brass);
  color: var(--color-bg);
}

.btn-primary:hover {
  background-color: var(--color-brass-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-brass);
  border: 1px solid var(--color-brass);
}

.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn var(--transition-slow) forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Modal / Quiz */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-elevated);
  padding: var(--space-md);
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-text-primary);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  background: var(--color-surface-elevated);
  border: 1px solid #333;
  color: var(--color-text-primary);
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brass);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-surface-elevated);
  border: 1px solid #333;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.radio-label:hover {
  border-color: var(--color-text-secondary);
}

.radio-label input[type="radio"] {
  accent-color: var(--color-brass);
  width: 1.25rem;
  height: 1.25rem;
}

.radio-label:has(input:checked) {
  border-color: var(--color-brass);
  background: rgba(212, 175, 55, 0.05);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 0.25rem;
  accent-color: var(--color-brass);
}

/* Step logic for Quiz */
.quiz-step {
  display: none;
}
.quiz-step.active {
  display: block;
  animation: fadeIn var(--transition-fast) forwards;
}

.quiz-progress {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.quiz-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--color-surface-elevated);
  border-radius: 2px;
}

.quiz-progress-bar.completed {
  background: var(--color-brass);
}

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-brass);
  letter-spacing: 0.1em;
}
