:root {
  /* Colors */
  --color-surface: #fbf9f4;
  --color-surface-dim: #dbdad5;
  --color-surface-container-low: #f5f3ee;
  --color-surface-container: #f0eee9;
  --color-surface-container-high: #eae8e3;
  --color-surface-container-highest: #e4e2dd;
  --color-on-surface: #1b1c19;
  --color-on-surface-variant: #55423e;
  
  --color-primary: #9a442d;
  --color-on-primary: #ffffff;
  --color-primary-container: #e07a5f;
  --color-on-primary-container: #5b1604;
  
  --color-secondary: #2c694e;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #aeeecb;
  --color-on-secondary-container: #316e52;
  
  --color-tertiary: #005ac2;
  --color-on-tertiary: #ffffff;
  
  --color-background: #fbf9f4;
  --color-on-background: #1b1c19;
  
  --color-sticker-yellow: #FFD93D;
  --color-sticker-blue: #4D96FF;
  
  --border-color: #1a1a1a;
  
  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing */
  --space-base: 8px;
  --space-gutter: 24px;
  --space-margin-mobile: 24px;
  --space-margin-desktop: 64px;
  --space-section-gap: 80px;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

@media (min-width: 768px) {
  :root {
    --space-section-gap: 120px;
  }
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-on-background);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

/* Typography Utilities */
.text-display-lg {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .text-display-lg {
    font-size: 72px;
    letter-spacing: -0.02em;
  }
}

.text-headline-lg {
  font-size: 32px;
}

@media (min-width: 768px) {
  .text-headline-lg {
    font-size: 48px;
  }
}

.text-headline-md {
  font-size: 32px;
}

.text-body-lg {
  font-size: 20px;
  font-weight: 500;
}

.text-label-bold {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.text-sticker {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

/* Material Icons */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.icon-filled {
  font-variation-settings: 'FILL' 1;
}

/* Paper Texture */
.paper-texture {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* Structural Components */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-margin-mobile);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-margin-desktop);
  }
}

.section {
  padding: var(--space-section-gap) 0;
}

/* Neo-Brutalist Utilities */
.neo-border {
  border: 2px solid var(--border-color);
}

.block-shadow-sm {
  box-shadow: 4px 4px 0px 0px var(--border-color);
}

.block-shadow-md {
  box-shadow: 8px 8px 0px 0px var(--color-secondary);
}

.hover-depress {
  transition: transform 0.2s, box-shadow 0.2s;
}

.hover-depress:hover {
  transform: translate(4px, 4px);
  box-shadow: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  border-radius: var(--radius-full);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Stickers */
.sticker {
  display: inline-block;
  padding: 8px 16px;
  color: var(--color-on-background);
  position: absolute;
  z-index: 20;
  border-radius: var(--radius-full);
}
.sticker-yellow {
  background-color: var(--color-sticker-yellow);
}
.sticker-blue {
  background-color: var(--color-sticker-blue);
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-label {
  font-weight: 700;
  color: var(--color-on-surface);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--color-surface-container-lowest);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-on-background);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-tertiary);
  box-shadow: 6px 6px 0px 0px var(--color-tertiary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-help {
  font-size: 14px;
  color: var(--color-on-surface-variant);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--color-background);
  border-bottom: 2px solid var(--border-color);
  box-shadow: 4px 4px 0px 0px var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--space-margin-mobile);
  z-index: 50;
}

@media (min-width: 768px) {
  .navbar {
    padding: 16px var(--space-margin-desktop);
  }
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-links {
  display: none;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

.navbar-link {
  font-weight: 500;
  color: var(--color-on-surface-variant);
  transition: transform 0.2s;
}

.navbar-link:hover {
  transform: translate(2px, 2px);
  color: var(--color-primary);
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-background);
  border-bottom: 2px solid var(--border-color);
  box-shadow: 4px 4px 0px 0px var(--border-color);
  padding: 24px;
  gap: 16px;
}
.mobile-menu.active {
  display: flex;
}

/* Custom Grid Utility */
.grid-layout {
  display: grid;
  gap: var(--space-gutter);
}

.grid-cols-2 { grid-template-columns: 1fr; }
.grid-cols-3 { grid-template-columns: 1fr; }
.grid-cols-12 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
  .col-span-8 { grid-column: span 8; }
  .col-span-4 { grid-column: span 4; }
}

