/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: #000000;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.02) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.02) 50%, transparent 52%);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  width: 100%;
  z-index: 1;
  position: relative;
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  padding-top: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ethereum-logo {
  position: relative;
  width: 48px;
  height: 48px;
  border: 2px solid #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(200%) brightness(1.5);
}

.ethereum-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #ffffff;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: -1;
}

.social-link:hover::before {
  width: 100%;
  height: 100%;
}

.social-link:hover {
  color: #000000;
  transform: translateY(-2px);
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.hero-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 2px;
  background: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  line-height: 1.6;
  border-left: 3px solid #ffffff;
  padding-left: 1.5rem;
}

.contract-address {
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 0;
  padding: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.contract-address::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ffffff, transparent, #ffffff);
  z-index: -1;
  border-radius: 2px;
}

.contract-address h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.address-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 0.75rem 1rem;
}

#contractAddress {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.875rem;
  color: #ffffff;
  background: none;
  border: none;
  flex: 1;
}

.copy-btn {
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 0;
  padding: 0.5rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.copy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transition: left 0.3s ease;
  z-index: -1;
}

.copy-btn:hover::before {
  left: 0;
}

.copy-btn:hover {
  color: #000000;
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 500px;
}

.wireframe-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.grid-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
}

.grid-line.horizontal {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.grid-line.vertical {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.grid-line.diagonal-1 {
  top: 0;
  left: 0;
  width: 141.4%;
  height: 1px;
  transform: rotate(45deg) translateX(-20%);
}

.grid-line.diagonal-2 {
  top: 0;
  right: 0;
  width: 141.4%;
  height: 1px;
  transform: rotate(-45deg) translateX(20%);
}

.ethereum-hero-logo {
  position: relative;
  width: 300px;
  height: 300px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.diamond-large {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
  border: 2px solid #ffffff;
  background: transparent;
}

.diamond-large::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
}

.diamond-large::after {
  content: 'LEAN';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.triangle-large {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  animation: pulse 4s ease-in-out infinite;
  opacity: 0.3;
}

.triangle-large.t1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 75px 75px 75px;
  border-color: transparent transparent #ffffff transparent;
  animation-delay: 0s;
}

.triangle-large.t2 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-width: 75px 75px 0 75px;
  border-color: #ffffff transparent transparent transparent;
  animation-delay: 1s;
}

.triangle-large.t3 {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-width: 75px 75px 75px 0;
  border-color: transparent #ffffff transparent transparent;
  animation-delay: 2s;
}

.triangle-large.t4 {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-width: 75px 0 75px 75px;
  border-color: transparent transparent transparent #ffffff;
  animation-delay: 3s;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: float 8s ease-in-out infinite;
}

.floating-element.fe1 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 10%;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.floating-element.fe2 {
  width: 40px;
  height: 40px;
  top: 70%;
  right: 15%;
  transform: rotate(-45deg);
  animation-delay: 2s;
}

.floating-element.fe3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  transform: rotate(90deg);
  animation-delay: 4s;
}

/* Banner Section */
.banner-section {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(150%) brightness(0.8);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  z-index: 2;
}

.banner-content h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.banner-content h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: #ffffff;
}

.banner-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Content Section */
.content {
  padding: 6rem 0;
  background: transparent;
  position: relative;
}

.content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.01) 50%, transparent 52%);
  background-size: 40px 40px;
  pointer-events: none;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vision-section {
  text-align: center;
  margin-bottom: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  position: relative;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
}

.vision-section h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.vision-section p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.tldr-section {
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 0;
  padding: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.tldr-section::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.tldr-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tldr-section p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.disclaimer {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.disclaimer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #ffffff;
}

.disclaimer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 1rem;
}

.defense-section {
  text-align: center;
  margin-bottom: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  position: relative;
}

.defense-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: #ffffff;
}

.defense-section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-transform: lowercase;
  letter-spacing: 1px;
}

.defense-section p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  transition: left 0.3s ease;
  z-index: -1;
}

.stat-card:hover::before {
  left: 0;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.8);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 3rem 0;
  text-align: center;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-header {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .hero-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 2.5rem;
  }

  .ethereum-hero-logo {
    width: 200px;
    height: 200px;
  }

  .triangle-large.t1,
  .triangle-large.t2 {
    border-width: 0 50px 50px 50px;
  }

  .triangle-large.t3,
  .triangle-large.t4 {
    border-width: 50px 50px 50px 0;
  }

  .vision-section h3 {
    font-size: 2rem;
  }

  .stats-section {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .banner-section {
    height: 300px;
  }

  .banner-content h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .ethereum-hero-logo {
    width: 150px;
    height: 150px;
  }

  .triangle-large.t1,
  .triangle-large.t2 {
    border-width: 0 37px 37px 37px;
  }

  .triangle-large.t3,
  .triangle-large.t4 {
    border-width: 37px 37px 37px 0;
  }

  .banner-section {
    height: 250px;
  }

  .banner-content h3 {
    font-size: 1.5rem;
  }
}
