/* ==========================================================================
   Common Base
   Scope: .aioffice-page
   ========================================================================== */

* {
    box-sizing: border-box;

}

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

html,
body {
    font-family:
        "Pretendard",
        "Apple SD Gothic Neo",
        "Malgun Gothic",
        "Noto Sans KR",
        sans-serif;
}

/* Skip Navigation */
.skip-nav {
    display: none;
    top: -100px;
    left: 0;
    z-index: var(--z-tooltip);
    padding: 12px 20px;
    background: var(--color-primary);
    color: var(--color-text-white);
    font-weight: var(--font-weight-semibold);
}

.skip-nav:focus {
    top: 0;
}

/* ==========================================================================
   Typography Scale
   ========================================================================== */
main {
    overflow: hidden;
}

h1 {
    margin: 0;
    line-height: var(--line-height-tight);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

h2 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 60px);
    line-height: var(--line-height-tight);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

h3 {
    margin: 0;
    font-size: clamp(20px, 2vw, 28px);
    line-height: var(--line-height-tight);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

p {
    margin: 0;
}

h2 span {
    font-weight: var(--font-weight-bold);
}

nav a:visited {
  color:#edf3ff;
}

nav a:focus {
  color: #edf3ff;
  outline: none;
}

/* 색상 역할 클래스 - 색상값이 아니라 의미로 사용한다 */
.section-pain-point .text-primary {
    color: var(--color-primary);
    font-weight: 600;
}

.text-accent {
    color: var(--color-accent-light);
    font-weight: 600;
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-primary {
    color: var(--color-primary);
}

/* ==========================================================================
   Container / Section Scope 공통 구조
   ========================================================================== */

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 앵커 이동 시 sticky nav에 가리지 않도록 여유값을 둔다 */
section[id] {
    scroll-margin-top: 130px;
}

/* ==========================================================================
   Sticky Tab Navigation (앵커 스크롤 스파이)
   ========================================================================== */

 .section-sticky-tab {
    position: relative;
    width: 100%;
    background: var(--color-secondary);
 }
.section-sticky-tab.is-fixed {
    position: fixed;
    top: 120px; /* PC 헤더 높이 */
    left: 0;
    width: 100%;
    z-index: 10;
}
.sticky-tab-placeholder {
    display: none;
    width: 100%;
}
.sticky-tab-placeholder.is-active {
    display: block;
}
.section-sticky-tab .contents-container {
    position: relative;
    width: 100%;
    margin-left: 30px;
}

.sticky-tab-list {
    display: flex;
    gap: 64px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sticky-tab-link {
    position: relative;
    display: inline-block;
    padding: 13px 4px;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sticky-tab-link:hover,
.sticky-tab-link:focus-visible {
    color: var(--color-text-white);
}

.sticky-tab-link.is-active {
    color: var(--color-text-white);
}

.sticky-tab-link:focus-visible {
    outline: 2px solid var(--color-text-white);
    outline-offset: 2px;
}

/* 슬라이딩 인디케이터 바
   위치/너비는 JS가 active 탭 또는 hover 탭의 좌표를 측정해 지정하고,
   CSS는 그 값이 바뀔 때 부드럽게 움직이는 transition만 담당한다. */
.sticky-tab-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    border-radius: 2px;
    background: var(--color-text-white);
    transform: translateX(0);
    transition: transform var(--transition-base), width var(--transition-base);
    opacity: 0;
}

.sticky-tab-indicator.is-ready {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .sticky-tab-indicator {
        transition: none;
    }
}

@media (max-width: 768px) {
    .sticky-tab-list {
        gap: 28px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .sticky-tab-link {
        white-space: nowrap;
        font-size: var(--font-size-body-sm);
    }
}

/***과정 소개 카드 Section ****/

.section-course-card {
  padding: 64px 0;
  background: #ffffff;
}

.section-course-card .contents-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: stretch;
}

.section-course-card .course-feature-list img {
  width: 40px;
  height:32px;
}

.course-intro-card,
.course-enroll-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(31, 45, 90, 0.08);
  padding: 36px;
}

.course-intro-card {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
}

.badge-outline {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: #2563eb;
  font-size: clamp(15px, 0.7vw, 13px);
  font-weight: 600;
}

.section-before-after .badge-outline {
  padding: 6px 18px;
    margin-bottom: 18px;
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
}

/*.badge-outline::after {
  content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    left: 0;
    top: 35px;
}
*/
.course-intro-title {
  position: relative;
  margin: 30px 0 14px;
  line-height: 1.35;
  font-weight: 800;
  color: #15182a;
}

.online-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #2563eb;
}

.online-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.course-intro-title strong {
  color: #2563eb;
}

.course-intro-desc {
  position: relative;
  max-width: 58%;
  font-size: 15px;
  line-height: 1.6;
  color: #565c6e;
}

.course-intro-image {
  position: absolute;
  top: 30px;
  right: -10px;
  z-index: 1;
  width: 220px;
  height: auto;
  border-radius: 14px;
}

.course-intro-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: 60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 120, 255, 0.14), rgba(86, 120, 255, 0) 70%);
  z-index: 0;
}

