/* Coffee & Cream Design System */
:root {
  --espresso: #2C1810;
  --oat: #F5E6D3;
  --burnt-orange: #D2691E;
  --cream: #FFFDFA;
  --mocha: #654321;
  
  --background: var(--cream);
  --foreground: var(--espresso);
  --muted: var(--oat);
  --accent: var(--burnt-orange);
  --border: var(--oat);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(245, 230, 211, 0.5);
  backdrop-filter: none;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--foreground);
  padding: 0.25rem 0;
}

.logo img {
  height: 56px;
  width: 56px;
  object-fit: contain;
}

.nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--foreground);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--espresso);
  color: var(--oat);
}

.btn-primary:hover {
  background-color: var(--mocha);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--muted);
}

/* Hero section buttons - more visible on dark background */
.hero .btn-primary {
  background-color: var(--burnt-orange);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary:hover {
  background-color: rgba(210, 105, 30, 0.9);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.hero .btn-outline {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background-color: var(--oat);
  color: var(--espresso);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
  width: 100%;
}

.btn-ghost:hover {
  background-color: var(--muted);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
    min-height: 700px;
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.2), rgba(255,255,255,0.3));
  background-color: rgba(255, 255, 255, 0.15);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--espresso);
  border: 1px solid rgba(44, 24, 16, 0.2);
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
  font-size: 2.25rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--espresso);
  text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

@media (min-width: 640px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
}

.hero-content .accent {
  color: var(--burnt-orange);
}

.hero-content p {
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  color: var(--mocha);
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

@media (min-width: 768px) {
  .hero-content p {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: rgba(245, 230, 211, 0.3);
}

@media (min-width: 768px) {
  .features {
    padding: 6rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

.section-header p {
  font-size: 1.125rem;
  color: var(--mocha);
  max-width: 42rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--muted);
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: rgba(210, 105, 30, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--mocha);
  margin-bottom: 1rem;
}

.feature-card ul {
  list-style: none;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--mocha);
}

.feature-card ul li {
  margin-bottom: 0.5rem;
}

/* Tools Preview */
.tools-preview {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .tools-preview {
    padding: 6rem 0;
  }
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tool-card {
  background: linear-gradient(to bottom right, rgba(210, 105, 30, 0.05), rgba(210, 105, 30, 0.1));
  border: 1px solid rgba(210, 105, 30, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.tool-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.tool-card p {
  color: var(--mocha);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--espresso);
  color: var(--oat);
  text-align: center;
}

@media (min-width: 768px) {
  .cta {
    padding: 6rem 0;
  }
}

.cta h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .cta h2 {
    font-size: 2.25rem;
  }
}

.cta p {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .contact {
    padding: 6rem 0;
  }
}

.contact-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--espresso);
}

.contact-info p {
  font-size: 1.125rem;
  color: var(--mocha);
  margin-bottom: 2rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background-color: var(--background);
  border: 2px solid var(--accent);
  border-radius: 0.5rem;
  color: var(--espresso);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-email:hover {
  background-color: var(--accent);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.email-icon {
  font-size: 1.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background-color: rgba(245, 230, 211, 0.5);
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--mocha);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--mocha);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background-color: var(--background);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--mocha);
}

/* Blog Pages */
.blog-page, .tools-page {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .blog-page, .tools-page {
    padding: 4rem 0;
  }
}

.page-header, .blog-header {
  max-width: 56rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.page-header h1, .blog-header h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .page-header h1, .blog-header h1 {
    font-size: 3rem;
  }
}

.page-header p, .blog-header p {
  font-size: 1.125rem;
  color: var(--mocha);
}

.blog-section {
  margin-bottom: 4rem;
}

.blog-section h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .blog-section h2 {
    font-size: 2.25rem;
  }
}

.blog-section > p {
  color: var(--mocha);
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  gap: 2rem;
}

.blog-card {
  background-color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.blog-card:hover {
  border-color: var(--accent);
}

.blog-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--border);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.blog-card h3 a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-card > p {
  color: var(--mocha);
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--mocha);
}

.tool-card-large {
  background: linear-gradient(to bottom right, rgba(210, 105, 30, 0.05), rgba(210, 105, 30, 0.1));
  border: 1px solid rgba(210, 105, 30, 0.2);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.tool-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tool-card-large h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.tool-card-large p {
  color: var(--mocha);
  margin-bottom: 1.5rem;
}

/* Blog Post Page */
.blog-post {
  padding: 3rem 0;
  max-width: 56rem;
  margin: 0 auto;
}

.blog-post-header {
  margin-bottom: 2rem;
}

.blog-post-header h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .blog-post-header h1 {
    font-size: 3rem;
  }
}

.blog-post-content {
  line-height: 1.8;
}

.blog-post-content h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-post-content p {
  margin-bottom: 1rem;
}

.blog-post-content ul, .blog-post-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

.blog-post-content strong {
  font-weight: 600;
}

.blog-post-content em {
  font-style: italic;
}

.blog-post-content code {
  background-color: var(--muted);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: monospace;
}

.blog-post-content pre {
  background-color: var(--muted);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  font-style: italic;
  color: var(--mocha);
  margin: 1rem 0;
}

.blog-post-content img {
  width: 100%;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

