.archive-footer-cta {
    background: rgba(16, 28, 89, 0.5);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 100px;
}

.archive-footer-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 56px;
    display: flex;
    gap: 48px;
    align-items: stretch;
}

.archive-footer-lead {
    flex: 1.25;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}

.archive-footer-lead__label {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.archive-footer-lead__description {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.archive-footer-lead__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width:150px;
    padding: 13px 0px;
    border-radius: 32px;
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: 3px solid #fff;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 28px rgba(46, 40, 217, 0.3);
}

.cta-btn i {
    font-size: 18px;
}

.cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 0px;
    border-radius: 22px;
    border: 1px solid rgba(36, 36, 56, 0.18);
    justify-content: center;
    color: #242438;
    width:150px;
    font-size: 15px;
    font-weight: 600;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
    text-decoration: none;
    transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.cta-contact:hover {
    transform: translateY(-2px);
    border-color: rgba(36, 36, 56, 0.25);
    background: #f7f7ff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
}

.cta-contact i {
    font-size: 18px;
    color: #7c3aed;
}

.archive-footer-links {
    flex: 1;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 32px;
}

.archive-footer-links__column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.archive-footer-links__column .column-title {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.archive-footer-links__column a {
    font-size: 15px;
    color: white;
    font-size:18px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.archive-footer-links__column a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .archive-footer-inner {
        flex-direction: column;
        padding: 40px 32px;
    }

    .archive-footer-lead {
        width: 100%;
    }

    .archive-footer-links {
        width: 100%;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .archive-footer-cta {
        padding: 64px 0 48px;
    }

    .archive-footer-inner {
        padding: 32px 24px;
    }

    .archive-footer-lead {
        padding: 24px 0;
        gap: 24px;
    }

    .archive-footer-lead__actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .archive-footer-links {
        grid-template-columns: 1fr;
    }
}
@charset "UTF-8";
#wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
}

.main_banner::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(to right, #000, transparent);
}

@keyframes slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-4096px, 0, 0);
  }
}
.main_banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}
.main_banner .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../../common//img/hero-banner-updated.png) no-repeat;
  background-size: cover;
  animation: slide 60s linear infinite;
}
.main_banner .login {
  z-index: 15;
  position: absolute;
  top: 50px;
  right: 50px;
}
@media (max-width: 1000px) {
  .main_banner .login {
    top: 25px;
    right: 10px;
  }
}
.main_banner .login button {
  background-color: rgba(255, 255, 255, 0.6);
  width: 145px;
  height: 50px;
  border-radius: 50px;
  font-weight: 400;
  transition: all 0.3s ease;
}
@media (max-width: 1000px) {
  .main_banner .login button {
    width: 130px;
    height: 43px;
  }
}
@media (max-width: 400px) {
  .main_banner .login button {
    width: 100px;
    height: 35px;
  }
}
.main_banner .login button i {
  margin-right: 5px;
}
.main_banner .login button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.main_banner .txt_wrap {
  z-index: 10;
  position: relative;
  color: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 1000px) {
  .main_banner .txt_wrap {
    width: 100%;
  }
}
@media (max-width: 1400px) {
  .main_banner .txt_wrap {
    margin: 0 15px;
  }
}
.main_banner .txt_wrap .top {
  font-size: 30px;
  line-height: 45px;
}
@media (max-width: 1000px) {
  .main_banner .txt_wrap .top {
    font-size: 20px;
    line-height: 30px;
  }
}
@media (max-width: 400px) {
  .main_banner .txt_wrap .top {
    font-size: 18px;
    line-height: 25px;
  }
}
.main_banner .txt_wrap .logo {
  width: 90%;
}
@media (max-width: 1700px) {
  .main_banner .txt_wrap .logo {
    width: 50%;
  }
}
.main_banner .txt_wrap .logo img {
  width: 100%;
}
.main_banner .txt_wrap .bottom {
  font-size: 40px;
  line-height: 60px;
  margin-top: 50px;
  display: block;
  text-align: left;
}
@media (max-width: 1700px) {
  .main_banner .txt_wrap .bottom {
    font-size: 30px;
    line-height: 40px;
    margin-top: 25px;
  }
}
@media (max-width: 1000px) {
  .main_banner .txt_wrap .bottom {
    font-size: 20px;
    line-height: 30px;
    margin-top: 30px;
  }
}
@media (max-width: 400px) {
  .main_banner .txt_wrap .bottom {
    font-size: 18px;
    line-height: 25px;
    margin-top: 20px;
  }
}
.main_banner .txt_wrap .txt {
  margin: 50px 0;
  font-size: 40px;
  line-height: 60px;
  font-weight: 500;
}
@media (max-width: 1700px) {
  .main_banner .txt_wrap .txt {
    font-size: 30px;
    line-height: 45px;
    margin: 25px 0;
  }
}
@media (max-width: 1000px) {
  .main_banner .txt_wrap .txt {
    font-size: 20px;
    line-height: 30px;
    margin: 30px 0;
  }
}
@media (max-width: 400px) {
  .main_banner .txt_wrap .txt {
    font-size: 18px;
  }
}
.main_banner .txt_wrap .button {
  margin-bottom: 50px;
}
@media (max-width: 1000px) {
  .main_banner .txt_wrap .button {
    display: flex;
    justify-content: space-evenly;
  }
}
.main_banner .txt_wrap .button button {
  width: 300px;
  height: 60px;
  background-color: #4B99FF;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
}
@media (max-width: 1000px) {
  .main_banner .txt_wrap .button button {
    width: 50%;
    height: 50px;
    font-size: 16px;
  }
}
@media (max-width: 400px) {
  .main_banner .txt_wrap .button button {
    height: 40px;
    font-size: 14px;
  }
}
.main_banner .txt_wrap .button button:hover {
  background-color: #5903b3;
}
.main_banner .txt_wrap .button button.content {
  margin-left: 25px;
}

