/* QuestMaker Marketing Site - Portable CSS */

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-text: #18181b;
  --color-text-light: #71717a;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f4f5;
  --color-border: #e4e4e7;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --spacing: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 2rem;
  width: auto;
}

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

.nav-links a {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

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

.btn-secondary {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

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

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

/* Hero */
.hero {
  padding: 4rem 0;
  text-align: center;
  background-color: var(--color-bg-alt);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('logo.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 90%;
  opacity: 0.75;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  margin-top: 2rem;
}

/* Features */
.features {
  padding: 5rem 0;
}

.features h2,
.use-cases h2,
.pricing h2,
.cta h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

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

.feature-card {
  padding: 2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--color-text-light);
}

/* Use Cases */
.use-cases {
  padding: 5rem 0;
  background: var(--color-bg-alt);
}

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

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

.use-case h3 {
  margin-bottom: 0.5rem;
}

.use-case p {
  color: var(--color-text-light);
}

/* Pricing */
.pricing {
  padding: 5rem 0;
}

.pricing-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

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

.pricing-card {
  padding: 2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.pricing-card li:last-child {
  border-bottom: none;
}

/* CTA */
.cta {
  padding: 5rem 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.cta p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

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

.footer-links a {
  color: var(--color-text-light);
  text-decoration: none;
}

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

.footer-bottom {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* About Page */
.about-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-subtitle {
  color: var(--color-text-light);
  font-size: 1.25rem;
}

.about-content {
  padding: 4rem 0;
}

.about-story {
  max-width: 680px;
  margin: 0 auto;
}

.about-story h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.about-story h3 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.about-story p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
  line-height: 1.8;
}

.about-signature {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.about-signature p {
  margin-bottom: 0.25rem;
}

.about-role {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero::before {
    display: none;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

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