/* TAU Developer Tools - Dark Space Theme CSS */

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

/* CSS Custom Properties - Dark Space Theme */
:root {
  /* Colors */
  --background: #0a0a0f;
  --foreground: #e2e8f0;
  --card: #1a1a2e;
  --card-foreground: #e2e8f0;
  --primary: #3b82f6;
  --primary-foreground: #0a0a0f;
  --secondary: #1e40af;
  --secondary-foreground: #ffffff;
  --muted: #16213e;
  --muted-foreground: #94a3b8;
  --accent: #60a5fa;
  --accent-foreground: #0a0a0f;
  --border: #2d3748;
  --input: #16213e;
  --ring: rgba(96, 165, 250, 0.5);

  /* Typography */
  --font-montserrat: "Montserrat", sans-serif;

  /* Spacing */
  --radius: 0.5rem;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-montserrat);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  position: relative;
}

/* Space-themed background with subtle stars */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(2px 2px at 20px 30px, #ffffff, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 160px 30px, #ffffff, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  z-index: -1;
  opacity: 0.1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-montserrat);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

/* Utility Classes */
.hidden {
  display: none;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

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

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

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

/* Navigation */
.navigation {
  background-color: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--foreground);
}

.logo-container {
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

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

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

.menu-button {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon,
.close-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-nav {
  display: none;
}

.mobile-nav-content {
  padding: 0.5rem;
  background-color: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--background) 0%, var(--card) 50%, var(--muted) 100%);
  color: var(--foreground);
  padding: 5rem 0 8rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%, rgba(96, 165, 250, 0.1) 100%);
}

.hero-blur-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  background-color: rgba(59, 130, 246, 0.05);
  border-radius: 50%;
  filter: blur(3rem);
}

.hero-blur-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(96, 165, 250, 0.05);
  border-radius: 50%;
  filter: blur(3rem);
}

.hero-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-logo-container {
  width: 8rem;
  height: 8rem;
  position: relative;
  animation: pulse 2s infinite;
}

.hero-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-title {
  font-family: var(--font-montserrat);
  font-weight: 900;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Product Showcase */
.product-showcase {
  padding: 5rem 0;
  background-color: rgba(22, 33, 62, 0.3);
}

.showcase-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.showcase-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s ease-in-out;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.product-info {
  flex: 1;
}

.product-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.product-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.product-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

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

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

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

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.heart-icon {
  width: 1rem;
  height: 1rem;
  color: #ef4444;
  fill: #ef4444;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

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

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-icon {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
}

.footer-email {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

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

/* Page Specific Styles */
.main-content {
  padding: 3rem 0;
}

.page-container,
.contact-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-header {
  margin-bottom: 3rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease-in-out;
}

.back-link:hover {
  color: var(--accent);
}

.page-title {
  font-family: var(--font-montserrat);
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

/* Detailed Product Cards */
.detailed-product-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 3rem;
  overflow: hidden;
}

.product-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.product-card-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.product-card-icon.secondary {
  background-color: rgba(30, 64, 175, 0.1);
  color: var(--secondary);
}

.product-card-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.product-card-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.product-card-content {
  padding: 0 1.5rem 1.5rem;
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.section-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.detailed-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detailed-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.detailed-feature-item span {
  color: var(--muted-foreground);
}

/* How It Works Section */
.how-it-works {
  background-color: rgba(22, 33, 62, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.step-number {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.step-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Requirements Section */
.requirements-section {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.requirements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

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

.requirement-bullet {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--secondary);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

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

/* Generation Modes */
.generation-modes {
  background-color: rgba(22, 33, 62, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.mode-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mode-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mode-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.mode-title {
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.mode-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Stay Updated Section */
.stay-updated {
  background-color: rgba(22, 33, 62, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.contact-card-header {
  padding: 1.5rem;
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-card-icon.secondary {
  background-color: rgba(30, 64, 175, 0.1);
  color: var(--secondary);
}

.contact-card-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

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

.contact-card-content {
  padding: 0 1.5rem 1.5rem;
}

.contact-info-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.contact-email-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background-color: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.contact-email-button:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.support-info-title {
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.support-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

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

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

.additional-info-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.additional-info-content {
  text-align: center;
}

.additional-info-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.additional-info-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.additional-info-description {
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

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

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .product-details-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width: 767px) {
  .mobile-menu-button {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav.show {
    display: block;
  }

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

  .hero-description {
    font-size: 1.125rem;
  }

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

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

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

  .product-card-title {
    font-size: 1.5rem;
  }
}

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

  .hero-description {
    font-size: 1rem;
  }

  .showcase-title {
    font-size: 1.75rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .product-card-header {
    flex-direction: column;
    text-align: center;
  }

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