.main_con {
  margin: 80px 0;
  overflow: hidden;
}
@media (max-width: 1000px) {
  .main_con {
    margin: 40px 0;
  }
}
.main_con .title {
  text-align: center;
  margin: 50px 0;
}
@media (max-width: 1000px) {
  .main_con .title {
    margin: 25px 0;
  }
}
.main_con .title h1 {
  font-size: 60px;
  line-height: 100px;
  font-weight: bold;
}
@media (max-width: 1000px) {
  .main_con .title h1 {
    font-size: 32px;
    line-height: 50px;
    padding: 0 10px;
  }
}
@media (max-width: 400px) {
  .main_con .title h1 {
    font-size: 24px;
    line-height: 40px;
  }
}
.main_con .title h1 span {
  background: linear-gradient(to right, #5f42dc, #0a98a1);
  background-clip: text;
  -webkit-background-clip: text;
  color: rgba(0, 0, 0, 0);
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.main_con .title p {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}
@media (max-width: 1000px) {
  .main_con .title p {
    font-size: 16px;
    line-height: 24px;
  }
}
@media (max-width: 400px) {
  .main_con .title p {
    font-size: 14px;
  }
}

@media (max-width: 1000px) {
  .main_con.con1 .title h1 {
    font-size: 40px;
  }
}
@media (max-width: 1000px) and (max-width: 400px) {
  .main_con.con1 .title h1 {
    font-size: 35px;
    margin-bottom: 15px;
  }
}
.main_con.con1 ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 1000px) {
  .main_con.con1 ul {
    display: block;
  }
}
.main_con.con1 ul li .card {
  border-radius: 30px;
  background-color: #e3f0f4;
  display: flex;
  align-items: center;
  padding: 30px 50px;
  transition: all 0.3s ease;
  transform: translateY(0px);
}
@media (max-width: 1000px) {
  .main_con.con1 ul li .card {
    margin-bottom: 20px;
    padding: 20px !important;
    justify-content: unset;
  }
}
.main_con.con1 ul li .card .img {
  margin-right: 50px;
}
.main_con.con1 ul li .card .img img {
  width: 100px;
}
.main_con.con1 ul li .card strong {
  font-size: 22px;
  color: #6114b2;
  margin-bottom: 15px;
  display: block;
}
@media (max-width: 1000px) {
  .main_con.con1 ul li .card strong {
    font-size: 20px;
  }
}
@media (max-width: 400px) {
  .main_con.con1 ul li .card strong {
    font-size: 18px;
  }
}
.main_con.con1 ul li .card p {
  font-weight: 500;
}
.main_con.con1 ul li .card:hover {
  transform: translateY(-10px);
}
.main_con.con1 ul li:last-child {
  grid-column: span 2;
}
.main_con.con1 ul li:last-child .card {
  padding: 30px 150px;
  justify-content: space-evenly;
}
.main_con.con1 .bottom {
  font-size: 24px;
  font-weight: bold;
  margin-top: 50px;
  padding: 25px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
}
@media (max-width: 1000px) {
  .main_con.con1 .bottom {
    font-size: 18px;
    line-height: 28px;
    margin-top: 30px;
    padding: 20px;
  }
}
@media (max-width: 400px) {
  .main_con.con1 .bottom {
    font-size: 14px;
    padding: 15px;
  }
}

.main_con.con2 {
  background: linear-gradient(to top, #2f0a54, #4B99FF);
  color: #fff;
}
.main_con.con2 #wrap {
  padding: 5px 0;
}
@media (max-width: 1000px) {
  .main_con.con2 #wrap {
    padding: 10px;
  }
}
.main_con.con2 h1 {
  color: #fff;
}
.main_con.con2 ul {
  margin-bottom: 100px;
}
@media (max-width: 400px) {
  .main_con.con2 ul {
    margin-bottom: 70px;
  }
}
.main_con.con2 ul li {
  background-color: #030000;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 30px;
}
@media (max-width: 1000px) {
  .main_con.con2 ul li {
    padding: 30px;
  }
}
@media (max-width: 400px) {
  .main_con.con2 ul li {
    padding: 20px;
  }
}
.main_con.con2 ul li .left {
  position: relative;
  padding-left: 70px;
}
@media (max-width: 1000px) {
  .main_con.con2 ul li .left {
    padding-top: 35px;
    padding-left: 0px;
  }
}
@media (max-width: 400px) {
  .main_con.con2 ul li .left {
    padding-top: 23px;
  }
}
.main_con.con2 ul li .left span {
  color: #ffb800;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}
@media (max-width: 1000px) {
  .main_con.con2 ul li .left span {
    font-size: 25px;
  }
}
@media (max-width: 400px) {
  .main_con.con2 ul li .left span {
    font-size: 20px;
  }
}
.main_con.con2 ul li .left strong {
  font-size: 30px;
}
@media (max-width: 1000px) {
  .main_con.con2 ul li .left strong {
    font-size: 22px;
    line-height: 32px;
  }
}
@media (max-width: 400px) {
  .main_con.con2 ul li .left strong {
    font-size: 16px;
    line-height: 30px;
  }
}
.main_con.con2 ul li .left p {
  font-size: 20px;
  line-height: 30px;
  margin-top: 18px;
}
@media (max-width: 1000px) {
  .main_con.con2 ul li .left p {
    font-size: 16px;
    line-height: 24px;
    margin-top: 14px;
  }
}
@media (max-width: 400px) {
  .main_con.con2 ul li .left p {
    font-size: 14px;
    margin-top: 5px;
  }
}
@media (max-width: 1000px) {
  .main_con.con2 ul li .right {
    display: none;
  }
}

@media (max-width: 1000px) {
  .main_con.con3 .title h1 {
    margin: 0 auto;
    line-height: 45px;
  }
}
.main_con.con3 ol {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 20px;
  padding-bottom: 15px;
}
@media (max-width: 1000px) {
  .main_con.con3 ol {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .main_con.con3 ol {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 400px) {
  .main_con.con3 ol {
    gap: 15px;
  }
}
.main_con.con3 ol li {
  padding: 40px 0 50px 0;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  border-radius: 30px;
  position: relative;
}
@media (max-width: 1000px) {
  .main_con.con3 ol li {
    padding: 30px 0 40px 0;
  }
}
@media (max-width: 600px) {
  .main_con.con3 ol li {
    padding: 10px 0 20px 0;
  }
}
.main_con.con3 ol li span {
  color: #c4ade9;
}
.main_con.con3 ol li strong {
  color: #fff;
  font-size: 24px;
  line-height: 34px;
  display: block;
  margin-top: 15px;
}
@media (max-width: 600px) {
  .main_con.con3 ol li strong {
    margin-top: 10px;
    font-size: 18px;
    line-height: 28px;
  }
}
@media (max-width: 400px) {
  .main_con.con3 ol li strong {
    margin-top: 6px;
    font-size: 16px;
  }
}
.main_con.con3 ol li em {
  display: block;
  width: 200px;
  padding: 10px 0;
  margin: 30px auto;
  background-color: #fff;
  color: #5c3e8b;
  border-radius: 30px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .main_con.con3 ol li em {
    padding: 8px 0;
    margin: 15px auto;
  }
}
.main_con.con3 ol li p {
  color: #fff;
}
.main_con.con3 ol li:nth-of-type(1) {
  background-color: #9d79d8;
}
.main_con.con3 ol li:nth-of-type(2) {
  background-color: #8c68c8;
}
.main_con.con3 ol li:nth-of-type(3) {
  background-color: #815dbc;
}
.main_con.con3 ol li:nth-of-type(4) {
  background-color: #6b48a4;
}
.main_con.con3 ol li:nth-of-type(5) {
  background-color: #5c3e8b;
}
.main_con.con3 ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 60px;
  margin: 0 100px;
  margin-top: 60px;
  padding-bottom: 20px;
}
@media (max-width: 1000px) {
  .main_con.con3 ul {
    display: none;
  }
}
.main_con.con3 ul li {
  position: relative;
  width: 200px;
  height: 200px;
  border: 3px solid #d8d2e7;
  background-color: #f5f0ff;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #5c3e8b;
  padding: 30px 0;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
}
.main_con.con3 ul li i {
  font-size: 50px;
  color: #8c68c8;
}
.main_con.con3 ul li::after {
  position: absolute;
  right: -69px;
  top: 76px;
  background-image: url(../img/main/arrow.png);
  width: 50px;
  height: 50px;
  content: "";
}
@media (max-width: 1000px) {
  .main_con.con3 ul li::after {
    display: none;
  }
}
.main_con.con3 ul li:nth-of-type(4)::after {
  display: none;
}

.main_con.con4 {
  background-color: #f0f0f8;
  padding: 30px 0;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0px;
}
@media (max-width: 1000px) {
  .main_con.con4 {
    display: none;
  }
}
.main_con.con4 .swiper {
  margin-bottom: 50px;
  overflow: visible;
  position: relative;
}
.main_con.con4 .swiper .banner {
  position: absolute;
  left: 0;
  top: 0;
  width: 188px;
  height: 167px;
  text-align: center;
  padding: 56px 0;
  font-size: 30px;
  font-weight: bold;
  line-height: 50px;
  color: #fff;
  z-index: 10;
  background: linear-gradient(#4B99FF, #3c007c);
  box-shadow: 4px 4px 6px 0px rgba(0, 0, 0, 0.25);
}
.main_con.con4 .swiper-wrapper {
  transition-timing-function: linear;
}
.main_con.con4 .swiper-slide .img {
  width: 297px;
  height: 167px;
  background-size: cover;
  border-radius: 20px;
}

/* K-HRD 아카이브란? Introduction Section - Enhanced Design */
.intro-section {
  background: transparent;
  padding: clamp(48px, 9vw, 96px) 0 clamp(52px, 9vw, 110px);
  position: relative;
  overflow: visible;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  align-self: stretch;
  border-top: none;
}

.intro-section::before {
  display: none;
}

.intro-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(28px, 4.5vw, 48px);
  position: relative;
  z-index: 1;
}

.intro-content {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(340px, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 40px);
  color: #ffffff;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
  position: relative;
  width: 100%;
}

.intro-text-column {
  flex: 1 1 42%;
  min-width: 320px;
  max-width: 520px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: clamp(6px, 1vw, 10px);
}

.intro-steps {
  flex: 1 1 58%;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.intro-step-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  flex-shrink: 0;
  width: 100%;
  overflow: hidden; 
}

.intro-step-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 30px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
  will-change: transform;
}


.intro-step-card:hover .intro-step-image {
  transform: none;
}

.intro-step-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-wrap: nowrap;
    color: #ffffff;
    z-index: 2;
    flex-direction: column;
    border-radius: 30px;
    align-items: flex-start;
    padding: 35px;
    gap: 2px;
}

.intro-step-index {
    padding: 1px 10px;
    border-radius: 15px;
    background: #4B99FF;
    font-size:12px;
}

.intro-step-text {
    font-size: 18px;
}

@media (max-width: 640px) {
  .intro-step-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .intro-step-text {
    flex: 1 1 auto;
    margin-top: 0;
  }
}

.intro-title {
  font-size: clamp(40px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 32px;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  letter-spacing: -0.5px;
}

.intro-logo {
  height: clamp(56px, 8vw, 64px);
  filter: brightness(1.3) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.intro-title:hover .intro-logo {
  transform: scale(1.05);
}

.intro-text {
  font-size: clamp(18px, 2.6vw, 20px);
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 400;
  max-width: 100%;
}

.intro-text strong {
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-cta {
  margin-top: 0;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn-learn-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.5s ease;
}

.btn-learn-more:hover::before {
  left: 100%;
}

.btn-learn-more:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.4) 0%, 
    rgba(255, 255, 255, 0.3) 100%);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 32px rgba(74, 108, 247, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-learn-more i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-learn-more:hover i {
  transform: translateX(6px);
}

@media (max-width: 1200px) {
  .intro-container {
    padding: 0 48px;
  }

  .intro-title {
    font-size: 52px;
  }

  .intro-text {
    font-size: 22px;
  }
}

@media (max-width: 1024px) {
  .intro-section {
    padding: 120px 0;
  }

  .intro-content {
    gap: 48px;
  }

  .intro-text-column {
    flex: 1 1 48%;
  }

  .intro-steps {
    flex: 1 1 52%;
  }

  .intro-title {
    font-size: 44px;
  }

  .intro-logo {
    height: 62px;
  }

  .intro-text {
    font-size: 20px;
  }

  .intro-step-card {
    width: min(456px, 100%);
    height: 149px;
  }
}

@media (max-width: 768px) {
  .intro-container {
    padding: 0 24px;
  }

  .intro-content {
    flex-direction: column;
    gap: 48px;
  }

  .intro-text-column,
  .intro-steps {
    min-width: 100%;
  }

  .intro-steps {
    gap: 28px;
  }

  .intro-step-card {
    border-radius: 28px;
    width: 100%;
    max-width: 456px;
    height: 149px;
    margin: 0 auto;
  }

  .intro-step-text {
    font-size: 18px;
  }

  .intro-title {
    font-size: 36px;
    flex-direction: column;
    margin-bottom: 25px;
  }
  
  .intro-logo {
    height: 45px;
  }
  
  .intro-text {
    font-size: 19px;
    line-height: 1.72;
    margin-bottom: 24px;
  }
  
  .intro-text br {
    display: none;
  }
  
  .intro-step-overlay {
    padding: 28px 24px;
  }

  .btn-learn-more {
    padding: 14px 32px;
    font-size: 16px;
  }
}

.btn_banner {
  padding: 60px 0;
  background: #1d1d1d;
  position: relative;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  z-index: 0;
}

.btn_banner::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 700px) {
  .btn_banner {
    padding: 20px 0;
  }
}
.btn_banner #wrap {
  display: flex;
  justify-content: space-around;
}
@media (max-width: 700px) {
  .btn_banner #wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.btn_banner #wrap > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  padding: 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn_banner #wrap > a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 108, 247, 0.3);
}
.btn_banner #wrap > a img {
  width: 70px;
  transform: translateY(0px);
  transition: all 0.3s ease;
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
@media (max-width: 700px) {
  .btn_banner #wrap > a img {
    width: 40px;
  }
}
.btn_banner #wrap > a p {
  font-size: 17px;
  font-weight: bold;
  margin-top: 12px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
@media (max-width: 700px) {
  .btn_banner #wrap > a p {
    font-size: 14px;
  }
}
.btn_banner #wrap > a:hover img {
  transform: translateY(-10px) scale(1.05);
  filter: brightness(1.3) drop-shadow(0 4px 12px rgba(74, 108, 247, 0.4));
}

.bottom_banner {
  padding: 50px 0;
  background: #1d1d1d;
  position: relative;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  z-index: 0;
}

.bottom_banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.bottom_banner #wrap {
  display: flex;
  align-items: center;
  padding: 20px 0;
  gap: 30px;
}
@media (max-width: 1000px) {
  .bottom_banner #wrap {
    flex-direction: column;
    gap: 20px;
  }
}
.bottom_banner #wrap .logo {
  width: 188px;
}
.bottom_banner #wrap .logo img {
  width: 100%;
}
.bottom_banner #wrap span {
  font-size: 19px;
  color: #ffffff;
  font-weight: 600;
  margin-top: 5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
