﻿/* ========================================
   Shohaz NEXT — Pages Styles
   ======================================== */

/* Navigation Enhanced */
.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--black);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-cart-btn {
    position: relative;
    color: var(--gray-600);
    transition: color 0.2s;
}

.nav-cart-btn:hover {
    color: var(--black);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: white;
    font-size: 0.6rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Page Hero */
.page-hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.page-hero-sm {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
}

.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.page-hero-desc {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Home Hero */
.home-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

/* Hero Tech Background */
.hero-tech-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.hero-tech-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-tech-static {
    fill: none;
    stroke: rgba(34, 197, 94, 0.12);
    stroke-width: 1.5;
}

.hero-tech-cross {
    stroke: rgba(34, 197, 94, 0.4);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.hero-tech-animated {
    fill: none;
    stroke-width: 2;
    filter: url(#heroGlow);
}

/* Horizontal moving lights */
.hero-scan-h {
    stroke: #22c55e;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 80 1300;
    animation: scanH 4s linear infinite;
}

.hero-scan-h-2 {
    animation-duration: 5s;
    animation-delay: 1.5s;
}

.hero-scan-h-3 {
    animation-duration: 4.5s;
    animation-delay: 3s;
}

@keyframes scanH {
    from {
        stroke-dashoffset: 1380;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* Vertical moving lights */
.hero-scan-v {
    stroke: #22c55e;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 80 900;
    animation: scanV 4s linear infinite;
}

.hero-scan-v-2 {
    animation-duration: 5s;
    animation-delay: 2s;
}

.hero-scan-v-3 {
    animation-duration: 4.5s;
    animation-delay: 3.5s;
}

@keyframes scanV {
    from {
        stroke-dashoffset: 980;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.hero-tech-node {
    fill: rgba(34, 197, 94, 0.6);
    animation: heroTechNodePulse 2.5s ease-in-out infinite;
}

.hero-tech-node:nth-child(odd) {
    animation-delay: 1s;
}

@keyframes heroTechNodePulse {

    0%,
    100% {
        opacity: 0.4;
        r: 2.5;
    }

    50% {
        opacity: 1;
        r: 4;
    }
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes heroPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.home-hero .hero-bg-text {
    position: absolute;
    font-size: clamp(150px, 25vw, 400px);
    font-weight: 900;
    color: rgba(34, 197, 94, 0.03);
    letter-spacing: -10px;
    user-select: none;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-hero-content {
    text-align: right;
}

.home-hero-content .hero-tag {
    animation: fadeUp 0.6s ease both;
}

.home-hero-content h1 {
    animation: fadeUp 0.6s 0.1s ease both;
}

.home-hero-content .hero-desc {
    animation: fadeUp 0.6s 0.2s ease both;
}

.home-hero-content .hero-btns {
    animation: fadeUp 0.6s 0.3s ease both;
}

/* Hero Stretched Title with Inline Image */
.hero-stretched-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Hero Image */
.home-hero-image {
    position: relative;
    animation: fadeUp 0.8s 0.2s ease both;
    border-radius: 20px;
}

.home-hero-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

/* Hero Pointers - styles defined later in file */
@media (max-width: 768px) {
    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-hero-content {
        text-align: center;
    }

    .home-hero-image {
        order: -1;
    }

    .hero-stretched-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        letter-spacing: -1px;
    }

    .hero-pointer {
        display: none;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Split Title with Inline Image */
.hero-split-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.4;
}

.hero-inline-img {
    display: inline-block;
    width: clamp(80px, 12vw, 160px);
    height: clamp(45px, 6vw, 80px);
    object-fit: cover;
    border-radius: 60px;
    vertical-align: middle;
    animation: heroFloat 6s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-split-title {
        justify-content: center;
    }

    .hero-inline-img {
        width: 90px;
        height: 50px;
    }
}

.home-hero-image {
    position: relative;
    animation: fadeUp 0.8s 0.2s ease both;
    border-radius: 20px;
}

.home-hero-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    animation: heroFloat 6s ease-in-out infinite;
    overflow: hidden;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* Stats - Marquee Style */
.stats-section {
    background: var(--black);
    padding: 40px 0;
    border: none;
    overflow: hidden;
    position: relative;
}

.stats-section::before,
.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.stats-section::before {
    right: 0;
    background: linear-gradient(to left, var(--black), transparent);
}

.stats-section::after {
    left: 0;
    background: linear-gradient(to right, var(--black), transparent);
}

.stats-marquee {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 32px;
}

.stat-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    padding: 8px 20px;
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

.stat-pill:hover {
    background: rgba(255, 255, 255, 0.05);
}

.stat-pill .stat-number {
    display: inline;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    margin: 0;
    letter-spacing: -1px;
    line-height: 1;
}

.stat-pill .stat-text {
    display: inline;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.stat-divider {
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    animation: statSpin 8s linear infinite;
}

@keyframes statSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .stats-marquee {
        gap: 12px 16px;
    }

    .stat-pill {
        padding: 6px 12px;
        gap: 8px;
    }

    .stat-pill .stat-number {
        font-size: 1.6rem;
    }

    .stat-pill .stat-text {
        font-size: 0.75rem;
    }

    .stat-divider svg {
        width: 16px;
        height: 16px;
    }
}

/* Courses Section - Tech Background */
.courses-section {
    position: relative;
    overflow: hidden;
    background: var(--gray-50);
}

.tech-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.tech-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Zigzag moving lights for courses */
.tech-zigzag {
    fill: none;
    stroke: #22c55e;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100 2400;
    animation: zigzagFlow 8s linear infinite;
}

.tech-zigzag-2 {
    animation-duration: 9s;
    animation-delay: 2s;
}

.tech-zigzag-3 {
    animation-duration: 7s;
    animation-delay: 4s;
}

@keyframes zigzagFlow {
    from {
        stroke-dashoffset: 2500;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.courses-section .container,
.courses-section .container-sm {
    position: relative;
    z-index: 1;
}

/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.course-card {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.course-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

.course-card-body {
    padding: 20px;
}

.course-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.course-card-body>p {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.course-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.course-meta span {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 700;
}

.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.course-price .price-old {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-decoration: line-through;
    display: block;
}

.course-price .price-new {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--accent);
}

.course-btn {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* Features / Why Shohaz — Bento Layout */
.features-section {
    background: var(--white);
    position: relative;
}

.features-section .container-sm,
.features-section .container {
    position: relative;
    z-index: 1;
}

.features-lead {
    text-align: center;
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 620px;
    margin: 18px auto 0;
}

.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 20px;
    margin-top: 56px;
}

.bento-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 28px;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 18px 40px -22px rgba(34, 197, 94, 0.35);
}

/* Hero / Highlight Card */
.bento-hero {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(160deg, #0a1f14 0%, #0a0a0a 100%);
    color: var(--white);
    border-color: rgba(34, 197, 94, 0.25);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 460px;
}

.bento-hero:hover {
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 22px 60px -25px rgba(34, 197, 94, 0.55);
}

.bento-hero-glow {
    position: absolute;
    top: -40%;
    left: -20%;
    width: 60%;
    height: 90%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.28), transparent 65%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.bento-hero>* {
    position: relative;
    z-index: 1;
}

.bento-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 7px 14px;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.bento-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: bentoPulse 2s infinite;
}

@keyframes bentoPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.bento-hero-title {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 14px;
    color: var(--white);
}

.bento-hero-title .hero-highlight {
    color: #86efac;
}

.bento-hero-desc {
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    max-width: 460px;
}

.bento-hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}

.bento-hero-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.bento-hero-list svg {
    flex-shrink: 0;
    color: var(--accent);
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    padding: 4px;
    width: 22px;
    height: 22px;
}

.bento-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bento-stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.bento-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.bento-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* Feature Card */
.bento-feature {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bento-num {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--gray-400);
    letter-spacing: 1px;
    transition: color 0.3s var(--ease);
}

.bento-feature:hover .bento-num {
    color: var(--accent);
}

.bento-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 14px;
    color: var(--accent);
    transition: transform 0.4s var(--ease);
}

.bento-feature:hover .bento-icon {
    transform: scale(1.08) rotate(-4deg);
}

.bento-feature h3 {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--gray-800);
    margin: 4px 0 0;
    line-height: 1.5;
}

.bento-feature p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.85;
    margin: 0;
}

/* Testimonials */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.testimonial-card {
    padding: 28px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--gray-50);
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--gray-800);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Footer */
.site-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li,
.footer-col ul a {
    font-size: 0.82rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--accent);
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 12px;
    max-width: 280px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* About Page */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-image {
    border-radius: 20px;
    overflow: hidden;
}

.about-story-image img {
    width: 100%;
    display: block;
}

.about-story-content h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.about-story-content p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 12px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.value-card {
    padding: 28px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
    position: relative;
    transition: all 0.3s var(--ease);
}

.value-card:hover {
    border-color: var(--accent);
}

.value-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gray-100);
    margin-bottom: 12px;
}

.value-card:hover .value-num {
    color: #bbf7d0;
}

.value-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.value-card p {
    font-size: 0.82rem;
    color: var(--gray-600);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.team-card {
    text-align: center;
    padding: 32px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--gray-50);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--accent-light);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card p {
    font-size: 0.82rem;
    color: var(--gray-600);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--gray-50);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 12px;
    color: var(--accent);
}

.contact-info-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-card p {
    font-size: 0.82rem;
    color: var(--gray-600);
}

.contact-form-wrap {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 36px;
}

.contact-form-wrap h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.contact-form textarea:focus {
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ========================================
   Cart Page — Redesigned
   ======================================== */
.cart-section {
    background: var(--gray-50);
    min-height: 60vh;
}

/* Steps Indicator */
.cart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cart-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    transition: color 0.3s var(--ease);
}

.cart-step-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    font-size: 0.78rem;
    font-weight: 900;
}

.cart-step-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.cart-step.active {
    color: var(--accent);
}

.cart-step.active .cart-step-num {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.cart-step-line {
    width: 32px;
    height: 1.5px;
    background: var(--gray-200);
}

/* Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

/* Cart List Header */
.cart-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.cart-list-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gray-800);
    margin: 0;
}

.cart-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid #bbf7d0;
    padding: 4px 12px;
    border-radius: 100px;
}

/* Empty State */
.cart-empty {
    text-align: center;
    padding: 60px 24px;
    background: var(--white);
    border: 1px dashed var(--gray-200);
    border-radius: 16px;
    color: var(--gray-600);
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 50%;
    color: var(--gray-400);
}

.cart-empty h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.cart-empty p {
    font-size: 0.85rem;
    margin-bottom: 20px;
    color: var(--gray-600);
}

/* Item List */
.cart-item-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    transition: all 0.3s var(--ease);
    margin: 0;
}

