/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #275BD7;
  --bg-dark: #1247D8;
  --blue-mid: #3071FF;
  --blue-light: #4271E5;
  --blue-card: #2051D7;
  --white: #ffffff;
  --white-80: rgba(255,255,255,0.80);
  --white-40: rgba(255,255,255,0.40);
  --white-10: rgba(255,255,255,0.10);
  --black: #000000;
  --yellow: #FED869;
  --yellow-text: #EF7C54;
  --green-wa: #46E763;
  --radius: 0.625rem;
  --container-max: 1280px;
  --font: 'Fredoka', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, textarea { font-family: var(--font); border: 0; outline: 0; }

p{
  line-height: 1.5;
}
/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 90%;
}

.section { padding: 5rem 0; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font);
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--white);
  color: var(--blue-light);
}
.btn-primary:hover { background: rgba(255,255,255,0.85); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-40);
}
.btn-ghost:hover { background: var(--white-10); }
.btn-blue {
  background: var(--blue-mid);
  color: var(--white);
  box-shadow: 0px 6px 0px 0px #0033a4;
}
.btn-blue:hover { background: rgba(255,255,255,0.3); color: var(--blue-light); }
.btn-yellow {
  background: var(--yellow);
  color: var(--yellow-text);
}
.btn-yellow:hover { background: rgba(254,216,105,0.5); }
.btn-pill {
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 0.875rem;
  transition: background 0.2s, color 0.2s;
  background: transparent;
}
.btn-pill:hover { background: var(--white); color: var(--blue-light); }
.btn-pill.active { background: var(--white); color: var(--blue-light); }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 500; }
h2.subtitle { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 500; color: var(--white); }
.text-muted { color: var(--white-80); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.font-medium { font-weight: 500; }

/* ===== GRID HELPERS ===== */
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-20 { margin-top: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }

/* ===== HEADER ===== */
.header { position: relative; z-index: 100; }
.header-inner {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
}
.logo { display: flex; align-items: center; gap: 1rem; }
.logo img { width: auto; }
.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  padding: 0.375rem 0.875rem;
  color: var(--white-80);
  transition: color 0.2s;
  font-weight: 500;
}
.nav a:hover, .nav a.active { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(39, 92, 215, 0.75);
  backdrop-filter: blur(10px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.5rem;
  color: var(--white-80);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

.header-btn-profile{
  position: relative;
}

.header-profile-menu{
  position: absolute;
  top: 120%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--white);
  border-radius: 0.5rem;
  padding: 0.75rem;
  pointer-events: none;
  transition: all 0.4s ease;
  min-width: 150px;
  color: #000000;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  transform: translateY(-10%);
  opacity: 0;
  transition: all 0.4s ease;
}

.header-profile-menu.open{
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
}


.header-profile-menu a{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  color: var(--black);
  padding: .25rem .25rem;
  transition: all 0.4s ease;
}

.header-profile-menu a svg{
  width: 1rem;
  height: 1rem;
}

.header-profile-menu a:hover{
  color: var(--bg);
}


.header-profile-btn{
  padding: 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
     transition: all 0.4s ease;
}

.header-profile-btn:hover{
  opacity: 0.8;
}

.header-profile-btn svg{
  width: 1.25rem;
  height: 1.25rem;
}

.header-profile-btn span,.header-profile-btn svg{
  color: white;
}

.mobile-menu a:last-of-type{
  color: var(--black);
}

/* ===== HERO ===== */
.hero {
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-content { flex: 1; max-width: 42rem; }
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.25rem; color: var(--white-80); margin-bottom: 2.5rem; line-height: 1.5; }

/* Decorative shapes */
.shape {
  position: absolute;
  pointer-events: none;
}
.shape-circle {
  width: 3.5rem; height: 3.5rem;
  background: var(--white);
  border-radius: 50%;
  top: 50%; left: 0;
  transform: translate(-50%, -50%);
}
.shape-tri-sm {
  width: 4rem; height: 4rem;
  background: var(--white-10);
  left: 50%; top: 25%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.shape-hex-white {
  width: 4rem; height: 4rem;
  background: var(--white);
  left: 50%; bottom: 5rem;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.shape-hex-sm {
  width: 5rem; height: 5rem;
  background: var(--white-10);
  left: 2.5rem; bottom: 2.5rem;
  transform: rotate(12deg);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* ===== COMING SOON OVERLAY ===== */
.coming-overlay {
  position: absolute;
  inset: 0;
  background: rgba(39,91,215,0.5);
  backdrop-filter: blur(8px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coming-overlay h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}
.coming-overlay h2 img {
  position: absolute;
  height: 3.5rem;
  bottom: -1rem;
  right: 0;
  display: inline;
}

/* ===== COURSE CARD ===== */
.course-card {
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--blue-light);
  position: relative;
}
.course-card figure { width: 100%; position: relative; margin-bottom: 1rem; }
.course-card figure img {
  width: 100%; height: 11rem;
  border-radius: 0.75rem;
  object-fit: cover;
}
.course-badge {
  display: inline-block;
  border-radius: 2rem;
  padding: 0.375rem 0.75rem;
  background: var(--white);
  color: var(--blue-light);
  font-size: 0.75rem;
  position: absolute;
  top: 0.625rem; right: 0.625rem;
  z-index: 2;
}
.course-play-btn {
  width: 3.5rem; height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: absolute;
  bottom: 0; right: 1.5rem;
  background: var(--white);
  color: var(--blue-light);
  transform: translateY(50%);
  transition: box-shadow 0.2s;
}
.course-play-btn:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.course-card-body { padding: 1.25rem 0; }
.course-card-body h2 { font-size: 1rem; font-weight: 500; margin-bottom: 0.25rem; }
.course-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white-80);
  font-size: 0.875rem;
}
.course-meta span { color: var(--white-40); }

/* ===== TOPIC CARD ===== */
.topic-card {
  padding: 2rem;
  border-radius: 0.75rem;
  background: var(--blue-card);
  text-align: center;
}
.topic-icon {
  width: 5rem; height: 5rem;
  border-radius: 50%;
  background: var(--blue-light);
  border: 1px solid #6B8DDD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.topic-icon svg { width: 2rem; height: 2rem; }
.topic-card h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; }
.topic-card p { color: var(--white-80); }
.topic-card .btn-primary { margin-top: 1.5rem; width: 100%; }

/* ===== COMMENT CARD ===== */
.comment-card {
  background: var(--white);
  color: var(--black);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 6px 0 0 var(--black);
}
.comment-card .name { font-weight: 500; font-size: 1.25rem; }
.comment-card .username { font-size: 0.875rem; color: rgba(0,0,0,0.5); }
.comment-card .desc { color: rgba(0,0,0,0.5); margin-top: 1rem; }
.stars { display: flex; align-items: center; gap: 0.25rem; margin-top: 1rem; }
.star { width: 1.25rem; height: 1.25rem; }
.star.filled { fill: #facc15; color: #facc15; }
.star.empty { fill: #e5e7eb; color: #e5e7eb; }

/* ===== SERVICE CARD ===== */
.service-card {
  padding: 2rem;
  border-radius: 0.75rem;
  background: rgba(32,81,215,0.8);
}
.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-bottom: 0.5rem;
}
.service-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 1.5rem; height: 1px;
  background: var(--white-80);
}
.service-num { font-weight: 500; font-size: 1.25rem; }
.service-icon {
  width: 4rem; height: 4rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--white-40);
}
.service-card h3 { font-size: 1.5rem; font-weight: 500; margin: 2rem 0 1rem; }
.service-card p { color: var(--white-80); }

/* ===== PLANS ===== */
.plans-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: 5rem auto 0;
}
.plan-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plan-card.white { background: var(--white); color: var(--black); box-shadow: -7px 8px 0 0 var(--black); }
.plan-card.blue-mid { background: var(--blue-mid); color: var(--white); box-shadow: -7px 8px 0 0 var(--black); }
.plan-card.blue-dark { background: var(--bg-dark); color: var(--white); box-shadow: -7px 8px 0 0 var(--black); }
.plan-price { font-size: 3rem; font-weight: 500; margin: 1rem 0; }
.plan-price span { font-size: 1.125rem; }
.plan-features { list-style: none; font-size: 0.875rem; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-features.dark li { color: #6b7280; }
.plan-features li { display: flex; align-items: center; gap: 0.5rem; }
.plan-features li svg { width: 1rem; min-width: 1rem; }
.plan-btn {
  width: 100%; padding: 0.875rem;
  border-radius: 0.5rem;
  margin-top: 3rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.plan-btn.b-blue { background: #275BD7; color: var(--white); }
.plan-btn.b-blue:hover { background: var(--white); color: var(--blue-light); }
.plan-btn.b-white { background: var(--white); color: #275BD7; }
.plan-btn.b-white:hover { background: rgba(255,255,255,0.9); }
.plan-btn.b-black { background: var(--black); color: var(--white); }
.plan-btn.b-black:hover { background: var(--white); color: var(--blue-light); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; align-items: start; }
.contact-info ul { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; align-items: start; }
.contact-info li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white-80);
  transition: color 0.2s;
}
.contact-info li a:hover { color: var(--white); }
.contact-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--white-40);
  background: var(--white-10);
  flex-shrink: 0;
  transition: background 0.2s;
}
.contact-info li a:hover .contact-icon { background: rgba(255,255,255,0.15); }
.contact-form-wrap {
  padding: 2rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: -6px 8px 0 0 var(--black);
  color: var(--black);
  max-width: 36rem;
}
.contact-form-wrap h2 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.25rem; color: var(--black); }
.contact-form-wrap p { color: #6b7280; font-size: 0.875rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.form-group input,
.form-group textarea {
  border: 1px solid rgba(0,0,0,0.2);
  background: transparent;
  border-radius: 0.5rem;
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  color: var(--black);
  transition: border 0.3s, box-shadow 0.3s;
}
.form-group textarea {
  height: auto;
  padding: 1rem;
  resize: none;
  min-height: 100px;
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(0,0,0,0.3);
  font-size: 0.875rem;
  font-weight: 500;
}
.form-group input:hover, .form-group textarea:hover,
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(66,113,229,0.25);
}

