/* AI Education Day - Save the Date Styles */

:root{
  --bg:#D2DBF4;
  --ink:#122772;
  --muted:#122772;
  --maxw:1600px;
  --pad: clamp(16px, 4vw, 56px);
}

*,*::before,*::after{ box-sizing:border-box }
html,body{ height:100% }
body{
  margin:0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: linear-gradient(rgba(210, 219, 244, 0.90), rgba(210, 219, 244, 0.85)), url('../images/mtn.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color:var(--ink);
}

/* Mobile background adjustments */
@media (max-width: 820px){
  body{
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    min-height: 100vh;
    min-height: 100svh;
  }
}

/* Landscape mobile fix */
@media (max-width: 820px) and (orientation: landscape){
  html{
    min-height: 100vh;
    min-height: 100lvh;
  }
  body{
    min-height: 100vh;
    min-height: 100lvh;
    background-size: auto 100%;
    background-position: center center;
  }
  .viewport-hero{
    min-height: calc(100lvh - 130px);
  }
}
a{ color:var(--ink); text-underline-offset:3px }

/* Sticky Header Navigation */
.sticky-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in oklab, var(--bg) 95%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 39, 114, 0.15);
  padding: 1rem clamp(16px, 4vw, 56px);
  overflow: visible;
}

.header-content{
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  overflow: visible;
}

.header-top{
  display: contents;
}

.brand{
  font-weight: 800;
  font-size: 1.125rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.2s ease;
  display: block;
}

.brand-logo{
  height: 32px;
  width: auto;
  display: block;
}

.brand:hover{
  opacity: 0.7;
}

.nav-buttons{
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  overflow: visible;
}

.nav-btn{
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(18, 39, 114, 0.2);
  background: rgba(255, 255, 255, 0.3);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-btn:hover{
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--ink);
}

/* Dropdown Navigation */
.nav-dropdown{
  position: relative;
  display: inline-block;
}

.dropdown-trigger{
  cursor: pointer;
}

.dropdown-trigger::after{
  content: ' ▾';
  font-size: 0.75em;
  margin-left: 0.25rem;
}

