/* ================================
   BITXEN - Digital Inheritance
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ================================
   CSS Reset & Base
   ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FAFAFA;
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================================
   Typography - MASSIVE & BOLD
   ================================ */
h1,
h2,
h3 {
  font-family: 'Inter Tight', 'Arial Black', sans-serif;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #000000;
}

h1 {
  font-size: clamp(48px, 12vw, 120px);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(32px, 8vw, 64px);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(20px, 4vw, 32px);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

p {
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 1rem;
}

a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* ================================
   Floating Header - Pill Style
   ================================ */
.floating-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 50px;
  padding: 12px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.header-links a {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
}

.header-cta {
  background: #000000;
  color: white;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.header-cta:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* ================================
   Layout Container
   ================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ================================
   Hero Section
   ================================ */
/* ================================
   Hero Section
   ================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/universe.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-title {
  max-width: 1300px;
  margin-bottom: 2rem;
  color: #FFFFFF;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-mockup {
  margin: 3rem 0;
  max-width: 320px;
}

.hero-mockup img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ================================
   2-Column Card Grid
   ================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 4rem;
}

.feature-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-image {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 24px;
  display: block;
}

.feature-image img {
  width: 100%;
  height: auto;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Inter', sans-serif;
}

.feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
}

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-transform: none;
}

.btn-primary {
  background: #000000;
  color: white;
}

.btn-primary:hover {
  transform: scale(1.05);
  opacity: 1;
}

.btn-secondary {
  background: white;
  color: #000000;
  border: 2px solid #000000;
}

.btn-secondary:hover {
  background: #000000;
  color: white;
}

/* ================================
   Sticker Graphics
   ================================ */
.sticker {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

.sticker img {
  max-width: 120px;
  height: auto;
}

/* ================================
   Footer
   ================================ */
footer {
  background: white;
  padding: 60px 0 40px;
  border-top: 1px solid #E5E5E5;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #666666;
  padding-top: 24px;
  border-top: 1px solid #E5E5E5;
}

/* ================================
   Mobile Responsive
   ================================ */
/* ================================
   Mobile Responsive
   ================================ */
@media (max-width: 768px) {
  .floating-header {
    left: 12px;
    right: 12px;
    transform: none;
    width: calc(100% - 24px);
    justify-content: space-between;
    padding: 12px 16px;
    gap: 8px;
  }

  /* Show header links on mobile but compact */
  .header-links {
    display: flex;
    gap: 12px;
  }

  .header-links a {
    font-size: 13px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .hero {
    padding: 100px 16px 60px;
    /* Ensure background stays visible and properly sized */
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Better mobile support */
  }

  .risk-section {
    /* Ensure risk section background stays visible */
    background-size: cover;
    background-position: center;
  }

  h1 {
    font-size: 36px;
    /* Slightly smaller for better fit */
  }

  h2 {
    font-size: 28px;
  }

  .section {
    padding: 60px 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ================================
   Utility Classes
   ================================ */
.text-center {
  text-align: center;
}

.mt-large {
  margin-top: 80px;
}


.mb-large {
  margin-bottom: 80px;
}

/* ================================
   Risk Section
   ================================ */
.risk-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/risk-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  position: relative;
}

.risk-section h2,
.risk-section p {
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ================================
   Multi-Chain Section
   ================================ */
.chains-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.chain-card {
  background: white;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.chain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.chain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  width: 64px;
  height: 64px;
}

.chain-icon svg,
.chain-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.chain-card:hover .chain-icon {
  transform: scale(1.1);
}

.chain-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .chains-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 100%;
  }

  .chain-card {
    padding: 20px 12px;
  }

  .chain-icon {
    width: 48px;
    height: 48px;
  }

  .chain-icon svg,
  .chain-icon img {
    width: 48px;
    height: 48px;
  }

  .chain-name {
    font-size: 13px;
  }
}