/* --- 1. GLOBAL ART DIRECTION & THEME RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.8;
  color: #1e293b;
  background-color: #fcfdfd;
  overflow-x: hidden;
}

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

/* Scroll Animation Reveal Classes */
.reveal {
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/* Human-Crafted Title Underline Accent */
.section-title {
  font-size: 2.8rem;
  color: #0f172a;
  margin-bottom: 60px;
  font-weight: 800;
  position: relative;
  letter-spacing: -0.5px;
}

.section-title span {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(214, 175, 55, 0.25);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}

/* --- 2. PREMIUM NAVIGATION SYSTEM --- */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 5px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
}

.logo-badge {
  background: #0f172a;
  color: #d4af37;
  font-weight: 900;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px 8px 24px 8px;
  box-shadow: 4px 4px 0px rgba(214, 175, 55, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover .logo-badge {
  transform: rotate(-12deg) scale(1.05);
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links li a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #d4af37;
  transition: width 0.3s ease;
}

.nav-links li a:hover, .nav-links li a.active-nav {
  color: #0f172a;
}

.nav-links li a:hover::after, .nav-links li a.active-nav::after {
  width: 100%;
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle .bar {
  width: 28px;
  height: 3px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- 3. IMMERSIVE HERO BANNER --- */
.hero {
  background: #0f172a;
  color: #ffffff;
  padding: 180px 5% 200px 5%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(214, 175, 55, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 5;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.25;
  letter-spacing: -1.5px;
  animation: slideUp 0.8s ease forwards;
}

.hero p {
  font-size: 1.35rem;
  max-width: 760px;
  margin: 0 auto 45px auto;
  color: #94a3b8;
  animation: slideUp 1s ease forwards;
}

.btn {
  display: inline-block;
  background-color: #d4af37;
  color: #0f172a;
  padding: 18px 45px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px 6px 40px 40px;
  font-size: 1.1rem;
  border: 2px solid #0f172a;
  box-shadow: 5px 5px 0px #ffffff;
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0px #ffffff;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 4. ABOUT & DYNAMIC TAB STRUCTURE --- */
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.about-content-area {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-text {
  font-size: 1.2rem;
  color: #334155;
}

.tab-switcher {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.tab-btn.active {
  color: #0f172a;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #d4af37;
}

.tab-content {
  display: none;
  font-size: 1.05rem;
  color: #475569;
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #0f172a;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-visual-canvas {
  position: relative;
  height: 380px;
  border-radius: 40px 15px 60px 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-visual-canvas:hover .visual-img {
  transform: scale(1.05);
}

.visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
  padding: 30px;
  color: #ffffff;
}

.visual-overlay strong {
  font-size: 1.3rem;
  color: #d4af37;
  display: block;
  margin-bottom: 5px;
}

/* --- 5. ASYMMETRIC WINGS GRID (WITH DUMMY IMAGES) --- */
#wings-section {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 100px 0;
}

.wings-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.wing-block-card {
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px -15px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wing-img-container {
  height: 240px;
  overflow: hidden;
}

.wing-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wing-block-card:hover .wing-img-container img {
  transform: scale(1.06);
}

.wing-info {
  padding: 40px;
}

.wing-block-card.alpha-wing { border-top: 6px solid #d4af37; }
.wing-block-card.beta-wing { border-top: 6px solid #0f172a; }

.wing-block-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -20px rgba(15, 23, 42, 0.12);
}

.wing-block-card h3 {
  color: #0f172a;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 800;
}

/* --- 6. CORPORATE ROADMAP TIMELINE --- */
.roadmap-timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #e2e8f0;
  border-radius: 2px;
}

.timeline-node {
  position: relative;
  margin-bottom: 50px;
  padding-left: 70px;
}

.timeline-node::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 6px;
  width: 22px;
  height: 22px;
  background-color: #ffffff;
  border: 4px solid #0f172a;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-node:hover::before {
  background-color: #d4af37;
  transform: scale(1.2);
}

.timeline-stamp {
  font-weight: 800;
  color: #d4af37;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.timeline-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.3s ease;
}

.timeline-node:hover .timeline-box {
  transform: translateX(5px);
}

.timeline-box h4 {
  color: #0f172a;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* --- 7. TEAM & GUILD PROFILE GRID --- */
.team-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.team-profile-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.avatar-holder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.avatar-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile-card h3 {
  color: #0f172a;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.role-tag {
  display: inline-block;
  background: rgba(214, 175, 55, 0.15);
  color: #aa7c11;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.team-profile-card:hover {
  background: #ffffff;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
  border-color: rgba(214,175,55,0.3);
}

/* --- 8. INTERACTIVE FAQ ACCORDION --- */
.faq-holder {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-question {
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
}

.faq-question h4 {
  font-size: 1.1rem;
  color: #0f172a;
  font-weight: 700;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: bold;
  color: #64748b;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: #f8fafc;
  padding: 0 30px;
}

.faq-answer p {
  padding: 20px 0;
  color: #475569;
  font-size: 1rem;
}

/* FAQ Active State classes */
.faq-item.active {
  border-color: #0f172a;
}
.faq-item.active .faq-answer {
  max-height: 500px; /* high sufficient threshold */
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #d4af37;
}

/* --- 9. CREATIVE INTERACTIVE CONTACT SECTION --- */
.contact-section-canvas {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 100px 0;
}

.contact-layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-comms h3 {
  font-size: 2.4rem;
  color: #0f172a;
  margin-bottom: 20px;
  font-weight: 800;
}

.guild-badge {
  display: inline-block;
  background-color: #ffffff;
  padding: 20px 30px;
  border-radius: 16px;
  font-weight: 700;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  margin-top: 20px;
}

.guild-badge span { color: #d4af37; }

.bespoke-form input, .bespoke-form textarea {
  width: 100%;
  padding: 18px;
  margin-bottom: 22px;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.bespoke-form input:focus, .bespoke-form textarea:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.bespoke-form button {
  width: 100%;
  background-color: #0f172a;
  color: #ffffff;
  padding: 18px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease;
}

.bespoke-form button:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
}

/* --- 10. SYSTEM FOOTER HUB --- */
footer {
  background-color: #0f172a;
  color: #64748b;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.95rem;
}

footer p span { color: #d4af37; }

/* --- 11. ADVANCED LAYER RESPONSIVE RESPONSIVENESS --- */
@media (max-width: 992px) {
  .about-layout, .wings-layout-grid, .contact-layout-split {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-visual-canvas { order: -1; }
  .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 250px;
    height: calc(100vh - 80px);
    background: #ffffff;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.05);
    flex-direction: column;
    padding: 40px;
    gap: 30px;
    transition: right 0.4s ease;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  /* Hamburger Toggled Animation States */
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}