/* Cards & Specific Sections */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
  margin-bottom: 16px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-image {
  transform: scale(1.05);
}

/* Helper utilities */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.bg-surface-container { background-color: var(--color-surface-container); }
.bg-surface-container-low { background-color: var(--color-surface-container-low); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-center: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }

.experience-image {
  height: 300px;
}

@media (min-width: 768px) {
  .experience-image {
    height: 500px;
  }
}

/* Multi-step Form Styles */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Stepper Progress / Pathway Metaphor */
.stepper-progress {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
}

.stepper-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--border-color);
  transform: translateY(-50%);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background-color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--color-on-surface-variant);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.step-indicator.active {
  background-color: var(--color-sticker-yellow);
  color: var(--color-on-background);
  box-shadow: 3px 3px 0px 0px var(--border-color);
  transform: scale(1.1) rotate(-3deg);
}

.step-indicator.completed {
  background-color: var(--color-secondary-container);
  color: var(--color-on-secondary-container);
  box-shadow: 2px 2px 0px 0px var(--border-color);
}

/* Responsive adjustment for Hero section */
@media (max-width: 767px) {
  .hero-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .hero-section .container {
    gap: 40px;
  }
  
  .hero-section .card {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.floating-badge {
  position: absolute;
  z-index: 20;
  bottom: -24px;
  left: -24px;
}

.floating-badge:not(.sticker) {
  background: var(--color-surface);
  padding: 16px;
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .floating-badge {
    left: 8px;
    bottom: -16px;
  }
  .card {
    margin-left: 8px;
    margin-right: 8px;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 28, 25, 0.6);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: modalSlideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 20px;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-surface-container-high);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 32px;
  font-weight: bold;
  color: var(--color-on-surface);
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s;
}

.modal-close-btn:hover {
  transform: scale(1.1) rotate(90deg);
  color: var(--color-error);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rules-list li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-on-surface);
  position: relative;
  padding-left: 28px;
}

.rules-list li::before {
  content: 'check_circle';
  font-family: 'Material Symbols Outlined';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 18px;
  color: var(--color-secondary);
  font-weight: normal;
}

.modal-footer {
  padding: 20px;
  border-top: 2px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  background-color: var(--color-surface-container-low);
}

/* Custom CookieConsent v3 Neo-Brutalist Overrides */
#cc-main {
  font-family: var(--font-body);
}

#cc-main .cm, 
#cc-main .pm {
  border: 2px solid var(--border-color) !important;
  box-shadow: 6px 6px 0px 0px var(--border-color) !important;
  border-radius: var(--radius-lg) !important;
  background-color: var(--color-surface) !important;
}

#cc-main .cm__title,
#cc-main .pm__title {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  color: var(--color-secondary) !important;
}

#cc-main .btn--primary {
  background-color: var(--color-primary) !important;
  color: var(--color-on-primary) !important;
  border: 2px solid var(--border-color) !important;
  box-shadow: 2px 2px 0px 0px var(--border-color) !important;
  font-weight: 700 !important;
  border-radius: var(--radius-md) !important;
  transition: transform 0.1s, box-shadow 0.1s !important;
}

#cc-main .btn--primary:hover {
  transform: translate(1px, 1px) !important;
  box-shadow: 1px 1px 0px 0px var(--border-color) !important;
}

#cc-main .btn--secondary {
  background-color: var(--color-surface-container-high) !important;
  color: var(--color-on-surface) !important;
  border: 2px solid var(--border-color) !important;
  box-shadow: 2px 2px 0px 0px var(--border-color) !important;
  font-weight: 700 !important;
  border-radius: var(--radius-md) !important;
  transition: transform 0.1s, box-shadow 0.1s !important;
}

#cc-main .btn--secondary:hover {
  transform: translate(1px, 1px) !important;
  box-shadow: 1px 1px 0px 0px var(--border-color) !important;
}

#cc-main .pm__section {
  border: 2px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px !important;
}

#cc-main .pm__badge {
  background-color: var(--color-sticker-blue) !important;
  color: #ffffff !important;
  border: 2px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: bold !important;
}

