@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Exo:wght@400;700&display=swap');

/* Bootstrap modal will handle display and z-index. No custom .modal CSS needed. */


:root {
  --bg-dark: #0e1018;
  --bg-card: #181b29;
  --neon-blue: #00e1ff;
  --neon-green: #37ff8b;
  --neon-purple: #a259ff;
  --text-main: #f1f1f1;
  --text-secondary: #b5b5c2;
  --accent: #00e1ff;
}

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

body {
  font-family: 'Exo', 'Orbitron', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

section {
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

/* 3D Background */
#bg-3d {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0;
  pointer-events: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3vw;
  background: transparent;
  z-index: 2;
  position: relative;
  flex-wrap: wrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: max-height 0.3s, opacity 0.3s;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 28px;
  background: var(--neon-blue);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem 2vw 0.7rem 2vw;
  }
  .logo {
    margin-bottom: 8px;
    text-align: left;
    font-size: 1.45rem;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    width: 100%;
    background: #181b29ee;
    border-radius: 0 0 16px 16px;
    margin: 0;
    padding: 0 0 0 0;
    box-shadow: 0 8px 28px #00e1ff22;
    position: relative;
    transition: max-height 0.33s cubic-bezier(.4,0,.2,1), opacity 0.22s;
  }
  nav.open {
    max-height: 400px;
    opacity: 1;
    padding: 10px 0 12px 0;
  }
  nav a, nav button.cta {
    margin: 0.7em 0 0.7em 1.2em;
    width: 92%;
    font-size: 1.1em;
    padding: 0.7em 0.7em;
    border-radius: 1.4em;
    display: block;
    text-align: left;
  }
  .hamburger {
    display: flex;
    margin-left: auto;
    margin-right: 0;
    margin-top: -8px;
  }
}

.logo {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2rem;
  color: var(--neon-blue);
  letter-spacing: 2px;
  font-weight: 700;
}
.logo span {
  color: var(--neon-purple);
  font-style: italic;
}

.ai-badge {
  display: inline-block;
  background: linear-gradient(90deg, #00e1ff, #a259ff);
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 1em;
  padding: 0.25em 0.9em;
  margin-right: 1em;
  margin-bottom: 0.2em;
  letter-spacing: 1px;
  box-shadow: 0 0 12px #00e1ff77;
  vertical-align: middle;
  text-transform: uppercase;
  font-family: 'Orbitron', Arial, sans-serif;
}

nav a {
  color: var(--text-main);
  margin-left: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  font-size: 1.09em;
}
@media (max-width: 700px) {
  nav a {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding-left: 1.2em;
    padding-right: 1.2em;
  }
}
nav a.cta {
  color: var(--bg-dark);
  background: var(--neon-blue);
  padding: 0.6em 1.4em;
  border-radius: 2em;
  margin-left: 2em;
  font-weight: bold;
  text-shadow: 0 0 8px var(--neon-blue);
}
nav a.cta.secondary {
  background: transparent;
  color: var(--neon-blue);
  border: 1.5px solid var(--neon-blue);
}
nav a:hover {
  color: var(--neon-green);
}

main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2vw;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
}
.hero h1 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 1.5px;
  color: var(--neon-blue);
}
.hero h1 span {
  color: var(--neon-purple);
  text-shadow: 0 0 12px var(--neon-purple);
}
.hero p {
  color: var(--text-secondary);
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
@media (max-width: 700px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 1em;
    width: 100%;
    margin: 0 auto;
    padding: 0 1vw;
  }
  .hero-ctas .cta, .hero-ctas .cta.large, .hero-ctas .cta.secondary {
    width: 100%;
    min-width: 0;
    font-size: 1.08em;
    padding: 1em 0.7em;
    margin: 0;
    border-radius: 1.6em;
    box-sizing: border-box;
  }
}

