/* Base Styles */
:root {
  --color-background: #09090b;
  --color-card: #18181b;
  --color-text: #ffffff;
  --color-text-muted: #a1a1aa;
  --color-primary: #dc2626;
  --color-primary-hover: #b91c1c;
  --color-primary-text: #ef4444;
  --color-border: #27272a;
  --color-border-light: #3f3f46;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-outline {
  border: 1px solid var(--color-border);
  color: white;
}

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

.btn-white {
  background-color: white;
  color: var(--color-primary);
}

.btn-white:hover {
  background-color: #f3f4f6;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-background);
}

.header-container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.desktop-nav {
  display: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-text);
}

.desktop-cta {
  display: none;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-background);
  transition: right 0.3s ease;
  z-index: 100;
  padding: 1rem;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav .nav-link {
  font-size: 1.125rem;
  padding: 0.5rem 0;
}

.mobile-cta {
  margin-top: 1rem;
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 3rem 0 4rem;
  background-color: var(--color-card);
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 0.5rem;
}

.price-tag {
  color: var(--color-primary-text);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Featured Designs */
.featured {
  padding: 3rem 0;
  background-color: var(--color-background);
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.design-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
}

.design-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-image img {
  object-fit: contain;
  padding: 0.5rem;
}

.design-info {
  padding: 1rem;
}

.design-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.design-price {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.view-all {
  margin-top: 2rem;
}

.arrow-icon {
  margin-left: 0.5rem;
}

/* CTA Section */
.cta {
  padding: 2.5rem 0;
  background-color: var(--color-primary);
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-link {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.copyright {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

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

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    gap: 1.5rem;
  }

  .desktop-cta {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .design-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