.cart-item:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    min-width: 72px;
    background: var(--gray-100);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--gray-800);
    line-height: 1.4;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.74rem;
    color: var(--gray-600);
}

.cart-item-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cart-item-meta svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.cart-item-mobile-price {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: left;
    margin: 0;
    position: relative;
}

.price-discount-badge {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--white);
    background: var(--red);
    padding: 2px 7px;
    border-radius: 100px;
    direction: ltr;
}

.cart-item-price .price-old,
.cart-item-mobile-price .price-old {
    font-size: 0.72rem;
    color: var(--gray-400);
    text-decoration: line-through;
    line-height: 1;
}

.cart-item-price .price-new,
.cart-item-mobile-price .price-new {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.2;
}

.cart-item-price .price-new small,
.cart-item-mobile-price .price-new small {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-right: 2px;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    padding: 0;
}

.cart-item-remove:hover {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.05);
}

/* Continue Shopping Link */
.cart-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

.cart-continue:hover {
    color: var(--accent);
}

.cart-continue svg {
    transition: transform 0.3s var(--ease);
}

.cart-continue:hover svg {
    transform: translateX(-3px);
}

/* Summary */
.cart-summary {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 18px;
    color: var(--gray-800);
}

/* Coupon */
.cart-coupon {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--gray-200);
}

.cart-coupon input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--gray-800);
    transition: all 0.3s var(--ease);
}

.cart-coupon input::placeholder {
    color: var(--gray-400);
}

.cart-coupon input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

.cart-coupon button {
    padding: 0 18px;
    background: var(--gray-800);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.cart-coupon button:hover {
    background: var(--accent);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.summary-row small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-400);
    margin-right: 2px;
}

.summary-discount {
    color: var(--accent);
    font-weight: 700;
}

.summary-total {
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--black);
    border-top: 1px solid var(--gray-200);
    padding-top: 14px;
    margin-top: 10px;
}

.summary-total small {
    color: var(--gray-600);
    font-weight: 600;
}

.cart-checkout-btn {
    width: 100%;
    margin-top: 18px;
    padding: 14px 20px;
    background: var(--accent);
    border-color: var(--accent);
    justify-content: center;
}

.cart-checkout-btn:hover {
    background: #16a34a;
    border-color: #16a34a;
}

/* Trust badges */
.cart-trust {
    list-style: none;
    padding: 16px 0 0;
    margin: 16px 0 0;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--gray-600);
}

.cart-trust svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Checkout Page */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

.checkout-form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 36px;
}

.checkout-form-wrap h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.step-item {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-400);
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.step-item.active {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

.step-item.done {
    color: var(--gray-600);
    background: var(--gray-100);
}

.step-divider {
    width: 24px;
    height: 2px;
    background: var(--gray-200);
}

.discount-section {
    margin-bottom: 24px;
}

.discount-section label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.discount-row {
    display: flex;
    gap: 8px;
}

.discount-row input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font);
    outline: none;
}

.discount-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.payment-methods {
    margin-bottom: 24px;
}

.payment-methods h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.payment-option:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-light);
}

.payment-option input {
    display: none;
}

.payment-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    position: relative;
}

.payment-option:has(input:checked) .payment-radio {
    border-color: var(--accent);
}

.payment-option:has(input:checked) .payment-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--accent);
    border-radius: 50%;
}

.payment-label strong {
    display: block;
    font-size: 0.85rem;
}

