:root {
  /* Enhanced cosmic colors */
  --color-primary: #8b5cf6;        /* brighter purple - main accent */
  --color-primary-dark: #7c3aed;   /* darker purple */
  --color-secondary: #06b6d4;      /* cyan - cosmic accent */
  --color-tertiary: #f59e0b;       /* gold - star color */
  --color-bg-dark: #0f0a24;        /* deeper space blue */
  --color-bg-space: linear-gradient(135deg, #0f0a24 0%, #1a103d 50%, #2d1b69 100%);

  /* Cosmic gradients */
  --gradient-space: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-stars: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                    radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.3) 0%, transparent 50%);

  /* Neutralne */
  --color-white: #fff;
  --color-off-white: #f7f7f7;
  --color-eel: #4b4b4b;            /* ciemny tekst */
  --color-wolf: #777;              /* szary tekst */
  --color-border: #e5e5e5;

  /* Layout */
  --container-max: 1140px;
  --topbar-height: 58px;
  --radius: 16px;
}

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

html { 
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-eel);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-stars);
  pointer-events: none;
  z-index: -1;
}

/* Stars background */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.star {
  position: absolute;
  background: var(--color-white);
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

.star:nth-child(odd) {
  animation-delay: -1s;
  animation-duration: 4s;
}

.star:nth-child(3n) {
  animation-delay: -2s;
  animation-duration: 5s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

img { 
  max-width: 100%; 
  display: block; 
  margin-bottom: 24px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

a { 
  color: inherit; 
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

a:focus:not(:focus-visible) {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================
   TOPBAR (Duolingo style)
   ===================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 4px 4px rgba(0,0,0,.03);
  height: var(--topbar-height);
}

.topbar__container {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.topbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 0;
}

.topbar__logo-text {
  font-weight: 800;
  font-size: 18px;
  color: var(--color-primary);
}

.topbar__nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.topbar__link {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-wolf);
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
}

.topbar__link:hover {
  color: var(--color-primary);
}

.topbar__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.topbar__link:focus:not(:focus-visible) {
  outline: none;
}

.topbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  transition: all 0.3s ease;
}

.topbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.topbar__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.topbar__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.topbar__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  z-index: 99;
}

.mobile-menu__link {
  display: block;
  padding: 15px;
  font-weight: 700;
  color: var(--color-wolf);
  border-bottom: 2px solid var(--color-off-white);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  background: linear-gradient(135deg, rgba(248,250,252,1) 0%, rgba(241,245,249,1) 100%);
  padding-top: 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 30px 20px 0;
  gap: 40px;
}

.hero__text {
  max-width: 500px;
}

.hero__title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 19px;
  line-height: 1.4;
  color: var(--color-eel);
  margin-bottom: 24px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero__image {
  flex-shrink: 0;
}

.hero__image img {
  width: 280px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* =====================
   JUICY BUTTONS (Duolingo style)
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: filter 0.2s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  user-select: none;
  outline: none;
}

.btn--juicy {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--color-primary-dark);
}

.btn--juicy:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--primary {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 4px 0 #1899d6;
}

@media (hover: hover) {
  .btn--primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 0 var(--color-primary-dark), 0 0 20px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
    will-change: transform, box-shadow, filter;
  }
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
  outline: none;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-secondary);
  box-shadow: 0 4px 0 rgba(255,255,255,.6);
}

.btn--white:hover {
  filter: brightness(0.95);
}

.btn__icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.btn__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}

.btn__label small {
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
}

.btn[aria-disabled="true"] {
  opacity: 0.9;
  cursor: default;
}

/* =====================
   HILL SEPARATOR (Duolingo style)
   ===================== */
.hill {
  position: relative;
  width: 100%;
}

.hill__top,
.hill__bottom {
  overflow: hidden;
  line-height: 0;
}

.hill__top {
  margin-bottom: -2px;
}

.hill__top svg,
.hill__bottom svg {
  display: block;
  width: calc(100% + 10px);
  margin-left: -5px;
  height: 80px;
  position: relative;
}

