/* Monochromatic shadcn-inspired theme for Space homepage */

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 3.9%;
  --muted: 0 0% 96.1%;
  --muted-foreground: 0 0% 45.1%;
  --border: 0 0% 89.8%;
  --accent: 0 0% 20%;
  --accent-foreground: 0 0% 98%;
  --radius: 0.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: 0 0% 3.9%;
    --foreground: 0 0% 98%;
    --card: 0 0% 3.9%;
    --card-foreground: 0 0% 98%;
    --muted: 0 0% 14.9%;
    --muted-foreground: 0 0% 63.9%;
    --border: 0 0% 14.9%;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  padding: 60px 0 0;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
  border-bottom: 1px solid #333333;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

.hero-meta .link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-meta .link:hover {
  opacity: 0.8;
}

.cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary svg {
  stroke: #000000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-secondary:hover {
  background-color: hsl(var(--muted));
  transform: translateY(-1px);
}

.btn-secondary-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-secondary-sm:hover {
  background-color: hsl(var(--muted));
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.2s;
}

.btn-accent:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero-media {
  margin: 0 auto 0;
  max-width: 800px;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.hero-video {
  width: 100%;
  display: block;
}

.tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sections */
.section {
  padding: 80px 0;
  border-bottom: 1px solid hsl(var(--border));
}

.section-alt {
  background-color: hsl(var(--muted) / 0.3);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
  color: hsl(var(--foreground));
}

.section-description {
  font-size: 18px;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.grid-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* Cards */
.card {
  padding: 24px;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
  border-color: hsl(var(--foreground) / 0.2);
}

.highlight-card {
  background: linear-gradient(135deg, hsl(var(--accent) / 0.05) 0%, hsl(var(--accent) / 0.1) 100%);
  border-color: hsl(var(--accent) / 0.2);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: hsl(var(--card-foreground));
}

.card-text {
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Feature Cards */
.feature-card {
  padding: 24px;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
  border-color: hsl(var(--foreground) / 0.2);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-icon-mono {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
  border-radius: var(--radius);
  margin-bottom: 16px;
  color: hsl(var(--foreground));
}

.feature-icon-mono svg {
  stroke: hsl(var(--foreground));
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: hsl(var(--foreground));
}

.feature-text {
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Use Case Cards */
.use-case-card {
  padding: 20px;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.use-case-card:hover {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
  border-color: hsl(var(--foreground) / 0.2);
}

.use-case-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.use-case-icon-mono {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
  border-radius: var(--radius);
  margin: 0 auto 12px;
  color: hsl(var(--foreground));
}

.use-case-icon-mono svg {
  stroke: hsl(var(--foreground));
}

.use-case-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: hsl(var(--foreground));
}

.use-case-text {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
}

/* Installation Grid */
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.step-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: hsl(var(--foreground));
}

.step-list {
  margin: 0;
  padding-left: 20px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

.step-list li {
  margin-bottom: 6px;
}

.install-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  margin-bottom: 24px;
}

.info-card {
  padding: 24px;
  background-color: hsl(var(--muted) / 0.5);
  border: 1px dashed hsl(var(--border));
  border-radius: var(--radius);
}

.info-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: hsl(var(--foreground));
}

.info-text {
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
  line-height: 1.6;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 16px;
  color: hsl(var(--muted-foreground));
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.about-link {
  padding: 12px 20px;
  background-color: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  text-decoration: none;
  color: hsl(var(--foreground));
  font-size: 14px;
  transition: background-color 0.2s;
}

.about-link:hover {
  background-color: hsl(var(--muted) / 0.7);
}

/* Links */
.link {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

.link:hover {
  opacity: 0.7;
}

.link-bold {
  color: hsl(var(--foreground));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-bold:hover {
  opacity: 0.7;
}

/* CTA Center */
.cta-center {
  text-align: center;
  margin-top: 48px;
}

/* Footer */
.footer {
  padding: 48px 0;
  background-color: hsl(var(--muted) / 0.3);
  border-top: 1px solid hsl(var(--border));
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: hsl(var(--foreground));
}

.footer-credits {
  text-align: right;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
}

.footer-credits p {
  margin-bottom: 8px;
}

.footer-powered {
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .install-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-credits {
    text-align: left;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }

  .grid-3,
  .grid-benefits {
    grid-template-columns: 1fr;
  }
}

/* Hero Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  margin-top: 24px;
  margin-bottom: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content .hero-title,
.hero-content .hero-subtitle,
.hero-content .hero-meta {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  color: inherit;
}

.hero-content .hero-title {
  color: #ffffff;
}

.hero-content .hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.hero-content .hero-meta {
  color: rgba(255, 255, 255, 0.6);
}

.hero-content .cta-group {
  justify-content: flex-start;
}

.hero-content .tags {
  justify-content: flex-start;
}

/* Monochromatic Icon Styles */
.card-icon-mono {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
  border-radius: var(--radius);
  margin-bottom: 16px;
  color: hsl(var(--foreground));
}

.card-icon-mono svg {
  stroke: hsl(var(--foreground));
}

/* Code styling */
code {
  padding: 2px 6px;
  background-color: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  color: hsl(var(--foreground));
}

/* Responsive adjustments for hero grid */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-content .hero-title,
  .hero-content .hero-subtitle,
  .hero-content .hero-meta {
    text-align: center;
  }

  .hero-content .cta-group {
    justify-content: center;
  }

  .hero-content .tags {
    justify-content: center;
  }
}