.payment-label small {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.checkout-summary {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.order-item img {
    width: 56px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.order-item h4 {
    font-size: 0.82rem;
    font-weight: 700;
}

.order-item p {
    font-size: 0.72rem;
    color: var(--gray-600);
}

.summary-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 12px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    padding: 4px 0;
}

.summary-row.summary-discount {
    color: #16a34a;
}

.summary-row.summary-total {
    font-weight: 900;
    font-size: 0.95rem;
    padding: 8px 0;
}

.order-item-img img {
    width: 56px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.order-item-info h4 {
    font-size: 0.82rem;
    font-weight: 700;
}

.order-item-info .order-item-qty {
    font-size: 0.72rem;
    color: var(--gray-600);
}

.order-item-price {
    margin-right: auto;
    font-size: 0.8rem;
    font-weight: 700;
}

.checkout-pay-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.no-gateway-msg {
    font-size: 0.85rem;
    color: #dc2626;
    padding: 16px;
    background: #fef2f2;
    border-radius: 10px;
}

.checkout-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: var(--accent-light);
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    color: #166534;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Thankyou Page */
.thankyou-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 0;
}

.thankyou-success,
.thankyou-failed {
    text-align: center;
}

.thankyou-icon {
    margin-bottom: 20px;
    color: #16a34a;
}

.thankyou-failed svg {
    color: #dc2626;
    margin-bottom: 20px;
}

.thankyou-success h2,
.thankyou-failed h2 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.thankyou-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: 28px;
}

.thankyou-failed p {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.thankyou-details {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 20px 24px;
    text-align: right;
    margin-bottom: 28px;
}

.thankyou-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.thankyou-detail-row:last-child {
    border-bottom: none;
}

.thankyou-detail-row span {
    font-size: 0.82rem;
    color: var(--gray-600);
}

.thankyou-detail-row strong {
    font-size: 0.85rem;
    font-weight: 700;
}

.thankyou-status {
    color: #16a34a;
}

.thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ========================================
   Panel Page
   ======================================== */
.panel-section {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.panel-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.panel-sidebar {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 28px 20px;
    position: sticky;
    top: 100px;
}

.panel-user-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.panel-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--accent);
}

.panel-user-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.panel-user-info p {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.panel-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spot-guide {
    padding: 10px;
    background: #fafafa;
    border-radius: 10px;
    margin-bottom: 10px;
}

button.spot-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid #bbf7d0;
    padding: 8px 14px;
    border-radius: 100px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s;
}

button.spot-tab-btn:hover {
    background: #bbf7d0;
    transform: translateY(-1px);
}

.spot-guide-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

/* SpotPlayer Guide Popup */
.spot-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.spot-popup-overlay.active {
    display: flex;
}

.spot-popup {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 32px;
    max-width: 520px;
    width: 100%;
    position: relative;
    animation: modalIn 0.4s var(--ease);
    max-height: 85vh;
    overflow-y: auto;
}

.spot-popup-close {
    position: absolute;
    top: 14px;
    left: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s;
}

.spot-popup-close:hover {
    color: var(--black);
    background: var(--gray-100);
}

.spot-popup-title {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--black);
}

.spot-popup-steps {
    min-height: 120px;
}

.spot-step {
    display: none;
}

.spot-step.active {
    display: block;
}

.spot-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.spot-step-content {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--gray-800);
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.spot-popup-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.spot-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    color: var(--gray-600);
    transition: all 0.2s;
}

.spot-nav-btn:hover {
    background: var(--gray-50);
    color: var(--black);
}

.spot-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.spot-nav-btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.spot-nav-btn-primary:hover {
    background: #16a34a;
    color: #fff;
}

.spot-step-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .spot-popup {
        padding: 28px 20px;
        max-width: 100%;
    }

    .spot-guide-tabs {
        gap: 6px;
    }
}

.panel-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s;
}

.panel-nav-item:hover {
    background: var(--white);
    color: var(--black);
}

.panel-nav-item.active {
    background: var(--accent-light);
    color: #166534;
}

.panel-nav-item.active svg {
    color: var(--accent);
}

.panel-nav-logout {
    margin-top: 12px;
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
    color: var(--red);
}

.panel-nav-logout:hover {
    background: #fef2f2;
    color: var(--red);
}

/* Panel Main */
.panel-main {
    min-height: 500px;
}

.panel-tab {
    display: none;
}

.panel-tab.active {
    display: block;
}

.panel-tab h2 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.panel-tab-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 24px;
    margin-top: -16px;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.dash-stat-card {
    text-align: center;
    padding: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
}

.dash-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 4px;
}

.dash-stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.dash-recent h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.dash-course-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.dash-course-card:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.dash-course-thumb {
    width: 70px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    min-width: 70px;
}

.dash-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-course-info {
    flex: 1;
}

.dash-course-info h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dash-course-info p {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

/* Progress Bar */
.progress-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 6px;
    transition: width 0.4s var(--ease);
}

.progress-text {
    font-size: 0.72rem;
    color: var(--gray-600);
    margin-top: 6px;
    display: block;
}

/* My Courses — Row Layout */
.my-courses-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.my-course-card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.my-course-card:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.1);
}

.my-course-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    color: var(--gray-800);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
    white-space: nowrap;
}

.my-course-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.my-course-btn svg {
    transition: transform 0.3s var(--ease);
}

.my-course-btn:hover svg {
    transform: translateX(-3px);
}

.my-course-image {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gray-100);
}

.my-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-course-body {
    padding: 0;
    min-width: 0;
}

.my-course-body h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--gray-800);
    line-height: 1.4;
}

.my-course-body>p {
    font-size: 0.78rem;
    color: var(--gray-600);
    margin: 0;
}

/* Certificates */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.certificate-card {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.certificate-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -16px rgba(34, 197, 94, 0.25);
}

/* Certificate Preview — designed like a real certificate */
.cert-preview {
    position: relative;
    padding: 24px 22px 20px;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.06), transparent 60%),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.06), transparent 60%),
        #ffffff;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.cert-preview::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1.5px solid rgba(34, 197, 94, 0.35);
    border-radius: 10px;
    pointer-events: none;
}

.cert-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2.5px solid var(--accent);
    z-index: 1;
}

.cert-corner-tl {
    top: 6px;
    right: 6px;
    border-bottom: none;
    border-left: none;
    border-top-right-radius: 6px;
}

.cert-corner-tr {
    top: 6px;
    left: 6px;
    border-bottom: none;
    border-right: none;
    border-top-left-radius: 6px;
}

.cert-corner-bl {
    bottom: 6px;
    right: 6px;
    border-top: none;
    border-left: none;
    border-bottom-right-radius: 6px;
}

.cert-corner-br {
    bottom: 6px;
    left: 6px;
    border-top: none;
    border-right: none;
    border-bottom-left-radius: 6px;
}

.cert-brand {
    margin-bottom: 8px;
}

.cert-brand-logo {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.5px;
    line-height: 1;
}

.cert-brand-logo span {
    color: var(--accent);
    font-weight: 400;
    margin-right: 2px;
}

.cert-brand-line {
    display: block;
    font-size: 0.62rem;
    color: var(--gray-600);
    margin-top: 2px;
}

.cert-headline {
    font-size: 0.92rem;
    font-weight: 900;
    color: var(--gray-800);
    margin: 6px 0 6px;
    letter-spacing: -0.3px;
}

.cert-divider {
    width: 36px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    display: block;
    margin: 0 auto 10px;
}

.cert-line {
    font-size: 0.7rem;
    color: var(--gray-600);
    margin: 0 0 4px;
    line-height: 1.5;
}