.hill__top svg::before,
.hill__bottom svg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0.3;
  animation: cosmicWave 12s ease-in-out infinite;
  transform-origin: center;
}

.hill__top svg::after,
.hill__bottom svg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0.15;
  animation: cosmicWave 15s ease-in-out infinite reverse;
  transform-origin: center;
}

.hill__top svg path {
  fill: var(--color-bg-dark);
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.4))
          drop-shadow(0 0 60px rgba(139, 92, 246, 0.2))
          drop-shadow(0 0 120px rgba(139, 92, 246, 0.1));
  animation: cosmicWave 8s ease-in-out infinite;
}

.hill__bottom svg path {
  fill: var(--color-white);
  filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.3))
          drop-shadow(0 0 40px rgba(245, 158, 11, 0.15));
  animation: cosmicWave 6s ease-in-out infinite reverse;
}

.hill__middle {
  background: var(--gradient-space);
  color: var(--color-white);
  text-align: center;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
}

.hill__middle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 70%),
              radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
              linear-gradient(45deg, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  pointer-events: none;
  animation: cosmicPulse 4s ease-in-out infinite;
}

.hill__cta {
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hill__arrow {
  font-size: 20px;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
  50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); }
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(-10px) rotate(240deg); }
}

@keyframes cosmicWave {
  0%, 100% { transform: translateY(0px) scaleY(1); }
  50% { transform: translateY(-5px) scaleY(1.02); }
}

@keyframes cosmicPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes drift {
  0% { transform: translateX(-100vw) translateY(0px); }
  100% { transform: translateX(100vw) translateY(-50px); }
}

/* Cosmic particles */
.cosmic-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatParticle 6s ease-in-out infinite;
}

.particle:nth-child(2) { animation-delay: -2s; }
.particle:nth-child(3) { animation-delay: -4s; }
.particle:nth-child(4) { animation-delay: -1s; }
.particle:nth-child(5) { animation-delay: -3s; }

/* Floating rocket */
.rocket {
  position: fixed;
  top: 20%;
  left: -100px;
  width: 40px;
  height: 40px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236b46c1"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
  background-size: contain;
  animation: drift 20s linear infinite;
  opacity: 0.7;
  z-index: -1;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animations */
.float {
  animation: float 3s ease-in-out infinite;
}

.glow {
  animation: glow 2s ease-in-out infinite;
}

/* Flip variants for sections */
.hill__top--flip svg path {
  /* Reverse colours for flipped variant to blend with white section above */
  fill: var(--color-white);
  filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.3))
          drop-shadow(0 0 50px rgba(6, 182, 212, 0.2));
  animation: cosmicWave 7s ease-in-out infinite;
}

.hill__bottom--flip svg path {
  fill: var(--color-bg-dark);
  filter: drop-shadow(0 0 35px rgba(139, 92, 246, 0.5))
          drop-shadow(0 0 70px rgba(245, 158, 11, 0.2));
  animation: cosmicWave 9s ease-in-out infinite reverse;
}

/* =====================
   SECTIONS
   ===================== */
.section {
  padding: 50px 0;
}

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

.section--colorful {
  background: var(--gradient-space);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.section--colorful::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 30% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.colorful-content {
  background: var(--color-bg-dark);
  padding: 50px 0;
}

.section__title {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section__title--white {
  color: var(--color-white);
}

.section__subtitle {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 19px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-wolf);
}

.section__subtitle--white {
  color: rgba(255,255,255,.85);
}

/* =====================
   FEATURE ROWS
   ===================== */
.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 0;
}

.feature--left {
  flex-direction: row-reverse;
}

.feature--right {
  flex-direction: row;
}

.feature__text {
  max-width: 450px;
}

