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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  color: #2d3748;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-family: 'Crimson Text', 'Times New Roman', serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  color: #1a202c;
  letter-spacing: -0.025em;
  font-style: italic;
}

h2 {
  font-family: 'Crimson Text', 'Times New Roman', serif;
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  color: #1a202c;
  letter-spacing: -0.015em;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: #2d3748;
  letter-spacing: -0.005em;
}

p {
  margin-bottom: 1.75rem;
  color: #4a5568;
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
}

strong, b {
  font-weight: 600;
  color: #2d3748;
}

.lead {
  font-size: 1.375rem;
  line-height: 1.6;
  color: #2d3748;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Emotional blockquote for special emphasis */
.quote {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
  color: #4a5568;
  border-left: 3px solid #16a34a;
  padding-left: 1.5rem;
  margin: 2rem 0;
}

/* Page header - Premium foundation style */
.page-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  width: 100%;
}

.primary-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.brand-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  margin-right: 2.5rem;
}

.brand-logo h4 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0f766e;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.brand-logo:hover h4 {
  color: #134e4a;
}

.brand-logo img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.brand-logo:hover img {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  min-width: 0;
  flex-shrink: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.005em;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.15s ease;
  position: relative;
  padding: 0.5rem 0;
  flex-shrink: 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #0f766e;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0f766e 0%, #16a34a 100%);
  transition: width 0.15s ease;
  border-radius: 1px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Mobile navigation toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.75rem;
  background: none;
  border: none;
  border-radius: 12px;
  transition: background-color 0.15s ease;
}

.mobile-nav-toggle:hover {
  background-color: rgba(30, 64, 175, 0.05);
}

.mobile-nav-toggle span {
  width: 24px;
  height: 2px;
  background: #4a5568;
  margin: 3px 0;
  transition: all 0.15s ease;
  transform-origin: center;
  border-radius: 1px;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -5px);
}

/* Primary container - Premium foundation width */
.content-wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.hero-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.full-width-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Page sections - Premium visual hierarchy with layered backgrounds */
.section-block {
  padding: 6.75rem 0;
  position: relative;
  overflow: hidden;
}

