/* ============================================
   AI Policy Hackathon — Complete Styles
   ============================================ */

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

:root {
  --white: #ffffff;
  --off-white: #f2f2f2;
  --light-gray: #e8e8e8;
  --mid-gray: #999;
  --dark-gray: #666;
  --charcoal: #1a1a1a;
  --near-black: #111111;
  --black: #0a0a0a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #3b82f6;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ──────────────────────────────────────────
   NAV — floating pill
────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 100px;
  padding: 8px 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.nav.nav-dark .nav-inner {
  background: rgba(17,17,17,0.9);
  border-color: rgba(255,255,255,0.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--charcoal);
  flex-shrink: 0;
  overflow: hidden;
  padding: 7px;
  transition: background 0.3s;
}
.nav.nav-dark .nav-logo { background: rgba(255,255,255,0.1); }
.nav-logo-img { width: 100%; height: 100%; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; }
.nav-links a {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--dark-gray);
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav.nav-dark .nav-links a { color: rgba(255,255,255,0.55); }
.nav-links a:hover { color: var(--charcoal); background: rgba(0,0,0,0.04); }
.nav.nav-dark .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

/* ──────────────────────────────────────────
   HERO — image dominant, augen style
────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background: #fff;
  overflow: hidden;
}

/* Silhouette image — right side, full height */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 70%;
  height: 100%;
  pointer-events: none;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 8%;
  filter: grayscale(8%) contrast(1.04);
}
.hero-fade-left {
  position: absolute;
  top: 0; left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(to right, #fff 15%, rgba(255,255,255,0.6) 60%, transparent 100%);
}
.hero-fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.5) 50%, #fff 100%);
}

/* Hero text — bottom left */
.hero-text {
  position: absolute;
  bottom: 80px;
  left: 60px;
  z-index: 2;
  max-width: 560px;
}
.hero-org-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  opacity: 0;
}
.hero-headline {
  font-size: clamp(52px, 7vw, 90px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--mid-gray);
  margin-bottom: 32px;
  opacity: 0;
}
.hero-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

/* Hero scroll line */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--mid-gray));
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { opacity:0; transform:scaleY(0); transform-origin:top; }
  50% { opacity:1; transform:scaleY(1); transform-origin:top; }
  100% { opacity:0; transform:scaleY(1); transform-origin:bottom; }
}

/* ──────────────────────────────────────────
   EMERGE — shadow reveal animation
   Applied to headings + key lines
────────────────────────────────────────── */
.emerge {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(24px);
  transition:
    opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1),
    filter  1.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.emerge.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
/* Stagger siblings */
.emerge:nth-child(2) { transition-delay: 0.15s; }
.emerge:nth-child(3) { transition-delay: 0.3s; }
.emerge:nth-child(4) { transition-delay: 0.45s; }

/* ──────────────────────────────────────────
   TEXT CALLOUTS — full-width dramatic lines
────────────────────────────────────────── */
.text-callout {
  padding: 80px 0;
}
.text-callout-light { background: var(--white); }
.text-callout-dark  { background: var(--near-black); }

