/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f9f9fb;
  color: #222;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

/* 🌙 Dark Mode */
body.dark-mode {
  background: #121212;
  color: #eee;
}

/* Navbar - Frosted Glass iOS Style */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  top: auto;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav img {
  height: 150px;
  width: auto;
  transition: transform 0.3s ease;
}

nav img:hover {
  transform: scale(1.05);
}

nav .login a {
  text-decoration: none;
}

nav .login button {
  margin-left: 10px;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.signup {
  background: #4f46e5;
  color: white;
}

.signup:hover {
  background: #3730a3;
}

nav .login button:not(.signup) {
  background: #f3f4f6;
}

nav .login button:not(.signup):hover {
  background: #e5e7eb;
}

/* Mode Toggle */
.mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 20px;
}

.mode-toggle img {
  width: 30px;
  height: 30px;
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 5%;
  gap: 2rem;
}

header .left {
  max-width: 600px;
}

/* ✅ FIXED HEADER IMAGE (no jumping, transparent bg) */
#header-image {
  width: 100%;
  max-width: 400px;
  height: 350px;          
  object-fit: contain;    
  background: transparent; /* transparent background */
  animation: float 3s ease-in-out infinite;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

/* Title and CTA */
header h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

header span {
  color: #4f46e5;
}

header p {
  margin: 1rem 0;
  max-width: 500px;
}

header a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #4f46e5;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 1rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s, color 0.3s ease;
}

header a i {
  font-size: 1.2rem;
  color: #4f46e5;
  transition: color 0.3s ease;
}

header a:hover {
  background: #4f46e5;
  color: #ffffff;
}

header a:hover span,
header a:hover i {
  color: #ffffff !important;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Section Titles */
.separator {
  text-align: center;
  font-size: 1.8rem;
  margin: 3rem 0 2rem;
  color: #4f46e5;
}

/* What We Do Cards */
.sell-nft {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding: 2rem 5%;
  flex-wrap: wrap;
}

.sell-nft .item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sell-nft .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.sell-nft .header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.sell-nft i {
  font-size: 2rem;
  color: #4f46e5;
}

/* App Preview */
.app-preview {
  text-align: center;
  padding: 0.8rem 5%;
}

.app-preview p {
  margin: 0 auto 0.5rem auto;
  max-width: 600px;
}

.app-preview .screenshot-container {
  display: flex;
  justify-content: center;
}

.app-preview img {
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  background: transparent; /* transparent bg */
}

/* ✅ Roadmap Section - transparent frame */
.roadmap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin: 4rem auto;
  padding: 0 5%;
  position: relative;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #4f46e5;
  border-radius: 2px;
}

.roadmap-item {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 500px;
  text-align: center;
  position: relative;
}

.roadmap-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.roadmap-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -35px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #9333ea;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e9d5ff;
}

/* Frame keeps space but transparent */
.roadmap-item .image-frame {
  width: 100%;
  height: 300px;
  background: transparent; /* transparent bg */
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
}

.roadmap-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.roadmap-item img:hover {
  transform: scale(1.05);
}

.roadmap-item p {
  font-weight: 600;
  color: #4f46e5;
  font-size: 1.2rem;
}

.roadmap-arrow {
  display: none;
}

/* Footer */
footer {
  background: #111827;
  color: white;
  padding: 2rem 5%;
  text-align: center;
}

footer h3 {
  margin-bottom: 1rem;
}

footer .links a {
  margin: 0 10px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

footer .links a:hover {
  color: white;
}

footer .social a {
  margin: 0 10px;
  font-size: 1.5rem;
  color: #9ca3af;
  transition: color 0.3s;
}

footer .social a:hover {
  color: white;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------- RESPONSIVE FIXES ------------------- */
@media (max-width: 1024px) {
  nav {
    padding: 1rem 2rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  nav img {
    height: 100px;
  }
  #header-image {
    height: 250px; /* responsive height */
  }
  .roadmap-item .image-frame {
    height: 220px;
  }
  header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  #header-image {
    height: 180px; /* smaller frame */
  }
  .roadmap-item .image-frame {
    height: 180px;
  }
  header h1 {
    font-size: 1.8rem;
  }
  header p {
    font-size: 0.9rem;
  }
}
