@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Core Colors */
  --emerald-900: #064E3B; /* Primary Dark */
  --emerald-800: #065F46;
  --emerald-700: #047857;
  --emerald-600: #059669; /* Primary Base */
  --emerald-500: #10B981;
  --emerald-100: #D1FAE5;
  --emerald-50: #ECFDF5;

  --gold-600: #D97706;
  --gold-500: #F59E0B; /* Secondary Accent */
  --gold-400: #FBBF24;
  --gold-100: #FEF3C7;

  --cream-50: #FAFAF9; /* Background Light */
  --cream-100: #F5F5F4;
  --cream-200: #E7E5E4;
  
  --white: #FFFFFF;
  
  /* Text Colors */
  --text-900: #1C1917; /* Very Dark */
  --text-700: #44403C; /* Dark Gray */
  --text-500: #78716C; /* Medium Gray */
  --text-300: #D6D3D1; /* Light Gray */

  /* UI Tokens */
  --background: var(--cream-50);
  --foreground: var(--text-900);
  --primary: var(--emerald-600);
  --primary-hover: var(--emerald-700);
  --secondary: var(--gold-500);
  --secondary-hover: var(--gold-600);
  
  --border: var(--cream-200);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --font-inter: 'Inter', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-inter);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-poppins);
  font-weight: 600;
  line-height: 1.2;
  color: var(--emerald-900);
  margin: 0;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Base UI Components (simulating Next.js components) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: var(--font-poppins);
  height: 44px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn-lg {
  height: 52px;
  padding: 0 32px;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--emerald-50);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-700);
}

.btn-ghost:hover {
  background-color: var(--cream-100);
  color: var(--text-900);
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header & Navbar */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: transparent;
  padding: 1.5rem 0;
}

.main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--emerald-900);
}

.main-header:not(.scrolled) .logo-text {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-700);
  transition: color 0.2s ease;
}

.main-header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.nav-link:hover {
  color: var(--primary);
}

.main-header:not(.scrolled) .nav-link:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
}

.main-header:not(.scrolled) .btn-ghost {
  color: var(--white);
}
.main-header:not(.scrolled) .btn-ghost:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Footer */
.main-footer {
  background-color: var(--emerald-900);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--font-poppins);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-title {
  font-family: var(--font-poppins);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
}

.footer-links a {
  transition: color 0.2s ease;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