.callout-line {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.text-callout-light .callout-line { color: var(--charcoal); }
.text-callout-dark  .callout-line { color: var(--white); }

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(37,99,235,0.35); }
.btn-secondary { background: rgba(0,0,0,0.05); color: var(--charcoal); border: 1px solid rgba(0,0,0,0.08); }
.btn-large { padding: 18px 48px; font-size: 17px; }
.btn-pill { padding: 10px 22px; font-size: 13.5px; }
.btn-pill-filled { background: var(--blue); color: #fff; }
.btn-pill-filled:hover { background: var(--blue-dark); }
.btn-pill-outline { background: transparent; color: var(--charcoal); border: 1px solid var(--light-gray); }
.btn-pill-outline:hover { background: rgba(0,0,0,0.03); }

/* ──────────────────────────────────────────
   SECTIONS
────────────────────────────────────────── */
.section { padding: 140px 0; }
.section-dark  { background: var(--near-black); color: #fff; }
.section-light { background: var(--off-white);  color: var(--charcoal); }
.section-blue  { background: var(--blue);       color: #fff; }

.section-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 60px;
}
.label-number {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.05em;
}
.section-label-dark .label-number { color: var(--blue); }
.label-text {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.section-label-dark .label-text { color: var(--mid-gray); }

.section-heading {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-heading-dark { color: var(--charcoal); }

/* ──────────────────────────────────────────
   ABOUT
────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-description { font-size: 16.5px; line-height: 1.75; color: rgba(255,255,255,0.58); margin-bottom: 20px; font-weight: 300; }
.about-description strong { color: rgba(255,255,255,0.85); font-weight: 500; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-number { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }

/* ──────────────────────────────────────────
   TRACKS
────────────────────────────────────────── */
.tracks-header { text-align: center; margin-bottom: 72px; }
.tracks-icon { width: 48px; height: 48px; margin: 0 auto 20px; }
.tracks-icon-img { width: 100%; height: 100%; }

.tracks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 56px; }
.track-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
}
.track-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.09); }
.track-card-inner { padding: 36px 28px; }
.track-number { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 16px; }
.track-title { font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--charcoal); margin-bottom: 20px; }
.track-visual { height: 110px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.track-sphere { width: 90px; height: 90px; border-radius: 50%; }
.track-sphere-1 { background: radial-gradient(circle at 35% 35%, #93c5fd, #2563eb 60%, #1e40af); box-shadow: 0 12px 40px rgba(37,99,235,0.28); }
.track-sphere-2 { background: radial-gradient(circle at 35% 35%, #c4b5fd, #7c3aed 60%, #5b21b6); box-shadow: 0 12px 40px rgba(124,58,237,0.28); }
.track-sphere-3 { background: radial-gradient(circle at 35% 35%, #6ee7b7, #059669 60%, #065f46); box-shadow: 0 12px 40px rgba(5,150,105,0.28); }
.track-description { font-size: 14.5px; line-height: 1.65; color: var(--dark-gray); margin-bottom: 18px; font-weight: 300; }
.track-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.track-tag { font-size: 11.5px; padding: 5px 13px; background: var(--off-white); border-radius: 100px; color: var(--dark-gray); font-weight: 500; }
.tracks-cta { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.tracks-cta-label { font-size: 14px; font-weight: 500; color: var(--charcoal); }
.tracks-cta-buttons { display: flex; gap: 10px; }

/* ──────────────────────────────────────────
   GOLDEN GATE — "Where True Innovation Starts"
   Like augen.pro "Invisible Approach"
────────────────────────────────────────── */
.section-gateway {
  position: relative;
  background: var(--off-white);
  overflow: hidden;
  padding: 100px 0 0;
}

/* Giant background text — the "Invisible Approach" equivalent */
.gateway-bg-text {
  position: relative;
  z-index: 1;
  padding: 0 40px;
  pointer-events: none;
  user-select: none;
}
.gateway-bg-text span {
  display: block;
  font-size: clamp(80px, 14vw, 172px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: #d8d8d8;
  transition: opacity 0.3s;
}

/* Bridge image floating over the text */
.gateway-image-wrap {
  position: relative;
  z-index: 2;
  margin: -180px auto 0;
  width: 88%;
  max-width: 1060px;
}
.gateway-img {
  width: 100%;
  height: 58vh;
  min-height: 360px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -20px 80px rgba(0,0,0,0.12);
}

/* Description at bottom left */
.gateway-meta {
  padding: 36px 0 80px;
}
.gateway-location {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}
.gateway-caption {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

/* ──────────────────────────────────────────
   SCHEDULE
────────────────────────────────────────── */
.schedule-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.schedule-day {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  transition: border-color 0.3s;
}
.schedule-day:hover { border-color: rgba(255,255,255,0.16); }
.schedule-day-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.schedule-day-label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-light); }
.schedule-day-date { font-size: 12px; color: rgba(255,255,255,0.35); }
.schedule-day-title { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.schedule-events { display: flex; flex-direction: column; gap: 14px; }
.schedule-event { display: flex; gap: 14px; align-items: baseline; }
.schedule-time { font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,0.3); min-width: 70px; font-variant-numeric: tabular-nums; }
.schedule-name { font-size: 13.5px; color: rgba(255,255,255,0.68); font-weight: 400; }

/* ──────────────────────────────────────────
   PRIZES
────────────────────────────────────────── */
.prizes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.prizes-sub { font-size: 16px; color: rgba(255,255,255,0.68); margin-top: 16px; font-weight: 300; }
.prize-item { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.prize-item-grand { padding-top: 0; }
.prize-place { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.75); }
.prize-amount { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.prize-divider { height: 28px; }
.prize-bonus-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.prize-bonus-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prize-bonus-list li { font-size: 14.5px; color: rgba(255,255,255,0.75); padding-left: 18px; position: relative; font-weight: 300; line-height: 1.5; }
.prize-bonus-list li::before { content:''; position:absolute; left:0; top:9px; width:5px; height:5px; background:#fff; border-radius:50%; }

/* ──────────────────────────────────────────
   SUBMISSION
────────────────────────────────────────── */
.submission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.submission-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
}
.submission-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.09); }
.submission-icon { width: 48px; height: 48px; color: var(--blue); margin-bottom: 20px; }
.submission-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--charcoal); }
.submission-desc { font-size: 14px; line-height: 1.65; color: var(--dark-gray); font-weight: 300; }

/* ──────────────────────────────────────────
   UNIVERSITIES
────────────────────────────────────────── */
.universities-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 56px; margin-top: 56px; }
.uni-region-label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-light); margin-bottom: 20px; }
.uni-list { display: flex; flex-direction: column; gap: 12px; }
.uni-name { font-size: 18px; font-weight: 500; color: rgba(255,255,255,0.75); letter-spacing: -0.01em; }

/* ──────────────────────────────────────────
   CTA
────────────────────────────────────────── */
.section-cta { background: #fff; padding: 180px 0; text-align: center; }
.cta-heading { font-size: clamp(40px, 6vw, 72px); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; color: var(--charcoal); margin-bottom: 20px; }
.cta-sub { font-size: 16px; color: var(--dark-gray); margin-bottom: 44px; font-weight: 300; }

/* ──────────────────────────────────────────
   FOOTER — augen style
────────────────────────────────────────── */
.footer { background: var(--black); color: #fff; padding: 80px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; }
.footer-logo { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.footer-mission { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.3); max-width: 300px; font-weight: 300; }
.footer-col-number { display: block; font-size: 12px; color: var(--blue-light); margin-bottom: 3px; }
.footer-col-label { display: block; font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 18px; font-weight: 500; color: #fff; letter-spacing: -0.01em; opacity: 0.85; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; }

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid, .prizes-grid { grid-template-columns: 1fr; gap: 40px; }
  .tracks-grid, .schedule-grid, .submission-grid, .universities-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .gateway-image-wrap { margin-top: -100px; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 100px 0; }
  .hero-text { left: 24px; bottom: 60px; }
  .hero-visual { width: 100%; }
  .nav-links a:not(.nav-cta) { display: none; }
  .gateway-bg-text { padding: 0 20px; }
  .gateway-bg-text span { font-size: clamp(60px, 15vw, 100px); }
  .gateway-image-wrap { margin-top: -80px; }
}
