/* VerbPal Landing Page - Design System */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Brand Colors */
  --brand-orange: #FF8C42;
  --brand-orange-dark: #e6762a;
  --brand-cream: #FFF8F0;
  --brand-brown: #8B6F47;
  --brand-brown-light: #a08560;
  --brand-teal: #4A9B7F;
  --brand-teal-light: #5cb592;

  /* Semantic Colors */
  --color-text: var(--brand-brown);
  --color-text-muted: rgba(139, 111, 71, 0.7);
  --color-background: var(--brand-cream);
  --color-card: #FFFFFF;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Border Radius - Playful rounded corners */
  --radius-sm: 0.75rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --radius-xl: 2.5rem;
  --radius-2xl: 3rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(139, 111, 71, 0.08);
  --shadow-md: 0 4px 20px rgba(139, 111, 71, 0.12);
  --shadow-lg: 0 8px 40px rgba(139, 111, 71, 0.15);
  --shadow-xl: 0 12px 60px rgba(139, 111, 71, 0.2);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Fredoka', sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.text-highlight {
  color: var(--brand-orange);
}

/* ==================== LAYOUT ==================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header p {
  max-width: 600px;
  margin: var(--space-sm) auto 0;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--brand-orange);
  color: white;
  box-shadow: 0 4px 0 var(--brand-orange-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--brand-orange-dark);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 var(--brand-orange-dark);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--brand-brown);
  border: 2px solid rgba(139, 111, 71, 0.2);
}

.btn-secondary:hover {
  background-color: white;
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

.btn-white {
  background-color: white;
  color: var(--brand-orange);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: scale(1.05);
}

/* ==================== CARDS ==================== */
.card {
  background: var(--color-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.card-icon iconify-icon {
  font-size: 2rem;
}

/* ==================== NAVIGATION ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 111, 71, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
}

.navbar-logo span {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar-links a:hover {
  color: var(--brand-orange);
}

.navbar-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brand-brown);
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .navbar-mobile-toggle {
    display: block;
  }
}

/* ==================== HERO SECTION ==================== */
.hero {
  padding-top: 10rem;
  padding-bottom: var(--space-3xl);
  background: linear-gradient(135deg,
      rgba(255, 140, 66, 0.08) 0%,
      transparent 50%,
      rgba(74, 155, 127, 0.08) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  margin-bottom: var(--space-md);
}

.hero-content p {
  font-size: 1.375rem;
  margin-bottom: var(--space-lg);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mascot-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: gentle-bounce 3s infinite ease-in-out;
}

.hero-mascot-img {
  width: 280px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-mascot-badge {
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
  font-weight: 600;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-mascot-container {
    max-width: 350px;
  }
}

/* ==================== PROBLEMS SECTION ==================== */
.problems {
  background: white;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.problem-card {
  padding: var(--space-xl);
  border-radius: var(--radius-2xl);
  border-bottom: 6px solid transparent;
}

.problem-card:nth-child(1) {
  background: var(--brand-cream);
  border-bottom-color: rgba(255, 140, 66, 0.3);
}

.problem-card:nth-child(2) {
  background: #F0FAFF;
  border-bottom-color: rgba(74, 155, 127, 0.3);
}

.problem-card:nth-child(3) {
  background: #FFF0F0;
  border-bottom-color: rgba(239, 68, 68, 0.2);
}

.problem-card h3 {
  margin-bottom: var(--space-sm);
}

@media (max-width: 968px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works {
  background: var(--brand-cream);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.how-demo {
  position: relative;
}

.demo-card {
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
  transform: rotate(2deg);
  position: relative;
  z-index: 2;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.demo-avatar {
  width: 3rem;
  height: 3rem;
  background: var(--brand-orange);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.demo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-question {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--brand-brown);
}

.demo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.demo-option {
  border: 2px solid rgba(139, 111, 71, 0.1);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-option:hover {
  background: var(--brand-orange);
  color: white;
  border-color: var(--brand-orange);
}

.demo-feedback {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--brand-teal);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
  z-index: 3;
  font-weight: 600;
}

.how-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.how-feature {
  display: flex;
  gap: var(--space-md);
}

.how-feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-feature-icon iconify-icon {
  font-size: 1.5rem;
}

.how-feature h4 {
  margin-bottom: 0.25rem;
}

@media (max-width: 968px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .how-demo {
    order: 2;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ==================== PROGRESS SECTION ==================== */
.progress-section {
  background: white;
}

.progress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.progress-content h2 {
  margin-bottom: var(--space-md);
}

.progress-content>p {
  margin-bottom: var(--space-lg);
}

.progress-stats {
  background: var(--brand-cream);
  padding: var(--space-lg);
  border-radius: var(--radius-2xl);
  border: 2px solid rgba(255, 140, 66, 0.1);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.progress-badge {
  background: var(--brand-orange);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 1rem;
  background: rgba(139, 111, 71, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--brand-orange);
  border-radius: var(--radius-full);
  width: 75%;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  opacity: 0.7;
}

.progress-mascot {
  display: flex;
  justify-content: center;
  position: relative;
}

.progress-mascot-card {
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}

.progress-mascot-card img,
.progress-mascot-img {
  width: 160px;
  height: auto;
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-md);
}

.progress-mascot-bg {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 200px;
  height: 200px;
  background: var(--brand-teal);
  border-radius: var(--radius-2xl);
  transform: rotate(6deg);
  z-index: -1;
}

@media (max-width: 968px) {
  .progress-grid {
    grid-template-columns: 1fr;
  }

  .progress-mascot {
    order: -1;
  }
}

/* ==================== SOCIAL PROOF SECTION ==================== */
.social-proof {
  background: #F7F3F0;
}

.social-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.social-header-content {
  max-width: 600px;
}

.social-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--brand-orange);
  font-size: 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-info strong {
  display: block;
}

.testimonial-info span {
  font-size: 0.875rem;
  opacity: 0.6;
}

@media (max-width: 968px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== LANGUAGES SECTION ==================== */
.languages {
  background: white;
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.language-card {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.language-card:nth-child(odd) {
  background: var(--brand-cream);
}

.language-card:nth-child(even) {
  background: #F0FAFF;
}

.language-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-4px);
}

.language-card iconify-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.language-card p {
  font-weight: 600;
  color: var(--brand-brown);
}

.coming-soon {
  background: var(--brand-cream);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  text-align: center;
}

.coming-soon h3 {
  margin-bottom: var(--space-md);
}

.coming-soon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.coming-soon-item {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.coming-soon-item iconify-icon {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .languages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== FINAL CTA SECTION ==================== */
.final-cta {
  padding: var(--space-3xl) 0;
}

.final-cta-card {
  background: var(--brand-orange);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.15;
  font-size: 20rem;
  transform: rotate(-12deg) translate(10%, -20%);
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin-bottom: var(--space-md);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.final-cta .btn-white {
  margin-bottom: var(--space-sm);
}

.final-cta-note {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--brand-brown);
  color: var(--brand-cream);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 250px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.footer-logo img {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: var(--space-md);
  color: var(--brand-cream);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  font-size: 1.25rem;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  opacity: 1;
  color: var(--brand-orange);
}

.footer-column h4 {
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.5;
}

.footer-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-lang select {
  background: transparent;
  border: none;
  color: var(--brand-cream);
  font-family: inherit;
  font-size: 0.9rem;
  opacity: 0.7;
  cursor: pointer;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== ANIMATIONS ==================== */
@keyframes gentle-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease forwards;
}

.animate-bounce {
  animation: gentle-bounce 3s infinite ease-in-out;
}

/* ==================== UTILITIES ==================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}