/* ===== FOOTER ===== */
footer {
  background: var(--blue-light);
  border-top: 0.875rem solid #3060E3;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 0;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--white-80);
}
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { transition: color 0.2s; }
.footer-nav a:hover, .footer-nav a.active { color: var(--white); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.footer-social a:hover { transform: scale(1.1); }
.footer-bottom { padding: 2.5rem 0; }
.footer-bottom p { color: var(--white-80); }

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  right: 1.25rem; bottom: 1.25rem;
  background: var(--green-wa);
  display: flex; align-items: center; justify-content: center;
  z-index: 50;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.whatsapp-btn:hover { background: rgba(70,231,99,0.9); transform: translateY(-4px); }
.whatsapp-btn svg { width: 1.5rem; height: 1.5rem; color: var(--white); fill: var(--white); }

/* ===== AUTH LAYOUT ===== */
.auth-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-left { padding: 2rem; display: flex; align-items: center; justify-content: center; }
.auth-right { background: var(--blue-light); display: flex; align-items: center; justify-content: center; }
.auth-right img { width: 13rem; }
.auth-logo { position: absolute; top: 2rem; left: 2rem; }
.auth-form { max-width: 460px; width: 100%; }
.auth-form h2 { font-size: 2.5rem; font-weight: 500; }
.auth-form p { color: var(--white-80); font-size: 0.875rem; margin-top: 0.25rem; margin-bottom: 1.5rem; }
.auth-form input {
  width: 100%;
  height: 3rem;
  background: var(--white);
  border-radius: 0.5rem;
  color: #374151;
  padding: 0 1rem;
  font-size: 0.875rem;
  border: none;
  margin-top: 0.5rem;
}
.auth-form label { font-size: 0.875rem; display: block; }
.auth-form .field { margin-bottom: 1rem; }
.auth-forgot { font-size: 0.875rem; color: var(--white-80); display: block; text-align: right; margin-top: 1rem; }
.auth-forgot:hover { text-decoration: underline; }
.auth-submit {
  width: 100%;
  padding: 1rem;
  font-weight: 500;
  margin-top: 2rem;
  border-radius: 0.5rem;
  background: var(--blue-mid);
  box-shadow: 0px 6px 0px 0px #0033a4;
  color: var(--white);
  font-size: 0.875rem;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.auth-submit:hover { background: rgba(255,255,255,0.3); color: var(--blue-light); }
.auth-link { font-size: 0.875rem; color: var(--white-80); text-align: center; margin-top: 1.5rem; }
.auth-link a { color: var(--white); }
.auth-link a:hover { text-decoration: underline; }

.auth-form p.auth-link-forgot{
  margin-top: 2rem;
  text-align: center;
}

.auth-link-forgot a{
  color: var(--white);
}
.auth-link-forgot a:hover{
  text-decoration: underline;
}

/* ===== COURSES PAGE ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  color: var(--white-80);
  font-weight: 500;
}
.page-btn {
  width: 3.75rem; height: 3.75rem;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  background: transparent;
  color: var(--white-80);
  border: none;
  font-family: var(--font);
}
.page-btn:hover { background: var(--white); color: var(--blue-light); }
.page-btn.active { background: var(--blue-light); color: var(--white); }
.page-arrow { width: 3.75rem; height: 3.75rem; display: grid; place-items: center; cursor: pointer; background: none; border: none; color: var(--white-80); }
.page-arrow:hover { color: var(--white); }
.filter-pills { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* ===== PRODUCTS PAGE ===== */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; margin-top: 2.5rem; }
.shop-sidebar { border-right: 1px solid var(--white-40); }
.shop-sidebar h4 { font-weight: 500; padding: 0 2rem; }
.shop-sidebar nav { margin-top: 1rem; }
.shop-sidebar nav a {
  display: block;
  padding: 0.75rem 2rem;
  color: var(--white-80);
  transition: color 0.2s;
  border-left: 4px solid transparent;
}
.shop-sidebar nav a:hover, .shop-sidebar nav a.active {
  color: var(--white);
  border-left-color: var(--white);
}
.shop-content { padding: 2rem; }
.shop-meta {
  display: flex;
  justify-content: space-between;
  color: var(--white-80);
  margin-bottom: 2rem;
}
.shop-meta span { color: var(--white); }
.shop-search { display: flex; gap: 1rem; max-width: 600px; margin: 3rem auto 0; }
.shop-search input {
  flex: 1; height: 3rem;
  background: var(--white); border-radius: 0.5rem;
  color: #374151; padding: 0 1rem;
  font-size: 0.875rem; border: none;
}
.product-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--white);
  box-shadow: 0 7px 0 0 #00268f;
  position: relative;
}
.product-card img { display: block; margin: 0 auto 1rem; max-height: 120px; object-fit: contain; }
.product-brand { color: #9ca3af; font-size: 0.875rem; }
.product-price { color: #275BD7; font-weight: 600; font-size: 1.75rem; }
.product-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.product-buy {
  background: #275BD7; box-shadow: 0 4px 0 0 #002a8f;
  color: var(--white); border-radius: 0.5rem;
  padding: 0 1.5rem; height: 3rem; flex: 1;
  font-size: 0.875rem; font-family: var(--font);
  cursor: pointer; border: none;
  transition: background 0.2s, color 0.2s;
}
.product-buy:hover { background: var(--white); color: var(--blue-light); }
.product-add {
  background: #1CB0F7; box-shadow: 0 4px 0 0 #005d8a;
  width: 3rem; height: 3rem; min-width: 3rem;
  border-radius: 0.5rem; display: grid;
  place-items: center; border: none; cursor: pointer;
}
.product-add svg { color: var(--white); width: 1.25rem; }

/* ===== CART ===== */
.cart-wrap { max-width: 1100px; }
.cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.cart-item article {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  background: var(--blue-light);
  padding: 1.5rem;
  border-radius: 0.75rem;
}
.cart-item figure { width: 380px; aspect-ratio: 1; flex-shrink: 0; }
.cart-item figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.5rem; }
.cart-item-body {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
}
.cart-item-info { display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; height: 100%; }
.cart-item h3 { font-size: 1.5rem; font-weight: 500; }
.cart-item p { color: var(--white-80); }
.cart-item-actions { display: flex; gap: 1rem; align-items: center; }
.qty-control { display: flex; background: rgba(86,130,237,1); border-radius: 0.5rem; overflow: hidden; }
.qty-btn {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  cursor: pointer; background: none; border: none;
  color: var(--white); transition: background 0.2s;
}
.qty-btn:hover { background: #5d8bff; }
.qty-num { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: var(--white); }
.cart-price { font-weight: 500; font-size: 1.875rem; color: var(--white); }
.cart-trash {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--white);
  display: grid; place-items: center;
  border: none; cursor: pointer;
}
.cart-trash svg { color: var(--black); width: 1rem; }
.cart-checkbox { width: 1.25rem; height: 1.25rem; cursor: pointer; accent-color: var(--blue-light); }
.cart-summary { margin-top: 3rem; border-top: 1px solid var(--white-40); padding-top: 1.5rem; }
.cart-summary-row {
  display: flex; justify-content: space-between;
  align-items: center;
}
.cart-summary-row.subtotal { font-size: 1.25rem; color: var(--white-80); margin-bottom: 0.5rem; }
.cart-summary-row.total { font-size: 1.5rem; color: var(--white); }

/* ===== COURSE VIEW ===== */
.course-view { display: grid; grid-template-columns: 300px 1fr; min-height: 100vh; }
.course-aside { padding: 1.5rem; background: var(--blue-light); }
.course-aside-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--white-40);
}
.course-aside-header figure {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 3px solid var(--white);
  overflow: hidden;
}
.course-aside-header figure img { width: 100%; height: 100%; object-fit: cover; }
.course-aside-header p { font-weight: 500; }
.course-aside-header span { font-size: 0.875rem; color: var(--white-80); display: flex; align-items: center; gap: 0.5rem; }
.course-modules { margin-top: 1.5rem; }
.course-modules > p { color: var(--white-80); margin-bottom: 1rem; }
.module-group { margin-bottom: 0.5rem; }
.module-title {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; padding: 0.5rem 0;
}
.module-title svg { width: 1rem; transition: transform 0.3s; }
.module-title.open svg { transform: rotate(180deg); }
.module-items { padding-left: 1rem; margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.75rem; display: none; }
.module-items.open { display: flex; }
.module-item { display: flex; align-items: center; gap: 0.5rem; }
.module-check {
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  border: 1px solid var(--white);
  display: grid; place-items: center;
  background: transparent;
  cursor: pointer;
}
.module-check.checked { background: var(--white); }
.module-check svg { width: 0.75rem; stroke: var(--black); }
.module-item p { font-size: 0.875rem; }