.cert-student {
    font-size: 1.05rem;
    font-weight: 900;
    color: #166534;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.cert-course {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--gray-800);
    margin: 0 0 12px;
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 6px;
    display: inline-block;
}

.cert-meta-row {
    margin-top: auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(34, 197, 94, 0.3);
}

.cert-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: right;
    min-width: 0;
}

.cert-meta-site {
    text-align: left;
}

.cert-meta-label {
    font-size: 0.55rem;
    color: var(--gray-400);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.cert-meta-value {
    font-size: 0.72rem;
    color: var(--gray-800);
    font-weight: 700;
}

.cert-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cert-sig-mark {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive, var(--font);
    font-size: 1rem;
    color: var(--accent);
    line-height: 1;
    transform: rotate(-6deg);
    margin-bottom: 2px;
}

.cert-sig-name {
    font-size: 0.7rem;
    color: var(--gray-800);
    font-weight: 700;
    border-top: 1.2px solid var(--gray-400);
    padding-top: 2px;
}

.certificate-actions {
    padding: 14px 16px;
    display: flex;
    gap: 8px;
}

/* Orders */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
}

.order-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.order-id {
    font-size: 0.82rem;
    font-weight: 700;
}

.order-date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.order-status {
    margin-right: auto;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
}

.status-paid {
    background: var(--accent-light);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.order-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    font-size: 0.85rem;
}

.order-amount {
    font-weight: 900;
    color: var(--accent);
}

/* Profile Form */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gray-200);
}

.profile-header h2 {
    margin: 0 0 4px;
}

.profile-header .panel-tab-desc {
    margin: 0;
}

.profile-form {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.profile-section {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
}

.profile-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gray-800);
    margin: 0 0 4px;
}

.profile-section-desc {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin: 0 0 16px;
    line-height: 1.7;
}

.profile-section .profile-section-title+.form-row,
.profile-section .profile-section-title+.form-group {
    margin-top: 14px;
}

.profile-form .form-group {
    margin-bottom: 14px;
}

.profile-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.profile-form .form-row .form-group {
    margin-bottom: 0;
}

.profile-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.profile-form input,
.profile-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.88rem;
    color: var(--gray-800);
    transition: all 0.3s var(--ease);
    resize: vertical;
}

.profile-form input:focus,
.profile-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

/* Tag Input */
.tag-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.3s var(--ease);
    min-height: 50px;
}

.tag-input:focus-within {
    border-color: var(--accent);
    background: var(--white);
}

.tag-list {
    display: contents;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 6px;
    background: var(--accent-light);
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.tag-chip button {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.18);
    color: #166534;
    border: none;
    border-radius: 50%;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s var(--ease);
}

.tag-chip button:hover {
    background: var(--red);
    color: var(--white);
}

#skillsTagField {
    flex: 1;
    min-width: 180px;
    padding: 6px 4px !important;
    background: transparent !important;
    border: none !important;
    font-size: 0.85rem !important;
    color: var(--gray-800);
    outline: none;
}

#skillsTagField:focus {
    background: transparent !important;
    border: none !important;
}

/* Skill suggestions */
.skill-suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.skill-suggest-label {
    font-size: 0.78rem;
    color: var(--gray-600);
    font-weight: 600;
    margin-left: 4px;
}

.skill-suggest {
    padding: 5px 12px;
    background: var(--white);
    border: 1px dashed var(--gray-200);
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.76rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.skill-suggest:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    border-style: solid;
    color: var(--accent);
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.profile-actions .cta-btn {
    padding: 12px 28px;
}

/* Mobile profile */
@media (max-width: 640px) {
    .profile-form .form-row {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        flex-direction: column;
    }

    .profile-actions .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Responsive — All Pages
   ======================================== */
@media (max-width: 1024px) {
    .features-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-hero {
        grid-column: span 2;
        grid-row: auto;
        min-height: auto;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-links.open,
    .nav-actions.open {
        display: flex;
    }

    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-hero-content {
        text-align: center;
    }

    .home-hero-image {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .features-bento {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .bento-hero {
        grid-column: span 2;
        padding: 28px;
    }

    .bento-hero-stats {
        gap: 18px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .panel-layout {
        grid-template-columns: 1fr;
    }

    .panel-sidebar {
        position: static;
    }

    .panel-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .panel-nav-item span {
        display: none;
    }

    .panel-nav-item {
        padding: 10px;
        border-radius: 10px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .my-courses-grid {
        grid-template-columns: 1fr;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-btns {
        justify-content: center;
    }

    .page-hero {
        padding-top: 110px;
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .features-bento {
        grid-template-columns: 1fr;
    }

    .bento-hero {
        grid-column: span 1;
        padding: 24px;
        min-height: auto;
    }

    .bento-hero-title {
        font-size: 1.4rem;
    }

    .bento-card {
        padding: 22px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 64px 1fr auto;
        gap: 12px;
        padding: 12px;
    }

    .cart-item-image {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .cart-item-price {
        display: none;
    }

    .cart-item-mobile-price {
        display: flex;
    }

    .cart-item-mobile-price .price-old {
        font-size: 0.7rem;
    }

    .cart-item-mobile-price .price-new {
        font-size: 0.85rem;
    }

    .dash-course-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Header Scrolled State (for pages using pages.css)
   ======================================== */
.site-header .nav {
    background: transparent;
    backdrop-filter: none;
}

.site-header.scrolled .nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--gray-200);
    padding: 12px 32px;
}

/* Nav inner: logo and links together on the right, actions on the left */
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-inner .logo {
    margin-left: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

/* Mobile Nav Open State */
@media (max-width: 768px) {
    .nav-inner {
        flex-wrap: wrap;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        width: 100%;
        order: 3;
        padding-top: 16px;
        border-top: 1px solid var(--gray-200);
        margin-top: 12px;
        gap: 12px;
    }

    .nav-actions.open {
        display: flex;
        width: 100%;
        order: 4;
        padding-top: 12px;
        justify-content: center;
    }
}

/* ========================================
   Additional Utility & Improvements
   ======================================== */

/* Smooth page transitions feel */
body {
    animation: pageIn 0.4s ease;
}

@keyframes pageIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Better focus styles for accessibility */
input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Card hover improvements */
.course-card,
.bento-card,
.testimonial-card,
.value-card,
.team-card,
.contact-info-card {
    will-change: transform;
}

/* Empty state improvements */
.cart-empty svg {
    color: var(--gray-200);
}

/* Certificate download button full width */
.certificate-actions .cta-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.78rem;
    padding: 10px 14px;
}

/* Disabled button */
button:disabled,
.cta-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   Home Hero Enhanced Typography
   ======================================== */
.home-hero-content .hero-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    background: var(--accent-light);
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid #bbf7d0;
}

.home-hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--black);
}

.home-hero-content .hero-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.8;
    max-width: 420px;
}

.home-hero-content .hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========================================
   Hero Background Floating SVG Shapes
   ======================================== */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-shape {
    position: absolute;
    color: var(--accent);
    opacity: 0.07;
}

.bg-shape.shape-1 {
    width: 48px;
    height: 48px;
    top: 18%;
    right: 8%;
    animation: shapeFloat1 12s ease-in-out infinite;
}

.bg-shape.shape-2 {
    width: 36px;
    height: 36px;
    top: 65%;
    right: 15%;
    animation: shapeFloat2 14s ease-in-out infinite;
}

.bg-shape.shape-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 5%;
    animation: shapeFloat3 10s ease-in-out infinite;
}

.bg-shape.shape-4 {
    width: 32px;
    height: 32px;
    bottom: 20%;
    left: 12%;
    animation: shapeFloat1 16s ease-in-out infinite reverse;
}

.bg-shape.shape-5 {
    width: 44px;
    height: 44px;
    top: 12%;
    left: 30%;
    animation: shapeFloat2 11s ease-in-out infinite;
}

.bg-shape.shape-6 {
    width: 28px;
    height: 28px;
    bottom: 30%;
    right: 30%;
    animation: shapeFloat3 13s ease-in-out infinite;
}

@keyframes shapeFloat1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(8px, -12px) rotate(5deg);
    }

    66% {
        transform: translate(-6px, 8px) rotate(-3deg);
    }
}

@keyframes shapeFloat2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-10px, -8px) rotate(-6deg);
    }
}