.feature__title {
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.1;
  color: var(--color-eel);
  margin-bottom: 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature__desc {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 19px;
  line-height: 1.5;
  color: var(--color-wolf);
}

.feature__image img {
  width: 280px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (hover: hover) {
  .feature__image img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    will-change: transform, box-shadow;
  }
}

/* =====================
   CARDS (Duolingo style)
   ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  max-width: 100%;
  place-items: center;
}

.card {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border-radius: 12px;
  color: var(--color-eel);
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  min-height: 120px;
  min-width: 260px;
  max-width: 450px;
  padding: 16px;
  position: relative;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,.08);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
    will-change: transform, box-shadow;
  }
}

.card__img {
  width: 70px;
  height: 70px;
  padding-right: 24px;
  flex-shrink: 0;
  object-fit: cover;
}

.card__body {
  flex: 1;
}

.card__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  padding-bottom: 8px;
  color: var(--color-eel);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__desc {
  font-size: 19px;
  line-height: 25px;
  color: var(--color-wolf);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =====================
   SPLIT LAYOUT
   ===================== */
.split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.split__text {
  max-width: 480px;
}

.split__image img {
  width: 320px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

/* Checklist */
.checklist {
  list-style: none;
  margin-top: 20px;
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 600;
  color: var(--color-eel);
}

.checklist__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #d7ffb8;
  color: #58a700;
  border-radius: 8px;
  font-weight: 900;
}

/* =====================
   TESTIMONIALS
   ===================== */
.stars {
  text-align: center;
  font-size: 32px;
  color: #ffc800;
  margin-bottom: 24px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.testimonial {
  background: rgba(15, 10, 36, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.8), transparent);
}

.testimonial:hover {
  transform: translateY(-3px);
  background: rgba(15, 10, 36, 0.95);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.1);
}

