/* Color Palette */
:root {
  --bg-color: #2D0855; /* Matched from logo */
  --cta-color: #FF007F; /* Electric Pink */
  --highlight-color: #E6DA27; /* Updated Yellow */
  --text-primary: #FFFFFF; /* Pure White */
  --bg-secondary: #F0F0F0; /* Soft Grey */
  --card-border: rgba(255, 255, 255, 0.1);
  --font-header: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif; /* Fallback for high-legibility sans-serif */
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: 9999;
}

h1, h2, h3 {
  font-family: var(--font-header);
  font-weight: 800; /* Extra Bold */
  text-transform: uppercase;
  line-height: 1.2;
}

.extralight {
  font-weight: 200;
}

.regular {
  font-weight: 400;
}

.lowercase {
  text-transform: lowercase;
}

/* Header */
header {
  padding: 0.75rem 5% 2rem;
  text-align: center;
}

.logo-link {
  display: inline-block;
}

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

/* Common Section padding */
section {
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section - Hybrid Layout */
.hero {
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: left;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
}

.hero-text {
  flex: 1.4;
}

.hero .headline {
  color: var(--highlight-color);
  font-size: clamp(2rem, 3.5vw, 4rem);
  margin-bottom: 1rem;
  line-height: 1.1;
  white-space: nowrap;
}

.hero .subtitle {
  color: var(--text-primary);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 500;
  margin-bottom: 0;
}

.hero-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  height: auto;
  padding: 1rem 0;
}

.hero-visual {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  object-fit: cover;
  width: 380px; /* Wider to show more content */
  height: auto;
  max-height: 250px;
}

.visual-1 {
  transform: rotate(-1deg);
  margin-right: 40px; /* Staggered effect */
}

.visual-2 {
  transform: rotate(1.5deg);
}

.hero-image:hover .hero-visual {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.hero-bottom {
  text-align: center;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

/* Buttons */
.cta-button {
  display: inline-block;
  background-color: var(--cta-color);
  color: var(--text-primary);
  font-family: var(--font-header);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
  transition: all 0.2s ease-in-out;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6);
}

.cta-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(255, 0, 127, 0.4);
}

/* Agitator Section */
.agitator {
  text-align: center;
  padding: 4rem 5%;
  background: rgba(0,0,0,0.2);
  border-radius: 20px;
  margin-bottom: 4rem;
  position: relative;
  overflow: visible;
}

.agitator-content p {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
}

/* Value Prop - Bento Grid */
.mascot-lying {
  position: absolute;
  top: -60px;
  right: -20px;
  width: 120px;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Making it asymmetrical if there's space */
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
  .card-quality {
    grid-column: span 2;
  }
  .card-format {
    grid-column: span 2;
  }
}

.bento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-card h3 {
  color: var(--highlight-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.bento-card p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}

.bento-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 20px rgba(230, 230, 0, 0.05);
}

/* Logistics Section */
.logistics-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 3rem;
  position: relative;
  overflow: visible;
}

.logistics-sponsor-logo {
  position: absolute;
  top: 3rem;
  right: 3rem;
  height: 5rem;
  width: auto;
}

.logistics-content h2 {
  color: var(--highlight-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.event-tagline {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  color: var(--cta-color);
}

.details {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.8);
}

.logistics-flex {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.event-description {
  flex: 1.2;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.event-description p {
  margin-bottom: 1rem;
}

.event-description p:last-child {
  margin-bottom: 0;
}

.schedule {
  flex: 1;
  list-style: none;
}

@media (max-width: 992px) {
  .logistics-flex {
    flex-direction: column;
    gap: 2rem;
  }
}

.schedule li {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.schedule .time {
  font-weight: 800;
  color: var(--highlight-color);
  width: 100px;
  flex-shrink: 0;
}

.schedule .event {
  font-size: 1.1rem;
}

.cta-wrapper {
  text-align: center;
  margin-top: 3rem;
}

/* FAQ Section */
.faq-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 3rem;
}

.faq-container h2 {
  color: var(--highlight-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.faq-item h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

/* Founder Profile Section */
.founder-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 40px;
  padding: 4rem;
}

.founder-image-col {
  flex: 0.8;
  position: relative;
  min-width: 300px;
}

.founder-portrait {
  width: 100%;
  height: auto;
  border-radius: 30px;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.founder-bio-col {
  flex: 1.2;
}

.founder-label {
  display: inline-block;
  color: var(--highlight-color);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.founder-name-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.founder-name-row h2 {
  margin-bottom: 0;
}

.linkedin-link {
  color: var(--cta-color);
  width: 28px;
  height: 28px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.linkedin-link:hover {
  color: var(--highlight-color);
  transform: translateY(-2px);
}

.founder-bio {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
}

.founder-bio p {
  margin-bottom: 1.5rem;
}

.founder-bio-col blockquote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--highlight-color);
  border-left: 3px solid var(--cta-color);
  padding-left: 1.5rem;
  margin-top: 2.5rem;
  line-height: 1.4;
}

.mascot-standing {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 90px;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Application Form Section */
.application {
  display: flex;
  justify-content: center;
  padding-bottom: 5rem;
}

.form-wrapper-outer {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  width: 100%;
}

.mascot-hopping {
  flex-shrink: 0;
  width: 220px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  transition: transform 0.5s ease;
}

.form-wrapper-outer:hover .mascot-hopping {
  transform: translateY(-15px) rotate(-5deg);
}

.form-container {
  flex: 1;
  position: relative;
  background: var(--bg-secondary);
  border-radius: 30px;
  padding: 3rem;
  max-width: 600px;
  color: var(--bg-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-container h2 {
  color: var(--bg-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

.form-group label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: var(--font-header);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(45, 10, 77, 0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #FFFFFF;
  color: var(--bg-color);
  transition: all 0.3s ease;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.08);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cta-color);
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(255, 0, 127, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-disclaimer {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(45, 8, 85, 0.6);
  text-align: center;
}

/* Footer */
footer {
  padding: 4rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

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

.footer-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--cta-color);
  transform: translateY(-2px);
}

.footer-link svg {
  color: var(--cta-color);
  transition: color 0.3s ease;
}

.footer-link:hover svg {
  color: var(--highlight-color);
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  section {
    padding: 3rem 5%;
  }
  .hero {
    text-align: center;
  }
  .hero-top {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .hero-image {
    height: auto;
    width: 100%;
    min-width: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .hero-visual {
    width: 90%;
    max-width: 320px;
    position: static;
  }
  .visual-1 {
    transform: rotate(-1deg);
    margin-right: 0;
  }
  .visual-2 {
    transform: rotate(1deg);
  }
  .mascot-lying {
    width: 80px;
    top: -40px;
    right: 0;
  }
  .mascot-standing {
    width: 70px;
    bottom: -30px;
    right: 10px;
  }
  .logistics-sponsor-logo {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 1.5rem;
    height: 4rem;
  }
  .founder-container {
    flex-direction: column;
    padding: 2.5rem;
    gap: 2rem;
    text-align: center;
  }
  .founder-image-col {
    width: 100%;
    min-width: auto;
  }
  .founder-bio-col h2 {
    font-size: 2rem;
  }
  .founder-bio-col blockquote {
    border-left: none;
    border-top: 3px solid var(--cta-color);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  .schedule li {
    flex-direction: column;
    gap: 0.5rem;
  }
  .schedule .time {
    width: auto;
  }
  .form-wrapper-outer {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }
  .mascot-hopping {
    width: 150px;
    margin: 0 auto;
  }
  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}
}