/* NeuroLoom Static Site Styles */

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

:root {
  --color-background: #0a0a0a;
  --color-foreground: #f5f5f5;
  --color-card: #141414;
  --color-card-foreground: #f5f5f5;
  --color-primary: #14b8a6;
  --color-primary-dark: #0d9488;
  --color-muted: #1f1f1f;
  --color-muted-foreground: #a1a1aa;
  --color-border: #27272a;
  --color-accent: #14b8a6;
  --border-radius: 0.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
    "Helvetica Neue", sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
header {
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
}

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

nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  color: var(--color-muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--color-foreground);
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

/* Footer */
footer {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-card);
  margin-top: auto;
}

footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-section p {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--color-muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--color-foreground);
}

/* Main Content */
main {
  flex: 1;
  min-height: calc(100vh - 4rem);
}

/* Banner */
.banner {
  background-color: rgba(20, 184, 166, 0.1);
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  padding: 0.5rem 0;
  text-align: center;
}

.banner p {
  font-size: 0.875rem;
  color: var(--color-primary);
}

/* Section */
section {
  padding: 4rem 0;
}

section.border-t {
  border-top: 1px solid var(--color-border);
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
  }
  section {
    padding: 6rem 0;
  }
}

.text-primary {
  color: var(--color-primary);
}

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

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

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid;
}

.status-poc {
  background-color: rgba(20, 184, 166, 0.2);
  color: var(--color-primary);
  border-color: rgba(20, 184, 166, 0.3);
}

.status-dev {
  background-color: rgba(20, 184, 166, 0.2);
  color: var(--color-accent);
  border-color: rgba(20, 184, 166, 0.3);
}

.status-planned {
  background-color: var(--color-muted);
  color: var(--color-muted-foreground);
  border-color: var(--color-border);
}

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

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

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

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

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

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* Card */
.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-description {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

.card-content {
  font-size: 0.875rem;
  line-height: 1.6;
}

.card-gradient {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
  border-color: rgba(20, 184, 166, 0.2);
}

.card-highlight {
  border-color: rgba(20, 184, 166, 0.3);
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Flex */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

/* Spacing */
.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.p-6 {
  padding: 1.5rem;
}

/* Width */
.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

input,
textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background-color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  color: var(--color-foreground);
  font-size: 0.875rem;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted-foreground);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button[type="submit"] {
  width: 100%;
}

/* Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

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

/* Lists */
ul.list-disc {
  list-style-type: disc;
  padding-left: 1.5rem;
}

ul.space-y-1 > li {
  margin-bottom: 0.25rem;
}

ul.space-y-2 > li {
  margin-bottom: 0.5rem;
}

/* Utilities */
.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.rounded-lg {
  border-radius: var(--border-radius);
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.bg-muted-light {
  background-color: rgba(31, 31, 31, 0.5);
}

.min-h-screen {
  min-height: 100vh;
}

.flex-1 {
  flex: 1;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  .py-24 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