.dropdown-menu{
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(18, 39, 114, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(18, 39, 114, 0.15);
  min-width: 180px;
  z-index: 1001;
}

/* Create invisible bridge between button and dropdown */
.dropdown-menu::before{
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
  background: transparent;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu{
  display: block;
}

.dropdown-item{
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.dropdown-item:first-child{
  border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child{
  border-radius: 0 0 8px 8px;
}

.dropdown-item:hover{
  background: #f5f5f5;
}

/* Featured dropdown item (Reserve Your Spot) */
.dropdown-item.featured{
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.dropdown-item.featured:hover{
  background: #0d1a52;
}

/* Mobile menu toggle */
.menu-toggle{
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

.menu-toggle:hover{
  opacity: 0.7;
}

/* Mobile header - collapsible */
@media (max-width: 820px){
  .menu-toggle{
    display: block;
  }

  .header-content{
    flex-direction: column;
    align-items: stretch;
  }

  .header-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .brand{
    text-align: left;
  }

  .nav-buttons{
    flex-direction: column;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
  }

  .nav-buttons.open{
    max-height: 500px;
    margin-top: 1rem;
  }

  .nav-btn{
    width: 100%;
  }

  /* Mobile dropdown styles */
  .nav-dropdown{
    width: 100%;
  }

  .dropdown-trigger{
    display: none;
  }

  .dropdown-menu{
    display: block !important;
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin-top: 0;
    padding-left: 0;
    background: transparent;
  }

  .dropdown-item{
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(18, 39, 114, 0.2);
    margin-bottom: 0.5rem;
  }

  .dropdown-item:first-child{
    border-radius: 8px;
  }

  .dropdown-item:last-child{
    border-radius: 8px;
    margin-bottom: 0;
  }

  .dropdown-item:hover{
    background: rgba(255, 255, 255, 0.5);
  }
}

/* Full-viewport hero */
.viewport-hero{
  min-height: calc(100svh - 130px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad);
  padding-bottom: 120px;
}

/* Hero content - left aligned layout */
.hero-content{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1400px;
  width: 100%;
}

/* Event branding at top */
.event-brand{
  font-size: clamp(2.5rem, 5.5vw, 6rem);
  font-weight: 400;
  margin: 0 0 50px 0;
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--ink);
  line-height: 1.1;
}

/* Save the date */
.save-the-date-text{
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1;
  font-size: clamp(2.75rem, 5.8vw, 6.375rem);
  letter-spacing: 0;
  text-transform: lowercase;
  margin: 0 0 14px 0;
  text-align: left;
  color: var(--ink);
}

/* Date - the hero, dramatically large */
.date{
  font-weight: 700;
  font-stretch: condensed;
  line-height: 0.85;
  font-size: clamp(4rem, 13.5vw, 15rem);
  letter-spacing: -0.03em;
  margin: 0 0 36px 0;
  text-align: left;
  color: var(--ink);
  white-space: nowrap;
}

/* Event goal */
.event-goal{
  font-size: clamp(1.25rem, 2.75vw, 3rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 30px 0;
  text-align: left;
  font-weight: 400;
}

.event-goal p{
  margin: 0;
  white-space: nowrap;
}

/* Primary CTA in hero */
.hero-cta{
  padding: 1.25rem 3rem;
  background: var(--ink);
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 2.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 14px 0;
}

/* Location and format - after CTA */
.location-format{
  font-size: clamp(1rem, 2.1vw, 2.3rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  text-align: left;
  letter-spacing: 0;
}

.hero-cta:hover{
  background: #0d1a52;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 39, 114, 0.3);
}

/* Mobile adjustments for hero */
@media (max-width: 1024px){
  .event-brand{
    margin: 0 0 clamp(30px, 5vw, 50px) 0;
  }

  .save-the-date-text{
    margin: 0 0 clamp(10px, 1.5vw, 14px) 0;
  }

  .date{
    margin: 0 0 clamp(24px, 3.6vw, 36px) 0;
  }

  .event-goal{
    margin: 0 0 clamp(20px, 3vw, 30px) 0;
  }

  .hero-cta{
    margin: 0 0 clamp(10px, 1.5vw, 14px) 0;
  }
}

@media (max-width: 820px){
  .hero-cta{
    width: 100%;
    max-width: 400px;
  }

  .event-brand{
    margin: 0 0 clamp(25px, 4.5vw, 40px) 0;
  }

  .save-the-date-text{
    margin: 0 0 clamp(8px, 1.2vw, 12px) 0;
  }

  .date{
    margin: 0 0 clamp(18px, 2.8vw, 30px) 0;
  }

  .event-goal{
    margin: 0 0 clamp(16px, 2.5vw, 24px) 0;
  }

  .hero-cta{
    margin: 0 0 clamp(8px, 1.2vw, 12px) 0;
  }
}

/* Sticky Footer */
.sticky-footer{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: color-mix(in oklab, var(--bg) 95%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(18, 39, 114, 0.15);
  padding: 1rem clamp(16px, 4vw, 56px);
}

.footer-content{
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-text{
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-links{
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link{
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-link:hover{
  opacity: 0.7;
}

@media (max-width: 820px){
  .footer-content{
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-links{
    justify-content: center;
  }
}

/* Modal Styles */
.modal{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active{
  display: flex;
}

.modal-content{
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title{
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

.modal-close{
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.form-group{
  margin-bottom: 1.25rem;
}

.form-label{
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea,
.form-select{
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus{
  outline: none;
  border-color: #2563eb;
}

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

/* Multiselect styling */
select[multiple]{
  min-height: 150px;
  padding: 0.5rem;
}

select[multiple] option{
  padding: 0.5rem;
  border-radius: 4px;
  margin: 2px 0;
}

select[multiple] option:checked{
  background: #2563eb;
  color: white;
}

/* File input styling */
input[type="file"]{
  padding: 0.5rem;
  cursor: pointer;
}

.form-help{
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.6);
  font-style: italic;
}

.form-submit{
  width: 100%;
  padding: 1rem 2rem;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover{
  background: #1d4ed8;
}

.form-submit:disabled{
  background: #9ca3af;
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.form-submit:disabled::after{
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  right: 1.5rem;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner{
  to{
    transform: rotate(360deg);
  }
}

.form-message{
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.form-message.success{
  background: #d1fae5;
  color: #065f46;
}

.form-message.error{
  background: #fee2e2;
  color: #991b1b;
}

.checkbox-group{
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-label{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"]{
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
}

/* Remove background image for content pages */
body.content-page-body {
  background: var(--bg);
}

/* Content Pages - Shared styles for manifesto, privacy, terms, sponsorships, etc. */
.content-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad);
  padding-bottom: 120px;
  min-height: calc(100vh - 130px);
}

.content-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0 0 2rem 0;
  color: var(--ink);
  line-height: 1.2;
}

.content-page h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 2.5rem 0 1rem 0;
  color: var(--ink);
}

.content-page p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  color: var(--ink);
}

.content-page ul,
.content-page ol {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  padding-left: 1.5rem;
  color: var(--ink);
}

.content-page li {
  margin-bottom: 0.75rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.7;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.intro-text {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  margin: 0 0 3rem 0;
  color: var(--ink);
  max-width: 800px;
}

/* Sponsorship-specific styles */
.sponsorship-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.tier-card {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(18, 39, 114, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(18, 39, 114, 0.2);
  border-color: var(--ink);
}

.tier-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(18, 39, 114, 0.15);
}

.tier-name {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--ink);
}

.tier-card.gold .tier-name {
  color: #D4AF37;
}

.tier-card.silver .tier-name {
  color: #A8A8A8;
}

.tier-card.bronze .tier-name {
  color: #CD7F32;
}

.tier-card.media .tier-name {
  color: #2563eb;
}

.tier-price {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-benefits li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(18, 39, 114, 0.1);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.5;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tier-benefits li:last-child {
  border-bottom: none;
}

.tier-benefits li::before {
  content: '✓';
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.cta-section {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(18, 39, 114, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--ink);
}

.cta-section p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin: 0 0 2rem 0;
  color: var(--ink);
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 3rem;
  background: var(--ink);
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  background: #0d1a52;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 39, 114, 0.3);
}

.additional-info {
  max-width: 800px;
  margin: 3rem auto 0;
}

.additional-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  color: var(--ink);
}

.additional-info p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  color: var(--ink);
}

.additional-info ul,
.additional-info ol {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  padding-left: 1.5rem;
  color: var(--ink);
}

.additional-info li {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .sponsorship-tiers {
    grid-template-columns: 1fr;
  }
}
