
:root {
  --primary: #6930c3;
  --secondary: #80ffdb;
  --dark: #1a075a;
  --darker: #0e0438;
  --light: #f5f5f5;
  --accent: #64dfdf;
  --gradient: linear-gradient(135deg, var(--primary), var(--darker));
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(128, 255, 219, 0.1);
  --glow: 0 0 20px rgba(128, 255, 219, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--darker);
}

body {
  background: var(--darker);
  color: var(--light);
  line-height: 1.8;
  overflow-x: hidden;
  background-image: 
      radial-gradient(circle at 20% 30%, rgba(105, 48, 195, 0.15) 0%, transparent 30%),
      radial-gradient(circle at 80% 70%, rgba(128, 255, 219, 0.1) 0%, transparent 30%);
}

/* Header Styles */
header {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

header.scrolled {
  padding: 1rem 0;
  background: rgba(26, 7, 90, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.logo:hover {
  text-shadow: var(--glow);
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(15deg);
}

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

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px rgba(128, 255, 219, 0.6);
}

/* Button Styles */
.btn {
  background: var(--gradient);
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(105, 48, 195, 0.5);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(105, 48, 195, 0.7);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  box-shadow: none;
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--dark);
  text-shadow: none;
}

/* Hero Section */
.hero {
  height: 50vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  text-align: center;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: url('https://images.unsplash.com/photo-1639762681057-408e52192e55?q=80&w=2232&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.1;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(128, 255, 219, 0.6);
  border-radius: 50%;
  animation: float 15s infinite linear;
  filter: blur(1px);
}

@keyframes float {
  0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
  }
  100% {
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
  }
}

.hero-content {
  width: 100%;
  position: relative;
  padding: 2rem;
}

.hero-title {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(to right, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--glow);
  letter-spacing: 1px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Main Content */
.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--secondary);
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: var(--glow);
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--glass-border);
}

/* Whitepaper Content */
.whitepaper-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.whitepaper-content {
  background: var(--glass);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.whitepaper-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(105, 48, 195, 0.05), rgba(26, 7, 90, 0.1));
  z-index: -1;
}

.whitepaper-section {
  padding: 3rem;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.whitepaper-section:last-child {
  border-bottom: none;
}

.whitepaper-section:hover {
  background: rgba(105, 48, 195, 0.05);
}

.whitepaper-section h2 {
  color: var(--secondary);
  margin-bottom: 2rem;
  font-size: 2rem;
  position: relative;
  padding-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.whitepaper-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  box-shadow: var(--glow);
}

.whitepaper-section h3 {
  color: var(--accent);
  margin: 2rem 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.whitepaper-section p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.whitepaper-section ul {
  margin-bottom: 2rem;
  padding-left: 2rem;
  list-style-type: none;
}

.whitepaper-section li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.whitepaper-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: var(--glow);
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  margin: 3rem 0;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  background: rgba(26, 7, 90, 0.3);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(26, 7, 90, 0.3);
}

th, td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

th {
  background: rgba(105, 48, 195, 0.3);
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

td {
  color: rgba(255, 255, 255, 0.85);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover {
  background: rgba(128, 255, 219, 0.05);
}

/* Footer Styles */
footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 5rem 0 2rem;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--glass-border);
  margin-top: 5rem;
  backdrop-filter: blur(5px);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(26, 7, 90, 0.5));
  z-index: -1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px rgba(128, 255, 219, 0.6);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--light);
  font-size: 1.2rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 30px rgba(128, 255, 219, 0.4);
  border-color: transparent;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 2rem;
}

.copyright a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s;
}

.copyright a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px rgba(128, 255, 219, 0.6);
}

/* Floating Decorations */
.floating-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.2;
  z-index: -1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -150px;
  right: -150px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -200px;
  left: -200px;
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.animate-section {
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .hero-title {
      font-size: 3.2rem;
  }
}

@media (max-width: 992px) {
  .hero {
      height: 60vh;
      padding-top: 120px;
  }
  
  .hero-title {
      font-size: 2.8rem;
  }
  
  .section-title {
      font-size: 2.5rem;
  }
  
  .whitepaper-section {
      padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
      font-size: 2.4rem;
  }
  
  .hero-subtitle {
      font-size: 1.2rem;
  }
  
  .nav-links {
      display: none;
  }
  
  .section-title {
      font-size: 2.2rem;
  }
  
  .whitepaper-section {
      padding: 2rem;
  }
  
  .whitepaper-section h2 {
      font-size: 1.8rem;
  }
  
  th, td {
      padding: 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
      height: 70vh;
      min-height: 400px;
  }
  
  .hero-title {
      font-size: 2rem;
  }
  
  .section-title {
      font-size: 1.8rem;
  }
  
  .section-subtitle {
      font-size: 1rem;
  }
  
  .whitepaper-section {
      padding: 1.5rem;
  }
  
  .footer-links {
      gap: 1.5rem;
  }
}

@media (max-width: 400px) {
  .logo {
      font-size: 1.5rem;
  }
  
  .hero-title {
      font-size: 1.8rem;
  }
  
  .whitepaper-section h2 {
      font-size: 1.5rem;
  }
  
  .btn {
      padding: 0.8rem 1.5rem;
  }
}