@media (max-width: 1000px) {
  .bottom_banner #wrap span {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }
}
.bottom_banner #wrap .button {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
@media (max-width: 1000px) {
  .bottom_banner #wrap .button {
    gap: 0px;
    justify-items: center;
    width: 100%;
  }
}
.bottom_banner #wrap .button button {
  font-weight: 500;
  width: 200px;
  height: 45px;
  border-radius: 45px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}
@media (max-width: 1000px) {
  .bottom_banner #wrap .button button {
    width: 90%;
  }
}
.bottom_banner #wrap .button button.ask {
  position: relative;
  padding-right: 16px;
  background: linear-gradient(135deg, rgba(110, 0, 226, 0.9) 0%, rgba(74, 108, 247, 0.8) 100%);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(110, 0, 226, 0.3);
}

.bottom_banner #wrap .button button.ask:hover {
  background: linear-gradient(135deg, rgba(110, 0, 226, 1) 0%, rgba(74, 108, 247, 0.9) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 0, 226, 0.4);
}
@media (max-width: 1000px) {
  .bottom_banner #wrap .button button.ask {
    padding-right: 0px;
  }
}
.bottom_banner #wrap .button button.ask i {
  position: absolute;
  top: 15px;
  left: 127px;
}
@media (max-width: 1000px) {
  .bottom_banner #wrap .button button.ask i {
    position: initial;
  }
}
.bottom_banner #wrap .button button.call {
  background: linear-gradient(135deg, rgba(158, 151, 206, 0.9) 0%, rgba(140, 90, 239, 0.8) 100%);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(158, 151, 206, 0.3);
}

.bottom_banner #wrap .button button.call:hover {
  background: linear-gradient(135deg, rgba(158, 151, 206, 1) 0%, rgba(140, 90, 239, 0.9) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(158, 151, 206, 0.4);
}
.bottom_banner #wrap .button button:hover i {
  animation: right 0.5s infinite alternate ease-in;
}

@keyframes right {
  from {
    transform: translateX(0px);
  }
  to {
    transform: translateX(10px);
  }
}
/*1:1문의 팝업*/
#modal01 {
  padding: 50px;
}

@media (max-width: 1000px) {
  #modal01 {
    width: 100%;
    height: 100%;
    padding: 20px;
  }
}
#modal01 .close-btn {
  top: 50px;
  right: 50px;
}

@media (max-width: 1000px) {
  #modal01 .close-btn {
    top: 30px;
    right: 25px;
  }
  #modal01 .close-btn i {
    font-size: 30px;
  }
}
#modal01 h2 {
  font-size: 30px;
  font-weight: bold;
  line-height: 50px;
}

@media (max-width: 1000px) {
  #modal01 h2 {
    font-size: 20px;
    line-height: 30px;
  }
}
#modal01 .input_wrap {
  display: flex;
  margin-top: 30px;
}

@media (max-width: 1000px) {
  #modal01 .input_wrap {
    display: block;
    margin-top: 20px !important;
  }
}
#modal01 .input_wrap .title {
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  width: 136px;
}

@media (max-width: 1000px) {
  #modal01 .input_wrap .title {
    font-size: 15px;
    padding: 10px 0;
  }
}
#modal01 .input_wrap .input_box {
  display: flex;
  flex-direction: column;
  width: 600px;
}

@media (max-width: 1000px) {
  #modal01 .input_wrap .input_box {
    width: 100%;
  }
}
#modal01 .input_wrap .input_box select,
#modal01 .input_wrap .input_box input,
#modal01 .input_wrap .input_box textarea {
  border: 1px solid #ccc;
  background-color: transparent;
  padding: 15px;
  border-radius: 8px;
  margin: 5px 0;
  position: relative;
}

#modal01 .input_wrap .input_box select {
  background: url("../img/common/caret-down-fill.png") no-repeat 97% 50%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

#modal01 .input_wrap .input_box select option {
  padding: 2px 5px;
  color: #2d2d2d;
}

#modal01 .input_wrap .input_box select option:hover {
  background-color: aliceblue;
}

#modal01 .input_wrap .input_box span {
  font-size: 14px;
  color: #999;
  margin-top: 13px;
}

#modal01 .submit_btn {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

#modal01 .submit_btn button {
  width: 300px;
  padding: 15px 0;
  background-color: #4B99FF;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

#modal01 .submit_btn button:hover {
  background-color: #5903b3;
}

#modal01 .notice_box {
  margin-top: 50px;
  padding: 10px;
}
@media (max-width: 1000px) {
  #modal01 .notice_box {
    margin-top: 30px;
  }
}

#modal01 .notice_box .title {
  font-size: 20px;
  font-weight: bold;
}
@media (max-width: 1000px) {
  #modal01 .notice_box .title {
    font-size: 15px;
  }
}

#modal01 .notice_box .content {
  margin: 20px 0;
  line-height: 30px;
  padding: 12px;
  border: 1px solid;
  opacity: 0.8;
}

#modal01 .notice_box .agree input {
  width: 15px;
  height: 15px;
  border: 1px solid;
  margin-top: -3px;
}

#modal01 .notice_box .agree label {
  margin-left: 10px;
}

/* Enhanced Hero Banner Styles */
.hero-banner {
    --hero-banner-image: linear-gradient(135deg, #4A6CF7 0%, #8C5AEF 50%, #667eea 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    width: 100%;
    padding: clamp(110px, 18vh, 180px) clamp(2rem, 9vw, 7rem) clamp(90px, 15vh, 160px) !important;
    min-height: clamp(620px, 72vh, 760px) !important;
    background-color: #04081e;
    background-image: var(--hero-banner-image);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    background-clip: padding-box;
    transition: background-position 0.4s ease, background-size 0.4s ease, min-height 0.4s ease, padding 0.4s ease;
    z-index: 0;
    border-bottom: none !important;
}

.hero-banner::before {
    /* content: ""; */
    position: absolute;
    inset: 0;
    background: white;
     transition: opacity 0.3s ease;
    z-index: 1;
    bottom: 29px;
    height: 10px;
}

.hero-banner::after {
    content: none;
}

.hero-banner:hover {
    background-position: center;
}

/* Dark Mode Styles */
.app-shell .hero-banner {
    background-image: var(--hero-banner-image);
}

.round {
    position: absolute;
    /* top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2; */
    background: linear-gradient(to bottom, #33344000 0%, #12152a 100%);
    width: 100%;
    bottom: 0px;
    left: 0px;
    height: 100px;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatParticle 8s ease-in-out infinite;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 40%;
    left: 20%;
    animation-delay: 2s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 60%;
    left: 15%;
    animation-delay: 4s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 70%;
    right: 15%;
    animation-delay: 3s;
}

.particle-6 {
    width: 6px;
    height: 6px;
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-30px) translateX(20px) scale(1.2);
        opacity: 0.8;
    }
}

/* .hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(185deg, rgba(4, 8, 30, 0.07) 0%, rgba(4, 8, 30, 0.045) 38%, rgba(6, 10, 40, 0.028) 65%, rgba(8, 12, 44, 0.012) 100%);
} */

@media (max-width: 900px) {
    .hero-container {
        padding: 0 clamp(1.25rem, 6vw, 2rem);
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        min-height: 360px !important;
        padding: 48px 24px !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .hero-container {
        padding: 0 1.5rem;
        gap: 22px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
        padding: 16px 20px;
        height: 48px;
    }
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    position: relative;
    z-index: 3;
    text-align: left;
    padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.hero-overlay{
  background: linear-gradient(180deg, #33344000 0%, #121629 100%);
  width: 100%;
  height: 150px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.hero-content {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 640px;
    width: 100%;
}

.hero-badge {
    display: none;
}

.hero-eyebrow {
    display: inline-flex;
    justify-content: flex-start;
    width: 100%;
    font-family: "Pretendard Variable", "Pretendard", sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: rgba(230, 236, 255, 0.92);
    gap: 10px;
}

.hero-eyebrow span,
.hero-eyebrow .gradient-text {
    display: inline-block;
}

.hero-eyebrow .gradient-text,
.hero-eyebrow span.gradient-tail {
    background: linear-gradient(90deg, #00EFFF 0%, #886BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5ff 0%, #9c66ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.ai-zone-text {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #002BFF 0%, #39A9D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-size: clamp(4rem, 7.5vw, 5.6rem);
    font-weight: 800;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.015em;
}

.title-main {
    display: block;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #002BFF 0%, #39A9D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #002BFF 0%, #39A9D2 100%);
    border-radius: 2px;
    animation: underlineExpand 1s ease-out 1.2s both;
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 100%; }
}

.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.92);
    max-width: 520px;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: 14px;
}

.hero-actions .btn {
    width: 200px;
    height: 60px;
    border-radius: 10px;
    font-size: 18px;
    letter-spacing: 1.5px;
    font-family: 'NanumSquareOTF', 'NanumSquare', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: 0;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #1f3eba 0%, #2b3ae1 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 12px 30px rgba(90, 109, 253, 0.35);
}

.hero-actions .btn-primary:hover {
    background: radial-gradient(120% 140% at 20% 40%, #0015FF 0%, #002BFF 35%, #1E3EFF 60%, #39A9D2 100%);
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 43, 255, 0.4);
}

.hero-actions .btn-secondary {
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.65);
    color: #FFFFFF;
    box-shadow: none;
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.85);
}

