/* SARTHI Token - Enhanced CSS */

/* CSS Variables */
:root {
  --primary-gold: #f9b11f;
  --primary-gold-dark: #e6a01a;
  --primary-gold-light: #ffc947;
  --bg-dark: #0e0e0e;
  --bg-darker: #000000;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --border-color: #333333;
  --gradient-primary: linear-gradient(135deg, #f9b11f 0%, #ffc947 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  --shadow-primary: 0 10px 30px rgba(249, 177, 31, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Particle Background */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(249, 177, 31, 0.1) 0%, transparent 70%);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-gold);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-dark);
  opacity: 0.8;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('blockchain-bg.jpg') center/cover;
  opacity: 0.1;
  filter: blur(1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.highlight {
  color: var(--text-primary);
  display: block;
  margin-top: 0.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gold);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-darker);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(249, 177, 31, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-gold);
  border-color: var(--primary-gold);
}

.btn-secondary:hover {
  background: var(--primary-gold);
  color: var(--bg-darker);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background: var(--gradient-dark);
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary-gold);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--bg-darker);
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Tokenomics Section */
.tokenomics-grid {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.tokenomics-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.tokenomics-header h3 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contract-address {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-darker);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.contract-address code {
  flex: 1;
  color: var(--text-secondary);
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.9rem;
  word-break: break-all;
}

.copy-btn {
  background: var(--primary-gold);
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--primary-gold-dark);
  transform: scale(1.05);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
  color: var(--bg-darker);
}

.tokenomics-features {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-darker);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.feature-label {
  color: var(--text-muted);
  font-weight: 500;
}

.feature-value {
  color: var(--primary-gold);
  font-weight: 600;
}

/* Roadmap Section */
.roadmap-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
  margin-right: 3rem;
  margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 3rem;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--bg-card);
  border: 3px solid var(--border-color);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-item.completed .timeline-marker {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
}

.timeline-item.active .timeline-marker {
  background: var(--primary-gold-light);
  border-color: var(--primary-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(249, 177, 31, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(249, 177, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 177, 31, 0); }
}

.timeline-content {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  max-width: 350px;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.timeline-content h3 {
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.timeline-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.timeline-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-gold);
  color: var(--bg-darker);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Whitepaper Section */
.whitepaper-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.whitepaper-text h2 {
  color: var(--primary-gold);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.whitepaper-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.document-preview {
  width: 200px;
  height: 260px;
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.document-preview:hover {
  transform: translateY(-10px) rotateY(5deg);
  box-shadow: var(--shadow-card);
}

.document-icon svg {
  width: 80px;
  height: 80px;
  color: var(--primary-gold);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary-gold);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon svg {
  width: 30px;
  height: 30px;
  color: var(--bg-darker);
}

.contact-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-card a {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-card a:hover {
  color: var(--primary-gold-light);
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
}

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

.footer-info {
  margin-bottom: 2rem;
}

.footer-info p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  max-width: 800px;
  margin: 0 auto;
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-item .timeline-content {
    text-align: left !important;
    margin-left: 3rem !important;
    margin-right: 0 !important;
  }

  .timeline-marker {
    left: 20px !important;
    transform: translateX(-50%);
  }

  .whitepaper-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 10px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .contract-address {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contract-address code {
    text-align: center;
  }
}

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

.section {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