.testimonial__quote {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial__text {
  font-size: 18px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  font-weight: 400;
}

.testimonial__author {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
}

/* Testimonials section layout */
.testimonials-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.testimonials-content {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  color: var(--color-white);
}

/* =====================
   FOOTER CTA
   ===================== */
.footer-cta {
  padding-bottom: 0;
}

.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.footer-cta__text {
  max-width: 500px;
}

.footer-cta__image img {
  width: 300px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #1a0b3a 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hill--footer .hill__top svg path {
  fill: var(--color-bg-dark);
}

.footer__content {
  text-align: center;
  padding: 30px 20px;
  background: var(--color-bg-dark);
}

.footer__title {
  font-weight: 900;
  font-size: 36px;
  margin-bottom: 12px;
}

.footer__text {
  font-size: 17px;
  color: rgba(255,255,255,.85);
}

.footer__link {
  color: var(--color-white);
  font-weight: 700;
  text-decoration: underline;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.footer__link:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer__link:focus:not(:focus-visible) {
  outline: none;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-bg-dark);
  border-top: 2px solid rgba(255,255,255,.15);
}

.footer__links a {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__links a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer__links a:focus:not(:focus-visible) {
  outline: none;
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px 20px;
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer__legal a {
  font-size: 12px;
  color: var(--color-white);
  opacity: 0.7;
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--color-white);
  opacity: 1;
  text-decoration: underline;
}

.footer__copy {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  opacity: 0.7;
  background: var(--color-bg-dark);
}

/* ---------------------------------
   MOBILE MENU ANIMATION & VISIBILITY
   --------------------------------- */
/* base state – hidden via `hidden` attr or translated up */
.mobile-menu {
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* visible state toggled with JS */
.mobile-menu--open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
/* override the default UA style so we can still animate while element is visible */
.mobile-menu[hidden] {
  display: none;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero__content {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .hero__text {
    max-width: 100%;
  }
  
  .hero__buttons {
    justify-content: center;
  }
  
  .feature {
    flex-direction: column !important;
    text-align: center;
  }
  
  .feature__text {
    max-width: 100%;
  }
  
  .split {
    flex-direction: column;
    text-align: center;
  }
  
  .split__text {
    max-width: 100%;
  }
  
  .footer-cta__inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .footer-cta__text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .topbar__nav {
    display: none;
  }

  .topbar__hamburger {
    display: flex;
  }

  .card {
    max-width: 100%;
  }

  .testimonial {
    max-width: 100%;
  }

  .hero__image img,
  .feature__image img,
  .split__image img,
  .footer-cta__image img {
    width: 100%;
    max-width: 300px;
  }
}

/* Testimonials responsive design */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 40px 20px;
  }

  .testimonials-content {
    padding: 0 10px;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }

  .testimonial {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-bottom: 30px;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
  }

  .testimonials-section {
    padding: 30px 15px;
  }

  .testimonial {
    padding: 24px 20px;
  }

  .testimonial__text {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .card {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 24px;
  }

  .card__img {
    padding-right: 0;
    padding-bottom: 16px;
    margin: 0 auto;
  }
}

/* Additional responsive breakpoints for better control */
@media (min-width: 360px) {
  .hero__image img {
    max-width: 300px;
  }
}

@media (min-width: 530px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .card {
    max-width: 400px;
  }
}

@media (min-width: 768px) {
  .cards {
    gap: 30px;
  }

  .card {
    max-width: 420px;
  }
}

@media (min-width: 1100px) {
  .cards {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .card {
    max-width: 450px;
  }
}

/* =====================
   COSMIC DIVIDERS & TRANSITIONS
   ===================== */

/* Main Cosmic Divider */
.cosmic-divider {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg,
    rgba(15, 10, 36, 0.95) 0%,
    rgba(26, 16, 61, 0.95) 50%,
    rgba(45, 27, 105, 0.95) 100%);
  overflow: hidden;
}

.cosmic-divider__stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cosmic-divider__nebula {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: nebulaDrift 20s ease-in-out infinite;
}

.nebula--primary {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  top: -50px;
  left: 10%;
  animation-delay: 0s;
}

.nebula--secondary {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  top: 50px;
  right: 15%;
  animation-delay: -5s;
}

.nebula--accent {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  bottom: -30px;
  left: 50%;
  animation-delay: -10s;
}

.cosmic-divider__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cosmic-divider__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
}

.cosmic-divider__cta {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.cosmic-divider__arrow {
  font-size: 22px;
  animation: bounce 2s infinite;
  color: var(--color-secondary);
}

/* Cosmic Transitions */
.cosmic-transition {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.cosmic-transition--top {
  background: var(--color-bg-dark);
}

.cosmic-transition--bottom {
  background: var(--color-bg-dark);
}

.cosmic-transition__stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cosmic-transition__aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aurora-wave {
  position: absolute;
  height: 4px;
  border-radius: 2px;
  filter: blur(0.5px);
  animation: auroraFlow 8s ease-in-out infinite;
}

.aurora-wave--1 {
  width: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 92, 246, 0.6) 20%,
    rgba(6, 182, 212, 0.4) 50%,
    rgba(139, 92, 246, 0.6) 80%,
    transparent 100%);
  top: 30px;
  animation-delay: 0s;
}

.aurora-wave--2 {
  width: 80%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245, 158, 11, 0.5) 30%,
    rgba(139, 92, 246, 0.3) 70%,
    transparent 100%);
  top: 50px;
  left: 10%;
  animation-delay: -3s;
}

.aurora-wave--3 {
  width: 60%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(6, 182, 212, 0.7) 40%,
    rgba(245, 158, 11, 0.4) 60%,
    transparent 100%);
  top: 70px;
  left: 20%;
  animation-delay: -6s;
}

.aurora-wave--4 {
  width: 90%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 92, 246, 0.5) 25%,
    rgba(6, 182, 212, 0.6) 75%,
    transparent 100%);
  bottom: 40px;
  animation-delay: -2s;
}

.aurora-wave--5 {
  width: 70%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245, 158, 11, 0.4) 35%,
    rgba(139, 92, 246, 0.5) 65%,
    transparent 100%);
  bottom: 60px;
  left: 15%;
  animation-delay: -5s;
}