.btn {
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-text {
    font-weight: 600;
}

.btn-primary {
    background: radial-gradient(120% 140% at 20% 40%, #002BFF 0%, #0015FF 35%, #1E3EFF 60%, #39A9D2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 43, 255, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 43, 255, 0.6);
    background: radial-gradient(120% 140% at 20% 40%, #0015FF 0%, #002BFF 35%, #1E3EFF 60%, #39A9D2 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: clamp(20px, 6vw, 40px);
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 1.4rem;
    color: rgba(226, 232, 240, 0.75);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

.ai-visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-brain {
    position: relative;
    width: 200px;
    height: 200px;
    animation: pulse 3s ease-in-out infinite;
}

.brain-core {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 70%);
    border-radius: 50%;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.neural-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
}

.neural-line {
    position: absolute;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 2px;
    animation: neuralPulse 2s ease-in-out infinite;
}

.line-1 {
    width: 80px;
    height: 2px;
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.line-2 {
    width: 60px;
    height: 2px;
    top: 40%;
    right: 15%;
    transform: rotate(-30deg);
    animation-delay: 0.5s;
}

.line-3 {
    width: 70px;
    height: 2px;
    bottom: 30%;
    left: 20%;
    transform: rotate(60deg);
    animation-delay: 1s;
}

.line-4 {
    width: 50px;
    height: 2px;
    bottom: 20%;
    right: 25%;
    transform: rotate(-45deg);
    animation-delay: 1.5s;
}

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

.data-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #002BFF 0%, #39A9D2 100%);
    border-radius: 50%;
    animation: dataFloat 4s ease-in-out infinite;
}

.point-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.point-2 {
    top: 35%;
    right: 25%;
    animation-delay: 0.8s;
}

.point-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 1.6s;
}

.point-4 {
    bottom: 40%;
    right: 20%;
    animation-delay: 2.4s;
}

.point-5 {
    top: 60%;
    left: 50%;
    animation-delay: 3.2s;
}

@keyframes dataFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: floatIcon 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.icon-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.icon-3 {
    bottom: 30%;
    left: 8%;
    animation-delay: 3s;
}

.icon-4 {
    bottom: 15%;
    right: 5%;
    animation-delay: 4.5s;
}

@keyframes floatIcon {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) rotate(10deg);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

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

/* Responsive Design for Hero Banner */
@media (max-width: 1024px) {
    .hero-container {
        gap: clamp(36px, 6vw, 60px);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 80px 0 60px;
        min-height: 90vh;
    }
    
    .hero-container {
        align-items: center;
        text-align: center;
        gap: 50px;
        padding: 0 1.5rem;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .btn {
        padding: 16px 30px;
        font-size: 15px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .ai-brain {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 60px 0 40px;
        min-height: 80vh;
    }
    
    .hero-container {
        gap: 40px;
        padding: 0 15px;
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .btn {
        padding: 14px 25px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .ai-brain {
        width: 120px;
        height: 120px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .badge-icon {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .hero-stats {
        gap: 15px;
    }
}
/* Dark Mode Styles for Main Page - Override inline styles */
html {
    background-color: #1D1D1D !important;
    background-image: url('/images/content-area-bg.png') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

body.app-shell {
    background-color: #1D1D1D !important;
    /* background-image: url('/images/content-area-bg.png') !important; */
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    color: #f1f5f9 !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.app-shell.contents-main-page {
    color: #f1f5f9 !important;
}

body.app-shell.contents-main-page .in-progress-section,
body.app-shell.contents-main-page .lecture,
body.app-shell.contents-main-page .learning-roadmap-section,
body.app-shell.contents-main-page .weekly-report-section {
    background-color: #1D1D1D !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

body.app-shell.contents-main-page .page-band--dark::after {
    background: #1D1D1D !important;
}

html.contents-main-root,
body.app-shell.contents-main-page {
    background-color: #1D1D1D !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

body.app-shell.contents-main-page .page-container,
body.app-shell.contents-main-page .page-band,
body.app-shell.contents-main-page .page-band--dark,
body.app-shell.contents-main-page .page-container--primary,
body.app-shell.contents-main-page .page-container--primary::before,
body.app-shell.contents-main-page .page-container--primary::after,
body.app-shell.contents-main-page .page-container--dark {
    background: #1D1D1D !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

body.app-shell.contents-main-page .page-container--dark::before,
body.app-shell.contents-main-page .page-container--dark::after {
    background: transparent !important;
}

body.app-shell .top_header a {
    color: #cbd5e1 !important;
}


body.app-shell .top_header .logo {
    filter: brightness(1.2) !important;
}

/* Main Page Navigation Overlay */
.hero-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: #0a1026;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none;
    box-shadow: none;
    z-index: 20;
}

.hero-nav #wrap nav.dropdown-menu,
.hero-nav #wrap nav.dropdown-menu ul,
.hero-nav #wrap nav.dropdown-menu ul ul.depth02 {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hero-nav #wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hero-nav #wrap nav.dropdown-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero-nav #wrap nav.dropdown-menu ul {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: flex-start;
    flex: 1 1 auto;
}

.hero-nav #wrap nav.dropdown-menu ul li.nav-action {
    margin-left: 24px;
}

.hero-nav #wrap nav.dropdown-menu ul li.nav-action:last-child {
    margin-left: 24px;
    margin-right: 12px;
}

.hero-nav #wrap nav.dropdown-menu .logo {
    width: 100px;
}

.hero-nav #wrap nav.dropdown-menu ul li.depth01 {
    width: auto;
    padding: 10px 0;
}

.hero-nav #wrap nav.dropdown-menu ul li.depth01 > a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    padding: 6px 0;
    text-align: center;
}

.hero-nav #wrap nav.dropdown-menu ul li.depth01 > a:hover {
    color: #ffffff !important;
}

.hero-nav #wrap nav.dropdown-menu ul ul.depth02 {
    top: 74px;
    background: rgba(16, 24, 63, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-nav #wrap nav.dropdown-menu ul ul.depth02 li a {
    color: rgba(255, 255, 255, 0.85);
}

.hero-nav #wrap nav.dropdown-menu ul ul.depth02 li:hover {
    background-color: rgba(112, 139, 255, 0.25);
}

.hero-nav #wrap nav.dropdown-menu ul ul.depth02 li:hover a {
    color: #ffffff !important;
}

.nav-link-ai,
.nav-link-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.hero-nav #wrap nav.dropdown-menu ul li.nav-action {
    margin-left: 32px;
    margin-right: 0;
    padding: 0;
}

.hero-nav #wrap nav.dropdown-menu ul li.nav-action:first-of-type {
    margin-left: auto;
}

.hero-nav #wrap nav.dropdown-menu ul li.nav-action + li.nav-action {
    margin-left: 18px;
}

.hero-nav #wrap nav.dropdown-menu ul li.nav-action:last-child {
    margin-left: 18px;
}

.hero-nav #wrap nav.dropdown-menu .nav-auth {
    margin-left: auto;
    padding-left: 36px;
    display: flex;
    align-items: center;
}

.hero-nav #wrap nav.dropdown-menu .nav-auth .nav-login-btn {
    margin-right: 12px;
    white-space: nowrap;
}

.top_header nav .nav-link-ai,
.top_header nav .nav-link-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, color 0.2s ease;
}

.top_header nav .nav-link-ai i {
    font-size: 1.1rem;
    color: rgba(137, 167, 255, 0.95);
    text-shadow: 0 0 12px rgba(109, 139, 255, 0.45);
}

.top_header nav .nav-link-ai:hover i {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(142, 120, 255, 0.65);
}

.top_header nav .nav-link-live {
    color: rgba(255, 255, 255, 0.85);
    background: none;
    border: none;
    /* padding: 6px 0; */
}

.top_header nav .nav-link-live:hover {
    color: #ffffff;
}

.top_header nav .nav-icon-live {
    width: 17px;
    height: 17px;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(90, 120, 255, 0.35));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.top_header nav .nav-link-live:hover .nav-icon-live {
    transform: translateY(-1px) scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(90, 120, 255, 0.5));
}


.hero-nav .nav-pill i {
    font-size: 1.1rem;
}

.hero-nav .mobile-header {
    background: rgba(6, 12, 40, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-nav .mobile-header .nav-pill {
    padding: 8px 16px;
    font-size: 0.85rem;
    box-shadow: none;
}

.hero-nav .mobile-header .top-menu {
    gap: 6px;
}

.hero-nav .mobile-header .top-menu li {
    display: flex;
    align-items: center;
}

.hero-nav .mobile-header .top-menu li a {
    color: rgba(255, 255, 255, 0.85);
}

.hero-nav .mobile-menu {
    background: rgba(6, 12, 40, 0.96);
}

.hero-nav .mobile-menu a {
    color: rgba(255, 255, 255, 0.85);
}

.hero-nav .mobile-menu .mypage a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1120px) {
    .hero-nav #wrap {
        padding-inline: 24px;
    }

    .hero-nav #wrap nav.dropdown-menu ul li.depth01 {
        padding: 24px 8px;
    }
}

@media (max-width: 980px) {
    .hero-nav {
        position: relative;
        background: rgba(6, 12, 40, 0.95);
    }

    .hero-nav #wrap {
        padding-inline: 18px;
    }
}

/* =========================== TAB HEADER =========================== */
.tab-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 36px auto 32px auto !important;
}

.tab-btn {
    width: 258px !important;
    height: 42px !important;
    border-radius: 11px !important;
    background: #3B3B3B !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #E5EAFF !important;
    font-family: 'NanumSquareOTF', 'NanumSquare', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 1.36px !important;
    cursor: pointer !important;
    transition: transform 0.25s ease, opacity 0.25s ease !important;
    filter: drop-shadow(-1px 20px 80px rgba(122, 33, 237, 0.15)) drop-shadow(7px -7px 48px rgba(42, 94, 142, 0.20)) drop-shadow(0 4px 10px rgba(64, 100, 228, 0.20)) !important;
}

