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

:root {
  --bg: #e87a20;
  --bg-dark: #d06a15;
  --bg-card: #ffffff;
  --bg-card-hover: #fff8f0;
  --text: #1a1008;
  --text-dim: #5c4a32;
  --accent: #1a1008;
  --accent-soft: #1a100815;
  --accent-glow: #1a100825;
  --bonk: #c0440a;
  --bao: #1a1008;
  --white: #ffffff;
  --border: #1a100812;
  --border-light: #ffffff25;
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: #e87a20ee;
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-bao {
  color: var(--white);
}

.logo-bao2 {
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s, opacity 0.25s;
  letter-spacing: 0.01em;
  opacity: 0.7;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('background.png') center / cover no-repeat;
  z-index: 0;
}

.hero-bg-shapes {
  display: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-tag {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: clamp(4rem, 12vw, 8rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--white);
  max-width: 480px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle strong {
  color: var(--white);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--white);
  color: var(--bg);
}

.btn-primary:hover {
  background: #fff8f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--bg);
  background: var(--white);
}

.btn-outline:hover {
  background: #fff8f0;
  border-color: #fff8f0;
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  gap: 10px;
}

.btn-icon svg {
  flex-shrink: 0;
}

/* ========== CA COPY ========== */
.ca-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
  backdrop-filter: blur(8px);
}

.ca-copy:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

.ca-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
}

.ca-address {
  font-family: 'Inter', monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}

.ca-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.ca-copy:hover .ca-icon {
  color: var(--white);
}

.ca-copy.copied {
  border-color: #4ade80;
}

.ca-copy.copied .ca-address {
  color: #4ade80;
}

/* ========== SECTIONS ========== */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bg);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1.5px solid var(--bg);
  border-radius: 50px;
  background: transparent;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--white);
  border: 1px solid #e5e0da;
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              border-color 0.4s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--bg);
}

.card-accent-line {
  width: 40px;
  height: 3px;
  background: var(--bg);
  border-radius: 2px;
  margin-bottom: 24px;
  transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.about-card:hover .card-accent-line {
  width: 60px;
}

.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.about-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ========== STORY / NARRATIVE ========== */
.story {
  background: var(--white);
}

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

.narrative-card {
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.5s cubic-bezier(0.19, 1, 0.22, 1),
              border-color 0.4s ease;
}

.narrative-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.narrative-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-color: #c0650a;
}

.narrative-card:hover::before {
  transform: scaleX(1);
}

.narrative-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--white);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
  transition: opacity 0.4s ease;
}

.narrative-card:hover .narrative-number {
  opacity: 0.5;
}

.narrative-body h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--white);
}

.narrative-body p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* ========== DUO ========== */
.duo {
  background: var(--bg);
}

.duo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.duo .section-tag {
  color: var(--white);
  border-color: var(--white);
}

.duo .section-title {
  color: var(--white);
}

.duo-text .section-tag {
  margin-bottom: 20px;
}

.duo-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.duo-desc {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  opacity: 0.8;
}

.duo-quote {
  border-left: 3px solid var(--white);
  padding: 16px 24px;
  font-style: italic;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.duo-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.duo-card {
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.duo-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.bonk-card {
  background: var(--white);
  border: 1px solid #e5e0da;
}

.bao-card {
  background: var(--white);
  border: 1px solid #e5e0da;
}

.duo-card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.bonk-card .duo-card-label {
  color: var(--bonk);
}

.bao-card .duo-card-label {
  color: var(--bg);
}

.duo-card-role {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.duo-card-size {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  margin-top: 8px;
  color: var(--text);
  opacity: 0.08;
}

/* ========== COMMUNITY ========== */
.community {
  background: var(--white);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.comm-card {
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.comm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.comm-card.highlight {
  background: var(--text);
  border-color: transparent;
}

.comm-card.highlight h3 {
  color: var(--bg);
}

.comm-card.highlight p {
  color: #a09888;
}

.comm-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.35;
}

.comm-card p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.85;
}

/* ========== SOCIALS ========== */
.socials {
  background: var(--bg);
}

.socials .section-tag {
  color: var(--white);
  border-color: var(--white);
}

.socials .section-title {
  color: var(--white);
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid #e5e0da;
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              border-color 0.3s ease;
}

.social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-color: var(--text);
}

.social-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.social-card:hover .social-icon {
  background: var(--text);
}

.social-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.social-platform {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.social-handle {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-arrow {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--text-dim);
  transition: color 0.3s, transform 0.3s;
}

.social-card:hover .social-arrow {
  color: var(--bg);
  transform: translate(2px, -2px);
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border-light);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text);
  font-size: 0.85rem;
  margin-top: 8px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s, opacity 0.25s;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text);
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
              transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .narrative-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .duo-text .section-title {
    text-align: center;
  }

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

  .duo-quote {
    text-align: left;
  }

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

  .socials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #e87a20f0;
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 80px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
