/* ============================================================
   AWS Follow the Sun — styles.css
   ============================================================ */

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

:root {
  --purple:       #7C3AED;
  --purple-dark:  #5B21B6;
  --purple-light: #EDE9FE;
  --purple-mid:   #C4B5FD;
  --yellow:       #FBBF24;
  --yellow-light: #FEF3C7;
  --yellow-dark:  #D97706;
  --white:        #FFFFFF;
  --gray-50:      #F9FAFB;
  --gray-200:     #E5E7EB;
  --gray-500:     #6B7280;
  --gray-700:     #374151;
  --gray-900:     #111827;
  --radius:       16px;
  --shadow:       0 4px 24px rgba(124,58,237,.12);
  --shadow-lg:    0 8px 48px rgba(124,58,237,.18);
  --transition:   .22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  opacity: 1;
  pointer-events: all;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: #ffffff;
  box-shadow: 0 1px 0 var(--gray-200);
  padding: 14px 0;
  opacity: 1;
  pointer-events: all;
}

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

.nav__logo {
  display: flex;
  align-items: center;
  position: relative;
  height: 44px;
}
.nav__logo img {
  height: 44px;
  width: auto;
  transition: opacity .3s ease;
  display: block;
}
.nav__logo--default  { opacity: 1; }
.nav__logo--scrolled { opacity: 0; position: absolute; top: 0; left: 0; }

.nav.scrolled .nav__logo--default  { opacity: 0; }
.nav.scrolled .nav__logo--scrolled { opacity: 1; position: relative; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Over hero: white text */
.nav__links a {
  font-size: .9rem;
  font-weight: 400;
  color: rgba(80, 40, 160, 0.75);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--purple); }

/* After scroll: dark text */
.nav.scrolled .nav__links a { color: var(--gray-700); }
.nav.scrolled .nav__links a:hover { color: var(--purple); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav__hamburger span { background: var(--gray-700); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--purple-light) 0%, var(--yellow-light) 100%);
  overflow: hidden;
}

.hero__logo {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 28px 40px;
}
.hero__logo img {
  width: min(85vw, 980px);
  height: auto;
}

/* ---------- COUNTDOWN STRIP ---------- */
.countdown-strip {
  background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 40%, #C084FC 70%, #FBBF24 100%);
  padding: 52px 28px;
  text-align: center;
  margin-bottom: 80px;
}
.countdown-strip__label {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 28px;
}
.countdown-strip__items {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}
.countdown-item span {
  font-size: 3.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.countdown-item small {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 10px;
}
.countdown-sep {
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255,255,255,.4);
  line-height: 1;
  margin-bottom: 22px;
  align-self: flex-start;
  padding-top: 4px;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--purple-mid);
  border-bottom: 2px solid var(--purple-mid);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(8px); }
}

/* ---------- SECTIONS ---------- */
.section { padding: 100px 0; scroll-margin-top: 72px; }

.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__tag {
  display: inline-block;
  background: var(--yellow-light);
  border: 1.5px solid var(--yellow);
  color: var(--yellow-dark);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 16px;
}
.section__title, .organizers__title {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-700);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.section__title strong { color: var(--purple); font-weight: 900; }
.section__desc {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 16px auto 0;
  line-height: 1.75;
}

/* ---------- ABOUT ---------- */
.about { background: var(--white); padding-top: 100px; }

