/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --teal-500: #14b8a6;
  --zinc-50: #FBFFFE;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --white: #ffffff;
  --amber-400: #fbbf24;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--zinc-50);
  color: var(--zinc-900);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--emerald-200);
  color: var(--emerald-700);
}

/* ===== ANIMATIONS ===== */
@keyframes blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.7; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInBlob {
  from { opacity: 0; }
  to { opacity: 0.5; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes iconPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes blobPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.9); }
  50% { opacity: 0.3; transform: scale(1); }
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

@keyframes btnGlow {
  0%, 100% {
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.2), 0 4px 6px -2px rgba(5, 150, 105, 0.1);
  }
  50% {
    box-shadow: 0 20px 25px -5px rgba(5, 150, 105, 0.3), 0 10px 10px -5px rgba(5, 150, 105, 0.2);
  }
}

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

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

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

.bg-zinc-50 { background-color: var(--zinc-50); }
.text-zinc-900 { color: var(--zinc-900); }

.text-gradient {
  background: linear-gradient(to right, var(--emerald-600), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gradient-accent {
  background: linear-gradient(to bottom right, var(--emerald-600), var(--teal-500));
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(to bottom right, var(--emerald-600), var(--teal-500));
  color: white;
  box-shadow: var(--shadow-lg);
  animation: btnGlow 2s ease infinite;
}

.btn-primary:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.05) translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  color: var(--zinc-700);
  border: 2px solid var(--zinc-300);
}

.btn-secondary:hover {
  border-color: var(--emerald-500);
  color: var(--emerald-600);
  transform: scale(1.02);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--emerald-600);
  background-color: transparent;
  border: 2px solid var(--emerald-500);
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: var(--emerald-500);
  color: white;
  transform: translateY(-2px);
}

.btn-outline i { transition: transform 0.2s; }
.btn-outline:hover i { transform: translateX(0.25rem); }

.btn-lg { font-size: 1.125rem; padding: 1.25rem 3rem; }
.btn-full { width: 100%; }

@media (max-width: 640px) {
  .btn { padding: 0.875rem 1.5rem; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary { animation: none; }
}
