/* ------------------------------
   GLOBAL STYLES
------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background: #080313;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    cursor: grab;
}

body.dragging {
    cursor: grabbing;
}

/* ------------------------------
   BACKGROUND LAYERS
------------------------------ */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    transition: transform 0.1s ease-out;
}

/* Aesthetic tech grid */
.hex-pattern {
  background-image:
    radial-gradient(circle, rgba(183, 121, 255, 0.18) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0, 0 0, 0 0;
  opacity: 0.55;
  animation: hexGlow 6s ease-in-out infinite alternate;
}

@keyframes hexGlow {
    0% { filter: drop-shadow(0 0 2px #862aff); }
    100% { filter: drop-shadow(0 0 10px #b779ff); }
}

/* Neon Flowing Lines */
.neon-flow {
    background: linear-gradient(45deg, 
        rgba(124, 61, 255, 0.15) 0%,
        rgba(182, 121, 255, 0.1) 50%,
        rgba(124, 61, 255, 0.15) 100%);
    opacity: 0.35;
    mix-blend-mode: screen;
    animation: neonMotion 10s linear infinite;
}

@keyframes neonMotion {
    0% { transform: translate(-5%, -5%) rotate(0deg); }
    100% { transform: translate(5%, 5%) rotate(360deg); }
}

/* ------------------------------
   PARTICLES
------------------------------ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(183, 121, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(183, 121, 255, 0.8);
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-wfs {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff, #b779ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-size: 12px;
    opacity: 0.7;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.85;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3dff, #b779ff);
    transition: width 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: #b779ff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.hero-inner {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff, #b779ff, #7c3dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px rgba(124, 61, 255, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(183, 121, 255, 0.8)); }
}

.hero-sub {
    margin-top: 10px;
    opacity: 0.75;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* ------------------------------
   SUBSCRIBE FORM
------------------------------ */
.subscribe-form {
    margin-top: 40px;
    display: flex;
    gap: 10px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.email-input {
    padding: 12px 18px;
    width: 260px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(124, 61, 255, 0.3);
    outline: none;
    color: white;
    transition: all 0.3s;
}

.email-input:focus {
    background: rgba(255,255,255,0.12);
    border-color: rgba(124, 61, 255, 0.6);
    box-shadow: 0 0 15px rgba(124, 61, 255, 0.3);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.subscribe-btn {
    padding: 12px 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, #7c3dff, #9d63ff);
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: white;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.subscribe-btn:hover::before {
    width: 300px;
    height: 300px;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 61, 255, 0.5);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.drag-note {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
    animation: fadeInUp 1s ease-out 0.9s backwards, pulse 2s ease-in-out 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

/* ------------------------------
   FOOTER
------------------------------ */
.footer {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.socials {
    margin-bottom: 10px;
}

.icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    border-radius: 6px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(124, 61, 255, 0.3);
}

.icon:hover {
    opacity: 1;
    background: rgba(124, 61, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(124, 61, 255, 0.4);
}

.footer-text {
    font-size: 12px;
    opacity: 0.5;
}

/* ------------------------------
   SUCCESS MESSAGE
------------------------------ */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(124, 61, 255, 0.95);
    padding: 30px 50px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(124, 61, 255, 0.6);
    z-index: 1000;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.success-message.show {
    transform: translate(-50%, -50%) scale(1);
}

.success-message h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .email-input {
        width: 100%;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }
}

/* Navbar profile chip (top-right) */
.nav-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #7c3dff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  box-shadow: 0 0 12px rgba(124, 61, 255, 0.7);
}

.nav-profile-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-profile-name {
  font-size: 0.9rem;
  opacity: 0.9;
}

.nav-profile-menu-btn {
  border: 1px solid rgba(124, 61, 255, 0.5);
  background: rgba(10, 5, 30, 0.8);
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.nav-profile-menu-btn:hover {
  background: rgba(124, 61, 255, 0.4);
  box-shadow: 0 0 10px rgba(124, 61, 255, 0.7);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 1, 12, 0.75);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: radial-gradient(circle at top, #20103f, #0b0418);
  border-radius: 12px;
  padding: 22px 26px;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(183, 121, 255, 0.4);
}

.modal-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.modal-text {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 18px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-btn {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.modal-btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #e2ddff;
}

.modal-btn.primary {
  background: linear-gradient(135deg, #ff6070, #ff9aa6);
  color: #0b0418;
}
.modal-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.modal-btn.primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 16px rgba(255, 96, 112, 0.6);
  transform: translateY(-1px);
}

.modal-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.hero-marketplace {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-marketplace-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
}

.hero-btn.primary {
  background: linear-gradient(90deg, #a855f7, #ec4899);
  color: #fff;
}

.hero-btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.hero-btn.primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.6);
  transform: translateY(-1px);
}
.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-note {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.75;
}

.preview-section {
  padding: 20px 0 40px;
}

.preview-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.preview-header {
  text-align: left;
  margin-bottom: 16px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.how-it-works {
  padding: 20px 0 40px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.how-card {
  background: rgba(10, 6, 40, 0.9);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(124, 61, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}
