:root {
  /* Futuristic Web3 Palette */
  --bg-color: #030712; /* Deep space black */
  --card-bg: rgba(17, 24, 39, 0.5);
  --card-hover: rgba(31, 41, 55, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(139, 92, 246, 0.5); /* Purple tint*/
  
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  
  /* Gradients */
  --accent-cyan: #22D3EE;
  --accent-purple: #8B5CF6;
  --accent-pink: #EC4899;
  
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  
  --font-body: 'Outfit', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden; /* prevent horizontal scroll from glows */
}

/* Dynamic Background Glows */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.4;
  animation: float 20s infinite alternate;
}

.glow-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.glow-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 10%) scale(1.1); }
  100% { transform: translate(-5%, -5%) scale(0.9); }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p { font-size: 1.1rem; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #C4B5FD;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.text-center { text-align: center; }

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Glass Cards */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
}

.card {
  padding: 2.5rem;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.card.small {
  padding: 1.5rem;
  border-radius: 16px;
}
.card.small h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card.small p { font-size: 0.95rem; color: var(--text-muted); }

/* Header */
header {
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-mark {
  background: var(--gradient-primary);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text-main); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding-top: 12rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content { flex: 1; }
.hero-desc {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.floating-img {
  max-width: 100%;
  border-radius: 30px;
  animation: float-img 8s ease-in-out infinite;
  box-shadow: 0 0 100px rgba(139, 92, 246, 0.2);
}

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

/* Section specific */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  color: var(--text-muted);
}

/* Solution Grid */
.solution-wrap {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.solution-text { flex: 1.5; }
.solution-stats {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: center;
}

.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 3.5rem; font-family: var(--font-heading); font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--text-muted); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }

.feature-list { list-style: none; margin-top: 2.5rem; }
.feature-list li { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 0.9rem;
}
.feature-list hstrong { display: block; font-size: 1.2rem; margin-bottom: 0.4rem; color: #fff; }
.feature-list p { color: var(--text-muted); font-size: 1rem; }

/* About */
.about-flex {
  display: flex;
  gap: 4rem;
  align-items: center;
}

/* Invest Form */
.invest-banner {
  padding: 5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.invest-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.invest-form input {
  flex: 1;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0 1.5rem;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
  font-family: var(--font-body);
}

.invest-form input:focus {
  border-color: var(--accent-purple);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.footer-links {
  display: flex;
  gap: 6rem;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text-main); }

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive Constraints */
@media (max-width: 1024px) {
  .hero-container, .solution-wrap, .about-flex { flex-direction: column; text-align: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { justify-content: center; }
  .feature-list li { text-align: left; }
  .nav-links { display: none; }
  .footer-layout { flex-direction: column; gap: 3rem; }
  .invest-form { flex-direction: column; }
}
