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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-title-light {
  color: #ffffff;
}

.section-subtitle {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.section-subtitle-light {
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}

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

.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: hsl(160 84% 39% / 0.1);
  color: hsl(160 84% 39%);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.badge-dark {
  background: hsl(160 84% 39% / 0.2);
}

.text-primary {
  color: hsl(160 84% 39%);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: hsl(160 84% 39%);
  color: white;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--duration-normal);
  box-shadow: 0 10px 15px -3px hsl(160 84% 39% / 0.25);
}

.btn-primary:hover {
  background: hsl(160 84% 34%);
  box-shadow: 0 20px 25px -5px hsl(160 84% 39% / 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all var(--duration-normal);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--foreground);
  color: var(--background);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity var(--duration-normal);
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: var(--radius-full);
}

.tag-dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Float animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

.bounce {
  animation: bounce 2s ease-in-out infinite;
}