@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #333;
  --color-secondary: #666;
  --color-accent: #3b82f6;
  --color-background: #f9fafb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--color-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.font-geist-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-top: 0;
}

/* Subtle animation for sections on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tip cards interactive styles */
.tip-card {
  transition: all 0.2s ease;
}

.tip-card:hover {
  background-color: #f3f4f6;
}

.tip-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.tip-content.active {
  max-height: 200px;
}

/* Custom blockquote style */
blockquote {
  border-left: 4px solid var(--color-accent);
  margin-left: 0;
  padding-left: 1rem;
  font-style: italic;
  color: var(--color-secondary);
}