.about__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.about__text p {
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { color: var(--purple); }

.about__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-4px); }
.stat-card__number {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.stat-card__label {
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

/* ---------- WHAT TO EXPECT ---------- */
.expect { background: var(--gray-50); }

.expect__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.expect-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.expect-card:hover {
  border-color: var(--purple-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.expect-card__icon {
  width: 108px;
  height: 108px;
  margin-bottom: 16px;
}
.expect-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.expect-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.expect-card p  { font-size: .9rem; color: var(--gray-500); line-height: 1.7; }

/* ---------- ORGANIZERS ---------- */
.organizers {
  position: relative;
  display: block;
  overflow: hidden;
  scroll-margin-top: 72px;
}

.organizers__bg {
  position: relative;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}
.organizers__bg img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -15%;
}

/* White gradient at top — blends with expect section (gray-50) */
.organizers__overlay-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, #F9FAFB 0%, #F9FAFB 25%, rgba(249,250,251,0) 100%);
  z-index: 1;
}

/* Purple gradient at bottom — blends with footer */
.organizers__overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(to top, #5B21B6 0%, rgba(91,33,182,.85) 30%, rgba(91,33,182,0) 100%);
  z-index: 1;
}

.organizers__content {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  z-index: 2;
  text-align: center;
  padding: 48px 28px;
}

.organizers__title {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-700);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.organizers__title strong { color: var(--purple); font-weight: 900; }

/* ---------- FOOTER ---------- */
.footer { background: var(--purple-dark); }

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  padding: 64px 0 48px;
  align-items: start;
}
.footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer__brand p { color: rgba(255,255,255,.55); font-size: .9rem; max-width: 340px; line-height: 1.7; }

.footer__links { display: flex; gap: 56px; }
.footer__col h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a  { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer__col a:hover { color: var(--yellow); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  text-align: center;
}
.footer__bottom p { font-size: .82rem; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer__disclaimer { font-size: .75rem; opacity: .5; }

/* ---------- SAVE THE DATE ---------- */
.savedate {
  background: linear-gradient(160deg, var(--purple-light) 0%, var(--yellow-light) 100%);
}

.savedate__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 48px;
}

/* Same style as expect-card */
.savedate-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.savedate-card:hover {
  border-color: var(--purple-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.savedate-card__icon {
  width: 108px;
  height: 108px;
  display: block;
  margin-bottom: 4px;
}
.savedate-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.savedate-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.savedate-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
}
.savedate-card .btn--save {
  align-self: flex-start;
  margin-top: 12px;
  padding: 10px 22px;
  font-size: .85rem;
}

/* Countdown full-width */
.savedate__countdown {
  width: 100%;
  background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 40%, #C084FC 70%, #FBBF24 100%);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.savedate__countdown .countdown-bar__date {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 24px;
}
.savedate__countdown .countdown-bar__items {
  display: inline-flex;
  align-items: center;
}
.savedate__countdown .countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.savedate__countdown .countdown-item:last-child { border-right: none; }
.savedate__countdown .countdown-item span {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.savedate__countdown .countdown-item small {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 10px;
}

.btn--save {
  background: var(--yellow);
  color: var(--gray-900);
  border-radius: 50px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(251,191,36,.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn--save:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251,191,36,.45);
}

/* ---------- LANG SWITCHER ---------- */
.lang-switcher {
  position: relative;
}
.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--purple-dark);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: .04em;
}
.nav.scrolled .lang-switcher__btn {
  border-color: var(--gray-200);
  color: var(--gray-700);
  background: var(--white);
}
.lang-switcher__btn:hover {
  background: var(--purple-light);
  border-color: var(--purple-mid);
}
.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  overflow: hidden;
  z-index: 200;
}
.lang-switcher__dropdown.open { display: block; }
.lang-switcher__dropdown li button {
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  background: none;
  border: none;
  font-size: .875rem;
  font-family: inherit;
  color: var(--gray-700);
  cursor: pointer;
  transition: background var(--transition);
}
.lang-switcher__dropdown li button:hover {
  background: var(--purple-light);
  color: var(--purple);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about__body   { grid-template-columns: 1fr; gap: 36px; }
  .about__stats  { grid-template-columns: repeat(2, 1fr); }
  .savedate__grid { grid-template-columns: 1fr; }
  .expect__grid  { grid-template-columns: repeat(2, 1fr); }
  .heroes-badge  { flex-direction: column; gap: 32px; padding: 40px 32px; text-align: center; }
  .heroes-badge__logo { width: 140px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 640px) {
  .nav__links     { display: none; }
  .nav__hamburger { display: flex; }
  .about__stats   { grid-template-columns: 1fr 1fr; }
  .expect__grid   { grid-template-columns: 1fr; }
  .heroes-badge   { padding: 32px 24px; }
  .savedate__grid { grid-template-columns: 1fr; }
  .countdown-item { padding: 0 16px; }
  .countdown-item span { font-size: 2.4rem; }
}