/* Constellation */
.cosmic-transition__constellation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.constellation-star {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-white);
  border-radius: 50%;
  animation: constellationTwinkle 3s ease-in-out infinite;
}

.constellation-star::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  animation: constellationGlow 4s ease-in-out infinite;
}

.star--1 { top: 40px; left: 20%; animation-delay: 0s; }
.star--2 { top: 60px; left: 35%; animation-delay: -1s; }
.star--3 { top: 30px; left: 55%; animation-delay: -2s; }
.star--4 { top: 70px; left: 75%; animation-delay: -0.5s; }
.star--5 { top: 50px; left: 90%; animation-delay: -1.5s; }

.constellation-lines {
  position: absolute;
  top: 20px;
  left: 15%;
  width: 75%;
  height: 80px;
  opacity: 0.6;
  animation: constellationPulse 6s ease-in-out infinite;
}

/* Galaxy */
.cosmic-transition__galaxy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.galaxy-core {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.8) 0%, rgba(139, 92, 246, 0.6) 50%, transparent 100%);
  border-radius: 50%;
  top: 20px;
  left: 45%;
  filter: blur(1px);
  animation: galaxyRotate 20s linear infinite;
}

.galaxy-arm {
  position: absolute;
  height: 3px;
  border-radius: 2px;
  filter: blur(1px);
  animation: galaxyArm 15s ease-in-out infinite;
}

.galaxy-arm--1 {
  width: 200px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.6) 0%, transparent 100%);
  top: 50px;
  left: 30%;
  transform-origin: left center;
  animation-delay: 0s;
}

.galaxy-arm--2 {
  width: 180px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.5) 0%, transparent 100%);
  top: 70px;
  left: 40%;
  transform-origin: left center;
  animation-delay: -5s;
}

.galaxy-arm--3 {
  width: 160px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.4) 0%, transparent 100%);
  top: 30px;
  left: 50%;
  transform-origin: left center;
  animation-delay: -10s;
}

/* Footer Transition */
.cosmic-footer-transition {
  position: relative;
  width: 100%;
  min-height: 150px;
  background: linear-gradient(to bottom,
    rgba(15, 10, 36, 0.98) 0%,
    rgba(0, 0, 0, 0.95) 100%);
  overflow: hidden;
}

.cosmic-footer-transition__stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cosmic-footer-transition__meteor {
  position: absolute;
  top: 30px;
  right: -100px;
  width: 200px;
  height: 2px;
  animation: meteorShower 8s linear infinite;
}

.meteor-trail {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.8) 50%, transparent 100%);
  filter: blur(1px);
}

.meteor-head {
  position: absolute;
  right: 0;
  top: -2px;
  width: 6px;
  height: 6px;
  background: var(--color-tertiary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-tertiary);
}

.cosmic-footer-transition__planets {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mini-planet {
  position: absolute;
  border-radius: 50%;
  animation: planetOrbit 12s ease-in-out infinite;
}

.planet--1 {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.7) 0%, rgba(6, 182, 212, 0.3) 100%);
  top: 40px;
  left: 20%;
  animation-delay: 0s;
}

.planet--2 {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, rgba(139, 92, 246, 0.2) 100%);
  top: 80px;
  left: 60%;
  animation-delay: -4s;
}

.planet--3 {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.5) 0%, rgba(245, 158, 11, 0.1) 100%);
  top: 60px;
  left: 80%;
  animation-delay: -8s;
}

/* Additional Cosmic Animations */
@keyframes nebulaDrift {
  0%, 100% {
    transform: translateX(0px) translateY(0px) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translateX(50px) translateY(-20px) scale(1.1);
    opacity: 0.8;
  }
  66% {
    transform: translateX(-30px) translateY(10px) scale(0.9);
    opacity: 0.4;
  }
}

@keyframes auroraFlow {
  0%, 100% {
    opacity: 0.3;
    transform: translateX(-100%);
  }
  50% {
    opacity: 0.8;
    transform: translateX(0%);
  }
}