.page-section:nth-child(even) {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.page-section:first-child {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  padding-top: 9rem;
}

/* Core page sections - Premium styling */
.hero-section {
  padding: 9rem 0 7rem;
  background: linear-gradient(145deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  text-align: center;
  position: relative;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(234, 88, 12, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.process-section {
  color: #ffffff;
  padding: 6.75rem 0;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.steps-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.02) 0%, rgba(234, 88, 12, 0.02) 100%);
  pointer-events: none;
}

.cta-section {
  padding: 5rem 0;
  background: linear-gradient(145deg, #0f766e 0%, #134e4a 100%);
  color: white;
  text-align: center;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.action-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section-block {
  padding: 6rem 0;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.content-section:nth-child(even) {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.content-section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.01) 0%, transparent 100%);
  pointer-events: none;
}

/* Core page sections - Premium foundation sections */

/* Welcome section - Editorial foundation introduction */
.welcome-section {
  padding: 9rem 0 7rem;
  background: linear-gradient(145deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  text-align: center;
  position: relative;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(234, 88, 12, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.welcome-section .content-wrapper {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.welcome-section h1 {
  font-size: 4rem;
  font-weight: 400;
  color: #1a202c;
  margin-bottom: 3rem;
  letter-spacing: -0.025em;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.welcome-section .lead {
  font-size: 1.375rem;
  color: #2d3748;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.welcome-section p {
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

/* Steps section - Story-driven emotional timeline */
.process-section {
  padding: 6.75rem 0;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.steps-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.02) 0%, rgba(234, 88, 12, 0.02) 100%);
  pointer-events: none;
}

.timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 0 1.75rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.2) 0%, rgba(29, 78, 216, 0.4) 50%, rgba(29, 78, 216, 0.2) 100%);
  z-index: 1;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.1);
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  margin: 0 0.875rem;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.step-counter {
  width: 90px;
  height: 90px;
  background: linear-gradient(145deg, #0f766e 0%, #134e4a 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 auto 2rem;
  position: relative;
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.step-item h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #2d3748;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
}

.step-item p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Action section - Emotional decision moment */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(145deg, #0f766e 0%, #134e4a 100%);
  color: white;
  text-align: center;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.action-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.action-section .content-wrapper {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.action-section h2 {
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: white;
  letter-spacing: -0.015em;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.action-section p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  line-height: 1.7;
  font-weight: 400;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons - Premium emotional design */
.btn {
  display: inline-block;
  padding: 1.5rem 3.5rem;
  background: linear-gradient(145deg, #0f766e 0%, #134e4a 100%);
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover,
.btn:focus {
  background: linear-gradient(145deg, #134e4a 0%, #1e293b 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(15, 118, 110, 0.55);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #0f766e;
  border: 2px solid #0f766e;
  box-shadow: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #0f766e;
  color: white;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35);
}

/* Content blocks - Premium foundation layout */
.content-area {
  max-width: 720px;
  margin: 0 auto;
}

.content-area h2 {
  text-align: left;
  margin-bottom: 3rem;
  font-size: 2.75rem;
  font-weight: 400;
  color: #1a202c;
  letter-spacing: -0.015em;
  position: relative;
}

.content-area h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0f766e 0%, #16a34a 100%);
  border-radius: 2px;
}

.content-area h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  color: #2d3748;
  letter-spacing: -0.005em;
}

.content-area p {
  margin-bottom: 2.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4a5568;
  font-weight: 400;
}

/* Prize collection - Premium emotional design */
.prize-collection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin: 4rem 0;
}

.prize-item {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 3.5rem;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.prize-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f766e 0%, #16a34a 100%);
}

.prize-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.prize-item h3 {
  color: #0f766e;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.prize-item .award-amount {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1.5rem;
  font-family: 'Crimson Text', serif;
  font-style: italic;
}

.prize-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

/* Lists - Premium foundation style */
.feature-list {
  margin: 2.5rem 0;
  padding-left: 0;
}

.feature-list li {
  margin-bottom: 1.25rem;
  padding-left: 2rem;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4a5568;
}

.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #0f766e;
  font-weight: bold;
  font-size: 1.2rem;
  top: 0.1rem;
}

/* Prize collection fallback */
.prize-collection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.prize-item {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8eef3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prize-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.prize-item h3 {
  color: #2c5530;
  margin-bottom: 1rem;
}

.prize-item .award-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 1rem;
}

/* Legal section - Official foundation documentation */
.legal-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 2px solid #e2e8f0;
  color: #4a5568;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  position: relative;
}

.compliance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, #0f766e 0%, #16a34a 100%);
  border-radius: 1px;
}

.compliance-section p {
  margin: 0.5rem 0;
  color: #4a5568;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

/* Page footer */
.page-footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-navigation {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-navigation a {
  color: #b8c5d1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-navigation a:hover {
  color: white;
}

/* Images - Local assets only, responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(0.9) contrast(1.05);
}

.page-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin: 3.5rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.3);
  transition: transform 0.3s ease;
}

.page-image:hover {
  transform: scale(1.02);
}

/* Responsive design */
@media (max-width: 1024px) {
  .primary-nav {
    flex-wrap: nowrap;
  }

  .nav-menu {
    flex-wrap: nowrap;
    gap: 1.75rem;
  }

  .nav-menu a {
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .brand-logo h4 {
    font-size: 1rem;
    max-width: 260px;
    white-space: nowrap;
    line-height: 1;
  }
}

@media (max-width: 768px) {
  .content-wrapper, .full-width-wrapper {
    padding: 0 1.5rem;
  }

  .primary-nav {
    padding: 0 1.25rem;
    height: 60px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #e2e8f0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
    border-radius: 12px;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background-color: rgba(30, 64, 175, 0.05);
    color: #0f766e;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  /* Structure 5 mobile adjustments */
  .welcome-section {
    padding: 6rem 0 4rem;
  }

  .welcome-section h1 {
    font-size: 2.5rem;
  }

  .welcome-section .lead {
    font-size: 1.1rem;
  }

  .timeline-container {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline-container::before {
    display: none;
  }

  .step-item {
    margin: 0;
    padding: 1.5rem;
  }

  .process-section {
    padding: 4rem 0;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .page-section, .section-block {
    padding: 4rem 0;
  }

  .content-area h2 {
    font-size: 2rem;
  }

  .prize-collection {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-image {
    height: 250px;
  }

  .footer-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    padding: 0 1rem;
  }

  .welcome-section h1 {
    font-size: 2rem;
  }

  .page-image {
    height: 200px;
  }

  .section-block {
    padding: 2rem 0;
  }

  .page-image {
    height: 200px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states */
.nav-menu a:focus,
.btn:focus {
  outline: 2px solid #2c5530;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .page-header,
  .page-footer,
  .mobile-nav-toggle {
    display: none;
  }

  .section-block {
    page-break-inside: avoid;
  }
}
