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

:root {
  --primary: #0a0f25;
  --secondary: #ffb703;
  --accent: #fb8500;
  --glass-bg: rgba(20, 27, 45, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --gradient-text: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Background Blobs */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: var(--primary);
}

.blob {
  position: absolute;
  filter: blur(100px);
  border-radius: 50%;
  opacity: 0.5;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: rgba(33, 150, 243, 0.15);
  animation-delay: 0s;
}

.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: rgba(251, 133, 0, 0.1);
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: rgba(138, 43, 226, 0.08);
  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); }
}

/* Glassmorphism Base */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.03), transparent);
  transform: skewX(-25deg);
  transition: 0.7s;
}

.glass:hover::before {
  left: 200%;
}

/* Typography */
h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

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

section {
  padding: 8rem 0;
  position: relative;
  z-index: 10;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(10, 15, 37, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.2);
}

.logo-container span {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

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

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #000;
  box-shadow: 0 10px 25px rgba(251, 133, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(251, 133, 0, 0.4);
  color: #000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
}

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

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.2);
  color: var(--secondary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.35rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.category-card {
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-15px);
  border-color: rgba(255, 183, 3, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 183, 3, 0.1);
}

.category-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  transition: all 0.4s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 183, 3, 0.15);
  border-color: rgba(255, 183, 3, 0.3);
}

.category-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.category-card p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Timeline / How it works */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 5rem auto 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--secondary), transparent);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 50px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  right: -12px;
  background-color: var(--primary);
  border: 4px solid var(--secondary);
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 15px rgba(251, 133, 0, 0.5);
}

.left { left: 0; }
.right { left: 50%; }

.right::after {
  left: -12px;
}

.timeline-content {
  padding: 2.5rem;
}

.timeline-content h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.timeline-content p {
  margin-bottom: 0;
}

/* Split Info Sections */
.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.info-content {
  padding: 3.5rem;
  height: 100%;
}

.info-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.info-content ul {
  list-style: none;
  margin-top: 2rem;
}

.info-content li {
  margin-bottom: 1.2rem;
  padding-left: 2.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.info-content li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--secondary);
  font-size: 1.2rem;
}

/* Document Pages */
.page-header {
  padding: 12rem 0 5rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.document-content {
  max-width: 900px;
  margin: 0 auto 8rem auto;
  padding: 4rem 4rem;
}

.document-content h2 {
  font-size: 2rem;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.document-content h2:first-child {
  margin-top: 0;
}

.document-content p, .document-content li {
  font-size: 1.15rem;
}

.document-content ul {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

.document-content strong {
  color: #fff;
}

/* Footer */
footer {
  background: rgba(10, 15, 37, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-col.brand p {
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 1rem;
}

.footer-col a {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Responsive */
@media screen and (max-width: 992px) {
  .info-section {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .timeline::after {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
  }
  
  .timeline-item::after {
    left: 18px;
    top: 30px;
    transform: none;
  }
  
  .right {
    left: 0;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .document-content {
    padding: 3rem 2rem;
  }
}

/* Simple script for navbar scroll */