.course-feature-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin-top: 70px;
  padding: 0;
}

.course-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.course-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #eef2ff;
  color: #2563eb;
}

.course-feature-label {
  font-size: 13px;
  font-weight: 600;
  color: #353a4a;
}

.course-enroll-card {
  display: flex;
  flex-direction: column;
}

.course-enroll-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}

.course-enroll-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
}

.course-enroll-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #15182a;
}

.course-enroll-list {
  margin: 0 0 18px;
}

.course-enroll-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eef0f5;
  font-size: 15px;
}

.course-enroll-row dt {
  color: #6b7080;
  font-weight: 500;
}

.course-enroll-row dd {
  margin: 0;
  font-weight: 700;
  color: #15182a;
}

.course-enroll-price-original {
  color: #9aa0ae;
  text-decoration: line-through;
  font-weight: 500;
}

.course-enroll-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 14px;
  background: #eef2ff;
}

.course-enroll-highlight-label {
  font-size: 15px;
  font-weight: 600;
  color: #353a4a;
}

.course-enroll-highlight-price {
  font-size: 24px;
  font-weight: 800;
  color: #2563eb;
}

.course-enroll-badge-group {
  display: grid;
    gap: 10px;
    margin-bottom: 10px;
    grid-template-columns: repeat(2, 1fr);
}

.badge-pill {
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #e1e5ee;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #353a4a;
  text-align: center;
}

.badge-pill svg {
  color: #2563eb;
}

.course-enroll-note {
  font-size: 12px;
  color: #9aa0ae;
}

.course-enroll-cta {
  width: 100%;
  margin-top: auto;
}

.course-enroll-cta .btn-arrow{
    transition:transform .25s ease;
}

.course-enroll-cta:hover .btn-arrow{
    transform:translateX(6px);
}

.section-satisfaction {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: #f6f8fd;
  background-image: url("../images/satisfaction-bg01.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.satisfaction-photo {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 420px;
  height: 100%;
  z-index: 0;

  /* TODO: 실제 이미지로 교체 필요. Design System 정책상 실사 이미지만 사용. */
  background-image: url("assets/images/satisfaction/satisfaction-photo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.satisfaction-sticky-note {
  position: absolute;
  top: 60px;
  left: 90px;
  z-index: 1;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(31, 45, 90, 0.12);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #353a4a;
  text-align: center;
}

.satisfaction-sticky-arrow {
  display: block;
  margin: 4px auto 0;
  color: #9aa0ae;
}

.section-satisfaction .container {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
}

.section-satisfaction .text-container {
  position: relative;
  text-align: center;
  margin-bottom: 48px;
}

.satisfaction-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  font-size: clamp(25px, 1.5vw, 18px);
  font-weight: 700;
  color: #15182a;
}

.satisfaction-eyebrow strong {
  color: #2563eb;
}

.satisfaction-eyebrow-spark {
  color: #f5b400;
}

.satisfaction-title {
  margin: 0 0 18px;
  line-height: 1.4;
  font-weight: 800;
  color: #15182a;
}

.satisfaction-title strong {
  color: #2563eb;
}

.satisfaction-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #565c6e;
}

.satisfaction-desc strong {
  color: #353a4a;
  font-weight: 700;
}

.satisfaction-clock-deco {
  position: absolute;
  top: -10px;
  right: -40px;
  color: #c7d3ff;
  z-index: -1;
}

.satisfaction-stat-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.satisfaction-stat-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(31, 45, 90, 0.08);
  padding: 25px 18px 20px;
}

.satisfaction-stat-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 17px;
  color: #2563eb;
    z-index: 999;
    position: relative;
}

.satisfaction-stat-connector svg {
  position: absolute;
  width: 50px;
    height: 50px;
    top: 40%;
}

.satisfaction-stat-connector svg circle {
  fill:#fff;
}

.satisfaction-stat-number-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.satisfaction-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #eef2ff;
  color: #2563eb;
}

.satisfaction-stat-label {
  margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
    color: #15182a;
}

.satisfaction-stat-number {
  margin: 0 0 10px;
  font-size: 50px;
  font-weight: 800;
  color: #2563eb;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef0f5;
  width: 100%;
}

.satisfaction-stat-number span {
  font-size: 20px;
  font-weight: 700;
}

