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

:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --primary: 221.2 83.2% 53.3%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --border: 214.3 31.8% 91.4%;
  --radius: 0.5rem;
  --dark: 222.2 47.4% 11.2%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: hsla(var(--background), 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.logo-icon {
  color: hsl(var(--primary));
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-link-cta {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 8px 20px;
  border-radius: var(--radius);
}

.nav-link-cta:hover {
  background: hsl(221.2 83.2% 48%);
  color: hsl(var(--primary-foreground));
}

/* Hero Section */
.hero {
  padding: 160px 0 120px;
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--secondary)));
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 24px;
}

.badge-icon {
  color: hsl(var(--primary));
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: hsl(var(--foreground));
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 20px;
  color: hsl(var(--muted-foreground));
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 2px 8px hsla(var(--primary), 0.3);
}

.btn-primary:hover {
  background: hsl(221.2 83.2% 48%);
  box-shadow: 0 4px 12px hsla(var(--primary), 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--primary));
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.icon {
  width: 20px;
  height: 20px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 32px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

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

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: hsl(var(--primary));
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: hsl(var(--border));
}

/* Hero Image */
.hero-image {
  max-width: 1000px;
  margin: 0 auto;
}

.app-window {
  background: hsl(var(--background));
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid hsl(var(--border));
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: hsl(var(--secondary));
  border-bottom: 1px solid hsl(var(--border));
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.window-content {
  display: flex;
  height: 500px;
}

.mock-sidebar {
  width: 280px;
  background: hsl(var(--dark));
  padding: 24px;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.mock-icon {
  width: 24px;
  height: 24px;
  background: hsl(var(--primary));
  border-radius: 6px;
  opacity: 0.8;
}

.mock-title {
  flex: 1;
  height: 16px;
  background: hsla(0, 0%, 100%, 0.6);
  border-radius: 4px;
}

.mock-button {
  height: 40px;
  background: hsl(var(--primary));
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-card {
  height: 60px;
  background: hsla(217.2, 32.6%, 17.5%, 1);
  border-radius: var(--radius);
  border: 1px solid hsla(217.2, 32.6%, 20%, 1);
}

.mock-main {
  flex: 1;
  padding: 40px;
  background: hsl(var(--background));
}

.mock-content-header {
  height: 24px;
  width: 200px;
  background: hsl(var(--border));
  border-radius: 4px;
  margin-bottom: 32px;
}

.mock-tokens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mock-token {
  height: 100px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}

/* Features Section */
.features {
  padding: 120px 0;
  background: hsl(var(--background));
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: hsl(var(--foreground));
}

.section-description {
  font-size: 18px;
  color: hsl(var(--muted-foreground));
}

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

.feature-card {
  padding: 32px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: hsl(var(--primary));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  color: white;
  border-radius: calc(var(--radius) * 1.5);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: hsl(var(--foreground));
}

.feature-description {
  font-size: 15px;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
  padding: 120px 0;
  background: hsl(var(--secondary));
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  margin-top: 64px;
}

.step {
  display: flex;
  gap: 24px;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  color: white;
  font-size: 24px;
  font-weight: 800;
  border-radius: 50%;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: hsl(var(--foreground));
}

.step-description {
  font-size: 15px;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* Tech Stack Section */
.tech-stack {
  padding: 120px 0;
  background: hsl(var(--background));
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.tech-item {
  text-align: center;
  padding: 32px 24px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  transition: all 0.2s;
}

.tech-item:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}

.tech-name {
  font-size: 20px;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

.tech-desc {
  font-size: 14px;
  color: hsl(var(--muted-foreground));
}

/* Download Section */
.download {
  padding: 120px 0;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(221.2 83.2% 43%) 100%);
}

.download-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.download-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.download-description {
  font-size: 20px;
  color: hsla(0, 0%, 100%, 0.9);
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.download .btn-primary {
  background: white;
  color: hsl(var(--primary));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.download .btn-primary:hover {
  background: hsl(var(--secondary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.download-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 14px;
}

.info-icon {
  width: 16px;
  height: 16px;
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  background: hsl(var(--dark));
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-tagline {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: hsla(0, 0%, 100%, 0.9);
}

.footer-link {
  display: block;
  color: hsla(0, 0%, 100%, 0.7);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  text-align: center;
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 18px;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .window-content {
    flex-direction: column;
    height: auto;
  }

  .mock-sidebar {
    width: 100%;
  }

  .mock-tokens {
    grid-template-columns: 1fr;
  }

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

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

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-title {
    font-size: 32px;
  }

  .download-buttons {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .nav-links {
    display: none;
  }

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