/* -------------------------------------------------------------
  1. CSS RESET & GLOBAL STYLES
------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------------------------------------
  2. HEADER
------------------------------------------------------------- */
.header {
  background: rgba(255, 255, 255, 0.98);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.header nav {
  display: flex;
  align-items: center;
}

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

.logo {
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}

.logo-hack {
  color: #333;
  transition: color 0.2s ease;
}

.logo-yc {
  color: #ff6b00;
  transition: color 0.2s ease;
}

.logo:hover .logo-hack,
.logo:hover .logo-yc {
  color: #ff6b00;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #666;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff6b00;
}

.nav-cta {
  background-color: #ff6b00;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background-color: #ff5500;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1a1a1a;
  margin: 4px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .mobile-menu-toggle {
    display: block;
    margin-left: 20px;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.3s ease;
    padding: 20px;
  }

  .nav-wrapper.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav-links a {
    font-size: 18px;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

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

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* -------------------------------------------------------------
  3. HERO SECTION
------------------------------------------------------------- */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #fff6f0 0%, #fff 100%);
  overflow: hidden;
}

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

.hero-tag {
  display: inline-block;
  background-color: #fff;
  color: #ff6b00;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.1);
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 24px;
  color: #1a1a1a;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-cta .primary-button {
  min-width: 200px;
}

.subtle-features {
  display: flex;
  gap: 24px;
  color: #666;
  font-size: 14px;
}

.subtle-features span {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .subtle-features {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

/* -------------------------------------------------------------
  4. BUTTONS & CTAs
------------------------------------------------------------- */
.cta-button {
  display: inline-block;
  background-color: white;
  color: #ff6b00;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------------------
  5. SECTIONS COMMON STYLES
------------------------------------------------------------- */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
}

/* -------------------------------------------------------------
  6. EVENT SECTION
------------------------------------------------------------- */
.event {
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
  padding: 80px 0;
}

.event-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.event-content {
  max-width: 600px;
}

.event-content h2 {
  font-size: 42px;
  line-height: 1.2;
  margin: 16px 0;
  color: #1a1a1a;
}

.event-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 32px;
}

.event-features {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}

.event-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.event-feature .feature-icon {
  font-size: 24px;
  background-color: white;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.event-feature p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.event-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.event-cta a {
  flex: 1;
  min-width: 200px;
}

.secondary-button {
  display: inline-block;
  width: 100%;
  background-color: white;
  color: #ff6b00;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #ff6b00;
  white-space: nowrap;
}

.secondary-button:hover {
  background-color: #fff3e6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.event .primary-button {
  display: inline-block;
  width: 100%;
  background-color: #ff6b00;
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.event .primary-button:hover {
  background-color: #ff5500;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

.event-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16/10;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f8f8f8;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-media .instagram-media {
  margin: 0 !important;
  min-width: unset !important;
  width: 100% !important;
  max-width: 540px !important;
}

.event-link {
  margin-top: 32px;
}

.event-link a {
  color: #ff6b00;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.event-link a:hover {
  color: #ff5500;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .event {
    padding: 60px 0;
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .event-content h2 {
    font-size: 32px;
  }

  .event-cta {
    flex-direction: column;
  }

  .event-cta a {
    width: 100%;
  }

  .event-image {
    order: -1;
    aspect-ratio: 16/9;
  }

  .event-media {
    min-height: 450px;
  }

  .event-link {
    margin-top: 24px;
  }
}

/* -------------------------------------------------------------
  7. ABOUT SECTION
------------------------------------------------------------- */
.about {
  background-color: #fff;
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  background-color: #fff3e6;
  color: #ff6b00;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.about h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 40px;
  color: #1a1a1a;
}

.about-features {
  display: grid;
  gap: 24px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 24px;
  background-color: #f8f9fa;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.about-image {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about h2 {
    font-size: 28px;
  }

  .about-image {
    display: none;
  }

  .about-content {
    text-align: center;
  }
}

/* -------------------------------------------------------------
  8. HOW IT WORKS SECTION
------------------------------------------------------------- */
.how {
  background-color: #f8f9fa;
  padding: 100px 0;
}

.how-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.how-header h2 {
  font-size: 42px;
  line-height: 1.2;
  margin: 16px 0;
  color: #1a1a1a;
}

.section-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.process-step {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: #ff6b00;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.step-content {
  text-align: left;
}

.step-icon {
  font-size: 24px;
  margin-bottom: 20px;
  display: inline-block;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.step-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.process-step a {
  color: #ff6b00;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.process-step a:hover {
  color: #ff5500;
}

@media (max-width: 768px) {
  .how {
    padding: 60px 0;
  }

  .how-header h2 {
    font-size: 32px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .process-step {
    padding: 30px 25px;
  }
}

/* -------------------------------------------------------------
  9. TEAM SECTION
------------------------------------------------------------- */
.team {
  background-color: #fff;
  padding: 80px 0;
}

.team-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.team-header h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 16px 0;
  color: #1a1a1a;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-content {
  text-align: center;
}

.member-content h3 {
  font-size: 24px;
  margin: 0 0 8px;
  color: #1a1a1a;
}

.member-title {
  font-size: 16px;
  font-weight: 500;
  color: #ff6b00;
  margin: 0 0 16px;
  line-height: 1.4;
}

.member-bio {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  max-width: 400px;
}

.member-social {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: #ff6b00;
}

.social-link i {
  font-size: 18px;
  margin-right: 6px;
}

@media (max-width: 768px) {
  .member-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .team {
    padding: 60px 0;
  }

  .team-header h2 {
    font-size: 28px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .member-image {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }
}

/* -------------------------------------------------------------
  10. VERSIONS SECTION
------------------------------------------------------------- */
.versions {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.versions .container {
  max-width: 800px;
}

.versions ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.versions li {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.versions li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.versions li strong {
  display: block;
  color: #ff6b00;
  margin-bottom: 8px;
  font-size: 20px;
}

.versions-note {
  text-align: center;
  margin: 40px auto;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* -------------------------------------------------------------
  11. FOOTER
------------------------------------------------------------- */
footer {
  background-color: #ff6b00;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer-content p {
  margin: 0;
  font-size: 16px;
}

/* -------------------------------------------------------------
  12. INACTIVE BANNER
------------------------------------------------------------- */
.inactive-banner {
  background: linear-gradient(135deg, #ff6b00, #ff9248);
  color: white;
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

.inactive-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 8px 20px;
}

.inactive-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.inactive-content p {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.5;
}

.inactive-content a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.inactive-content a:hover {
  opacity: 0.8;
}

.inactive-content i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .inactive-content h3 {
    font-size: 18px;
  }
  
  .inactive-content p {
    font-size: 14px;
  }
}

/* -------------------------------------------------------------
  13. CTA SECTION
------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, #fff6f0 0%, #fff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.cta-content {
  max-width: 600px;
}

.cta-content h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.cta-content > p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 32px;
}

.cta-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 16px;
}

.cta-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #333;
}

.benefit-icon {
  font-size: 20px;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.primary-button {
  display: inline-block;
  background-color: #ff6b00;
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.primary-button:hover {
  background-color: #ff5500;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

.deadline-text {
  font-size: 14px;
  color: #666;
  margin: 0;
  text-align: center;
}

.availability-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: #fff8f3;
  border: 1px solid #ffe4d1;
  border-radius: 8px;
  font-size: 14px;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.availability-note p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .availability-note {
    margin-top: 20px;
    padding: 12px 16px;
    font-size: 13px;
  }
}

.cta-image {
  position: relative;
}

.cta-image img {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-image {
    display: none;
  }
}

/* -------------------------------------------------------------
  14. MEDIA QUERIES
------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .versions ul {
    grid-template-columns: 1fr;
  }

  nav {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    gap: 1rem;
    font-size: 14px;
  }
}

.highlight {
  color: #ff6b00;
}

.info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
}

.question-mark {
  display: inline-block;
  margin-left: 2px;
  color: #666;
  font-size: 12px;
  opacity: 0.7;
  font-weight: normal;
}

.info-tooltip:hover .question-mark {
  color: #ff6b00;
  opacity: 1;
}

.info-tooltip .info-icon {
  margin-left: 4px;
  color: #666;
  font-size: 14px;
}

.info-tooltip:hover .tooltip-content,
.info-tooltip:focus .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tooltip-content {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: max-content;
  max-width: 280px;
  font-size: 14px;
  color: #333;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
  text-align: center;
}

.tooltip-content::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: white;
}

@media (max-width: 768px) {
  .tooltip-content {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
  }
}

.footer-note {
  margin-top: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.footer-note a {
  color: #ff6b00;
  text-decoration: none;
}

.footer-note a:hover {
  text-decoration: underline;
}