@keyframes shapeFloat3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(6px, 10px) rotate(4deg);
    }

    75% {
        transform: translate(-8px, -6px) rotate(-4deg);
    }
}

/* ========================================
   Courses Box Layout
   ======================================== */
.courses-row {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.courses-row:first-child {
    margin-top: 48px;
}

.courses-row-2 {
    grid-template-columns: 1fr 1fr;
}

.courses-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.courses-row-featured {
    grid-template-columns: 1fr;
}

/* Bento Layout */
.courses-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-top: 48px;
}

.courses-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.courses-col .course-box {
    grid-template-columns: 30% 1fr;
    flex: 1;
    align-items: center;
}

.courses-col .course-box-cover {
    width: 100%;
    height: 100%;
    min-height: 120px;
    border-radius: 8px;
    margin: 8px;
    margin-left: 0;
    overflow: hidden;
}

.courses-col .course-box-body {
    padding: 12px 14px;
}

.courses-col .course-box-body h3 {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.courses-col .course-box-body>p {
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.courses-col-center .course-box {
    grid-template-columns: 1fr;
    height: 100%;
}

.courses-col-center .course-box-cover {
    width: 100%;
    height: 400px;
    margin: 0;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.course-box-tall {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4, #fafafa);
}

.course-box-tall:hover {
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .courses-3col {
        grid-template-columns: 1fr;
    }

    .courses-col .course-box {
        grid-template-columns: 30% 1fr;
    }

    .courses-col .course-box-cover {
        min-height: 90px;
    }

    /* Make tall/center course look like others on mobile */
    .courses-col-center .course-box {
        grid-template-columns: 30% 1fr;
        height: auto;
    }

    .courses-col-center .course-box-cover {
        width: 100%;
        height: 100%;
        min-height: 90px;
        margin: 8px;
        margin-left: 0;
        border-radius: 8px;
        aspect-ratio: auto;
    }

    .courses-col-center .course-box-body {
        padding: 12px 14px;
    }
}

/* Course Box */
.course-box {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s var(--ease);
    display: grid;
    grid-template-columns: 30% 1fr;
}

.course-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
    border-color: transparent;
}

.course-box-cover {
    position: relative;
    overflow: hidden;
}

.course-box-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.course-box:hover .course-box-cover img {
    transform: scale(1.04);
}

.course-box-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    background: var(--accent);
    color: white;
}

.badge-vip {
    background: linear-gradient(135deg, #0f172a, #334155);
}

.course-box-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-box-body h3 {
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.5;
}

.course-box-body>p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 14px;
}

.course-box-meta {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.course-box-meta span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-400);
    padding: 4px 10px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
}

.course-box-actions {
    display: flex;
    gap: 10px;
}

/* Featured Full Width */
.course-box-featured {
    grid-template-columns: 250px 1fr;
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4, #fafafa);
}

.course-box-featured .course-box-body {
    padding: 36px 32px;
}

.course-box-featured:hover {
    border-color: var(--accent);
}

/* Course Box Responsive */
@media (max-width: 768px) {

    .courses-bento {
        grid-template-columns: 1fr;
    }

    .bento-left {
        grid-template-columns: 1fr;
    }

    .course-box {
        grid-template-columns: 1fr;
    }

    .course-box-cover {
        aspect-ratio: 16/9;
    }

    .course-box-tall .course-box-cover {
        min-height: auto;
        aspect-ratio: 16/9;
    }
}

/* ========================================
   Testimonial Slider — Redesigned
   ======================================== */
.testi-lead {
    text-align: center;
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 560px;
    margin: 18px auto 0;
}

.testi-wrapper {
    position: relative;
    max-width: 880px;
    margin: 56px auto 0;
}

.testi-quote-bg {
    position: absolute;
    top: -28px;
    right: 28px;
    width: 92px;
    height: 76px;
    fill: var(--accent);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.testimonial-slider {
    position: relative;
    z-index: 1;
    min-height: 280px;
}

.testimonial-slide {
    display: none;
    animation: slideFadeIn 0.55s var(--ease);
}

.testimonial-slide.active {
    display: block;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testi-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    padding: 40px 44px;
    box-shadow: 0 4px 24px -12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.testi-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
}

.testi-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.testi-rating svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
}

.testi-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--gray-800);
    margin: 0 0 28px;
    font-weight: 500;
}

.testi-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid var(--gray-200);
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--white);
    flex-shrink: 0;
    letter-spacing: -1px;
}

.testi-avatar[data-color="green"] {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.testi-avatar[data-color="blue"] {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.testi-avatar[data-color="purple"] {
    background: linear-gradient(135deg, #a855f7, #6b21a8);
}

.testi-avatar[data-color="orange"] {
    background: linear-gradient(135deg, #f97316, #c2410c);
}

.testi-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testi-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--black);
}

.testi-role {
    font-size: 0.78rem;
    color: var(--gray-600);
}

.testi-course-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid #bbf7d0;
    padding: 8px 14px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

/* Nav Arrows */
.testi-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    z-index: 5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.testi-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-50%) scale(1.08);
}

.testi-nav-prev {
    right: -22px;
}

.testi-nav-next {
    left: -22px;
}

/* Controls */
.testi-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--gray-200);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    padding: 0;
}

.testi-dot:hover {
    background: var(--gray-400);
}

.testi-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 4px;
}

.testi-progress {
    height: 3px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
}

.testi-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    width: 0%;
    animation: testiProgress 5s linear infinite;
}

@keyframes testiProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .testi-wrapper {
        margin-top: 40px;
    }

    .testi-card {
        padding: 28px 24px;
    }

    .testi-text {
        font-size: 0.95rem;
        line-height: 1.9;
    }

    .testi-footer {
        gap: 12px;
    }

    .testi-course-tag {
        font-size: 0.68rem;
        padding: 6px 12px;
    }

    .testi-nav {
        width: 38px;
        height: 38px;
    }

    .testi-nav-prev {
        right: -8px;
    }

    .testi-nav-next {
        left: -8px;
    }

    .testi-quote-bg {
        width: 64px;
        height: 52px;
        top: -18px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .testi-nav {
        display: none;
    }

    .testi-card {
        padding: 24px 20px;
    }

    .testi-author {
        gap: 10px;
    }

    .testi-avatar {
        width: 42px;
        height: 42px;
        font-size: 0.82rem;
    }
}

