﻿/* Business Builder OS - Static Site Styles */
:root {
  --primary: #3b82f6;
  --primary-foreground: #ffffff;
  --secondary: #3b82f6;
  --secondary-foreground: #ffffff;
  --accent: #7c3aed;
  --background: #ffffff;
  --foreground: #1f2937;
  --muted: #6b7280;
  --muted-foreground: #6b7280;
  --card: #f9fafb;
  --card-foreground: #1f2937;
  --border: #e5e7eb;
  --blue-400: #60a5fa;
}

* {
  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(--background);
  color: var(--foreground);
  line-height: 1.6;
}

body.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.landing main {
  flex: 1;
}

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

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

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-text {
  color: var(--blue-400);
}

.logo-icon {
  width: 20px;
  height: 20px;
  color: #facc15;
}

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

.nav-desktop a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

.nav-link-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--muted-foreground);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-link-btn:hover {
  color: var(--foreground);
}

.nav-separator {
  color: rgba(107, 114, 128, 0.5);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.mobile-menu-btn:hover {
  background-color: var(--card);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  padding: 1rem;
}

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

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--muted-foreground);
}

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

.mobile-nav .nav-link-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.2), rgba(124, 58, 237, 0.1), var(--background));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero .highlight {
  color: var(--blue-400);
}

.hero .subhead {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero .description {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }
  .hero h2 {
    font-size: 3rem;
  }
  .hero .subhead {
    font-size: 1.25rem;
  }
  .hero .description {
    font-size: 1.125rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #2563eb;
}

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

.btn-secondary:hover {
  background-color: #2563eb;
}

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

/* Tools Section */
.tools-section {
  padding: 4rem 0;
  background-color: rgba(249, 250, 251, 0.5);
}

.tools-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.tools-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .tools-section {
    padding: 5rem 0;
  }
  .tools-section h2 {
    font-size: 1.875rem;
  }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tool Card */
.tool-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.tool-card-image {
  position: relative;
  overflow: hidden;
}

.tool-card-image img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s;
}

.tool-card:hover .tool-card-image img {
  transform: scale(1.05);
}

.tool-card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.tool-card:hover .tool-card-overlay {
  opacity: 1;
}

.tool-card-overlay span {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  font-weight: 600;
}

.tool-card-content {
  padding: 1.5rem;
}

.tool-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.tool-card-content p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Coming Soon Card */
.coming-soon-card {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(124, 58, 237, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
}

.coming-soon-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.coming-soon-card p {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .coming-soon-card h3 {
    font-size: 1.5rem;
  }
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
}

.benefits-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .benefits-section {
    padding: 5rem 0;
  }
  .benefits-section h2 {
    font-size: 1.875rem;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.benefit-card {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  padding: 0.75rem;
  background: linear-gradient(to bottom right, var(--primary), var(--accent));
  border-radius: 8px;
  color: white;
}

.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.2), rgba(124, 58, 237, 0.1), var(--background));
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 5rem 0;
  }
  .cta-content h2 {
    font-size: 1.875rem;
  }
}

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

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

@media (min-width: 768px) {
  .footer-links {
    gap: 1.5rem;
  }
}

/* Legal Pages */
.legal-page {
  min-height: 100vh;
  background-color: var(--background);
}

.legal-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.legal-content .subtitle {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 1.5rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.legal-section p,
.legal-section ul {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  padding-left: 1.5rem;
}

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

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.back-btn:hover {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .legal-content {
    padding: 4rem 1rem;
  }
  .legal-content h1 {
    font-size: 2.5rem;
  }
}

/* Feature Request Page */
.feature-form {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  background-color: var(--background);
  color: var(--foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Icons (inline SVG placeholders) */
.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}
