/* ========================================
   RESET
======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: #f4f7fb;
  color: #111827;
  overflow-x: hidden;
}

img {
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* ========================================
   LAYOUT
======================================== */

.container {
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
}

section {
  padding: 110px 0;
}

/* ========================================
   BUTTON
======================================== */

.button {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.button--primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.button--secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.button--secondary:hover {
  background: #2563eb;
  color: #ffffff;
}

/* ========================================
   TOPBAR
======================================== */

.topbar {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 0;
}

.topbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.topbar__socials {
  display: flex;
  gap: 12px;
}

.topbar__social {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.topbar__social:hover {
  opacity: 0.7;
}

/* ========================================
   HEADER
======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e2e8f0;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #111827;
}

.header__logo-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header__logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__logo-title {
  font-size: 1.35rem;
}

.header__logo-subtitle {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.85rem;
}

.header__nav-list {
  display: flex;
  gap: 35px;
  list-style: none;
}

.header__nav-link {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  transition: color 0.3s ease;
}

.header__nav-link:hover {
  color: #2563eb;
}

/* ========================================
   SECTION HEADER
======================================== */

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header__label {
  color: #2563eb;
  font-weight: 700;
}

.section-header__title {
  font-size: 3rem;
  line-height: 1.2;
  margin-top: 10px;
}

/* ========================================
   HERO
======================================== */

.hero {
  position: relative;
  padding: 120px 0;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.hero__badge i {
  color: #2563eb;
}

.hero__title {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero__description {
  color: #64748b;
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 35px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  gap: 25px;
}

.hero__stat {
  background: #ffffff;
  padding: 24px;
  border-radius: 24px;
  min-width: 140px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.hero__stat-value {
  color: #2563eb;
  font-size: 2rem;
  margin-bottom: 3px;
}

.hero__stat-label {
  color: #64748b;
  font-size: 0.9rem;
}

.hero__image-wrapper {
  position: relative;
}

.hero__image {
  width: 100%;
  border-radius: 35px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

.hero__floating-card {
  position: absolute;
  background: #ffffff;
  padding: 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.hero__floating-card i {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__floating-card h4 {
  margin-bottom: 3px;
}

.hero__floating-card span {
  color: #64748b;
  font-size: 0.8rem;
}

.hero__floating-card--one {
  left: -40px;
  bottom: 60px;
}

.hero__floating-card--two {
  right: -30px;
  top: 60px;
}

/* ========================================
   ABOUT
======================================== */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.about__right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about__card {
  background: #ffffff;
  border-radius: 32px;
  padding: 35px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.about__card--main {
  height: 100%;
}

.about__image {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
  margin: 0 auto 25px;
}

.about__card--small {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about__card-icon {
  flex-shrink: 0;
  font-size: 2rem;
  color: #2563eb;
}

.about__card-title {
  margin-bottom: 12px;
}

.about__card-text {
  color: #64748b;
  line-height: 1.7;
}

.about__card--main .about__card-text + .about__card-text {
  margin-top: 15px;
}

/* ========================================
   COURSES
======================================== */

.courses__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.course-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 32px;
  padding: 35px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.course-card--featured {
  border: 2px solid #2563eb;
}

.course-card--premium {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #ffffff;
}

.course-card__label {
  position: absolute;
  top: 20px;
  right: -40px;
  background: #2563eb;
  color: #ffffff;
  padding: 10px 45px;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: 700;
}

.course-card__icon {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 20px;
}

.course-card__title {
  margin-bottom: 10px;
}

.course-card__price {
  font-size: 2.3rem;
  color: #2563eb;
  font-weight: 800;
  margin: 20px 0;
}

.course-card__list {
  list-style: none;
  margin: 25px 0;
}

.course-card__item {
  margin-bottom: 14px;
}

.course-card__item i {
  color: #2563eb;
  margin-right: 10px;
}

.course-card--premium .course-card__price,
.course-card--premium .course-card__item i {
  color: #ffffff;
}

/* ========================================
   MATERIALS
======================================== */

.materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.material-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.material-card__icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #dbeafe;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.material-card__icon i {
  font-size: 2rem;
  color: #2563eb;
}

.material-card__title {
  margin-bottom: 12px;
}

.material-card__text {
  color: #64748b;
  line-height: 1.7;
}

.material-card__badge {
  display: inline-block;
  margin-top: 20px;
  background: #2563eb;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ========================================
   CONTACT
======================================== */

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact__badge {
  display: inline-block;
  background: #ffffff;
  color: #2563eb;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 25px;
}

.contact__title {
  font-size: 3rem;
  margin-bottom: 15px;
}

.contact__description {
  color: #64748b;
  line-height: 1.8;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.contact__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact__item > i {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__item h4 {
  margin-bottom: 5px;
}

.contact__item p {
  color: #64748b;
}

.contact-form {
  background: #ffffff;
  border-radius: 32px;
  padding: 35px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.contact-form__input {
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 18px;
  outline: none;
}

.contact-form__input:focus {
  border-color: #2563eb;
}

.contact-form__textarea {
  resize: vertical;
}

.contact-form .button {
  border: none;
  width: 100%;
  cursor: pointer;
}

/* ========================================
   FOOTER
======================================== */

.footer {
  background: #0f172a;
  color: #ffffff;
  padding-top: 100px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 25px;
}

.footer__logo-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  overflow: hidden;
}

.footer__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__logo span {
  display: block;
  color: #94a3b8;
  margin-top: 2px;
  font-size: 0.85rem;
}

.footer__description {
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 350px;
}

.footer__title {
  margin-bottom: 20px;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  color: #cbd5e1;
  margin-bottom: 14px;
}

.footer__link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #ffffff;
}

.footer__socials {
  display: flex;
  gap: 14px;
}

.footer__social {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer__social:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 28px 0;
  margin-top: 60px;
  color: #94a3b8;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 992px) {
  .hero__container,
  .about__grid,
  .courses__grid,
  .materials__grid,
  .contact__container,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .header__nav {
    display: none;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__stats,
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__stat {
    width: 100%;
  }

  .hero__floating-card {
    position: static;
    margin-top: 20px;
  }

  .hero__image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 80px 0;
  }

  .container {
    width: 92%;
  }

  .topbar__container,
  .topbar__left {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__container {
    gap: 12px;
  }

  .header__container {
    padding: 15px 0;
  }

  .header__logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .header__logo-title {
    font-size: 1.05rem;
  }

  .header__logo-subtitle {
    font-size: 0.7rem;
  }

  .hero {
    padding: 80px 0;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .button {
    width: 100%;
    text-align: center;
  }

  .section-header__title {
    font-size: 2.2rem;
  }

  .about__card,
  .course-card,
  .material-card,
  .contact-form {
    padding: 25px;
    border-radius: 24px;
  }

  .about__card--small {
    flex-direction: column;
  }

  .about__image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .contact__title {
    font-size: 2.2rem;
  }

  .footer {
    padding-top: 70px;
  }
}