/* Row 3 — removed, using bento layout */

/* Course Info Button — Small with icon */
.course-info-btn {
    display: block;
    width: fit-content;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    font-family: var(--font);
    cursor: pointer;
}

.course-box-soon {
    cursor: pointer;
}

.course-info-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.course-info-btn svg {
    transition: transform 0.2s var(--ease);
}

.course-info-btn:hover svg {
    transform: translateX(3px);
}

/* ========================================
   Courses 2x2 Grid + Featured Center
   ======================================== */
.courses-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 48px;
}

.courses-grid-2x2 .course-box {
    grid-template-columns: 90px 1fr;
}

.courses-grid-2x2 .course-box-cover {
    aspect-ratio: 1/1;
    border-radius: 10px;
    margin: 10px;
    margin-left: 0;
    overflow: hidden;
}

/* Featured Center */
.courses-featured-center {
    margin-top: 14px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.courses-featured-center .course-box {
    grid-template-columns: 1fr;
}

.courses-featured-center .course-box-cover {
    aspect-ratio: 16/7;
}

.courses-featured-center .course-box-tall {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4, #fafafa);
}

.courses-featured-center .course-box-tall:hover {
    border-color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .courses-grid-2x2 {
        grid-template-columns: 1fr;
    }

    .courses-featured-center {
        max-width: 100%;
    }
}

/* ========================================
   Hero Pointers
   ======================================== */
.hero-pointer {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: pointerFloat 4s ease-in-out infinite;
}

.pointer-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.pointer-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gray-800);
    white-space: nowrap;
}

/* Positions */
.pointer-1 {
    top: 30%;
    right: -40px;
    animation-delay: 0s;
}

.pointer-2 {
    top: 42%;
    left: -20px;
    animation-delay: 0.5s;
}

.pointer-3 {
    bottom: 28%;
    right: -15px;
    animation-delay: 1s;
}

.pointer-4 {
    bottom: 8%;
    left: 10%;
    animation-delay: 1.5s;
}

@keyframes pointerFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-pointer {
        display: none;
    }
}


/* ========================================
   Free Consultation Section
   ======================================== */
.consult-section {
    padding: 100px 24px;
    background: linear-gradient(160deg, #0a1f14 0%, #0a0a0a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.consult-section .container {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: hidden;
}

.consult-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Visual */
.consult-visual {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 24px;
}

.consult-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 7px 14px;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    font-size: 0.78rem;
    font-weight: 700;
}

.consult-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: bentoPulse 2s infinite;
}

.consult-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.3;
    margin: 0;
    color: var(--white);
}

.consult-highlight {
    color: #86efac;
    position: relative;
    display: inline-block;
}

.consult-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 100%;
    height: 8px;
    background: rgba(34, 197, 94, 0.25);
    border-radius: 4px;
    z-index: -1;
}

.consult-desc {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 480px;
}

.consult-phone-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 16px;
    transition: all 0.3s var(--ease);
}

.consult-phone-card:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-2px);
}

.consult-phone-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: phoneRing 2.5s infinite;
}

@keyframes phoneRing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    5% {
        transform: rotate(-12deg);
    }

    10% {
        transform: rotate(12deg);
    }

    15% {
        transform: rotate(-12deg);
    }

    20% {
        transform: rotate(0deg);
    }
}

.consult-phone-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.consult-phone-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.consult-phone-number {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s var(--ease);
}

.consult-phone-number:hover {
    color: #86efac;
}

.consult-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.consult-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.consult-features svg {
    color: var(--accent);
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    padding: 3px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Right Form */
.consult-form-wrapper {
    position: relative;
    min-width: 0;
}

.consult-form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.4);
    color: var(--gray-800);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.consult-form-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.consult-form-header h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--black);
    margin: 0 0 6px;
}

.consult-form-header p {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin: 0;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.consult-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.consult-field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-800);
}

.consult-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.consult-input-wrap svg {
    position: absolute;
    right: 14px;
    color: var(--gray-400);
    pointer-events: none;
    transition: color 0.3s var(--ease);
}

.consult-input-wrap input {
    width: 100%;
    padding: 14px 44px 14px 16px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--gray-800);
    transition: all 0.3s var(--ease);
    direction: rtl;
}

.consult-input-wrap input::placeholder {
    color: var(--gray-400);
}

.consult-input-wrap input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.consult-input-wrap input:focus+svg,
.consult-input-wrap:focus-within svg {
    color: var(--accent);
}

.consult-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    margin-top: 8px;
}

.consult-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(34, 197, 94, 0.4);
}

.consult-submit svg {
    transition: transform 0.3s var(--ease);
}

.consult-submit:hover svg {
    transform: translateX(-3px);
}

.consult-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--gray-600);
    margin: 8px 0 0;
}

.consult-privacy svg {
    color: var(--gray-400);
}

/* Responsive */
@media (max-width: 1024px) {
    .consult-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .consult-section {
        padding: 60px 16px;
    }

    .consult-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .consult-visual {
        text-align: center;
        align-items: center;
    }

    .consult-title {
        font-size: 1.6rem;
    }

    .consult-desc {
        text-align: center;
        font-size: 0.9rem;
    }

    .consult-phone-card {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .consult-phone-number {
        font-size: 1.2rem;
    }

    .consult-features {
        justify-content: center;
    }

    .consult-form-card {
        padding: 24px 20px;
    }

    .consult-form-header h3 {
        font-size: 1.1rem;
    }

    .consult-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .consult-section {
        padding: 48px 12px;
    }

    .consult-phone-number {
        font-size: 1.1rem;
    }

    .consult-phone-icon {
        width: 48px;
        height: 48px;
    }

    .consult-features {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .consult-badge {
        align-self: center;
    }

    .consult-input-wrap input {
        padding: 12px 40px 12px 14px;
        font-size: 0.85rem;
    }
}


/* Consult Captcha */
.consult-captcha-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.consult-captcha-display {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: var(--gray-100);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--gray-800);
    letter-spacing: 1px;
    user-select: none;
    direction: ltr;
    min-width: 92px;
    background-image: linear-gradient(45deg, transparent 48%, rgba(34, 197, 94, 0.08) 49%, rgba(34, 197, 94, 0.08) 51%, transparent 52%);
    background-size: 8px 8px;
}

.consult-captcha-refresh {
    width: 46px;
    flex-shrink: 0;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.consult-captcha-refresh:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(180deg);
}

.consult-captcha-row input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--gray-800);
    text-align: center;
    transition: all 0.3s var(--ease);
}

.consult-captcha-row input::placeholder {
    color: var(--gray-400);
}

.consult-captcha-row input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}


/* Cart — Tablet/Laptop adjustments */
@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr 320px;
        gap: 20px;
    }
}

@media (max-width: 860px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 480px) {
    .cart-steps .cart-step-label {
        display: none;
    }

    .cart-step-line {
        width: 18px;
    }

    .cart-coupon {
        flex-direction: column;
    }

    .cart-coupon button {
        padding: 11px 18px;
    }
}


