/* Learn Koala Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ========== CSS Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ========== Custom Properties ========== */
:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-800: #92400e;
  --orange-500: #f97316;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --blue-200: #bfdbfe;
  --blue-800: #1e40af;
  --green-200: #bbf7d0;
  --green-800: #166534;
  --white: #ffffff;
}

/* ========== Gradients ========== */
.gradient-hero {
  background: linear-gradient(135deg, var(--amber-100) 0%, var(--amber-200) 50%, var(--amber-400) 100%);
}

.gradient-cta {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 100%);
}

.gradient-card {
  background: linear-gradient(to bottom, var(--amber-400), var(--orange-500));
}

.gradient-highlight {
  background: linear-gradient(to right, var(--amber-50), rgba(255, 237, 213, 1));
}

/* ========== Animations ========== */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

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

.animate-pulse-soft {
  animation: pulse-soft 2s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-sm {
  max-width: 56rem;
}

.container-md {
  max-width: 64rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.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; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ========== Sizing ========== */
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.min-h-screen { min-height: 100vh; }
.max-w-xs { max-width: 20rem; }
.max-w-2xl { max-width: 42rem; }

/* ========== Spacing ========== */
.mx-auto { margin-left: auto; margin-right: auto; }
.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-16 { margin-bottom: 4rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.p-2 { padding: 0.5rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-8 { padding-top: 2rem; }

/* ========== Typography ========== */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.1; }
.text-6xl { font-size: 3.75rem; line-height: 1.1; }
.text-7xl { font-size: 4.5rem; line-height: 1.1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.text-center { text-align: center; }

/* ========== Colors ========== */
.text-white { color: var(--white); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }
.text-amber-500 { color: var(--amber-500); }
.text-amber-600 { color: var(--amber-600); }
.text-amber-800 { color: var(--amber-800); }
.text-blue-800 { color: var(--blue-800); }
.text-green-800 { color: var(--green-800); }

.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-800 { background-color: var(--gray-800); }
.bg-gray-900 { background-color: var(--gray-900); }
.bg-amber-50 { background-color: var(--amber-50); }
.bg-amber-100 { background-color: var(--amber-100); }
.bg-amber-200 { background-color: var(--amber-200); }
.bg-amber-500 { background-color: var(--amber-500); }
.bg-blue-200 { background-color: var(--blue-200); }
.bg-green-200 { background-color: var(--green-200); }

.bg-white-80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-white-90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-white-20 { background-color: rgba(255, 255, 255, 0.2); }

.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-90 { opacity: 0.9; }

/* ========== Borders ========== */
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-700 { border-color: var(--gray-700); }
.border-gray-800 { border-color: var(--gray-800); }
.border-amber-200 { border-color: var(--amber-200); }

/* ========== Shadows ========== */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* ========== Effects ========== */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.overflow-hidden { overflow: hidden; }

/* ========== Transitions ========== */
.transition-all { transition: all 0.15s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease; }
.duration-300 { transition-duration: 300ms; }

/* ========== Interactive States ========== */
.hover\:bg-gray-100:hover { background-color: var(--gray-100); }
.hover\:text-white:hover { color: var(--white); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:scale-105:hover { transform: scale(1.05); }

/* ========== Component: Language Switcher ========== */
.lang-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background-color 0.15s ease;
}

.lang-switcher a.active {
  background-color: var(--amber-100);
  color: var(--amber-800);
}

.lang-switcher a:not(.active) {
  color: var(--gray-600);
}

.lang-switcher a:not(.active):hover {
  background-color: var(--gray-100);
}

/* ========== Component: Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--amber-800);
  margin-bottom: 2rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .highlight {
  color: var(--amber-600);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
}

/* ========== Component: CTA Buttons ========== */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
}

.btn-primary {
  color: var(--white);
}

.btn-dark {
  background-color: var(--gray-900);
  color: var(--white);
}

.btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ========== Component: Phone Mockup ========== */
.phone-mockup {
  margin-top: 3rem;
  position: relative;
}

.phone-frame {
  background-color: var(--gray-900);
  border-radius: 1.5rem;
  padding: 0.5rem;
  max-width: 20rem;
  margin: 0 auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-screen {
  border-radius: 1rem;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-content {
  text-align: center;
  color: var(--white);
  padding: 1.5rem;
}

/* ========== Component: Section Cards ========== */
.card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-100);
}

.card-dark {
  background-color: var(--gray-800);
  border-color: var(--gray-700);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.card-dark .card-title {
  color: var(--white);
}

.card-text {
  color: var(--gray-600);
  line-height: 1.625;
}

.card-dark .card-text {
  color: var(--gray-400);
}

/* ========== Component: Step Cards ========== */
.step {
  text-align: center;
}

.step-icon-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.step-icon {
  width: 5rem;
  height: 5rem;
  background-color: var(--amber-100);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2.5rem;
}

.step-number {
  position: absolute;
  top: -0.5rem;
  right: calc(50% - 3rem);
  width: 2rem;
  height: 2rem;
  background-color: var(--amber-500);
  color: var(--white);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.step-text {
  color: var(--gray-600);
  line-height: 1.625;
}

/* ========== Component: Testimonials ========== */
.testimonial {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--amber-500);
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ========== Component: Audience Cards ========== */
.audience-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--gray-50);
  border-radius: 1rem;
}

.audience-icon {
  font-size: 2.5rem;
}

.audience-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.audience-text {
  color: var(--gray-600);
}

/* ========== Component: Footer ========== */
.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: 3rem 0;
}

.footer-content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  width: 2rem;
  height: 2rem;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ========== Component: Decorative Elements ========== */
.decor {
  position: absolute;
}

.decor-top-left {
  top: 2.5rem;
  left: 2.5rem;
}

.decor-bottom-right {
  bottom: 5rem;
  right: 2.5rem;
}

.decor-center-right {
  top: 33%;
  right: 25%;
}

/* ========== Highlight Box ========== */
.highlight-box {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--amber-200);
  text-align: center;
}

.highlight-box .label {
  font-size: 1.125rem;
  color: var(--amber-800);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.highlight-box .text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* ========== Section Titles ========== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-title-light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
}

.section-subtitle-light {
  color: var(--gray-400);
}

/* ========== Utility: Space-y ========== */
.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* ========== Responsive: Tablet and Up (768px+) ========== */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .cta-group {
    flex-direction: row;
  }
  
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

/* ========== Responsive: Desktop (1024px+) ========== */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* ========== Responsive: Small screens ========== */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-6xl { font-size: 3.75rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
}