.course-main { padding: 1rem 2.5rem; }
.course-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--white-80); }
.course-breadcrumb span { color: var(--white); }
.course-title-row { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.course-back {
  width: 2rem; height: 2rem;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 0.25rem;
  display: grid; place-items: center;
  color: var(--white-80);
  cursor: pointer; background: none;
}
.course-video { margin-top: 1.5rem; position: relative; width: max-content; }
.course-video img { border-radius: 0.5rem; max-width: 700px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 5rem; height: 5rem;
  border-radius: 50%;
  background: var(--bg);
  display: grid; place-items: center;
  border: none; cursor: pointer;
}
.video-play svg { fill: var(--white); width: 1.5rem; }
.course-tabs { display: flex; margin-top: 1rem; }
.tab-btn {
  padding: 1rem 2rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s;
  background: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
}
.tab-btn:hover { border-bottom-color: var(--white); }
.tab-btn.active { border-bottom-color: var(--white); }
.course-info-box {
  background: var(--blue-card);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-top: 2rem;
  max-width: 48rem;
}
.course-info-box h3 { font-size: 1.25rem; font-weight: 500; }
.course-info-box p { color: var(--white-80); margin-top: 0.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-right { display: none; }
  .course-view { grid-template-columns: 1fr; }
  .course-aside { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .cart-item article { flex-direction: column; }
  .cart-item figure { width: 100%; }
  .cart-item-body { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { flex-direction: column; align-items: center; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .coming-overlay h2 { font-size: 1.25rem; white-space: normal; text-align: center; padding: 0 1rem; }
}
@media (min-width: 769px) {
  .footer-inner { flex-direction: row; }
}

@media screen and (width <= 768px) {
  .mobile-menu{
    display: flex;
  }
}

.confirmed-body{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}


.confirmed{
  padding: 2rem 1.75rem;
  border-radius: 0.5rem;
  background: white;
  max-width: 500px;
  width: 100%;
  color: black;
  text-align: center;
}

.confirmed-circle{
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--blue-mid);
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  margin: 0 auto 2em;
  color: white;
}

.confirmed-circle svg{
  width: 2rem;
  height: 2rem;
}

.confirmed-title{
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--blue-mid);
}

.confirmed-text{
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 2.5rem;
}

.confirmed-text-logo{
  font-weight: 500;
  color: var(--bg);
}

.confirmed-btn{
  width: 100%;
  display: block;
  padding: 1rem;
  font-weight: 500;
  margin-top: 2rem;
  border-radius: 0.5rem;
  background: var(--blue-mid);
  box-shadow: 0px 6px 0px 0px #0033a4;
  color: var(--white);
  font-size: 0.875rem;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.confirmed-btn:hover { background: rgba(255,255,255,0.3); color: var(--blue-light); } 

.auth-btn-loading{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: all 0.4s ease;
}

.auth-btn-loading svg{
  width: 1.25rem;
  animation : rotate 4s linear infinite;
}

.auth-btn-loading.loading{
  pointer-events: none;
  opacity: 0.9;
}

.reset-password-username{
  color: white;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.plans{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.contact-btn{
  width: 100%;
  margin-top: 1rem;
}

.header-profile-btn-mobile{
  display: none;
}
@media screen and (width <= 768px) {
  .plans{
    flex-direction: column;
  }
}