/* ========================================
   Toast — Minimal Centered Notification
   ======================================== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 20px)) scale(0.95);
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 280px;
    max-width: calc(100vw - 32px);
    padding: 16px 22px;
    background: rgba(15, 23, 19, 0.96);
    color: var(--white);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 14px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.3s;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s;
}

.toast-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.18);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.toast-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--white);
}

.toast-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}


/* My Courses — Mobile */
@media (max-width: 480px) {
    .my-course-card {
        grid-template-columns: 88px 1fr;
        grid-template-rows: auto auto;
        gap: 12px;
        padding: 12px;
    }

    .my-course-image {
        width: 88px;
        height: 64px;
        grid-row: 1;
    }

    .my-course-body {
        grid-row: 1;
        grid-column: 2;
    }

    .my-course-body h4 {
        font-size: 0.88rem;
    }

    .my-course-body>p {
        font-size: 0.72rem;
    }

    .my-course-btn {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-content: center;
        padding: 10px 14px;
    }
}


/* ========================================
   Certificate PDF Template
   ======================================== */
.cert-pdf-wrapper {
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 1123px;
    height: 794px;
    pointer-events: none;
    opacity: 0;
}

.cert-pdf {
    width: 1123px;
    height: 794px;
    padding: 30px;
    background: #ffffff;
    font-family: var(--font);
    direction: rtl;
    box-sizing: border-box;
}

.cert-pdf-border {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 60px 80px;
    border: 2px solid #22c55e;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.04), transparent 60%),
        linear-gradient(-135deg, rgba(34, 197, 94, 0.04), transparent 60%),
        #ffffff;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-pdf-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: #22c55e;
    border-style: solid;
    border-width: 0;
}

.cert-pdf-corner-tl {
    top: 14px;
    right: 14px;
    border-top-width: 4px;
    border-right-width: 4px;
    border-top-right-radius: 12px;
}

.cert-pdf-corner-tr {
    top: 14px;
    left: 14px;
    border-top-width: 4px;
    border-left-width: 4px;
    border-top-left-radius: 12px;
}

.cert-pdf-corner-bl {
    bottom: 14px;
    right: 14px;
    border-bottom-width: 4px;
    border-right-width: 4px;
    border-bottom-right-radius: 12px;
}

.cert-pdf-corner-br {
    bottom: 14px;
    left: 14px;
    border-bottom-width: 4px;
    border-left-width: 4px;
    border-bottom-left-radius: 12px;
}

.cert-pdf-header {
    margin-bottom: 30px;
}

.cert-pdf-logo {
    font-size: 36px;
    font-weight: 900;
    color: #0a0a0a;
    letter-spacing: -1px;
    line-height: 1;
}

.cert-pdf-logo span {
    color: #22c55e;
    font-weight: 400;
    margin-right: 4px;
}

.cert-pdf-overline {
    font-size: 14px;
    color: #525252;
    margin-top: 6px;
    font-weight: 500;
}

.cert-pdf-title {
    font-size: 44px;
    font-weight: 900;
    color: #0a0a0a;
    margin: 0 0 14px;
    letter-spacing: -1px;
}

.cert-pdf-divider {
    width: 100px;
    height: 3px;
    background: #22c55e;
    border-radius: 2px;
    margin: 0 auto 36px;
}

.cert-pdf-intro,
.cert-pdf-text {
    font-size: 18px;
    color: #525252;
    margin: 0 0 18px;
    font-weight: 400;
}

.cert-pdf-name {
    font-size: 42px;
    font-weight: 900;
    color: #166534;
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}

.cert-pdf-course {
    font-size: 28px;
    font-weight: 800;
    color: #0a0a0a;
    margin: 0 0 24px;
    padding: 12px 28px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 12px;
    display: inline-block;
}

.cert-pdf-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px dashed rgba(34, 197, 94, 0.3);
}

.cert-pdf-footer-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.cert-pdf-footer-site {
    text-align: left;
}

.cert-pdf-label {
    font-size: 12px;
    color: #a3a3a3;
    font-weight: 500;
}

.cert-pdf-value {
    font-size: 16px;
    color: #0a0a0a;
    font-weight: 700;
}

.cert-pdf-seal {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #22c55e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-pdf-sig {
    align-items: center;
    gap: 2px;
    text-align: center;
}

.cert-pdf-sig-mark {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive, var(--font);
    font-size: 32px;
    color: #22c55e;
    line-height: 1;
    transform: rotate(-6deg);
    margin-bottom: 4px;
}

.cert-pdf-sig .cert-pdf-value {
    border-top: 1.5px solid #a3a3a3;
    padding-top: 4px;
    min-width: 160px;
}

/* ========================================
   Support Sidebar Menu
   ======================================== */
.panel-nav-group {
    position: relative;
}

.panel-nav-toggle {
    width: 100%;
    border: none;
    font-family: var(--font);
    cursor: pointer;
    justify-content: flex-start;
}

.panel-nav-caret {
    margin-right: auto;
    transition: transform 0.3s var(--ease);
}

.panel-nav-group.open .panel-nav-caret {
    transform: rotate(180deg);
}

.panel-nav-submenu {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0 4px 14px;
    margin-top: 2px;
}

.panel-nav-group.open .panel-nav-submenu {
    display: flex;
}

.panel-nav-subitem {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.panel-nav-subitem:hover {
    background: var(--white);
    color: var(--accent);
}

.panel-nav-subitem.active {
    background: var(--accent-light);
    color: #166534;
}

/* ========================================
   Support Home Tab
   ======================================== */
.support-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.support-stat-card {
    text-align: center;
    padding: 20px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    transition: all 0.3s var(--ease);
}

.support-stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.08);
}

.support-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.support-stat-icon-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.support-stat-icon-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent);
}

.support-stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 2px;
}

.support-stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.support-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.support-action-card {
    padding: 24px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-align: center;
}

.support-action-card:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    transform: translateY(-2px);
}

.support-action-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    transition: all 0.3s var(--ease);
}

.support-action-card:hover .support-action-icon {
    background: var(--accent);
    color: #fff;
}

.support-action-card h4 {
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.support-action-card p {
    font-size: 0.78rem;
    color: var(--gray-600);
    margin: 0;
}

/* FAQ Section */
.support-faq {
    margin-bottom: 28px;
}

.support-faq h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.faq-item[open] {
    border-color: var(--accent);
    background: var(--accent-light);
}

.faq-item summary {
    padding: 14px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-800);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gray-400);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '−';
    color: var(--accent);
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-item p {
    padding: 0 18px 14px;
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

/* Support Contact Info */
.support-contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.support-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}

.support-contact-card svg {
    color: var(--accent);
    flex-shrink: 0;
}

.support-contact-label {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-bottom: 2px;
}

.support-contact-value {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-800);
}

/* ========================================
   Ticket New Tab
   ======================================== */
.ticket-new-header {
    margin-bottom: 24px;
}

.ticket-new-header h2 {
    margin-bottom: 4px !important;
}

.ticket-form-section {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    margin-bottom: 18px;
}

.ticket-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.ticket-select {
    width: 100%;
    padding: 12px 14px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--gray-800);
    appearance: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
}

.ticket-select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--white);
}

.ticket-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 20px;
    border: 2px dashed var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-align: center;
}

.ticket-file-upload:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.ticket-file-upload svg {
    color: var(--gray-400);
}

