:root {
  /* Neon Noir Color Palette */
  --bg-dark: #090611;
  --bg-surface: rgba(20, 15, 30, 0.6);
  --neon-cyan: #00f3ff;
  --neon-purple: #b537f2;
  --neon-pink: #ff00a0;
  --text-primary: #ffffff;
  --text-secondary: #a09eb0;

  /* Typography */
  --font-main: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  /* Subtle noise texture for premium feel */
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
}

.hidden {
  display: none !important;
}

/* Typography Utilities */
.text-neon-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.text-neon-purple {
  color: var(--neon-purple);
  text-shadow: 0 0 10px rgba(181, 55, 242, 0.4);
}

.text-neon-pink {
  color: var(--neon-pink);
  text-shadow: 0 0 10px rgba(255, 0, 160, 0.4);
}

.gradient-text {
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(9, 6, 17, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--neon-cyan);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--font-main);
  border: none;
}

.btn-outline {
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-cyan));
  color: white;
  border: none;
  box-shadow: 0 0 20px rgba(181, 55, 242, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
  transform: translateY(-2px);
}

.btn-primary-xl {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  border-radius: 12px;
  width: 100%;
  max-width: 340px;
}

.btn-glass {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 240px;
}

.btn-glass:hover {
  color: #fff;
  background: rgba(30, 25, 45, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Sections */
section {
  padding: 6rem 5% 4rem;
}

.section-header,
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 8rem 5% 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181, 55, 242, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hero-cta-primary {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.hero-cta-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .hero-cta-secondary {
    flex-direction: row;
    justify-content: center;
  }

  .btn-glass,
  .btn-primary-xl {
    width: auto;
  }
}

/* ================================================
   Trust Bar
   ================================================ */
.trust-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  opacity: 0.6;
  filter: grayscale(1);
  transition: filter 0.5s, opacity 0.5s;
}

.trust-bar:hover {
  filter: grayscale(0);
  opacity: 1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-check {
  color: var(--neon-purple);
  font-weight: 700;
}

/* ================================================
   Tabbed Features Section
   ================================================ */
.features-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 5%;
}

.tabs-header {
  display: flex;
  justify-content: center;
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  padding-bottom: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.tab-active {
  color: var(--neon-purple);
  border-bottom-color: var(--neon-purple);
}

/* Glassmorphism Cards */
.feature-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: rgba(30, 25, 45, 0.7);
}

.glowing-border-cyan:hover {
  border-color: rgba(0, 243, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.glowing-border-purple:hover {
  border-color: rgba(181, 55, 242, 0.4);
  box-shadow: 0 0 20px rgba(181, 55, 242, 0.1);
}

.glowing-border-pink:hover {
  border-color: rgba(255, 0, 160, 0.4);
  box-shadow: 0 0 20px rgba(255, 0, 160, 0.1);
}

.icon-wrap {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-purple {
  background: rgba(181, 55, 242, 0.2);
  color: var(--neon-purple);
}

.icon-pink {
  background: rgba(255, 0, 160, 0.2);
  color: var(--neon-pink);
}

.icon-cyan {
  background: rgba(0, 243, 255, 0.2);
  color: var(--neon-cyan);
}

.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.glass-card p {
  color: var(--text-secondary);
}

/* Verified badge on crew card */
.card-verified {
  overflow: hidden;
}

.verified-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--neon-purple);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 0 15px rgba(181, 55, 242, 0.4);
}

/* ================================================
   Crew-to-Crew Highlight
   ================================================ */
.highlight-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5% 6rem;
}

.highlight-card {
  background: linear-gradient(135deg, rgba(181, 55, 242, 0.2) 0%, rgba(255, 0, 160, 0.15) 100%);
  border: 1px solid rgba(181, 55, 242, 0.3);
  border-radius: 2rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .highlight-card {
    flex-direction: row;
    align-items: center;
  }
}

.highlight-content {
  flex: 1;
}

.feature-badge {
  display: inline-block;
  background: var(--neon-purple);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.highlight-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.highlight-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Demo card */
.highlight-demo {
  flex: 1;
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.highlight-demo:hover {
  transform: rotate(0deg);
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.demo-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.demo-status {
  font-size: 0.75rem;
  color: var(--neon-purple);
}

.demo-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.demo-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #4b5563;
  flex-shrink: 0;
}

.demo-text {
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 500;
}

.demo-amount {
  text-align: right;
  font-size: 1.25rem;
  font-weight: 700;
}

/* ================================================
   Footer CTA
   ================================================ */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6rem 5%;
  text-align: center;
  background: rgba(20, 15, 30, 0.4);
}

footer h2 {
  font-size: 2.5rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 2rem;
}

.footer-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-cta .btn-primary {
  padding: 1rem 3rem;
  border-radius: 12px;
  font-size: 1rem;
}

footer .footer-logo {
  display: block;
  margin: 0 auto 1.5rem;
  height: 48px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

footer .footer-logo:hover {
  opacity: 1;
}

.footer-copyright {
  margin-top: 3rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ================================================
   Animations
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  nav a {
    display: none;
  }

  .highlight-card {
    border-radius: 1.5rem;
    padding: 2rem;
  }
}