@keyframes constellationTwinkle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

@keyframes constellationGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.3); }
}

@keyframes constellationPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes galaxyRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes galaxyArm {
  0%, 100% { transform: rotate(0deg) scaleX(1); opacity: 0.6; }
  50% { transform: rotate(5deg) scaleX(1.2); opacity: 1; }
}

@keyframes meteorShower {
  0% { transform: translateX(0px) translateY(0px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(-300px) translateY(100px); opacity: 0; }
}

@keyframes planetOrbit {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(90deg); }
  50% { transform: translateY(0px) rotate(180deg); }
  75% { transform: translateY(10px) rotate(270deg); }
}

/* =====================
   COSMIC BACKGROUNDS FOR SECTIONS
   ===================== */

/* Learning section cosmic background */
.colorful-content:has(.cards) {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.colorful-content:has(.cards)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 60% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 40%);
  pointer-events: none;
  animation: nebulaBackground 25s ease-in-out infinite;
}

/* Testimonials section cosmic background */
.colorful-content:has(.testimonials) {
  position: relative;
  overflow: hidden;
}

.colorful-content:has(.testimonials)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(6, 182, 212, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 45%);
  pointer-events: none;
  animation: nebulaBackground 30s ease-in-out infinite reverse;
}

/* Floating cosmic particles in sections */
.colorful-content:has(.cards)::after,
.colorful-content:has(.testimonials)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.25) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 10% 80%, rgba(139, 92, 246, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.3) 1px, transparent 1px);
  background-size: 200px 200px, 150px 150px, 180px 180px, 120px 120px, 160px 160px;
  background-position: 0% 0%, 20% 20%, 40% 40%, 60% 60%, 80% 80%;
  pointer-events: none;
  animation: cosmicParticles 40s ease-in-out infinite;
  opacity: 0.4;
}

/* Center the CTA button in the cards section */
.colorful-content:has(.cards) .btn {
  margin: 30px auto 0;
  display: block;
  width: auto;
  max-width: 300px;
}

@keyframes nebulaBackground {
  0%, 100% {
    transform: translateX(0px) translateY(0px) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translateX(10px) translateY(-5px) scale(1.05);
    opacity: 0.8;
  }
  66% {
    transform: translateX(-5px) translateY(10px) scale(0.95);
    opacity: 0.4;
  }
}

@keyframes cosmicParticles {
  0%, 100% {
    background-position: 0% 0%, 20% 20%, 40% 40%, 60% 60%, 80% 80%;
  }
  25% {
    background-position: 10% 10%, 30% 30%, 50% 50%, 70% 70%, 90% 90%;
  }
  50% {
    background-position: 20% 20%, 40% 40%, 60% 60%, 80% 80%, 100% 100%;
  }
  75% {
    background-position: 30% 30%, 50% 50%, 70% 70%, 90% 90%, 110% 110%;
  }
}

/* Duolingo-style subtitle font */
@media (min-width: 768px) {
  .hero__subtitle,
  .section__subtitle,
  .section__subtitle--white,
  .feature__desc {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 25px;
    line-height: 34px;
  }
}

/* ============================================
   BLOG SECTION STYLES (for index.html)
   ============================================ */

.blog-section {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-section .section__title {
  margin-bottom: 10px;
}

.blog-section .section__subtitle {
  margin-bottom: 40px;
  font-size: 20px;
  color: var(--color-wolf);
}

.blog-articles {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.blog-card__title {
  font-family: 'Nunito', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-eel);
  margin-bottom: 20px;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--color-wolf);
}