.tab-btn.active {
    background: radial-gradient(189.21% 70.1% at 15.34% 39.06%, rgba(131, 113, 243, 0.50) 0%, rgba(69, 156, 236, 0.00) 100%),
                radial-gradient(132.71% 129.73% at 63.64% -12.5%, #8528FB 0%, rgba(86, 84, 74, 0.12) 100%),
                radial-gradient(51.42% 94.92% at 19.32% 40.62%, #1864B7 0%, rgba(23, 61, 102, 0.88) 100%),
                radial-gradient(23.21% 114.66% at 43.75% -31.25%, rgba(24, 17, 24, 0.53) 21.25%, #000 100%), #030303 !important;
    filter: drop-shadow(-1px 20px 80px rgba(122, 33, 237, 0.30)) drop-shadow(7px -7px 48px rgba(42, 94, 142, 0.50)) drop-shadow(0 4px 10px rgba(64, 100, 228, 0.30)) !important;
    color: #FFFFFF !important;
}

.tab-btn:not(.active):hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 768px) {
    .tab-header {
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin: 28px auto 24px auto !important;
    }

    .tab-btn {
        width: calc(50% - 12px) !important;
    }
}

@media (max-width: 520px) {
    .tab-btn {
        width: 100% !important;
    }
}

/* =========================== DARK MODE TAB BUTTONS =========================== */
body.app-shell .tab-header,
.app-shell-light .tab-header {
    background: transparent !important;
    border: none !important;
}

body.app-shell .tab-btn,
.app-shell-light .tab-btn {
    color: #E5EAFF !important;
    background: #3B3B3B !important;
}

body.app-shell .tab-btn.active,
.app-shell-light .tab-btn.active {
    background: radial-gradient(189.21% 70.1% at 15.34% 39.06%, rgba(53, 63, 255, 0.5) 0%, rgba(69, 156, 236, 0.00) 100%),
                radial-gradient(132.71% 129.73% at 63.64% -12.5%, #284bfb 0%, rgba(86, 84, 74, 0.12) 100%),
                radial-gradient(51.42% 94.92% at 19.32% 40.62%, #1864B7 0%, rgba(23, 61, 102, 0.88) 100%),
                radial-gradient(23.21% 114.66% at 43.75% -31.25%, rgba(24, 17, 24, 0.53) 21.25%, #000 100%), #030303 !important;
    color: #FFFFFF !important;
}

/* =========================== LIGHT MODE TAB BUTTONS =========================== */
.app-shell-light .tab-header {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.app-shell-light .tab-btn {
    color: #64748b !important;
}

.app-shell-light .tab-btn:hover {
    color: #334155 !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

.app-shell-light .tab-btn.active {
    color: #1e293b !important;
    background: rgba(74, 108, 247, 0.1) !important;
    
}

/* =========================== TAB CONTENT =========================== */
.tab-content {
    display: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.tab-content.active {
    display: block !important;
    opacity: 1 !important;
}

/* =========================== RESPONSIVE DESIGN =========================== */
@media (max-width: 768px) {
    .tab-header {
        margin: 15px auto 25px auto !important;
        padding: 6px !important;
        max-width: 95% !important;
    }
    
    .tab-btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
}

/* Override card backgrounds to match gradient theme */
.edu_contents {
    width: 372px !important;
    max-width: 100%;
    display: flex !important;
    flex-direction: column !important;
    border: none;
    border-radius: 16px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    cursor: pointer !important;
    background: none;
    border: none;
    margin: 0 auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
 }

.edu_contents:hover {
    transform: translateY(-5px) !important;
}

.edu_contents .img {
    width: 100% !important;
    height: 200px !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    flex-shrink: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important;
}

.edu_contents .img::after {
    content: "";
    position: absolute;
    inset: 0;
    border: none;
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.edu_contents .meta-data-info {
   width: 100%;
   height: auto;
   background: none !important;
   background-color: transparent !important;
   background-image: none !important;
}

.search-page-container .edu_contents {
    background: transparent !important;
    box-shadow: none !important;
}

.search-page-container .meta-data-info,
.search-page-container .meta-data-info .title,
.search-page-container .meta-data-info::before,
.search-page-container .meta-data-info::after {
    background: none !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.search-page-container .meta-data-info {
    border: none !important;
}

.search-page-container .edu_contents .title {
    background: transparent !important;
}

.edu_contents .meta-data-info .title {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 18px 20px 20px !important;
    margin: 0 !important;
    flex: 1 !important;
    background: transparent !important;
}

.edu_contents .meta-data-info .title strong {
    display: block;
    color: #ffffff;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.24px;
}

.edu_contents .meta-data-info .title .card-meta-row,
.edu_contents .meta-data-info .title .card-dates {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(218, 226, 238, 0.72);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
    background: transparent !important;
}

.edu_contents .meta-data-info .title .card-meta-row .separator,
.edu_contents .meta-data-info .title .card-dates .separator {
    margin: 0;
    opacity: 0.45;
}

.edu_contents .meta-data-info .title .card-tags {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow: hidden !important;
    max-height: 28px !important;
}

.edu_contents .meta-data-info .title .card-tags .tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: #d7dcff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid rgba(129, 140, 248, 0.2);
    white-space: nowrap;
}

.edu_contents .meta-data-info .title .card-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.edu_contents .meta-data-info .title .card-action-row .card-duration,
.edu_contents .meta-data-info .title .card-action-row .card-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 17, 30, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: rgba(226, 232, 240, 0.82);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

.edu_contents .meta-data-info .title .card-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.edu_contents .meta-data-info .title .card-meta-grid span {
    font-size: 13px;
    color: rgba(203, 213, 225, 0.85);
    line-height: 1.35;
}

.edu_contents .meta-data-info .title .card-like-count {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: rgba(226, 232, 240, 0.8) !important;
    font-size: 13px !important;
}

.edu_contents .meta-data-info .title .card-like-count i {
    font-size: 15px !important;
    color: rgba(248, 113, 113, 0.95) !important;
}

/* Main page card body background */
.main-grid .meta-data-info {
    background: #ffffff !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.05);
    min-height: 190px !important;
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 12px !important;
}

.main-grid .meta-data-info .title {
    background: transparent !important;
    min-height: 190px !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.main-grid .meta-data-info .title strong {
    color: #1f2937 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: visible;
    min-height: 60px !important;
}

.main-grid .meta-data-info .title .card-meta-row,
.main-grid .meta-data-info .title .card-dates {
    color: #64748b !important;
}

.main-grid .meta-data-info .title .card-meta-row .separator,
.main-grid .meta-data-info .title .card-dates .separator {
    opacity: 0.35 !important;
}

.main-grid .meta-data-info .title .card-tags .tag {
    background: rgba(79, 70, 229, 0.1);
    color: #4338ca;
    border-color: rgba(129, 140, 248, 0.35);
}

.main-grid .meta-data-info .title .card-tags {
    width: 100% !important;
    flex-wrap: wrap !important;
    max-height: none !important;
    overflow: visible !important;
}

.main-grid .meta-data-info .title .card-action-row .card-duration,
.main-grid .meta-data-info .title .card-action-row .card-views {
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.2);
    color: #334155;
}

.main-grid .meta-data-info .title .card-like-count {
    color: #ef4444 !important;
    margin-top: 0 !important;
    align-self: flex-start !important;
    gap: 4px !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: rgba(248, 113, 113, 0.12) !important;
    border: 1px solid rgba(248, 113, 113, 0.3) !important;
    margin-bottom: 0 !important;
}

/* Old tag styles - hide */
.edu_contents .meta-data-info .title > .tag {
    display: none !important;
}

/* Old lecture_time styles - hide */
.edu_contents .meta-data-info .title > .lecture_time {
    display: none !important;
}

/* Old lecture_save in title - hide */
.edu_contents .meta-data-info .title > .lecture_save {
    display: none !important;
}

/* Like button positioned on thumbnail */
.edu_contents .img .lecture_save {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(10, 12, 24, 0.75) !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    cursor: pointer !important;
    padding: 0 !important;
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.edu_contents .img .lecture_save:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.35) !important;
}

.edu_contents .img .lecture_save i {
    font-size: 22px !important;
    color: rgba(248, 250, 252, 0.9) !important;
    margin: 0 !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
    transition: all 0.2s !important;
}

.edu_contents .img .lecture_save:hover i {
    transform: scale(1.08) !important;
}


.edu_contents .meta-data-info .lecture_time {
    color: rgba(226, 232, 240, 0.78) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
}

.edu_contents .meta-data-info .lecture_time i {
    font-size: 12px !important;
    color: rgba(226, 232, 240, 0.7) !important;
    filter: none !important;
    flex-shrink: 0 !important;
}

/* AI Zone card actions */
#tab-hrde .edu_contents .img {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

#tab-hrde .edu_contents .img .ai-badge,
#tab-hrde .edu_contents .img .lecture_save {
    position: relative !important;
    top: auto !important;
    right: auto !important;
}

#tab-hrde .edu_contents .img .ai-badge {
    order: 1;
}

#tab-hrde .edu_contents .img .lecture_save {
    order: 2;
    width: 40px !important;
    height: 40px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .edu_contents .title {
        padding: 14px !important;
    }
    
    .edu_contents .title strong {
        font-size: 16px !important;
        min-height: 44px !important;
    }
    
    .edu_contents .title .tag {
        font-size: 10px !important;
        min-height: 30px !important;
    }
    
    .edu_contents .title .card-meta-grid {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
}
/* Grid container */
.grid-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(335px, 1fr)) !important;
    gap: 18px !important;
    margin-top: 30px !important;
}

/* AI Roadmap Grid - Override for 6 cards per step */
.roadmap-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px !important;
}

@media (max-width: 1400px) {
    .roadmap-cards-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 1200px) {
    .roadmap-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .roadmap-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

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

/* Mobile responsive */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 12px !important;
        padding: 0 10px 20px 10px !important;
    }
    
    .edu_contents .title strong {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr !important;
        padding: 0 10px 10px 10px !important;
    }
}

.page-container .main-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    padding: 0 !important;
}

@media (max-width: 1100px) {
    .page-container .main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    .page-container .main-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Top Status Custom Styles */

/* ========== CARD 1: Progress Card Enhancements ========== */
.progress-card {
    position: relative;
    overflow: hidden;
}

.progress-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: orbit 8s linear infinite;
}

@keyframes orbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.progress-stat-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.progress-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

.progress-stat-item .stat-value {
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.progress-stat-item .stat-label {
    font-size: 11px;
    opacity: 0.8;
}

.circular-progress-container {
    position: relative;
}

.progress-ring-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4) 0%, transparent 70%);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

/* ========== CARD 2: Training Information Enhancements ========== */
.training-info-card {
    position: relative;
    overflow: hidden;
}

.training-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.study-time-bar {
    position: relative;
    height: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: visible;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.study-time-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
    border-radius: 12px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: bar-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

@keyframes bar-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.study-time-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: bar-slide 1.5s infinite;
}

@keyframes bar-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.milestone-indicator {
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    width: 3px;
    height: 24px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.bar-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}

.bar-labels .label-15h {
    color: #10b981;
    font-weight: 700;
}

.remaining-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #fca5a5;
    animation: badge-blink 2s ease-in-out infinite;
    flex-direction: column;
    line-height: 1.2;
}

@keyframes badge-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

.info-row-compact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-box-compact {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.info-content-compact {
    flex: 1;
    min-width: 0;
}

/* Creative Date Display */
.date-range-creative {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.date-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-number {
    font-size: 20px;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
}

.date-month {
    font-size: 10px;
    color: #6ee7b7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-arrow {
    color: #10b981;
    font-size: 18px;
}

.achievement-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.achievement-number {
    font-size: 28px;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.achievement-label {
    font-size: 10px;
    color: #fde68a;
    margin-top: 2px;
}

/* ========== CARD 3: AI Recommendation Enhancements ========== */
.ai-recommend-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #4B99FF 50%, #f093fb 100%);
}

.ai-recommend-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.15) 90deg,
        transparent 180deg
    );
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ai-recommend-content {
    position: relative;
    z-index: 1;
}