.satisfaction-stat-desc {
  margin: 0;
  font-size: 16px;
    line-height: 1.3;
    color: #252525;
}

.satisfaction-stat-desc strong {
  color: #2563eb;
  font-weight: 700;
}

.satisfaction-summary-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(31, 45, 90, 0.08);
  padding: 26px 36px;
}

.satisfaction-summary-time {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  padding-right: 28px;
  border-right: 1px solid #eef0f5;
  color: #2563eb;
}

.satisfaction-summary-time p {
  margin: 0;
  font-size: 14px;
  color: #565c6e;
}

.satisfaction-summary-time strong {
  font-size: 18px;
  color: #15182a;
}

.satisfaction-summary-quote {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  color: #000000;
  margin: 0 auto;
}

.satisfaction-summary-quote p {
  margin: 0;
}

.satisfaction-summary-quote strong {
  color: #2563eb;
}

.satisfaction-quote-mark {
  font-size: 28px;
  font-weight: 800;
  color: #c7d3ff;
  line-height: 1;
}
.course-enroll-card .course-enroll-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
}
.aioffice-page p {
  color:#000;
}

.section-course-card .badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 8px 16px;
    background: #fff;
    color: var(--color-primary-dark);
    border-radius: var(--radius-full);
    font-size: var(--font-size-body-sm);
    font-weight: var(--font-weight-semibold);
}

.section-course-card .btn-cta {
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 32px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(90deg, #007eff 0%, #3dcd62 100%);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Sticky CTA */
.aioffice-page .sticky-cta, .organize-study-page .sticky-cta {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(960px, calc(100% - 48px));
    transition: transform 0.35s ease, opacity 0.35s ease;
    background: none;
}

.aioffice-page .sticky-cta.is-hidden, .organize-study-page .sticky-cta.is-hidden {
    transform: translateX(-50%) translateY(140%);
    opacity: 0;
    pointer-events: none;
}

.aioffice-page .sticky-cta-inner, .organize-study-page .sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
    padding: 16px 22px 16px 28px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.aioffice-page .sticky-cta-text, .organize-study-page .sticky-cta-text {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #111827;
    white-space: nowrap;
}

.aioffice-page .sticky-cta-text strong, .organize-study-page .sticky-cta-text strong {
    font-size: 18px;
    font-weight: 600;
    color: #646464;
}

.aioffice-page .sticky-cta-text span, .organize-study-page .sticky-cta-text span  {
    font-size: 22px;
    font-weight: 900;
}

.aioffice-page .sticky-cta-actions, .organize-study-page .sticky-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.aioffice-page .sticky-cta-btn, .organize-study-page .sticky-cta-btn {
    display: inline-flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 50px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.aioffice-page .sticky-cta-btn:hover, .organize-study-page .sticky-cta-btn:hover {
    transform: translateY(-2px);
}

.aioffice-page .sticky-cta-btn-primary, .organize-study-page .sticky-cta-btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 18px #2563eb42;
    overflow: hidden;
}

.aioffice-page .sticky-cta-btn-primary :before, .organize-study-page .sticky-cta-btn-primary :before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 72%,
        rgba(255,255,255,.95) 82%,
        rgba(125,225,255,1) 88%,
        transparent 100%
    );
    animation: stickyBorderSpin 2.4s linear infinite;
    z-index: -2;
}


.aioffice-page .sticky-cta-btn-dark, .organize-study-page .sticky-cta-btn-dark {
    background: #111827;
    color: #fff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.22);
}

.btn-primary{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
    border-radius:14px;

    background:linear-gradient(90deg,#3567f5,#46bdf4);
    color:#fff;

    z-index:1;
}

/* ==========================
   Sticky CTA Border Animation
========================== */
#instructor {
    scroll-margin-top: 200px;
}

#curriculum {
    scroll-margin-top: 200px;
}
.sticky-cta-btn-primary{
    position:relative;
    overflow:hidden;
    border-radius:999px;
    isolation:isolate;
}

@keyframes btnInnerGlowRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.sticky-cta-btn-primary:before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 58deg,
    rgba(255, 255, 255, 0.98) 88deg,
    #63f7ff 118deg,
    rgba(255, 255, 255, 0.95) 145deg,
    transparent 180deg,
    transparent 360deg
  );
  animation: btnInnerGlowRotate 2.5s linear infinite;
}

.sticky-cta-btn-primary:after {
content: "";
    position: absolute;
    inset: 3px;
    z-index: -1;
    border-radius: calc(10px - 2px);
    background: linear-gradient(135deg, #0c59fd 0%, #0047e8 100%);
}
.aioffice-page .sticky-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 20px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

.aioffice-page .sticky-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