.ticket-file-upload:hover svg {
    color: var(--accent);
}

.ticket-file-upload span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
}

.ticket-file-upload small {
    font-size: 0.72rem;
    color: var(--gray-400);
}

.ticket-form-actions {
    display: flex;
    gap: 10px;
}

.ticket-form-actions .cta-btn {
    padding: 12px 24px;
}

/* ========================================
   Ticket List Tab
   ======================================== */
.ticket-list-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ticket-list-header h2 {
    margin-bottom: 4px !important;
}

.ticket-list-header .cta-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.8rem;
}

.ticket-filters {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.ticket-filter-btn {
    padding: 7px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    background: var(--white);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.ticket-filter-btn:hover {
    background: var(--gray-50);
    color: var(--black);
}

.ticket-filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Ticket Cards */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.ticket-card:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.08);
}

.ticket-card-main {
    flex: 1;
    min-width: 0;
}

.ticket-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.ticket-id {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gray-400);
    font-family: monospace;
}

.ticket-priority {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
}

.priority-low {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.priority-medium {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.priority-high {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.ticket-status {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
}

.status-open {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.status-answered {
    background: var(--accent-light);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-closed {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.ticket-subject {
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--gray-800);
}

.ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ticket-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--gray-400);
    font-weight: 600;
}

.ticket-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
    white-space: nowrap;
}

.ticket-open-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ========================================
   Ticket Detail (Chat)
   ======================================== */
.ticket-detail {
    display: none;
}

.ticket-detail.open {
    display: block;
}

.ticket-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    margin-bottom: 18px;
    transition: all 0.2s;
}

.ticket-back:hover {
    background: var(--white);
    color: var(--accent);
    border-color: var(--accent);
}

.ticket-detail-head {
    padding: 18px 22px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    margin-bottom: 18px;
}

.ticket-detail-head h3 {
    font-size: 1.05rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.ticket-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Chat Messages */
.ticket-chat {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 0;
    max-height: 400px;
    overflow-y: auto;
}

.chat-msg {
    display: flex;
    gap: 12px;
    max-width: 85%;
}

.chat-msg-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-support {
    align-self: flex-start;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 900;
    color: #fff;
}

.chat-avatar-user {
    background: var(--accent);
}

.chat-avatar-support {
    background: #3b82f6;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.8;
}

.chat-msg-user .chat-bubble {
    background: var(--accent-light);
    color: #166534;
    border-bottom-left: 4px;
}

.chat-msg-support .chat-bubble {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
}

.chat-time {
    font-size: 0.68rem;
    color: var(--gray-400);
    margin-top: 4px;
    display: block;
}

/* Ticket Reply Form */
.ticket-reply {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-200);
}

.ticket-reply-inner {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.ticket-reply textarea {
    flex: 1;
    padding: 12px 14px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--gray-800);
    resize: vertical;
    transition: all 0.3s var(--ease);
}

.ticket-reply textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

.ticket-reply .cta-btn {
    padding: 12px 20px;
    flex-shrink: 0;
}

/* ========================================
   Responsive — Support & Tickets
   ======================================== */
@media (max-width: 768px) {
    .support-stats {
        grid-template-columns: 1fr;
    }

    .support-actions-grid {
        grid-template-columns: 1fr;
    }

    .support-contact-info {
        grid-template-columns: 1fr;
    }

    .ticket-form-row {
        grid-template-columns: 1fr;
    }

    .ticket-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .ticket-open-btn {
        align-self: flex-end;
    }

    .ticket-list-header {
        flex-direction: column;
        gap: 12px;
    }

    .ticket-reply-inner {
        flex-direction: column;
    }

    .ticket-reply .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .ticket-form-actions {
        flex-direction: column;
    }

    .ticket-form-actions .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Dashboard Notifications
   ======================================== */
.dash-notifications {
    margin-top: 8px;
}

.dash-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dash-notif-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.dash-notif-header h3 svg {
    color: var(--accent);
}

.dash-notif-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.dash-notif-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-notif-item {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.dash-notif-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.06);
}

.dash-notif-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-notif-new-course .dash-notif-icon {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.dash-notif-discount .dash-notif-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dash-notif-update .dash-notif-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.dash-notif-info .dash-notif-icon {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent);
}

.dash-notif-body {
    flex: 1;
    min-width: 0;
}

.dash-notif-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.dash-notif-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
}

.tag-new {
    background: rgba(168, 85, 247, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.tag-discount {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.tag-update {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.tag-info {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.dash-notif-time {
    font-size: 0.68rem;
    color: var(--gray-400);
    margin-right: auto;
}

.dash-notif-body h4 {
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--gray-800);
    line-height: 1.5;
}

.dash-notif-body p {
    font-size: 0.78rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .dash-notif-item {
        flex-direction: column;
        gap: 10px;
    }

    .dash-notif-icon {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   Courses Archive Page
   ======================================== */
.courses-archive-section {
    padding: 60px 24px 100px;
}

.archive-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.archive-filter-btn {
    padding: 9px 18px;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    background: var(--white);
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.archive-filter-btn:hover {
    background: var(--gray-50);
    color: var(--black);
    border-color: var(--gray-300);
}

.archive-filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Grid — 5 per row */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.archive-card {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.archive-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.1);
}

.archive-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
}

.archive-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.archive-card:hover .archive-card-img img {
    transform: scale(1.05);
}

.archive-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--accent);
    color: #fff;
}

.archive-card-badge.badge-new {
    background: #7c3aed;
}

.archive-card-badge.badge-discount {
    background: #dc2626;
}

.archive-card-body {
    padding: 14px 16px 18px;
}

.archive-card-body h3 {
    font-size: 0.85rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--gray-800);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.archive-card-body>p {
    font-size: 0.72rem;
    color: var(--gray-400);
    margin: 0 0 10px;
}

.archive-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-card-meta span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-600);
}

.archive-card-meta span:last-child {
    color: var(--accent);
    font-weight: 900;
}

/* Responsive Archive Grid */
@media (max-width: 1200px) {
    .archive-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

.page-hero-desc {
    font-size: 1rem;
    color: var(--gray-600);
    margin-top: 12px;
}

.archive-card-badge.badge-vip {
    background: linear-gradient(135deg, #0f172a, #334155);
}

/* ========================================
   Footer Accordion (Mobile)
   ======================================== */
@media (max-width: 768px) {
    .footer-grid {
        gap: 4px !important;
        grid-template-columns: 1fr !important;
    }

    .footer-col {
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 0;
    }

    /* First column (logo + desc) — always visible, no accordion */
    .footer-col:first-child {
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 18px;
        margin-bottom: 8px;
    }

    /* Make h4 a clickable accordion header */
    .footer-col h4 {
        cursor: pointer;
        padding: 14px 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        user-select: none;
        position: relative;
    }

    .footer-col h4::after {
        content: '+';
        font-size: 1.3rem;
        font-weight: 400;
        color: var(--gray-400);
        transition: transform 0.3s var(--ease);
        line-height: 1;
    }

    .footer-col.open h4::after {
        content: '−';
        color: var(--accent);
    }

    .footer-col ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
        padding: 0;
    }

    .footer-col.open ul {
        max-height: 400px;
        padding-bottom: 14px;
    }
}