/* Custom fonts */
@font-face {
  font-family: "SynergyHeading";
  src: url("fonts/space-age.ttf") format("truetype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SynergyBody";
  src: url("fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: "SynergyEB";
    src: url("fonts/Poppins-MediumItalic.ttf") format("truetype");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
  }
  

@font-face {
  font-family: "SynergyTitle";
  src: url("fonts/Poppins-MediumItalic.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SynergyApplications";
  src: url("fonts/Poppins-Thin.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Base */
:root {
  --bg-0: #0a0f13;
  --bg-1: #0f1620;
  --bg-2: #111826;
  --surface: #141c27cc; /* translucent cards */
  --text: #e8eef6;
  --muted: #a7b3c4;
  --accent: #19e46b;
  --accent-2: #2ee3ff;
  --ring: #2adf95;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: SynergyBody, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1400px 700px at 20% 20%, #0f2e22 0%, transparent 60%),
              radial-gradient(1100px 600px at 80% 40%, #0e213b 0%, transparent 60%),
              radial-gradient(1100px 700px at 30% 80%, #0f2e22 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-1), var(--bg-0) 40%, var(--bg-2));
}

.container { width: min(1200px, 92%); margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.intro { max-width: 800px; margin: 0 auto 2rem; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #0b1219f2, #0b121980);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #0d22344d;
  width: 100%;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand-logo { height: 26px; display: block; }
.primary-nav ul { display: flex; list-style: none; gap: 28px; margin: 0; padding: 0; }
.primary-nav a { color: var(--text); text-decoration: none; font-weight: 500; opacity: .9; }
.primary-nav a:hover { color: #fff; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.header-btn {
  padding: 4px 12px;
  font-size: 11px;
  margin: 0;
  line-height: 1.2;
}

/* Hamburger */
.hamburger { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; height: 2px; background: #e6f2ff; margin: 6px 0; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
main { padding-top: 64px; }
.hero { display: grid; place-items: center; padding: 150px 0 120px; }
.hero-title { font-family: SynergyHeading, Orbitron, ui-sans-serif; letter-spacing: 0.25em; text-align: center; font-weight: 700; margin: 52px 0 8px; font-size: clamp(34px, 10vw, 44px); }
.hero-sub { font-family: SynergyTitle, pretendard, system-ui, sans-serif; text-align: center; color: var(--muted); max-width: 820px; margin: 0 auto; }

/* Card look */
.card-overlay { position: relative; }
.card-overlay::before {
  content: ""; position: absolute; inset: -12px 0 0; z-index: -1; border-radius: 18px;
  background: transparent;
  filter: blur(12px);
}

/* Product */
.product-section { background: #0c131e99; border: 1px solid #183042; border-radius: 16px; padding: 28px; margin-top: 200px; margin-bottom: 80px; margin-left: auto; margin-right: auto; }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.eyebrow { font-family: SynergyHeading, Orbitron; letter-spacing: .15em; margin: 0 0 8px; font-size: 38px; }
.product-head { font-family: SynergyTitle, pretendard, system-ui, sans-serif; margin: 0 0 12px; font-size: 22px; }
.product-copy .muted { line-height: 1.7; }
.bulleted .muted { font-family: SynergyApplications, system-ui, sans-serif; }
.product-visual img { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px #00000080); }

/* Key characteristics */
.key-section { margin: 28px auto 120px; }
.section-title { font-family: SynergyHeading, Orbitron; letter-spacing: .25em; text-align: center; font-size: clamp(18px, 4vw, 30px); margin-bottom: 18px; }
.key-grid { display: grid; grid-template-columns: repeat(2, auto); gap: 18px; justify-content: center; justify-items: center; margin-bottom: 180px; }
.key-card { background: #0c131e99; border: 1px solid #183042; border-radius: 14px; min-height: 350px; max-width: 400px; width: 100%; display: flex; flex-direction: column; overflow: hidden; }
.key-card img { width: 100%; height: auto; flex: 1; object-fit: contain; object-position: center; padding: 20px; opacity: .95; }
.key-card .key-text { padding: 16px 14px; }
.key-card .key-text h4 { margin: 0; font-size: 18px; }
.key-card .key-text.small h4 { font-size: 18px; }
.key-card .key-text.center { text-align: left; }
.key-large { grid-row: auto; }

/* Team */
.team-section { margin: 10px auto 48px; }
.team-wrapper { position: relative; margin-top: 22px; }
.team-grid { display: flex; gap: 28px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 10px 0; }
.team-grid::-webkit-scrollbar { display: none; }
.member { flex: 0 0 220px; text-align: center; background: #0c131e99; border: 1px solid #183042; border-radius: 14px; padding: 16px 14px 18px; transition: transform .15s ease; width: 220px; height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.member:hover { transform: translateY(-4px); }
.member img { width: 140px; height: 140px; object-fit: cover; object-position: center top; border-radius: 100%; border: 1px solid #ffffff; filter: contrast(105%) brightness(1.05) drop-shadow(0 10px 20px #00000070); margin: 8px auto 12px; background: radial-gradient(60% 60% at 50% 35%, #1e2d5b55, #0c131e99 70%); padding: 2px; }
.member h4 { margin: 6px 0 4px; font-weight: 600; }
.member .role { margin: 0; color: #90ffa9; font-size: 12px; line-height: 1.4; }

/* Partners Section */
.partners-section { background: #0c131e99; border: 1px solid #183042; border-radius: 16px; padding: 20px 28px; margin-top: 108px; margin-bottom: 48px; margin-left: 0; margin-right: 0; }
.partners-section.container { width: 100%; max-width: 100%; }
.sponsors-tier { margin-bottom: 32px; text-align: center; }
.sponsors-tier:last-child { margin-bottom: 0; }
.tier-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.sponsors-logos { display: flex; gap: 32px; justify-content: center; align-items: center; flex-wrap: wrap; }
.sponsors-logos img { height: 50px; filter: grayscale(100%) brightness(1.5); opacity: .9; transition: opacity 0.2s ease; }
.sponsors-logos img:hover { opacity: 1; }
.main-sponsors .sponsors-logos img { height: 60px; }
.platinum .sponsors-logos img { height: 50px; }
.bronze .sponsors-logos img { height: 40px; }

/* Contact */
.contact-section { margin: 8px auto 64px; background: #0c131e99; border: 1px solid #183042; border-radius: 16px; padding: 26px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-info h3, .contact-form h3 { margin: 0 0 16px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 10px 0; color: var(--muted); align-items: baseline; }
.info-list a { color: var(--text); text-decoration: none; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #0b121a; border: 1px solid #1a2f3e; border-radius: 12px; padding: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; background: #1a2432; border: 1px solid #273a4a; color: var(--text); border-radius: 8px; padding: 10px 12px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ring); box-shadow: 0 0 0 2px #19e46b33; }
.contact-form .full { grid-column: 1 / -1; }
.btn-primary { grid-column: 1 / -1; background: linear-gradient(180deg, #19e46b, #11c75b); color: #00200f; border: 0; font-weight: 700; padding: 12px 16px; border-radius: 999px; cursor: pointer; letter-spacing: .02em; }
.btn-primary:hover { filter: brightness(1.05); }
.form-status { margin: 6px 0 0; color: var(--muted); font-size: 12px; }

/* Footer */
.site-footer { padding: 28px 0 38px; border-top: 1px solid #10202f; background: rgba(10, 15, 19, 0.95); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; align-items: start; }
.footer-brand { display: grid; gap: 8px; justify-items: center; }
.footer-mark { height: 54px; }
.footer-word { height: 18px; opacity: .9; }
.footer-contact { text-align: center; }
.footer-contact h4 { font-family: SynergyApplications, Orbitron, ui-sans-serif; letter-spacing: .15em; }
.footer-contact a { color: var(--text); text-decoration: none; }
.footer-social { text-align: center; }
.footer-social h4 { font-family: SynergyApplications, Orbitron, ui-sans-serif; letter-spacing: .15em; }
.social-row { display: flex; gap: 10px; justify-content: center; }
.social-row img { width: 32px; height: 32px; filter: grayscale(100%) brightness(1.6); }

/* Responsive */
@media (max-width: 980px) {
  .key-grid { grid-template-columns: 1fr 1fr; justify-items: center; }
  .key-card { max-width: 100%; }
  .key-large { grid-row: auto; min-height: 300px; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .primary-nav ul { display: none; position: absolute; right: 4%; top: 64px; background: #0b1219; border: 1px solid #183042; border-radius: 12px; padding: 12px; flex-direction: column; gap: 12px; width: 200px; }
  .primary-nav ul.open { display: flex; }
  .hamburger { display: inline-block; order: 2; }
  .primary-nav { gap: 12px; }
  .header-btn { 
    display: none; 
  }
  .join-form-btn.header-btn {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13px;
    margin: 0;
    order: 1;
  }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-items: center; }
}

@media (max-width: 520px) {
  .key-grid { grid-template-columns: 1fr; justify-items: center; }
  .key-card { max-width: 100%; }
  .join-form-btn.header-btn {
    padding: 7px 16px;
    font-size: 12px;
  }
}

/* Join Page */
.join-section, .how-join-section, .positions-section, .faq-section {
  margin: 120px auto 80px;
  padding: 0 20px;
}

.join-title {
  font-family: SynergyHeading, Orbitron, ui-sans-serif;
  letter-spacing: 0.2em;
  text-align: center;
  font-weight: 700;
  font-size: clamp(24px, 6vw, 32px);
  margin-bottom: 48px;
  text-transform: uppercase;
  color: var(--text);
}

.join-content {
  max-width: 900px;
  margin: 0 auto;
}

.join-content .join-boxes {
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.join-content .muted {
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

.join-content .muted strong {
  font-weight: 700;
  color: var(--text);
}

.achievements-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.achievements-list li {
  margin-bottom: 16px;
  line-height: 1.7;
  padding-left: 0;
}

.achievements-list li:last-child {
  margin-bottom: 0;
}

.achievements-list li strong {
  font-weight: 700;
  color: var(--text);
}

.join-boxes {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-2) transparent;
  padding-bottom: 10px;
  justify-content: center;
}

.join-boxes::-webkit-scrollbar {
  height: 8px;
}

.join-boxes::-webkit-scrollbar-track {
  background: transparent;
}

.join-boxes::-webkit-scrollbar-thumb {
  background: var(--accent-2);
  border-radius: 4px;
}

.join-box {
  flex-shrink: 0;
  width: 250px;
  height: 180px;
  background: rgba(232, 238, 246, 0.1);
  border: 1px solid var(--accent-2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.join-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.join-box.active {
  border: 2px solid var(--accent-2);
  border-width: 2px;
}

.how-join-content {
  max-width: 900px;
  margin: 0 auto;
}

.join-step {
  margin-bottom: 48px;
}

.join-step:last-child {
  margin-bottom: 0;
}

.join-step .muted {
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

.join-step .muted strong {
  font-weight: 700;
  color: var(--text);
}

.join-form-btn {
  display: inline-block;
  background: linear-gradient(180deg, #19e46b, #11c75b);
  color: #00200f;
  border: 0;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: .02em;
  text-decoration: none;
  margin: 24px 0;
  transition: filter 0.2s ease, transform 0.2s ease;
  font-size: 16px;
}

.join-form-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.positions-list {
  max-width: 900px;
  margin: 0 auto;
}

.position-card {
  background: #0c131e99;
  border: 1px solid #183042;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
}

.position-card:last-child {
  margin-bottom: 0;
}

.position-name {
  font-family: SynergyEB, Orbitron, ui-sans-serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  margin: 0 0 24px;
  color: var(--text);
}

.position-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.position-section {
  display: flex;
  flex-direction: column;
}

.position-subtitle {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
  letter-spacing: 0.05em;
}

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

.position-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.position-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.position-list li:last-child {
  margin-bottom: 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(167, 179, 196, 0.2);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.faq-header:hover {
  opacity: 0.8;
}

.faq-question {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  flex: 1;
}

.faq-icon {
  font-size: 24px;
  color: var(--text);
  font-weight: 300;
  margin-left: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: inline-block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 0 20px 0;
}

.faq-answer .muted {
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 780px) {
  .join-box {
    width: 220px;
    height: 160px;
  }
  
  .join-section, .how-join-section, .positions-section, .faq-section {
    margin: 80px auto 60px;
  }

  .position-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

