:root {
  /* Fonts */
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", sans-serif;
  
  /* Colors */
  --color-navy: #1A1A2E;
  --color-purple: #5B4FCF;
  --color-purple-hover: #4A3FB5;
  --color-gray-light: #F8F8F8;
  --color-navy-card: #252545;
  --color-navy-border: #3D3780;
  --color-text-muted: #A0A0B0;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-green-500: #22c55e;
  --color-red-500: #ef4444;
  --color-yellow-400: #facc15;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-navy);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

::selection {
  background-color: var(--color-purple);
  color: var(--color-white);
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* Typography Utilities */
.font-display { font-family: var(--font-display); }
.font-sans { font-family: var(--font-sans); }
.font-black { font-weight: 900; }
.font-extrabold { font-weight: 800; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-white { color: var(--color-white); }
.text-navy { color: var(--color-navy); }
.text-purple { color: var(--color-purple); }
.text-muted { color: var(--color-text-muted); }
.text-gray-400 { color: var(--color-gray-400); }
.text-gray-500 { color: var(--color-gray-500); }
.text-gray-600 { color: var(--color-gray-600); }

.bg-navy { background-color: var(--color-navy); }
.bg-white { background-color: var(--color-white); }
.bg-purple { background-color: var(--color-purple); }
.bg-gray-light { background-color: var(--color-gray-light); }
.bg-navy-card { background-color: var(--color-navy-card); }

/* Layout & Spacing */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* Flex & Grid */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.grid { display: grid; }

/* Components */
.cta-button {
  background-color: var(--color-purple);
  color: var(--color-white);
  font-weight: 800;
  border-radius: 10px;
  padding: 1rem 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(91, 79, 207, 0.3);
}

.cta-button:hover {
  transform: scale(1.05);
  background-color: var(--color-purple-hover);
}

/* Section Spacing */
.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.section-padding-lg {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

/* 1. Hero Section */
.hero {
  padding-top: 6rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 9rem;
    padding-bottom: 10rem;
  }
}
@media (min-width: 1024px) {
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}
.hero-content {
  gap: 4rem;
}
@media (min-width: 768px) {
  .hero-content { flex-direction: row; text-align: left; }
}
.hero-title {
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 4.75rem; }
}
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 42rem;
}
@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.5rem; }
}
.student-avatars {
  display: flex;
}
.student-avatars img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid var(--color-navy);
  box-shadow: 0 0 0 2px rgba(91, 79, 207, 0.2);
  margin-left: -0.75rem;
}
.student-avatars img:first-child { margin-left: 0; }
.hero-image-wrapper {
  display: none;
}
@media (min-width: 1024px) {
  .hero-image-wrapper { display: block; position: relative; }
}
.hero-glow {
  position: absolute;
  top: -1rem; right: -1rem; bottom: -1rem; left: -1rem;
  background-color: rgba(91, 79, 207, 0.1);
  filter: blur(40px);
  border-radius: 9999px;
}
.hero-img {
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
  animation: fadeIn 1.5s ease-out;
}

/* 2. Problem Section */
.problem-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .problem-layout {
    flex-direction: row;
    gap: 5rem;
  }
}
.problem-text-side {
  flex: 1;
  max-width: 600px;
}
.problem-card-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .problem-card-grid { grid-template-columns: repeat(2, 1fr); }
}
.problem-card {
  padding: 1.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}
.problem-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.problem-icon {
  color: var(--color-purple);
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
}

/* 3. Solution Section */
.solution-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .solution-grid { grid-template-columns: repeat(3, 1fr); }
}
.solution-card {
  background-color: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  padding: 2rem;
  border-radius: 1rem;
  transition: background-color 0.3s;
}
.solution-card:hover {
  background-color: rgba(37, 37, 69, 0.8);
}
.solution-icon {
  color: var(--color-purple);
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
}

/* 4. Testimonials */
.testimonial-grid {
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--color-yellow-400);
  margin-bottom: 1.5rem;
}

/* 5. Qualificacao */
.qual-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .qual-grid {
    flex-direction: row;
    gap: 3rem;
  }
}
.qual-box {
  background-color: var(--color-gray-light);
  padding: 2.5rem;
  border-radius: 32px;
  border: 1px solid var(--color-gray-100);
}
.list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.list-item:last-child { margin-bottom: 0; }

/* 6. Oferta */
.oferta-card {
  background-color: var(--color-navy-card);
  border: 2px solid rgba(91, 79, 207, 0.5);
  padding: 2.5rem;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
  max-width: 540px;
  width: 100%;
}
@media (min-width: 768px) {
  .oferta-card { padding: 3.5rem; }
}

/* 7. FAQ */
.faq-item {
  border: 1px solid var(--color-gray-200);
  background-color: var(--color-white);
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
  text-align: left;
}
.faq-question:hover {
  background-color: #f9fafb;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--color-gray-500);
  font-size: 0.875rem;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}
.faq-icon {
  transition: transform 0.3s ease;
  color: var(--color-purple);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* 8. Formulário */
.form-card {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.form-input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 700;
  transition: all 0.3s ease;
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.2); }
.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.15);
}

/* Animations Utilities */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Utility Layout Modifiers */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-8 { margin-top: 2rem; }

.gap-1 { gap: 0.25rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-8xl { font-size: 6rem; }
