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

/* CSS Custom Properties (Variables) */
:root {
  /* Nature-themed color palette */
  --background: hsl(46, 20%, 97%);
  --foreground: hsl(140, 25%, 12%);
  
  --card: hsl(46, 25%, 98%);
  --card-foreground: hsl(140, 25%, 12%);
  
  --primary: hsl(140, 70%, 35%);
  --primary-foreground: hsl(46, 25%, 98%);
  
  --secondary: hsl(85, 25%, 85%);
  --secondary-foreground: hsl(140, 35%, 15%);
  
  --muted: hsl(85, 20%, 90%);
  --muted-foreground: hsl(140, 15%, 45%);
  
  --accent: hsl(45, 85%, 65%);
  --accent-foreground: hsl(140, 25%, 12%);
  
  --border: hsl(85, 15%, 85%);
  --input: hsl(85, 15%, 85%);
  
  /* Nature gradients */
  --gradient-primary: linear-gradient(135deg, hsl(140, 70%, 35%), hsl(120, 60%, 45%));
  --gradient-hero: linear-gradient(135deg, hsl(140, 70%, 25%) 0%, hsl(120, 65%, 35%) 50%, hsl(45, 85%, 55%) 100%);
  --gradient-accent: linear-gradient(90deg, hsl(85, 40%, 75%), hsl(45, 75%, 70%));
  --gradient-subtle: linear-gradient(180deg, hsl(46, 25%, 98%) 0%, hsl(85, 15%, 95%) 100%);
  
  /* Shadows */
  --shadow-nature: 0 10px 30px -5px hsl(140, 70%, 35%, 0.2);
  --shadow-glow: 0 0 40px hsl(45, 85%, 65%, 0.3);
  --shadow-card: 0 4px 20px -2px hsl(140, 30%, 20%, 0.1);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  --radius: 0.5rem;
}

/* Base Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('/assets/img/bg.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: hsl(46, 25%, 98%, 0.9);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: hsl(46, 25%, 98%, 0.8);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

/* Token Card */
.token-card {
  background: hsl(46, 25%, 98%, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
  border: 1px solid hsl(85, 15%, 85%, 0.5);
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.token-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

.token-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.contract-section {
  margin-top: 1.5rem;
}

.contract-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.75rem;
}

.contract-address {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--muted);
  border-radius: var(--radius);
  padding: 1rem;
}

.address-code {
  flex: 1;
  font-size: 0.875rem;
  font-family: 'Courier New', monospace;
  color: var(--muted-foreground);
  word-break: break-all;
}

.copy-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
  color: var(--muted-foreground);
}

.copy-btn:hover {
  background: hsl(140, 70%, 35%, 0.1);
  color: var(--primary);
}

.copy-icon {
  width: 1rem;
  height: 1rem;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-foreground);
  border: 1px solid hsl(46, 25%, 98%, 0.3);
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: hsl(46, 25%, 98%, 0.1);
}

/* Telegram Button */
.btn-telegram {
  background: linear-gradient(135deg, #229ED9, #1c8abf);
  color: #fff;
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px -4px rgba(34, 158, 217, 0.4);
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(34, 158, 217, 0.6);
}


.external-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Token Info Section */
.token-info {
  padding: 5rem 0;
  background: var(--gradient-subtle);
}

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

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid hsl(85, 15%, 85%, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  box-shadow: var(--shadow-nature);
  transform: translateY(-4px);
}

.feature-header {
  text-align: center;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary-foreground);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-foreground);
}

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

.feature-description {
  color: var(--muted-foreground);
}

/* Roadmap Section */
.roadmap {
  padding: 5rem 0;
  background: var(--background);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.roadmap-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.roadmap-card.completed {
  border-color: hsl(140, 70%, 35%, 0.5);
  background: hsl(140, 70%, 35%, 0.05);
}

.roadmap-card.current {
  border-color: hsl(45, 85%, 65%, 0.5);
  background: hsl(45, 85%, 65%, 0.05);
  box-shadow: var(--shadow-glow);
}

.roadmap-card.upcoming,
.roadmap-card.future {
  border-color: hsl(85, 15%, 85%, 0.5);
}

.roadmap-header {
  margin-bottom: 1rem;
}

.roadmap-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.status-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.roadmap-card.completed .status-icon {
  color: var(--primary);
}

.roadmap-card.current .status-icon {
  color: var(--accent);
}

.roadmap-card.upcoming .status-icon,
.roadmap-card.future .status-icon {
  color: var(--muted-foreground);
}

.phase-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.roadmap-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-foreground);
}

.roadmap-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.item-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.roadmap-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Trade Section */
.trade {
    padding: 5rem 0;
    background: var(--gradient-subtle);
}

/* Footer */
.footer {
  padding: 3rem 0;
  background: var(--gradient-hero);
  border-top: 1px solid hsl(85, 15%, 85%, 0.2);
}

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

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

.footer-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.footer-description {
  color: hsl(46, 25%, 98%, 0.8);
  max-width: 28rem;
  margin: 0 auto;
}

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

.social-btn {
  background: transparent;
  color: var(--primary-foreground);
  border: 1px solid hsl(46, 25%, 98%, 0.3);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  font-size: 0.875rem;
}

.social-btn:hover {
  background: hsl(46, 25%, 98%, 0.1);
}

.social-icon {
  width: 1rem;
  height: 1rem;
}

.footer-info {
  color: hsl(46, 25%, 98%, 0.6);
  font-size: 0.875rem;
}

.contract-info {
  margin-bottom: 0.5rem;
}

.copyright {
  margin: 0;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-card);
  transform: translateX(100%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1000;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-content strong {
  color: var(--card-foreground);
  display: block;
  margin-bottom: 0.25rem;
}

.toast-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .token-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contract-address {
    flex-direction: column;
    gap: 1rem;
  }
  
  .address-code {
    text-align: center;
  }
  
  .features-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  
  .toast {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}
