/* Reset and Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: 60 30% 96%;
  --foreground: 120 5% 20%;
  --card: 60 20% 98%;
  --card-foreground: 120 5% 20%;
  --primary: 95 25% 35%;
  --primary-foreground: 60 30% 96%;
  --secondary: 60 15% 90%;
  --secondary-foreground: 120 5% 25%;
  --muted: 60 10% 85%;
  --muted-foreground: 120 5% 45%;
  --accent: 95 20% 88%;
  --accent-foreground: 95 25% 25%;
  --border: 60 15% 85%;
  --ring: 95 25% 35%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
}

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

/* Container */
.guide-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .guide-container {
    padding: 0 1rem;
  }
}

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

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

.logo {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}

.logo:hover {
  color: hsl(var(--primary));
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background-color: hsl(var(--foreground));
  margin: 2px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

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

.nav-link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

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

.nav-link.active {
  font-weight: 500;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

.nav-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: hsl(var(--background));
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 90;
  }

  .nav.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid hsl(var(--border));
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Mobile spacing adjustments */
@media (max-width: 768px) {
  .main-content {
    padding: 1.5rem 0;
  }

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

  .page-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .page-subtitle {
    font-size: 0.9rem;
  }

  .section {
    margin-bottom: 2.5rem;
  }

  .section-content {
    padding-left: 0;
  }

  .section-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

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

  .prose h2 {
    font-size: 1.125rem;
  }

  .prose ul {
    padding-left: 1.25rem;
  }

  .resources-section {
    margin-bottom: 2.5rem;
  }

  .resources-section-title {
    font-size: 1.25rem;
  }

  .framework-card {
    padding: 1.25rem;
  }

  .checklist {
    padding: 1rem;
  }

  .info-box {
    padding: 0.875rem 1rem;
  }

  .cta-block {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .disclaimer {
    padding: 0.875rem 1rem;
    margin: 2rem 0;
  }

  .toc {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .card-header {
    padding: 1rem 1rem 0.5rem;
  }

  .card-content {
    padding: 0 1rem 1rem;
  }

  .form-card {
    padding: 1.25rem;
  }

  .footer {
    padding: 2rem 0;
    margin-top: 2.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .reflection-card {
    padding: 1rem;
  }

  .disclaimer-alert {
    padding: 1rem;
  }

  .note-box {
    padding: 1rem;
    margin-top: 2rem;
  }

  .privacy-section {
    margin-bottom: 2rem;
  }

  .quick-section {
    margin: 2rem 0;
  }
}

/* Hero Section */
.hero {
  padding: 3rem 0;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-subtitle {
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto 1rem;
}

.hero-meta {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Header Image */
.header-image-container {
  padding-top: 2rem;
}

.header-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .header-image {
    height: 16rem;
  }
}

/* Table of Contents */
.toc {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.toc-title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.toc-list {
  list-style: none;
}

.toc-item {
  margin-bottom: 0.5rem;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.toc-link:hover {
  background-color: hsl(var(--secondary));
}

.toc-number {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  width: 1.25rem;
}

/* Sections */
.section {
  margin-bottom: 4rem;
}

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

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

.section-title {
  font-size: 1.5rem;
}

.section-content {
  padding-left: 3rem;
}

.section-content p {
  margin-bottom: 1rem;
  color: hsla(var(--foreground), 0.85);
}

/* Checklist */
.checklist {
  background-color: hsla(var(--secondary), 0.5);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.checklist-title {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
}

.checklist-list {
  list-style: none;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.check-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.checklist-item span {
  font-size: 0.875rem;
  color: hsla(var(--foreground), 0.9);
}

/* Info Box */
.info-box {
  background-color: hsl(var(--accent));
  border-left: 3px solid hsl(var(--primary));
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.info-box-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.info-box p {
  font-size: 0.875rem;
  color: hsl(var(--accent-foreground));
  margin: 0;
}

/* CTA Block */
.cta-block {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.cta-block p {
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-outline {
  background-color: transparent;
  border-color: hsla(var(--primary), 0.3);
  color: hsl(var(--primary));
}

.btn-outline:hover {
  background-color: hsla(var(--primary), 0.05);
}

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

.btn-primary:hover {
  opacity: 0.9;
}

.cta-secondary-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--primary));
}

.cta-secondary-link:hover {
  text-decoration: underline;
}

/* Quick Checklist & Pitfalls */
.quick-section {
  margin: 3rem 0;
}

.quick-section-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Disclaimer */
.disclaimer {
  background-color: hsla(var(--muted), 0.5);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 3rem 0;
}

.disclaimer p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

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

.footer-grid {
  display: grid;
  gap: 2rem;
}

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

.footer-column h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

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

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

.footer-column a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Cards */
.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 12px hsla(var(--foreground), 0.1);
}

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

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--primary));
  background-color: hsla(var(--primary), 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.card-read-time {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.card-title {
  font-size: 1.125rem;
  line-height: 1.4;
}

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

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

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

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

/* Page Header */
.page-header {
  margin-bottom: 3rem;
}

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

@media (min-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }
}

.page-subtitle {
  color: hsl(var(--muted-foreground));
  max-width: 40rem;
}

/* Resources Page */
.resources-section {
  margin-bottom: 4rem;
}

.resources-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.resources-section-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.resources-section-title {
  font-size: 1.5rem;
}

.framework-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.framework-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.framework-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.framework-phases {
  list-style: none;
}

.framework-phase {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.phase-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 500;
  flex-shrink: 0;
}

.phase-text {
  font-size: 0.875rem;
  color: hsla(var(--foreground), 0.85);
}

.checklists-grid {
  display: grid;
  gap: 1.5rem;
}

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

.reflection-grid {
  display: grid;
  gap: 1.5rem;
}

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

.reflection-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.reflection-category {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.reflection-questions {
  list-style: none;
}

.reflection-question {
  font-size: 0.875rem;
  color: hsla(var(--foreground), 0.85);
  padding-left: 1rem;
  border-left: 2px solid hsla(var(--primary), 0.3);
  margin-bottom: 0.75rem;
}

/* About Page */
.prose {
  max-width: 48rem;
}

.prose section {
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1rem;
  color: hsla(var(--foreground), 0.85);
}

.prose ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: hsla(var(--foreground), 0.85);
}

/* Contact Form */
.form-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .form-card {
    padding: 2rem;
  }
}

.form-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background-color: hsl(var(--background));
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsla(var(--ring), 0.1);
}

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

/* Privacy Page */
.privacy-section {
  margin-bottom: 2.5rem;
}

.privacy-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.privacy-section h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.privacy-section p {
  font-size: 0.875rem;
  color: hsla(var(--foreground), 0.85);
  margin-bottom: 1rem;
}

.privacy-list {
  list-style: none;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

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

.privacy-list span {
  font-size: 0.875rem;
  color: hsla(var(--foreground), 0.85);
}

/* Disclaimer Page */
.disclaimer-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.disclaimer-header svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.disclaimer-alert {
  background-color: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.disclaimer-alert p {
  font-weight: 500;
  margin: 0;
}

.disclaimer-cards {
  list-style: none;
}

.disclaimer-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.disclaimer-card-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.disclaimer-card-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* Note Box */
.note-box {
  background-color: hsla(var(--secondary), 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 3rem;
}

.note-box h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.note-box p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* Utility */
.text-muted {
  color: hsl(var(--muted-foreground));
}

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

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

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

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

.main-content {
  padding: 3rem 1rem;
}