.cta {
  display: inline-block;
  background: var(--neon-blue);
  color: var(--bg-dark);
  padding: 0.8em 2em;
  border-radius: 2em;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 0 10px var(--neon-blue);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.cta.secondary {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  box-shadow: none;
}
.cta.large {
  font-size: 1.3rem;
  padding: 1em 2.8em;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  color: #fff;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.feature-card {
  background: linear-gradient(135deg, var(--bg-card) 60%, var(--neon-blue) 120%);
  border-radius: 1.5em;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 30px rgba(0,225,255,0.08);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 0 18px 2px var(--neon-blue), 0 0 80px 0 var(--neon-purple);
  transform: translateY(-6px) scale(1.04);
}

.feature-card h2 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green);
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.playground {
  background: linear-gradient(90deg, var(--bg-card) 80%, var(--neon-purple) 120%);
  border-radius: 2em;
  margin-bottom: 4rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 24px 0 var(--neon-purple);
  z-index: 1;
  position: relative;
}
.playground h2 {
  color: var(--neon-purple);
  font-size: 1.6rem;
  margin-bottom: 0.7em;
}
.playground .demo-placeholder {
  margin-top: 2em;
  color: var(--neon-blue);
  opacity: 0.7;
  font-size: 1.1em;
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(90deg, var(--bg-card) 80%, var(--neon-blue) 120%);
  border-radius: 2em;
  margin-bottom: 4rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 24px 0 var(--neon-blue);
}
.testimonials h2 {
  color: var(--neon-blue);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5em;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.testimonial {
  background: #181b29cc;
  border-radius: 1.2em;
  padding: 1.5em 1.5em 1.2em;
  max-width: 320px;
  min-width: 220px;
  box-shadow: 0 2px 12px 0 var(--neon-blue);
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 1em;
}
.testimonial-text {
  font-size: 1.08em;
  color: var(--text-secondary);
  margin-bottom: 1em;
  font-style: italic;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.avatar {
  font-size: 2rem;
  width: 2.3em;
  height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-dark);
}
.user-details {
  color: var(--text-main);
  font-size: 0.98em;
}

/* Contact Form Section */
.contact {
  background: linear-gradient(90deg, var(--bg-card) 80%, var(--neon-purple) 120%);
  border-radius: 2em;
  margin-bottom: 4rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 24px 0 var(--neon-purple);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.contact h2 {
  color: var(--neon-purple);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.4em;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.contact-form label {
  font-size: 1.08em;
  color: var(--text-secondary);
  margin-bottom: 0.2em;
}
.contact-form input,
.contact-form textarea {
  background: #151728;
  color: var(--text-main);
  border: 1.5px solid var(--neon-purple);
  border-radius: 0.6em;
  padding: 0.8em 1em;
  font-size: 1em;
  outline: none;
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--neon-blue);
}
.contact-form button {
  align-self: flex-end;
  margin-top: 0.5em;
}
.form-success {
  color: var(--neon-green);
  margin-top: 1em;
  text-align: center;
  font-weight: bold;
}

.stats {
  text-align: center;
  margin-bottom: 3.5rem;
}
.stats h2 {
  font-size: 1.5rem;
  margin-bottom: 1em;
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green);
}
.stats ul {
  display: flex;
  justify-content: center;
  gap: 3em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.stats li {
  font-size: 1.2rem;
  color: var(--neon-blue);
}

.cta-banner {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  padding: 2.2rem 1.5rem;
  text-align: center;
  border-radius: 2em;
  margin-bottom: 3rem;
  box-shadow: 0 0 30px 0 var(--neon-purple);
}
.cta-banner h2 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 1.3em;
}
.cta-banner .cta.large {
  margin-top: 1em;
}

footer {
  background: var(--bg-card);
  padding: 1.5em 2vw;
  border-radius: 1.5em 1.5em 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1em;
  margin-top: 2em;
  z-index: 2;
  position: relative;
}
.footer-links, .social-links {
  display: flex;
  gap: 1.2em;
}
.footer-links a,
.social-links a {
  color: var(--neon-blue);
  text-decoration: none;
  font-weight: bold;
}
.footer-links a:hover,
.social-links a:hover {
  color: var(--neon-green);
}

@media (max-width: 900px) {
  .testimonial-list {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .testimonial-list {
    flex-direction: column;
    align-items: center;
  }
  .admin-shell {
    padding: 0 2vw;
  }
}

@media (max-width: 700px) {
  header, main, footer {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .stats ul {
    flex-direction: column;
    gap: 1em;
  }
  .footer-links, .social-links {
    flex-direction: column;
    gap: 0.8em;
  }
  .contact {
    padding: 1.5rem 1rem;
  }
  .testimonials,
  .playground {
    padding: 1.5rem 1rem;
  }
  .wallets-container {
    flex-direction: column;
    gap: 18px;
    max-width: 98vw;
    padding: 0 2vw;
  }
  .wallet-tile {
    width: 100%;
    min-width: 0;
    max-width: 340px;
    height: 80px;
    margin: 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0 16px;
    font-size: 1.1em;
  }
  .wallet-icon {
    font-size: 2em;
    margin: 0 14px 0 0;
  }
  .wallet-name {
    font-size: 1.05em;
  }
  .modal, #connectModal {
    align-items: flex-end !important;
    justify-content: center;
  }
  #modalContent {
    max-width: 99vw;
    min-width: 0;
    width: 99vw;
    border-radius: 18px 18px 0 0;
    padding: 24px 8vw 16px 8vw !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    margin: 0 auto;
  }
  .slider-box {
    width: 99vw !important;
    min-width: 0;
    max-width: 99vw;
    padding: 18px 6vw;
    border-radius: 18px 18px 0 0;
  }
}

@media (max-width: 500px) {
  .wallets-container {
    gap: 10px;
    padding: 0 1vw;
  }
  .wallet-tile {
    height: 62px;
    font-size: 0.97em;
    padding: 0 8px;
    max-width: 96vw;
  }
  .slider-box {
    padding: 12px 2vw;
    width: 98vw !important;
  }
  .admin-shell {
    padding: 0 1vw;
  }
  .admin-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .modal, #connectModal {
    align-items: flex-end !important;
    justify-content: center;
  }
  #modalContent {
    padding: 16px 2vw 8px 2vw !important;
    width: 99vw;
    max-width: 99vw;
    border-radius: 18px 18px 0 0;
  }
}