/* ATH Token Website - Base Styles */

:root {
  --gold-gradient-start: #024480 /*#ca8a04*/;
  --gold-gradient-end: #1e4e82 /*#fcd34d */;
  --gold-hover-start: #024480 /*#eab308*/;
  --gold-hover-end: #365c85 /*#fde68a*/;
  --text-gold: #024480 /*#eab308*/;
  --lighter-gold: #fde68a;
  --darker-gold: #b45309;
  --primary-bg: #fff /*#000000*/;
  --secondary-bg: #111827;
  --primary-text: #000; /* Softer white color */
  --secondary-text: #b4b4b4; /* Softer secondary text */
  --muted-text: #8a8a8a; /* Softer muted text */
  --divider-color: #1f2937;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--primary-bg);
  color: var(--primary-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #e3e3e3;
  /* border-bottom: 1px solid rgba(180, 83, 9, 0.3); */
  border-bottom: 1px solid rgba(12, 69, 130, 0.3);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img,
.logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-gold);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger svg {
  stroke: var(--text-gold);
}

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

.nav-link {
  color: var(--primary-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-link:hover {
  color: var(--text-gold);
}

.nav-link.active {
  color: var(--text-gold);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-gold);
  bottom: 0;
  left: 0;
}

.connect-btn {
  background: linear-gradient(
    to right,
    var(--gold-gradient-start),
    var(--gold-gradient-end)
  );
  color: var(--primary-bg);
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.connect-btn:hover {
  background: linear-gradient(
    to right,
    var(--gold-hover-start),
    var(--gold-hover-end)
  );
  transform: translateY(-2px);
  /* box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3); */
  box-shadow: 0 4px 12px rgba(12, 69, 130, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background-color: var(--primary-bg);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at top right,
      rgba(12, 69, 130, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgb(12, 69, 130, 0.1),
      transparent 40%
    );
  z-index: 0;
}

.hero h2 {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(
    to right,
    var(--gold-gradient-start),
    var(--gold-gradient-end)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  text-align: center;
}

.hero p {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  color: var(--primary-text);
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

.hero p:last-of-type {
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.features-grid-1 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
  /* background-color: rgba(17, 24, 39, 0.5); */
  background: #e3e3e3;
  border-radius: 10px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(180, 83, 9, 0.2);
}

.feature-card:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 10px 20px rgba(234, 179, 8, 0.2); */
  box-shadow: 0 10px 20px rgba(12, 69, 130, 0.2);
  border-color: var(--text-gold);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  fill: url(#icon-gradient);
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-gold);
  /*white-space: nowrap;*/
  /*overflow: hidden;*/
  /*text-overflow: ellipsis;*/
}

.feature-card p {
  font-size: 0.95rem;
  /* color: var(--secondary-text); */
  color: #000;
  margin-bottom: 0;
  text-align: left;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.primary-btn {
  background: linear-gradient(
    to right,
    var(--gold-gradient-start),
    var(--gold-gradient-end)
  );
  color: var(--primary-bg);
  border: none;
  border-radius: 4px;
  padding: 15px 30px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.primary-btn:hover {
  background: linear-gradient(
    to right,
    var(--gold-hover-start),
    var(--gold-hover-end)
  );
  transform: translateY(-2px);
  /* box-shadow: 0 8px 15px rgba(234, 179, 8, 0.3); */
  box-shadow: 0 8px 15px rgba(12, 69, 130, 0.3);
}

.secondary-btn {
  background: transparent;
  color: var(--text-gold);
  border: 2px solid var(--text-gold);
  border-radius: 4px;
  padding: 15px 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.secondary-btn:hover {
  background-color: #ededed;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--primary-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h3 {
  font-size: 2rem;
  color: var(--text-gold);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.section-title h3::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--text-gold);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--secondary-text);
  max-width: 800px;
  margin: 0 auto;
}

/* Innovation Section */
.innovation {
  padding: 100px 0;
  /* background-color: var(--secondary-bg); */
  background: radial-gradient(
      circle at top right,
      rgba(12, 69, 130, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgb(12, 69, 130, 0.1),
      transparent 40%
    );
  position: relative;
  overflow: hidden;
}

.innovation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* .innovation-text .feature-card {
  background-color: rgba(0, 0, 0, 0.5);
} */

.innovation-image {
  position: relative;
}

.patent-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
  /* background: linear-gradient(
    135deg,
    var(--secondary-bg) 0%,
    var(--primary-bg) 100%
  ); */
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgb(12, 69, 130, 0.1),
    transparent 70%
  );
  pointer-events: none;
}

.cta h3 {
  font-size: 2rem;
  color: var(--text-gold);
  margin-bottom: 20px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.cta p {
  color: var(--primary-text);
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}

/* Footer */
footer {
  /* background-color: var(--secondary-bg); */
  padding: 70px 0 20px;
  /* border-top: 1px solid rgba(180, 83, 9, 0.2); */
  border-top: 1px solid rgba(12, 69, 130, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo p {
  color: var(--secondary-text);
  margin: 20px 0;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: rgba(0, 0, 0, 0.3); */
  background: #e3e3e3;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  /* background-color: var(--darker-gold); */
  background-color: rgba(12, 69, 130, 0.3);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--text-gold);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column h4 {
  color: var(--text-gold);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--secondary-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--text-gold);
}

.copyright {
  border-top: 1px solid var(--divider-color);
  padding-top: 20px;
  text-align: center;
}

.copyright p {
  color: var(--muted-text);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .innovation-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    flex-direction: column;
    width: 100%;
    background-color: rgb(255 255 255 / 95%);
    padding: 20px;
    gap: 15px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--darker-gold);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .connect-btn {
    display: none;
  }

  .mobile-connect-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .section-title h3 {
    font-size: 1.5rem;
  }
}