.blog-card__tag {
  background: rgba(139, 92, 246, 0.1);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.blog-card__link:hover {
  color: var(--color-primary-dark);
}

.blog-cta {
  padding: 30px 0;
  border-top: 1px solid var(--color-border);
}

.blog-cta__text {
  font-size: 18px;
  color: var(--color-wolf);
  margin: 0;
  font-style: italic;
}

/* Responsive blog section */
@media (max-width: 768px) {
  .blog-card {
    padding: 20px;
  }

  .blog-card__title {
    font-size: 20px;
  }

  .blog-card__excerpt {
    font-size: 15px;
  }

  .blog-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ============================================
   BLOG ARTICLE STYLES
   ============================================ */

.blog-article {
  padding: 80px 0 60px;
  background: var(--color-white);
  min-height: calc(100vh - var(--topbar-height) - 200px);
}

.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.article__header {
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 30px;
}

.article__title {
  font-family: 'Nunito', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-eel);
  margin-bottom: 15px;
}

.article__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.article__date {
  font-size: 16px;
  color: var(--color-wolf);
  font-weight: 500;
}

.article__content {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-eel);
}

.article__intro {
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-eel);
  margin-bottom: 30px;
  font-weight: 500;
  text-align: center;
  padding: 0 20px;
}

.article__content h2 {
  font-family: 'Nunito', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 40px 0 20px 0;
  line-height: 1.3;
}

.article__content p {
  margin-bottom: 20px;
}

.article__content em {
  font-style: italic;
  color: var(--color-wolf);
  display: block;
  margin: 25px 0;
  padding: 15px;
  background: rgba(139, 92, 246, 0.05);
  border-left: 4px solid var(--color-primary);
  font-weight: 500;
}

.article__content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.article__content li {
  margin-bottom: 10px;
  position: relative;
}

.article__content li::marker {
  color: var(--color-primary);
  font-weight: bold;
}

.article__navigation {
  margin-top: 50px;
  padding: 30px;
  background: rgba(139, 92, 246, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.article-nav__title {
  font-family: 'Nunito', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-align: center;
}

.article-nav__links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.article-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.article-nav__link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.article-nav__icon {
  fill: currentColor;
  flex-shrink: 0;
}

.article__footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.article__footer-text {
  font-size: 16px;
  color: var(--color-wolf);
  margin: 0;
}

.article__footer-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.article__footer-link:hover {
  text-decoration: underline;
}

/* Responsive design for blog */
@media (max-width: 768px) {
  .blog-article {
    padding: 60px 0 40px;
  }

  .article {
    padding: 0 15px;
  }

  .article__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .article__content {
    font-size: 16px;
  }

  .article__intro {
    font-size: 18px;
    padding: 0;
  }

  .article__content h2 {
    font-size: 24px;
    margin: 30px 0 15px 0;
  }
}

@media (max-width: 480px) {
  .article__title {
    font-size: 24px;
  }

  .article__content h2 {
    font-size: 20px;
  }

  .article__content {
    font-size: 15px;
  }

  .article__intro {
    font-size: 16px;
  }

  .article-nav__links {
    flex-direction: column;
    align-items: stretch;
  }

  .article-nav__link {
    justify-content: center;
    padding: 15px 20px;
    font-size: 15px;
  }

  .article-nav__icon {
    width: 18px;
    height: 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hill__arrow { animation: none; }
  .btn { transition: none; }
}

/* =====================
   FOOTER SOCIAL MEDIA
   ===================== */
.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer__social-link:hover {
  background: var(--color-primary);
  transform: translateY(-5px) scale(1.1);
  border-color: var(--color-primary);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
  color: var(--color-white);
}

.footer__social-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.footer__social-link:hover .footer__social-icon {
  transform: scale(1.1);
}

/* Fix for icon visibility and size */
.footer__social-link { width: 50px !important; height: 50px !important; background: rgba(255, 255, 255, 0.2) !important; flex-shrink: 0 !important; }
.footer__social-icon { width: 28px !important; height: 28px !important; display: block !important; }



/* =====================
   FOOTER SOCIAL MEDIA
   ===================== */
.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer__social-link:hover {
  background: var(--color-primary);
  transform: translateY(-5px) scale(1.1);
  border-color: var(--color-primary);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
  color: var(--color-white);
}

.footer__social-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.footer__social-link:hover .footer__social-icon {
  transform: scale(1.1);
}

