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

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 20%;
  --text: 0 0% 20%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 20%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 20%;
  --primary: 181 100% 34%;
  --primary-foreground: 0 0% 100%;
  --secondary: 30 80% 50%;
  --secondary-foreground: 0 0% 20%;
  --muted: 30 30% 96%;
  --muted-foreground: 0 0% 45%;
  --accent: 48 97% 50%;
  --accent-foreground: 0 0% 20%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 30 30% 85%;
  --input: 30 30% 91%;
  --ring: 181 100% 34%;
  --radius: 0.25rem;
  --success: 181 52% 74%;
  --warning: 34 89% 85%;
  --error: 10 100% 86%;
  --highlight: 67 97% 50%;
  --footer-bg: 197 47% 19%;
  --footer-text: 0 0% 100%;
}

.prose {
  --tw-prose-body: var(--text);
  --tw-prose-headings: var(--text);
  --tw-prose-lead: #5c5c5c;
  --tw-prose-links: #333333;
  --tw-prose-bold: #333333;
  --tw-prose-counters: #757575;
  --tw-prose-bullets: #d4d4d4;
  --tw-prose-hr: #e5e5e5;
  --tw-prose-quotes: #333333;
  --tw-prose-quote-borders: #e5e5e5;
  --tw-prose-captions: #757575;
  --tw-prose-kbd: #333333;
  --tw-prose-kbd-shadows: rgb(51 51 51/10%);
  --tw-prose-code: #333333;
  --tw-prose-pre-code: #e5e5e5;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d4d4d4;
  --tw-prose-td-borders: #e5e5e5;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255/10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0/50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.posts-archive-grid img {
  aspect-ratio: 16/9;
}

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

html {
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--text));
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 600;
}

h4,
h5,
h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

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

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding-inline: 1.5rem;
  }
}

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

@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  border-radius: calc(var(--radius) * 1.5);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border: none;
  text-align: center;
  white-space: nowrap;
}

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

.btn-primary:hover {
  filter: brightness(1.05);
  color: hsl(var(--accent-foreground));
}

.btn-secondary {
  background-color: transparent;
  color: hsl(var(--secondary-foreground));
  border: 1.5px solid hsl(var(--secondary-foreground));
}

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

.card {
  background-color: hsl(var(--card));
  border: 1px solid hsla(var(--secondary) / 0.1);
  border-radius: calc(var(--radius) * 2);
  padding: 1.5rem;
}

.card-hover {
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.card-hover:hover {
  transform: translateY(-2px);
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background-color: hsl(var(--background));
  border: 1px solid hsla(var(--secondary) / 0.3);
  border-radius: calc(var(--radius) * 1.5);
  color: hsl(var(--foreground));
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsla(var(--primary) / 0.1);
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: hsla(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: calc(var(--radius) * 1.5);
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: color 0.15s ease-in-out;
}

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

.section {
  padding-block: 6rem;
}

@media (max-width: 768px) {
  .section {
    padding-block: 4rem;
  }
}

.hero-section {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding-block: 8rem 6rem;
}

.hero-section h1,
.hero-section h2,
.hero-section h3 {
  color: hsl(var(--primary-foreground));
}

.highlight-text {
  color: hsl(var(--highlight));
}

.footer {
  background-color: hsl(var(--footer-bg));
  color: hsla(var(--footer-text) / 0.85);
  padding-block: 4rem;
}

.footer a {
  color: hsl(var(--accent));
  transition: opacity 0.15s ease-in-out;
}

.footer a:hover {
  opacity: 0.8;
  color: hsl(var(--accent));
}

.footer-divider {
  border-color: hsla(var(--footer-text) / 0.15);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

.curriculum-card-ai {
  --card-accent: 181 100% 34%;
}

.curriculum-card-hi {
  --card-accent: 30 80% 50%;
}

.curriculum-card-mi {
  --card-accent: 48 97% 50%;
}

.testimonial-card {
  position: relative;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
}

.testimonial-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--text));
  line-height: 1.4;
}

.testimonial-quote::before {
  content: '"';
  color: hsl(var(--primary));
  font-size: 2rem;
  line-height: 1;
  margin-right: 0.25rem;
}

.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) {
  .floating-cta {
    display: none;
  }
}