.ai-glow-box {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ai-icon-container {
    position: relative;
    display: inline-block;
}

.ai-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, #4B99FF0%, transparent 70%);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

.ai-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkle 1.5s ease-in-out infinite;
}

.ai-sparkle:nth-child(1) {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.ai-sparkle:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: 0.5s;
}

.ai-sparkle:nth-child(3) {
    bottom: 20%;
    right: 15%;
    animation-delay: 1s;
}

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

.ai-recommend-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-recommend-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ai-recommend-btn:hover::before {
    width: 300px;
    height: 300px;
}

.ai-recommend-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.ai-badge-animated {
    background: linear-gradient(90deg, #3b82f6, #4B99FF, #3b82f6);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .study-time-bar {
        height: 14px;
    }
    
    .remaining-badge {
        width: 42px;
        height: 42px;
        font-size: 10px;
    }
    
    .ai-glow-box {
        padding: 16px;
    }
    
    .progress-stats-grid {
        gap: 12px;
    justify-content: space-between;
    width: 100%;
    }
    
    .progress-stat-item {
        padding: 8px;
    }
    
    .progress-stat-item .stat-value {
        font-size: 20px;
    }
    
    .icon-box-compact {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    
    .date-number {
        font-size: 16px;
    }
    
    .achievement-number {
        font-size: 24px;
    }
}

/* Ensure percentage text is perfectly centered in circle */
.circular-progress-container .absolute.inset-0 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.circular-progress-container .absolute.inset-0 span {
    position: relative;
    z-index: 10;
    text-align: center;
    line-height: 1;
}
/* Improved Lecture Background Colors */
.lecture {
    background: none !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin: 20px 0 !important;
}

/* Dark Mode Lecture Background */
body.app-shell .lecture {
    background: none !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin: 20px 0 !important;
}


/* Dark Mode Content Area */
body.app-shell .content-area {
    background: none !important;
    border-radius: 20px !important;
    padding: 30px !important;
    padding-bottom: 20px !important;
    margin-bottom: -1px !important;
}


/* Remove frames from content areas - keep only tab panel frames */
.lecture {
    border: none !important;
    background: none !important;
}

.content-area {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Keep tab panel frames */
.tab-header {
    border: 1px solid rgba(74, 108, 247, 0.2) !important;
}

body.app-shell .tab-header {
    border: 1px solid rgba(74, 108, 247, 0.3) !important;
}

.app-shell-light .tab-header {
    border: 1px solid rgba(74, 108, 247, 0.2) !important;
}


/* Remove all frames from page-container and content-area */
.page-container {
    border: none !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.content-area {
    border: none !important;
}

/* Ensure no borders on any content containers */
.lecture {
    border: none !important;
}

/* Keep only tab panel frames */
.tab-header {
    border: 1px solid rgba(74, 108, 247, 0.2) !important;
}

body.app-shell .tab-header {
    border: 1px solid rgba(74, 108, 247, 0.3) !important;
}

.app-shell-light .tab-header {
    border: 1px solid rgba(74, 108, 247, 0.2) !important;
}


/* Bigger Tab Panels */
.tab-btn {
    padding: 18px 36px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Tab Header - Bigger */
.tab-header {
    padding: 12px !important;
    gap: 8px !important;
    border-radius: 20px !important;
    margin: 30px auto 40px auto !important;
}

/* Smooth Gradient Mixing - Banner to Content Area */
.page-container {
    background: none !important;
    border: none !important;
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.5rem, 4vw, 2.5rem) !important;
    overflow: visible !important;
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(48px, 8vw, 72px);
}

.page-band {
    width: 100%;
}

.page-band--dark {
    position: relative;
    width: 100%;
    background: none;
    color: #ffffff;
    overflow: hidden;
}

.page-band--dark::before {
    content: "";
    position: absolute;
    left: calc(50% - 50vw - 240px);
    top: 0;
    width: calc(100vw + 480px);
    bottom: 0;
    background: linear-gradient(180deg, rgba(18, 25, 46, 0.26) 0%, rgba(22, 24, 40, 0.62) 22%, rgba(27, 27, 33, 0.86) 48%, rgba(29, 29, 29, 0.98) 76%, #1D1D1D 100%);
    pointer-events: none;
    z-index: 0;
}

.page-band--dark::after {
    content: "";
    position: absolute;
    left: calc(50% - 50vw - 260px);
    top: -260px;
    width: calc(100vw + 520px);
    bottom: 0;
    background: #1d1d1d;
    z-index: -1;
}

.page-container--primary {
    position: relative;
    z-index: 2;
}

.page-container--primary.blend-bottom {
    padding-bottom: clamp(2rem, 6vh, 3.5rem) !important;
}

.page-container--primary::before,
.page-container--primary::after {
    content: "";
    position: absolute;
    left: calc(50% - 50vw - 240px);
    width: calc(100vw + 480px);
    pointer-events: none;
    z-index: -1;
}

.page-container--primary::before,
.page-container--primary::after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: calc(50% - 50vw);
    width: 100vw;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.page-container--primary::before {
    top: -140px;
    height: 180px;
    background: linear-gradient(180deg, rgba(12, 18, 46, 0.12) 0%, rgba(12, 18, 46, 0.04) 68%, rgba(12, 18, 46, 0) 100%);
}

.page-container--primary::after {
    bottom: -160px;
    height: 200px;
    background: linear-gradient(180deg, rgba(12, 18, 46, 0.08) 0%, rgba(12, 18, 46, 0.02) 70%, rgba(12, 18, 46, 0) 100%);
}

.page-container--dark {
    color: #ffffff;
    position: relative;
    z-index: 1;
    padding: 0 clamp(1.8rem, 4vw, 2.8rem) clamp(3rem, 6vh, 4rem);
}

/* Dark Mode Smooth Gradient */
body.app-shell .page-container {
    background: none !important;
    border: none !important;
    position: relative;
    z-index: 1;
    padding-bottom: 0 !important;
    overflow: hidden !important;
}

/* Content Area - Smooth Integration */
.content-area {
    background: none !important;
    border: none !important;
    border-radius: 25px !important;
    padding: clamp(32px, 4vw, 48px) !important;
    padding-bottom: 20px !important;
    margin: 20px auto 0 auto !important;
    margin-bottom: -1px !important;
    box-shadow: none !important;
    width: 100%;
}

.page-container > * {
    width: 100%;
}


/* Smooth Transition Between Banner and Content */
.hero-banner {
    background-image: var(--hero-banner-image) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-color: #04081e !important;
    padding: clamp(110px, 18vh, 180px) clamp(2rem, 9vw, 7rem) clamp(90px, 15vh, 160px) !important;
    min-height: clamp(637px, 84vh, 800px) !important;

}

/* Dark Mode Banner */
body.app-shell .hero-banner {
    background-image: var(--hero-banner-image) !important;
}

/* ===== Compact Filter Styles ===== */
.content-filters {
    margin: 20px 0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-container {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-header h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.close-filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.filter-grid-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-checkboxes-row,
.filter-controls-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filter-group-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkbox-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label-compact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.checkbox-label-compact:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.checkbox-label-compact input[type="checkbox"] {
    cursor: pointer;
}

.checkbox-label-compact input[type="checkbox"]:checked + span {
    font-weight: 600;
}

.checkbox-label-compact input[type="checkbox"]:checked {
    accent-color: #667eea;
}

.btn-reset,
.btn-search {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-reset:hover,
.btn-search:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-search {
    background: linear-gradient(135deg, #667eea 0%, #4B99FF 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-search:hover {
    background: radial-gradient(120% 140% at 20% 40%, #0015FF 0%, #002BFF 35%, #1E3EFF 60%, #39A9D2 100%);
}

/* Responsive for filter */
@media (max-width: 768px) {
    .filter-checkboxes-row,
    .filter-controls-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .checkbox-group-inline {
        width: 100%;
    }
    
    .filter-label {
        width: 100%;
    }
}


/* ===== Compact Filter Styles ===== */
.content-filters {
    margin: 20px 0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-container {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-header h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.close-filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.filter-grid-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-checkboxes-row,
.filter-controls-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filter-group-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkbox-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label-compact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.checkbox-label-compact:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.checkbox-label-compact input[type="checkbox"] {
    cursor: pointer;
}

.checkbox-label-compact input[type="checkbox"]:checked + span {
    font-weight: 600;
}

.checkbox-label-compact input[type="checkbox"]:checked {
    accent-color: #667eea;
}

.btn-reset,
.btn-search {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-reset:hover,
.btn-search:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-search {
    background: linear-gradient(135deg, #667eea 0%, #4B99FF 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-search:hover {
    background: radial-gradient(120% 140% at 20% 40%, #0015FF 0%, #002BFF 35%, #1E3EFF 60%, #39A9D2 100%);
}

/* Responsive for filter */
@media (max-width: 768px) {
    .filter-checkboxes-row,
    .filter-controls-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .checkbox-group-inline {
        width: 100%;
    }
    
    .filter-label {
        width: 100%;
    }
}

/* ===== In Progress Courses Section ===== */
.in-progress-section {
    margin: 40px 0;
    background: #1d1d1d;
    padding: 32px 16px;
}

.in-progress-section .in-progress-inner {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.in-progress-section .in-progress-inner .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.progress-learning-room-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: transparent;
    color: #A9b2ef;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    text-decoration: none;
    margin-left: auto;
    transition: all 0.3s ease;
}

.progress-learning-room-link i {
    font-size: 18px;
}

.progress-learning-room-link:hover {
    background: linear-gradient(135deg, #4A6CF7 0%, #8C5AEF 100%);
    box-shadow: 0 12px 28px rgba(74, 108, 247, 0.35);
    border-color: transparent;
}

.in-progress-section .in-progress-inner .section-header h5 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.in-progress-section .in-progress-inner .section-header h5 i {
    font-size: 28px;
    background: linear-gradient(135deg, #4A6CF7 0%, #8C5AEF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-all-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #4A6CF7;
    gap: 10px;
}

.in-progress-section .in-progress-inner .progress-courses-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.in-progress-section .in-progress-inner .progress-courses-container > * {
    min-width: 0;
}

.in-progress-section .in-progress-inner .progress-course-card {
    background: none;
    border-radius: 20px;
    overflow: visible;
    border: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: none;
}

.in-progress-section .in-progress-inner .progress-course-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.in-progress-section .in-progress-inner .progress-course-card .card-thumbnail {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.in-progress-section .in-progress-inner .progress-course-card .card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 52, 96, 0.8) 0%, transparent 100%);
    border-radius: 16px;
}

.in-progress-section .in-progress-inner .progress-course-card .card-content {
    padding: 20px;
}

.progress-course-card .card-category {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.3) 0%, rgba(140, 90, 239, 0.3) 100%);
    border: 1px solid rgba(74, 108, 247, 0.5);
    border-radius: 8px;
    color: #4A6CF7;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.progress-course-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.4;
    min-height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.progress-info {
    margin-bottom: 20px;
}

.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4A6CF7 0%, #322ce3 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(74, 108, 247, 0.6);
}

.progress-text {
    color: #4A6CF7;
    font-size: 14px;
    font-weight: 700;
    min-width: 45px;
    text-align: right;
}

.btn-continue {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4A6CF7 0%, #4653e3 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.4);
}

.btn-continue:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(74, 108, 247, 0.6);
}

.btn-continue i {
    font-size: 20px;
}

.no-progress-courses {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.no-progress-courses p {
    margin: 0;
    font-size: 16px;
}

@media (max-width: 900px) {
    .progress-learning-room-link {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .in-progress-section .in-progress-inner .progress-courses-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .in-progress-section .in-progress-inner .progress-courses-container {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    
    .in-progress-section .in-progress-inner .section-header h5 {
        font-size: 20px;
    }
    
    .in-progress-section {
        padding: 32px 0;
    }
    
    .in-progress-section .in-progress-inner {
        padding: 0 12px;
    }

    .progress-learning-room-link {
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }
}

/* Progress Meta Info (time and date) */
.progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.progress-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
}

.progress-meta .meta-item i {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== AI Recommended Badge ===== */
.ai-recommended-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #4B99FF 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    pointer-events: none;
}

/* ===== Learning Roadmap Section ===== */
.learning-roadmap-section {
    margin: 40px 0;
    padding: 20px;
    background: #1D1D1D;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.learning-roadmap-section .section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.learning-roadmap-section .section-header h5 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.learning-roadmap-section .section-header h5 i {
    font-size: 28px;
    background: linear-gradient(135deg, #4A6CF7 0%, #8C5AEF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roadmap-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    padding-left: 40px;
}

.roadmap-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

/* Roadmap Step */
.roadmap-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    position: relative;
}

.step-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4A6CF7 0%, #8C5AEF 100%);
    border-radius: 50%;
    color: white;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(74, 108, 247, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.step-connector {
    width: 3px;
    height: 100%;
    min-height: 60px;
    background: linear-gradient(180deg, #4A6CF7 0%, rgba(140, 90, 239, 0.3) 100%);
    margin-top: 8px;
    border-radius: 2px;
}

/* Roadmap Card */
.roadmap-card {
    flex: 1;
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.9) 0%, rgba(15, 52, 96, 0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(74, 108, 247, 0.4);
    border-color: rgba(74, 108, 247, 0.5);
}

.roadmap-card-thumbnail {
    width: 240px;
    min-width: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.roadmap-card-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 0%, rgba(15, 52, 96, 1) 100%);
}

.roadmap-card-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.roadmap-card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.roadmap-category {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.3) 0%, rgba(140, 90, 239, 0.3) 100%);
    border: 1px solid rgba(74, 108, 247, 0.5);
    border-radius: 8px;
    color: #4A6CF7;
    font-size: 12px;
    font-weight: 600;
}

.roadmap-type {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
}

.roadmap-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.roadmap-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.difficulty-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.difficulty-badge.beginner {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.25) 0%, rgba(72, 219, 251, 0.25) 100%);
    border: 1px solid rgba(46, 213, 115, 0.5);
    color: #2ed573;
}

.difficulty-badge.intermediate {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.25) 0%, rgba(255, 107, 107, 0.25) 100%);
    border: 1px solid rgba(255, 159, 67, 0.5);
    color: #ff9f43;
}

.difficulty-badge.advanced {
    background: linear-gradient(135deg, rgba(238, 82, 83, 0.25) 0%, rgba(189, 46, 134, 0.25) 100%);
    border: 1px solid rgba(238, 82, 83, 0.5);
    color: #ee5253;
}

.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
}

.time-badge i {
    font-size: 14px;
}

.roadmap-reason {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0 0 16px 0;
    font-style: italic;
}

.roadmap-reason i {
    font-size: 16px;
    color: #feca57;
}

.btn-roadmap-start {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4A6CF7 0%, #8C5AEF 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.4);
    margin-top: auto;
}

.btn-roadmap-start:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(74, 108, 247, 0.6);
}

.btn-roadmap-start i {
    font-size: 20px;
}

.no-roadmap {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.no-roadmap p {
    margin: 0;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 968px) {
    .roadmap-card {
        flex-direction: column;
    }
    
    .roadmap-card-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .roadmap-card-thumbnail::after {
        background: linear-gradient(to bottom, transparent 0%, rgba(15, 52, 96, 1) 100%);
    }
}

@media (max-width: 768px) {
    .learning-roadmap-section {
        padding: 0 15px;
    }
    
    .roadmap-step {
        gap: 16px;
    }
    
    .step-number {
        min-width: 60px;
    }
    
    .step-badge {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }
    
    .roadmap-card-content {
        padding: 20px;
    }
}
/* Weekly Report + Badges Section */
.weekly-report-section {
    margin: 24px 0 48px;
    padding: 48px 0;
    background: rgba(18, 18, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
}

.weekly-report-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

.weekly-report-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.weekly-report-heading h5 {
    color: #FFF;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.weekly-report-heading .weekly-report-subtitle {
    color: #8F8F8F;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.18px;
    margin: 8px 0 0;
    line-height: 1.5;
}

.weekly-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.weekly-summary-card,
.weekly-badges-card {
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    height: 100%;
}

.summary-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 72px 24px 28px;
    margin-top: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.summary-box-label {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.14px;
}

.summary-box-value {
    color: #FFF;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.24px;
}

.summary-box.is-feedback {
    gap: 10px;
    background: rgba(114, 82, 255, 0.08);
    border: 1px solid rgba(148, 163, 253, 0.4);
    padding-right: 24px;
}

.summary-icon.small {
    position: static;
    transform: none;
    width: 34px;
    height: 34px;
    background: rgba(148, 163, 253, 0.18);
    border-radius: 12px;
}

.summary-feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.summary-feedback-header i {
    font-size: 20px;
    color: #A855F7;
}

.summary-feedback-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.weekly-badges-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.weekly-badges-title {
    font-size: 24px;
    font-weight: 700;
    color: #f5f5f7;
}

.weekly-badges-title .accent {
    color: #002BFF;
}

.weekly-badges-subtitle {
    margin-top: 8px;
    font-size: 15px;
    color: rgba(245, 245, 247, 0.6);
}

.weekly-badges-link {
    background: transparent;
    color: #A9b2ef;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.weekly-badges-link i {
    font-size: 18px;
}

.weekly-badges-link:hover {
    background: rgba(148, 163, 253, 0.3);
    border-color: rgba(148, 163, 253, 0.6);
    color: #e0e7ff;
}

.weekly-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.badge-tile {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.badge-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.badge-tile.is-earned {
    background: linear-gradient(135deg, rgba(45, 121, 237, 0.28) 0%, rgba(190, 201, 255, 0.36) 100%);
    border-color: rgba(0, 43, 255, 0.4);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.22);
}

.badge-tile.is-locked .badge-name {
    color: rgba(245, 245, 247, 0.65);
}

.badge-tile.is-locked .badge-status {
    color: rgba(148, 163, 184, 0.55);
}

.badge-emblem {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.badge-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.badge-tile.is-earned .badge-emblem img {
    filter: none;
    opacity: 1;
}

.badge-tile.is-locked .badge-emblem img {
    filter: grayscale(100%);
    opacity: 0.5;
}

.badge-name {
    font-size: 16px;
    font-weight: 600;
    color: #f5f5f7;
}

.badge-status {
    font-size: 14px;
    color: rgba(245, 245, 247, 0.75);
}

.badge-tile.is-earned .badge-status {
    color: #e7e4ff;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .weekly-report-grid {
        gap: 24px;
    }
}

@media (max-width: 1060px) {
    .weekly-report-grid {
        grid-template-columns: 1fr;
    }

    .weekly-badges-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .weekly-report-section {
        padding: 60px 0;
    }

    .weekly-report-inner {
        padding: 0 20px;
    }

    .weekly-report-heading h5 {
        font-size: 26px;
    }

    .weekly-summary-card,
    .weekly-badges-card {
        padding: 28px;
    }

    .summary-box-value {
        font-size: 30px;
    }

    .weekly-badges-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .weekly-report-section {
        margin: 60px 0;
    }

    .weekly-badges-grid {
        grid-template-columns: 1fr;
    }

    .weekly-summary-card,
    .weekly-badges-card {
        padding: 24px;
    }
}

/* ============================================
   Contents List Page Styles (moved from inline)
   ============================================ */

body.course-search-page,
body.contents-list-page {
    background-color: #1d1d1d !important;
    background-image: none !important;
}

html.course-search-root,
html.contents-list-root {
    background-color: #1d1d1d !important;
    background-image: none !important;
}

/* Search Page Container */
.search-page-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: start;
}

/* Left Sidebar Filters - Dark Theme with Purple Accents */
.filter-sidebar {
    background: rgb(57 79 138 / 25%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    position: sticky;
    top: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.filter-sidebar h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.filter-sidebar h4 .filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reset-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
}

.filter-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.filter-search-input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.filter-group-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.checkbox-label:hover {
    background: rgba(139, 92, 246, 0.15);
}

/* Custom styled checkbox - Purple theme (Round) */
.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.checkbox-label input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #4B99FF 0%, #a78bfa 100%);
    border-color: #4B99FF;
}

.checkbox-label:has(input[type="checkbox"]:checked) {
    background: rgba(139, 92, 246, 0.2);
    color: #fff;
}

.checkbox-label:has(input[type="checkbox"]:checked) span {
    color: #fff;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Radio Button Group */
.radio-group {
    display: flex;
    gap: 20px;
    padding: 8px 0;
}

/* Radio Button Styling - Purple theme */
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 0;
}

.radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.radio-label input[type="radio"]:checked {
    border-color: #4B99FF;
    background: rgba(255, 255, 255, 0.05);
}

.radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, #19ACF8 0%, #2D69F3 100%);
}

/* Slider Filters - Compact Single Row */
.slider-container {
    margin-top: 10px;
    position: relative;
}

.slider-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #4B99FF 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.slider-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #4B99FF;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.slider-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    min-width: 35px;
}

.range-slider {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(180deg, #19ACF8 0%, #2D69F3 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.6);
    border: 3px solid white;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(180deg, #19ACF8 0%, #2D69F3 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.6);
}

/* Filter Buttons */
.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.filter-btn {
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-btn-apply {
    background: radial-gradient(120% 140% at 20% 40%, #002BFF 0%, #0015FF 35%, #1E3EFF 60%, #39A9D2 100%);
    color: white;
    font-size: 15px;
    padding: 14px;
}

.filter-btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.5);
}

/* Right Content Area */
.search-results {
    min-height: 400px;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.search-results-header h3 {
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

/* Sort filter container and select */
.sort-filter-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.sort-select:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.sort-select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.sort-select option {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.9);
}

/* AI Badge for recommended courses */
.ai-recommended-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.4);
}

/* Contents List & Course Search Grid - 3 cards per row */
.search-page-container .grid-container {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Responsive Design for Contents List */
@media (max-width: 1200px) {
    .search-page-container .grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .search-page-container .grid-container {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .search-page-container {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        position: static;
    }
}

/* Banner Styles */
.page-banner {
    background: linear-gradient(270deg, rgba(17, 0, 255, 0.00) 0%, #008CFF 100%);
    /* background-repeat: no-repeat; */
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}


.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(39, 0, 113, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.banner-animations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Bling bling sparkle effects */
.wave-shape-1,
.wave-shape-2,
.wave-shape-3,
.wave-shape-4,
.wave-shape-5 {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 0 10px 2px rgba(255, 255, 255, 0.8),
        0 0 20px 4px rgba(200, 150, 255, 0.6),
        0 0 30px 6px rgba(255, 200, 255, 0.4);
}

.wave-shape-1 {
    top: 20%;
    right: 15%;
    animation: sparkle1 3s ease-in-out infinite;
}

.wave-shape-2 {
    top: 50%;
    right: 25%;
    animation: sparkle2 4s ease-in-out infinite 0.5s;
}

.wave-shape-3 {
    top: 70%;
    right: 10%;
    animation: sparkle3 3.5s ease-in-out infinite 1s;
}

.wave-shape-4 {
    top: 35%;
    right: 30%;
    animation: sparkle1 4.5s ease-in-out infinite 1.5s;
}

.wave-shape-5 {
    top: 60%;
    right: 20%;
    animation: sparkle2 3.8s ease-in-out infinite 2s;
}

/* Shimmer overlay effect */
.banner-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shimmerSweep 8s ease-in-out infinite;
    pointer-events: none;
}

.banner-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 2;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.banner-header {
    margin-bottom: 20px;
}

.banner-icon {
    display: none;
}

.banner-icon-shimmer {
    display: none;
}

.banner-text {
    max-width: 600px;
}

.banner-title {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.banner-subtitle {
    color: white;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.95;
}

.banner-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.banner-tag {
    padding: 10px 22px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.banner-tag:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.banner-tag i {
    display: none;
}

/* CSS Animations for Banner */
@keyframes sparkle1 {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.5);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes sparkle2 {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
}

@keyframes sparkle3 {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.4);
        box-shadow: 
            0 0 10px 2px rgba(255, 255, 255, 0.8),
            0 0 20px 4px rgba(200, 150, 255, 0.6);
    }
    50% { 
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 
            0 0 20px 4px rgba(255, 255, 255, 1),
            0 0 40px 8px rgba(200, 150, 255, 0.8),
            0 0 60px 12px rgba(255, 200, 255, 0.6);
    }
}

@keyframes shimmerSweep {
    0% { 
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% { 
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3), 0 0 0 0 rgba(255,255,255,0.7); }
    50% { box-shadow: 0 10px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.4), 0 0 0 10px rgba(255,255,255,0); }
}

@keyframes shimmer {
    0% { opacity: 0.3; transform: translateX(-100%); }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; transform: translateX(100%); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.7) 0%, rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.study-time {
    background: linear-gradient(135deg, #667eea 0%, #4B99FF 100%);
    color: white;
}

.stat-icon.chapters {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.stat-icon.courses {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.stat-icon.days {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.ai-feedback {
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.7) 0%, rgba(51, 65, 85, 0.7) 100%);
    border-left: 4px solid #60a5fa;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.ai-feedback i {
    font-size: 32px;
    color: #60a5fa;
}

.feedback-text {
    font-size: 15px;
    color: white;
    font-weight: 500;
    margin: 0;
}

/* Badges Card */
.badges-card {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.badges-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.badges-title i {
    font-size: 24px;
    color: #fbbf24;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.badge-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.7) 0%, rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.badge-item.earned {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.3) 100%);
    border: 2px solid #fbbf24;
}

.badge-item.earned .badge-icon {
    color: #fbbf24;
}

.badge-item.locked {
    opacity: 0.4;
}

.badge-item.locked .badge-icon {
    color: rgba(255, 255, 255, 0.4);
}

.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.badge-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.badge-date {
    display: block;
    font-size: 12px;
    color: #34d399;
    font-weight: 600;
}

.badge-progress {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.completion-status {
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.7) 0%, rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.status-count {
    color: #60a5fa;
    font-weight: 700;
}

.status-bar {
    width: 100%;
    height: 12px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 6px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    background: linear-gradient(90deg, #60a5fa 0%, #4B99FF 100%);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.btn-next-goal {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #60a5fa 0%, #4B99FF 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.btn-next-goal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.5);
}

.btn-next-goal i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .report-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .badge-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .badges-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   AI Zone Badge Styles
   ======================================== */

.ai-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #667eea 0%, #4B99FF 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 10;
    animation: ai-badge-pulse 2s ease-in-out infinite;
}

.ai-badge i {
    font-size: 14px;
    animation: ai-sparkle 1.5s ease-in-out infinite;
}

@keyframes ai-badge-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6);
    }
}

@keyframes ai-sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

/* AI Zone card hover effect */
#tab-hrde .edu_contents {
    position: relative;
}

#tab-hrde .edu_contents:hover .ai-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

#tab-hrde .edu_contents .img {
    position: relative;
}

/* Responsive adjustments for AI badge */
@media (max-width: 768px) {
    .ai-badge {
        padding: 4px 10px;
        font-size: 11px;
        top: 8px;
        right: 8px;
    }
    
    .ai-badge i {
        font-size: 12px;
    }
}

/* Content Type Badges (이러닝, 마이크로러닝, 숏폼) */
.edu_contents .img {
    position: relative;
}

.content-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    color: white;
    white-space: nowrap;
}

.content-type-badge.ctype-elearning {
    background: linear-gradient(135deg, #4A6CF7 0%, #667eea 100%);
}

.content-type-badge.ctype-microlearning {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.content-type-badge.ctype-shortform {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.content-type-badge.ctype-live {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.edu_contents:hover .content-type-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Responsive adjustments for content type badges */
@media (max-width: 768px) {
    .content-type-badge {
        padding: 4px 10px;
        font-size: 11px;
        top: 8px;
        left: 8px;
    }
}

/* ============================================
   Pagination Styles
   ============================================ */
.tab-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.page-number {
    padding: 10px 16px;
    min-width: 44px;
    font-weight: 400;
}

.pagination-btn.page-number.active {
    background: radial-gradient(120% 140% at 20% 40%, #002BFF 0%, #0015FF 35%, #1E3EFF 60%, #39A9D2 100%);
    font-weight: 700;
    border: 1px solid #667eea;
    border-radius: 999px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 40px 0;
    padding: 20px;
    flex-wrap: wrap;
    min-height: 72px;
    transition: opacity 0.2s ease;
}

.pagination-container.is-disabled {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.pagination-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-left: 10px;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .tab-pagination {
        gap: 6px;
        margin: 20px 0;
    }
    
    .pagination-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .pagination-btn.page-number {
        padding: 8px 12px;
        min-width: 38px;
    }
    
    .page-info {
        font-size: 13px;
        margin-left: 6px;
    }
}

.edu_contents .title .card-action-row .card-views {
    padding: 4px 10px;
    background: rgba(15, 17, 30, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: rgba(226, 232, 240, 0.82);
    font-size: 11px;
}

.is-hidden-card {
    display: none !important;
}

body.app-shell .tab-header,
.app-shell-light .tab-header {
    background: transparent !important;
    border: none !important;
}

.in-progress-section .in-progress-inner {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.in-progress-section .in-progress-inner .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.in-progress-section .in-progress-inner .section-header h5 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.in-progress-section .in-progress-inner .section-header h5 i {
    font-size: 28px;
    background: linear-gradient(135deg, #4A6CF7 0%, #8C5AEF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.in-progress-section .in-progress-inner .progress-courses-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.in-progress-section .in-progress-inner .progress-courses-container > * {
    min-width: 0;
}

.in-progress-section .in-progress-inner .progress-course-card {
    background: none;
    border-radius: 20px;
    overflow: visible;
    border: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: none;
}

.in-progress-section .in-progress-inner .progress-course-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.in-progress-section .in-progress-inner .progress-course-card .card-thumbnail {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.in-progress-section .in-progress-inner .progress-course-card .card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 52, 96, 0.8) 0%, transparent 100%);
    border-radius: 16px;
}

.in-progress-section .in-progress-inner .progress-course-card .card-content {
    padding: 20px;
}

.in-progress-section #wrap.in-progress-inner {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.in-progress-section #wrap.in-progress-inner .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.in-progress-section #wrap.in-progress-inner .section-header h5 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.in-progress-section #wrap.in-progress-inner .section-header h5 i {
    font-size: 28px;
    background: linear-gradient(135deg, #4A6CF7 0%, #8C5AEF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.in-progress-section #wrap.in-progress-inner .progress-courses-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.in-progress-section #wrap.in-progress-inner .progress-courses-container > * {
    min-width: 0;
}

.in-progress-section #wrap.in-progress-inner .progress-course-card {
    background: none;
    border-radius: 20px;
    overflow: visible;
    border: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: none;
}

.in-progress-section #wrap.in-progress-inner .progress-course-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.in-progress-section #wrap.in-progress-inner .progress-course-card .card-thumbnail {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.in-progress-section #wrap.in-progress-inner .progress-course-card .card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 52, 96, 0.8) 0%, transparent 100%);
    border-radius: 16px;
}

.in-progress-section #wrap.in-progress-inner .progress-course-card .card-content {
    padding: 20px;
}

.in-progress-section #wrap.in-progress-inner .section-header h5 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

