:root {
    --edu-ink: #1f2937;
    --edu-muted: #5f6f89;
    --edu-paper: #fffdf7;
    --edu-card: rgba(255, 255, 255, 0.88);
    --edu-line: rgba(59, 130, 246, 0.14);
    --edu-blue: #2563eb;
    --edu-sky: #0ea5e9;
    --edu-green: #10b981;
    --edu-amber: #f59e0b;
    --edu-coral: #f9735b;
    --edu-shadow: 0 22px 70px rgba(31, 41, 55, 0.12);
    --edu-soft-shadow: 0 14px 36px rgba(31, 41, 55, 0.09);
}

html {
    scroll-behavior: smooth;
}

body.edu-page {
    color: var(--edu-ink);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0) 52%),
        radial-gradient(circle at 8% 10%, rgba(14, 165, 233, 0.16), transparent 27%),
        radial-gradient(circle at 88% 4%, rgba(16, 185, 129, 0.13), transparent 24%),
        radial-gradient(circle at 80% 88%, rgba(245, 158, 11, 0.14), transparent 25%),
        linear-gradient(180deg, #f6fbff 0%, #fffdf7 48%, #f8fbff 100%) !important;
    font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
}

body.edu-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.04));
}

body.edu-page h1,
body.edu-page h2,
body.edu-page h3 {
    letter-spacing: 0;
}

body.edu-page p,
body.edu-page li,
body.edu-page div {
    letter-spacing: 0;
}

body.edu-page main,
body.edu-page .container {
    position: relative;
}

body.edu-page.page-enter {
    animation: none !important;
    transform: none !important;
}

body.edu-page .container,
body.edu-page .max-w-7xl,
body.edu-page .max-w-6xl,
body.edu-page .max-w-5xl,
body.edu-page .max-w-4xl {
    width: min(100% - 32px, var(--edu-content-width, 1120px));
}

body.edu-page section {
    position: relative;
}

body.edu-page .bg-white,
body.edu-page [class*="bg-white/"],
body.edu-page .bg-gray-50,
body.edu-page .module-card,
body.edu-page .hero-card,
body.edu-page .letter-card {
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--edu-soft-shadow);
    backdrop-filter: blur(14px);
}

body.edu-page [class*="rounded-2xl"],
body.edu-page [class*="rounded-3xl"],
body.edu-page [class*="rounded-[3"],
body.edu-page [class*="rounded-[4"] {
    border-radius: 24px;
}

body.edu-page button,
body.edu-page a {
    -webkit-tap-highlight-color: transparent;
}

body.edu-page button {
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.14);
}

body.edu-page .gradient-text,
body.edu-page .gradient-title,
body.edu-page .text-gradient,
body.edu-page .text-gold-gradient {
    background: none !important;
    color: var(--edu-green) !important;
    -webkit-text-fill-color: currentColor !important;
}

body.edu-page .edu-course-nav {
    position: fixed;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

body.edu-page .edu-course-nav button {
    width: 76px;
    min-height: 76px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.82) !important;
    color: var(--edu-ink) !important;
    box-shadow: 0 18px 44px rgba(31, 41, 55, 0.16);
    backdrop-filter: blur(18px);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.edu-page .edu-course-nav button:hover {
    transform: translateX(4px) scale(1.04);
    border-color: rgba(37, 99, 235, 0.26);
    box-shadow: 0 24px 58px rgba(31, 41, 55, 0.2);
}

body.edu-page .edu-course-nav button[data-current="true"] {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.94), rgba(14, 165, 233, 0.92)) !important;
    color: #ffffff !important;
}

body.edu-page .edu-course-nav button[data-current="true"]::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.18);
}

body.edu-page .edu-course-nav button span:first-child {
    font-size: 25px;
    line-height: 1;
}

body.edu-page .edu-course-nav button span:last-child {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

body.edu-page .edu-course-nav [class*="absolute left-full"] {
    display: none;
}

body.edu-page.edu-home {
    --edu-content-width: 1180px;
}

body.edu-page.edu-home .container {
    padding-left: clamp(18px, 3vw, 40px);
    padding-right: clamp(18px, 3vw, 40px);
}

body.edu-page.edu-home .header {
    border-radius: 34px;
    box-shadow: var(--edu-shadow);
}

body.edu-page.edu-harddraw,
body.edu-page.edu-piano {
    --edu-content-width: 960px;
}

body.edu-page.edu-harddraw header > div,
body.edu-page.edu-piano header > div {
    border-width: 1px !important;
    box-shadow: var(--edu-shadow) !important;
}

body.edu-page.edu-harddraw header > div {
    background: linear-gradient(135deg, #1e40af 0%, #0f766e 58%, #d97706 100%) !important;
}

body.edu-page.edu-piano header > div {
    background: linear-gradient(135deg, #1e3a8a 0%, #334155 52%, #0f766e 100%) !important;
}

body.edu-page.edu-pinyin .figma-frame {
    width: min(100%, 1440px);
    min-height: auto;
    background: transparent;
}

body.edu-page.edu-pinyin .soft-grid {
    background-image: none;
}

body.edu-page.edu-pinyin .hero-card,
body.edu-page.edu-pinyin .module-card,
body.edu-page.edu-pinyin .letter-card,
body.edu-page.edu-pinyin nav {
    box-shadow: var(--edu-shadow);
}

body.edu-page.edu-pinyin .pinyin-practice-cta {
    position: relative;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.edu-page.edu-pinyin .pinyin-practice-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 88% 18%, rgba(250, 204, 21, 0.18), transparent 30%),
        linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.09) 46%, transparent 58%);
    opacity: 0.72;
    transform: translateX(-18%);
    transition: transform 420ms ease, opacity 220ms ease;
}

body.edu-page.edu-pinyin .pinyin-practice-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24) !important;
    border-color: rgba(250, 204, 21, 0.28);
}

body.edu-page.edu-pinyin .pinyin-practice-cta:hover::before {
    opacity: 1;
    transform: translateX(18%);
}

body.edu-page.edu-pinyin .pinyin-phone-action {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 22px;
    min-height: 64px;
    border-radius: 999px;
    color: #fde68a;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(250, 204, 21, 0.34);
    box-shadow: 0 16px 42px rgba(250, 204, 21, 0.12);
    backdrop-filter: blur(12px);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.edu-page.edu-pinyin .pinyin-phone-action:hover,
body.edu-page.edu-pinyin .pinyin-phone-action:focus-visible {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(250, 204, 21, 0.72);
    box-shadow: 0 22px 56px rgba(250, 204, 21, 0.2);
    outline: none;
}

body.edu-page.edu-pinyin .pinyin-phone-action:active,
body.edu-page.edu-pinyin .pinyin-phone-action.is-tapped {
    transform: scale(0.97);
}

body.edu-page.edu-pinyin .pinyin-phone-icon {
    font-size: 28px;
    line-height: 1;
    transition: transform 180ms ease;
}

body.edu-page.edu-pinyin .pinyin-phone-action:hover .pinyin-phone-icon,
body.edu-page.edu-pinyin .pinyin-phone-action.is-tapped .pinyin-phone-icon {
    transform: translateY(-2px) rotate(-8deg);
}

body.edu-page.edu-pinyin .pinyin-phone-number {
    position: relative;
    z-index: 1;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.03em;
}

body.edu-page.edu-pinyin .pinyin-phone-shine {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}

body.edu-page.edu-pinyin .pinyin-phone-shine::after {
    content: "";
    position: absolute;
    top: -35%;
    bottom: -35%;
    left: -45%;
    width: 38%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: rotate(18deg);
    transition: left 420ms ease;
}

body.edu-page.edu-pinyin .pinyin-phone-action:hover .pinyin-phone-shine::after,
body.edu-page.edu-pinyin .pinyin-phone-action.is-tapped .pinyin-phone-shine::after {
    left: 110%;
}

body.edu-page.edu-pinyin .pinyin-call-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

body.edu-page.edu-pinyin .pinyin-call-link:hover,
body.edu-page.edu-pinyin .pinyin-call-link:focus-visible {
    transform: translateY(-2px) scale(1.03);
    filter: saturate(1.08);
    box-shadow: 0 22px 52px rgba(14, 165, 233, 0.26) !important;
    outline: none;
}

body.edu-page.edu-pinyin .pinyin-call-link:active,
body.edu-page.edu-pinyin .pinyin-call-link.is-tapped {
    transform: scale(0.97);
}

body.edu-page.edu-pinyin .pinyin-call-link::before {
    content: "📞";
    margin-right: 10px;
    font-size: 1.15em;
    line-height: 1;
}

body.edu-page.edu-pinyin .pinyin-call-link:hover::before,
body.edu-page.edu-pinyin .pinyin-call-link.is-tapped::before {
    transform: translateY(-1px) rotate(-6deg);
}

@media (max-width: 900px) {
    body.edu-page {
        padding-bottom: 92px;
    }

    body.edu-page .edu-course-nav {
        left: 10px;
        right: 10px;
        top: auto;
        bottom: 10px;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.74);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 18px 52px rgba(31, 41, 55, 0.18);
        backdrop-filter: blur(18px);
        pointer-events: auto;
    }

    body.edu-page .edu-course-nav button {
        width: 25%;
        min-width: 58px;
        min-height: 58px;
        padding: 8px 4px !important;
        border-radius: 18px;
        box-shadow: none;
    }

    body.edu-page .edu-course-nav button:hover {
        transform: translateY(-2px);
    }

    body.edu-page .edu-course-nav button span:first-child {
        font-size: 20px;
    }

    body.edu-page .edu-course-nav button span:last-child {
        font-size: 10px;
        white-space: normal;
    }

    body.edu-page h1 {
        font-size: clamp(2.25rem, 12vw, 4.2rem) !important;
        line-height: 1.06 !important;
    }

    body.edu-page h2 {
        font-size: clamp(1.7rem, 8vw, 3rem) !important;
        line-height: 1.15 !important;
    }

    body.edu-page h3 {
        font-size: clamp(1.15rem, 5.5vw, 1.7rem) !important;
    }

    body.edu-page p {
        font-size: clamp(0.96rem, 4vw, 1.12rem) !important;
        line-height: 1.72 !important;
    }

    body.edu-page .container,
    body.edu-page .max-w-7xl,
    body.edu-page .max-w-6xl,
    body.edu-page .max-w-5xl,
    body.edu-page .max-w-4xl {
        width: min(100% - 8px, var(--edu-content-width, 1120px));
    }

    body.edu-page [class*="px-20"] {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body.edu-page [class*="p-14"],
    body.edu-page [class*="p-12"],
    body.edu-page [class*="p-8"] {
        padding: 24px !important;
    }

    body.edu-page [class*="grid-cols-"] {
        grid-template-columns: 1fr !important;
    }

    body.edu-page [class*="w-["] {
        width: auto !important;
        max-width: 100% !important;
    }

    body.edu-page [class*="h-["] {
        height: auto !important;
    }

    body.edu-page.edu-pinyin nav.absolute {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    body.edu-page.edu-pinyin section {
        padding-top: 24px !important;
        padding-bottom: 42px !important;
    }

    body.edu-page.edu-pinyin .relative.h-\[650px\] {
        height: 620px !important;
    }

    body.edu-page.edu-pinyin h1 {
        font-size: clamp(2.28rem, 9.8vw, 2.8rem) !important;
        line-height: 1.1 !important;
    }
}

@media (max-width: 560px) {
    body.edu-page .edu-course-nav {
        gap: 6px;
        padding: 7px;
    }

    body.edu-page .edu-course-nav button {
        min-width: 52px;
    }

    body.edu-page.edu-home .header,
    body.edu-page.edu-harddraw header > div,
    body.edu-page.edu-piano header > div,
    body.edu-page.edu-pinyin .hero-card,
    body.edu-page.edu-pinyin .module-card {
        border-radius: 24px !important;
    }
}

@media (max-width: 900px) {
    body.edu-page {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 42%),
            radial-gradient(circle at 12% 4%, rgba(14, 165, 233, 0.12), transparent 26%),
            linear-gradient(180deg, #f7fcff 0%, #fffdf8 54%, #f8fbff 100%) !important;
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
        text-rendering: optimizeLegibility;
    }

    body.edu-page::before {
        background-size: 28px 28px;
        opacity: 0.72;
    }

    body.edu-page .container,
    body.edu-page .max-w-7xl,
    body.edu-page .max-w-6xl,
    body.edu-page .max-w-5xl,
    body.edu-page .max-w-4xl {
        width: min(100% - 8px, var(--edu-content-width, 1120px));
    }

    body.edu-page h1 {
        font-size: clamp(2rem, 9.4vw, 2.72rem) !important;
        line-height: 1.08 !important;
        text-wrap: balance;
    }

    body.edu-page h2 {
        font-size: clamp(1.45rem, 6.5vw, 2rem) !important;
        line-height: 1.18 !important;
        text-wrap: balance;
    }

    body.edu-page h3 {
        font-size: clamp(1.08rem, 4.8vw, 1.38rem) !important;
        line-height: 1.25 !important;
    }

    body.edu-page p,
    body.edu-page li {
        font-size: clamp(0.95rem, 3.8vw, 1.03rem) !important;
        line-height: 1.68 !important;
    }

    body.edu-page [class*="shadow-2xl"],
    body.edu-page [class*="shadow-xl"],
    body.edu-page .module-card,
    body.edu-page .hero-card,
    body.edu-page .letter-card,
    body.edu-page .info-card,
    body.edu-page .feature-card,
    body.edu-page .contact-section,
    body.edu-page .testimonials-section,
    body.edu-page .features-section {
        box-shadow: 0 12px 32px rgba(31, 41, 55, 0.09) !important;
    }

    body.edu-page [class*="hover:scale"],
    body.edu-page [class*="hover:-translate"],
    body.edu-page [class*="hover:translate"],
    body.edu-page .header:hover {
        transform: none !important;
    }

    body.edu-page [class*="animate-"],
    body.edu-page .header::before,
    body.edu-page .philosophy::before {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    body.edu-page .edu-course-nav {
        left: max(6px, env(safe-area-inset-left));
        right: max(6px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        gap: 6px;
        padding: 6px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 12px 34px rgba(31, 41, 55, 0.16);
    }

    body.edu-page .edu-course-nav button {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 52px;
        padding: 7px 3px !important;
        border-radius: 15px;
        position: relative;
        overflow: visible;
    }

    body.edu-page .edu-course-nav button[data-current="true"] {
        background: linear-gradient(145deg, #2563eb, #0ea5e9) !important;
    }

    body.edu-page .edu-course-nav button[data-current="true"]::after {
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    body.edu-page .edu-course-nav button[data-current="true"]::before {
        content: "";
        position: absolute;
        left: 22%;
        right: 22%;
        top: 5px;
        height: 3px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.92);
    }

    body.edu-page .edu-course-nav button[data-current="true"] > [class*="-top-1"][class*="-right-1"][class*="bg-green"] {
        display: none !important;
    }

    body.edu-page .edu-course-nav button span:first-child {
        font-size: 18px;
    }

    body.edu-page .edu-course-nav button span:last-child {
        font-size: 10px;
        line-height: 1.15;
    }

    body.edu-page.edu-home .container {
        padding: 10px 6px;
    }

    body.edu-page.edu-home .header {
        margin-bottom: 22px;
        padding: 30px 18px 28px;
        border-radius: 24px;
    }

    body.edu-page.edu-home .year-badge {
        padding: 8px 14px !important;
        margin-bottom: 16px !important;
        font-size: 13px;
    }

    body.edu-page.edu-home .main-title {
        margin-bottom: 14px !important;
        font-size: clamp(2.35rem, 10.6vw, 3rem) !important;
    }

    body.edu-page.edu-home .subtitle {
        margin-bottom: 18px !important;
        font-size: 1rem !important;
        line-height: 1.45 !important;
    }

    body.edu-page.edu-home .philosophy {
        display: block;
        max-width: 100%;
        padding: 18px !important;
        border-radius: 18px !important;
        text-align: left;
    }

    body.edu-page.edu-home .philosophy .flex {
        align-items: flex-start;
        gap: 10px;
    }

    body.edu-page.edu-home .info-grid,
    body.edu-page.edu-home .feature-grid,
    body.edu-page.edu-home .testimonial-grid {
        gap: 14px !important;
    }

    body.edu-page.edu-home .info-card,
    body.edu-page.edu-home .feature-card {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    body.edu-page.edu-home .features-section,
    body.edu-page.edu-home .testimonials-section,
    body.edu-page.edu-home .contact-section {
        margin-top: 22px !important;
        padding: 22px 18px !important;
        border-radius: 22px !important;
    }

    body.edu-page.edu-home .category-header {
        padding: 16px 18px !important;
        border-radius: 18px !important;
        margin: 20px 0 14px !important;
    }

    body.edu-page.edu-home .category-header h3 {
        font-size: 1.24rem !important;
    }

    body.edu-page.edu-harddraw .container,
    body.edu-page.edu-piano .container {
        padding-top: 18px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        padding-bottom: 22px !important;
    }

    body.edu-page.edu-harddraw header,
    body.edu-page.edu-piano header {
        margin-bottom: 24px !important;
    }

    body.edu-page.edu-harddraw header > div,
    body.edu-page.edu-piano header > div {
        padding: 30px 18px !important;
        border-width: 1px !important;
        border-radius: 24px !important;
    }

    body.edu-page.edu-harddraw header .w-20,
    body.edu-page.edu-piano header .w-20 {
        width: 58px !important;
        height: 58px !important;
        margin-bottom: 16px !important;
    }

    body.edu-page.edu-harddraw header h1,
    body.edu-page.edu-piano header h1 {
        margin-bottom: 14px !important;
        letter-spacing: 0 !important;
    }

    body.edu-page.edu-harddraw header .inline-block,
    body.edu-page.edu-piano header .inline-block {
        width: 100%;
        padding: 12px 16px !important;
        border-radius: 18px !important;
        font-size: 0.98rem !important;
        line-height: 1.45 !important;
    }

    body.edu-page.edu-harddraw section,
    body.edu-page.edu-piano section,
    body.edu-page.edu-harddraw footer,
    body.edu-page.edu-piano footer {
        margin-bottom: 22px !important;
    }

    body.edu-page.edu-harddraw section > div,
    body.edu-page.edu-piano section > div,
    body.edu-page.edu-harddraw footer > div,
    body.edu-page.edu-piano footer > div {
        padding: 22px 18px !important;
        border-radius: 22px !important;
    }

    body.edu-page.edu-harddraw .grid,
    body.edu-page.edu-piano .grid {
        gap: 14px !important;
    }

    body.edu-page.edu-harddraw [class*="bg-red-50"],
    body.edu-page.edu-piano [class*="bg-gray-50"] {
        padding: 16px !important;
        border-radius: 16px !important;
    }

    body.edu-page.edu-pinyin .figma-frame {
        width: 100%;
        min-height: 0;
        overflow: visible;
    }

    body.edu-page.edu-pinyin main > nav {
        margin: 10px 6px !important;
        padding: 16px !important;
        border-radius: 22px !important;
    }

    body.edu-page.edu-pinyin main > nav > div:first-child {
        gap: 12px;
    }

    body.edu-page.edu-pinyin main > nav > div:last-child {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    body.edu-page.edu-pinyin main > nav > div:last-child span {
        text-align: center;
        padding: 8px 6px !important;
        font-size: 12px;
        white-space: nowrap;
    }

    body.edu-page.edu-pinyin section {
        padding: 22px 6px 34px !important;
    }

    body.edu-page.edu-pinyin section:first-of-type {
        padding-top: 20px !important;
    }

    body.edu-page.edu-pinyin section:first-of-type > .relative.grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
        padding: 0 !important;
    }

    body.edu-page.edu-pinyin .hero-card {
        padding: 24px !important;
        border-radius: 24px !important;
    }

    body.edu-page.edu-pinyin .badge {
        margin-bottom: 20px !important;
        padding: 9px 14px;
        font-size: 13px;
        box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08) !important;
    }

    body.edu-page.edu-pinyin h1 {
        font-size: clamp(2.15rem, 9.6vw, 2.72rem) !important;
        line-height: 1.08 !important;
    }

    body.edu-page.edu-pinyin .hero-card p {
        margin-top: 20px !important;
        font-size: 1rem !important;
        line-height: 1.78 !important;
    }

    body.edu-page.edu-pinyin .hero-card .grid.grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 22px !important;
    }

    body.edu-page.edu-pinyin .hero-card .grid.grid-cols-3 > div {
        padding: 14px 10px !important;
        border-radius: 18px !important;
    }

    body.edu-page.edu-pinyin .hero-card .text-4xl {
        font-size: 2rem !important;
    }

    body.edu-page.edu-pinyin .hero-card .mt-10.flex {
        margin-top: 22px !important;
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 10px !important;
    }

    body.edu-page.edu-pinyin .hero-card button {
        width: 100%;
        padding: 14px 18px !important;
        font-size: 1rem !important;
        box-shadow: 0 12px 26px rgba(37, 99, 235, 0.14) !important;
    }

    body.edu-page.edu-pinyin .relative.h-\[650px\] {
        height: auto !important;
        min-height: 0 !important;
        display: grid;
        gap: 14px;
        margin-top: 16px;
    }

    body.edu-page.edu-pinyin .relative.h-\[650px\] > div {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        padding: 20px !important;
        border-radius: 24px !important;
        transform: none !important;
    }

    body.edu-page.edu-pinyin .letter-card {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    body.edu-page.edu-pinyin .letter-card [class*="text-[92px]"] {
        font-size: 4rem !important;
    }

    body.edu-page.edu-pinyin .syllable {
        height: 48px;
        border-radius: 15px;
        font-size: 22px;
    }

    body.edu-page.edu-pinyin .module-card {
        padding: 22px 18px !important;
        border-radius: 22px !important;
    }

    body.edu-page.edu-pinyin .pinyin-practice-cta {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px;
        align-items: stretch !important;
        padding: 26px 20px !important;
        border-radius: 26px !important;
    }

    body.edu-page.edu-pinyin .pinyin-practice-cta:hover {
        transform: none;
    }

    body.edu-page.edu-pinyin .pinyin-practice-cta > div:last-child {
        text-align: left !important;
    }

    body.edu-page.edu-pinyin .pinyin-phone-action {
        width: 100%;
        min-height: 58px;
        padding: 14px 18px;
        justify-content: center;
    }

    body.edu-page.edu-pinyin .pinyin-phone-action:hover,
    body.edu-page.edu-pinyin .pinyin-phone-action:focus-visible {
        transform: none;
    }

    body.edu-page.edu-pinyin .pinyin-phone-action:active,
    body.edu-page.edu-pinyin .pinyin-phone-action.is-tapped {
        transform: scale(0.98);
    }

    body.edu-page.edu-pinyin .pinyin-phone-number {
        font-size: 1.42rem;
    }

    body.edu-page.edu-pinyin .pinyin-phone-icon {
        font-size: 23px;
    }
}

@media (max-width: 560px) {
    body.edu-page {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    body.edu-page .edu-course-nav {
        border-radius: 18px;
    }

    body.edu-page .edu-course-nav button {
        min-height: 48px;
        border-radius: 14px;
    }

    body.edu-page .edu-course-nav button span:first-child {
        font-size: 17px;
    }

    body.edu-page .edu-course-nav button span:last-child {
        font-size: 9.5px;
    }

    body.edu-page.edu-home .header {
        padding: 26px 16px 24px;
    }

    body.edu-page.edu-home .philosophy .text-3xl {
        font-size: 1.45rem !important;
    }

    body.edu-page.edu-home .info-card h3,
    body.edu-page.edu-home .feature-card h3 {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    body.edu-page.edu-pinyin main > nav {
        padding: 14px !important;
    }

    body.edu-page.edu-pinyin main > nav > div:last-child {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    body.edu-page.edu-pinyin main > nav > div:last-child span {
        font-size: 11px;
        padding: 7px 4px !important;
    }

    body.edu-page.edu-pinyin .hero-card .grid.grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 390px) {
    body.edu-page .edu-course-nav {
        left: max(4px, env(safe-area-inset-left));
        right: max(4px, env(safe-area-inset-right));
        gap: 4px;
        padding: 5px;
    }

    body.edu-page .edu-course-nav button {
        min-height: 46px;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    body.edu-page .edu-course-nav button span:first-child {
        font-size: 16px;
    }

    body.edu-page .edu-course-nav button span:last-child {
        font-size: 9px;
    }

    body.edu-page.edu-pinyin .hero-card {
        padding: 20px !important;
    }
}

/* 2026 UI polish: unified education-admission visual layer. */
body.edu-page {
    --edu-content-width: 1180px;
    --edu-radius-lg: 20px;
    --edu-radius-md: 16px;
    --edu-border: rgba(37, 99, 235, 0.12);
    --edu-panel: rgba(255, 255, 255, 0.9);
    --edu-panel-strong: rgba(255, 255, 255, 0.96);
    --edu-shadow: 0 18px 42px rgba(30, 64, 175, 0.13);
    --edu-soft-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

body.edu-page .container,
body.edu-page .max-w-7xl,
body.edu-page .max-w-6xl,
body.edu-page .max-w-5xl,
body.edu-page .max-w-4xl {
    width: min(100% - 40px, var(--edu-content-width, 1180px));
    max-width: var(--edu-content-width, 1180px) !important;
}

body.edu-page.edu-harddraw,
body.edu-page.edu-piano {
    --edu-content-width: 1120px;
}

body.edu-page .bg-white,
body.edu-page [class*="bg-white/"],
body.edu-page .bg-gray-50,
body.edu-page [class*="bg-red-50"],
body.edu-page [class*="bg-blue-50"],
body.edu-page [class*="bg-green-50"],
body.edu-page [class*="bg-yellow-50"],
body.edu-page [class*="bg-purple-50"],
body.edu-page .info-card,
body.edu-page .feature-card,
body.edu-page .feature-category,
body.edu-page .testimonials-section,
body.edu-page .module-card,
body.edu-page .letter-card,
body.edu-page .hero-card {
    border: 1px solid var(--edu-border) !important;
    box-shadow: var(--edu-soft-shadow) !important;
    backdrop-filter: none !important;
    border-radius: var(--edu-radius-md) !important;
}

body.edu-page .info-card,
body.edu-page .feature-card,
body.edu-page .feature-item,
body.edu-page .testimonial-item,
body.edu-page.edu-harddraw section > div,
body.edu-page.edu-piano section > div,
body.edu-page.edu-harddraw footer > div,
body.edu-page.edu-piano footer > div,
body.edu-page.edu-pinyin .module-card,
body.edu-page.edu-pinyin .letter-card,
body.edu-page.edu-pinyin .hero-card {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.edu-page .fade-in-up,
body.edu-page .scroll-reveal,
body.edu-page .animate-fade-in-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

body.edu-page .info-card:hover,
body.edu-page .feature-card:hover,
body.edu-page .feature-item:hover,
body.edu-page .testimonial-item:hover,
body.edu-page.edu-harddraw section > div:hover,
body.edu-page.edu-piano section > div:hover,
body.edu-page.edu-pinyin .module-card:hover,
body.edu-page.edu-pinyin .letter-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(14, 165, 233, 0.24) !important;
    box-shadow: 0 20px 52px rgba(30, 64, 175, 0.13) !important;
}

body.edu-page.edu-home .header,
body.edu-page.edu-harddraw header > div,
body.edu-page.edu-piano header > div,
body.edu-page.edu-pinyin .hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 26px 78px rgba(30, 64, 175, 0.17) !important;
}

body.edu-page.edu-home .header::after,
body.edu-page.edu-harddraw header > div::after,
body.edu-page.edu-piano header > div::after,
body.edu-page.edu-pinyin .hero-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14));
}

body.edu-page.edu-harddraw header > div,
body.edu-page.edu-piano header > div {
    padding: clamp(38px, 5vw, 58px) clamp(34px, 5vw, 60px) !important;
}

body.edu-page.edu-harddraw section > div,
body.edu-page.edu-piano section > div,
body.edu-page.edu-harddraw footer > div,
body.edu-page.edu-piano footer > div {
    border-radius: var(--edu-radius-lg) !important;
}

body.edu-page.edu-harddraw section,
body.edu-page.edu-piano section,
body.edu-page.edu-harddraw footer,
body.edu-page.edu-piano footer {
    margin-bottom: 34px !important;
}

body.edu-page.edu-harddraw h2,
body.edu-page.edu-piano h2,
body.edu-page.edu-home .features-title,
body.edu-page.edu-home .testimonials-title {
    color: #172033 !important;
}

body.edu-page.edu-harddraw .grid.md\:grid-cols-2,
body.edu-page.edu-piano .grid.md\:grid-cols-2,
body.edu-page.edu-piano .grid.md\:grid-cols-3 {
    gap: 22px !important;
}

body.edu-page.edu-harddraw .bg-red-50,
body.edu-page.edu-harddraw [class*="from-blue-50"],
body.edu-page.edu-harddraw [class*="from-green-50"],
body.edu-page.edu-harddraw [class*="from-yellow-50"],
body.edu-page.edu-harddraw [class*="from-sky-50"],
body.edu-page.edu-piano [class*="border-t-4"] {
    border-width: 1px !important;
    border-left-width: 1px !important;
    border-top-width: 1px !important;
}

body.edu-page.edu-home .features-section,
body.edu-page.edu-home .testimonials-section,
body.edu-page.edu-home .contact-section {
    border: 1px solid var(--edu-border);
    box-shadow: var(--edu-shadow);
}

body.edu-page.edu-home .info-card,
body.edu-page.edu-home .feature-category,
body.edu-page.edu-home .feature-item,
body.edu-page.edu-home .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
}

body.edu-page.edu-home .info-card,
body.edu-page.edu-home .feature-category {
    animation: none !important;
}

body.edu-page.edu-home .category-content,
body.edu-page.edu-home .feature-item {
    background: var(--edu-panel-strong);
}

body.edu-page.edu-home .phone-btn,
body.edu-page button[onclick*="tel"],
body.edu-page .pinyin-call-link,
body.edu-page .pinyin-phone-action {
    min-height: 48px;
    touch-action: manipulation;
}

body.edu-page button[onclick*="tel"] {
    isolation: isolate;
    border-color: rgba(255, 255, 255, 0.38) !important;
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.2) !important;
}

body.edu-page button[onclick*="tel"]:hover,
body.edu-page button[onclick*="tel"]:focus-visible {
    transform: translateY(-2px) scale(1.03) !important;
    outline: 3px solid rgba(14, 165, 233, 0.22);
    outline-offset: 3px;
}

body.edu-page button[onclick*="tel"]:active {
    transform: scale(0.98) !important;
}

body.edu-page.edu-pinyin main > nav {
    left: max(24px, calc((100vw - 1280px) / 2)) !important;
    right: max(24px, calc((100vw - 1280px) / 2)) !important;
}

body.edu-page.edu-pinyin section {
    padding-left: max(32px, calc((100vw - 1280px) / 2)) !important;
    padding-right: max(32px, calc((100vw - 1280px) / 2)) !important;
}

body.edu-page.edu-pinyin .hero-card {
    background: rgba(255, 255, 255, 0.88);
}

body.edu-page.edu-pinyin .module-card {
    background: rgba(255, 255, 255, 0.92);
}

body.edu-page.edu-pinyin .pinyin-call-link:focus-visible,
body.edu-page.edu-pinyin .pinyin-phone-action:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.28);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    body.edu-page *,
    body.edu-page *::before,
    body.edu-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (min-width: 901px) {
    body.edu-page .edu-course-nav {
        left: max(18px, calc((100vw - 1380px) / 2));
    }

    body.edu-page .edu-course-nav button {
        width: 66px;
        min-height: 66px;
        border-radius: 20px;
        padding: 10px 6px !important;
    }

    body.edu-page .edu-course-nav button span:first-child {
        font-size: 22px;
    }

    body.edu-page .edu-course-nav button span:last-child {
        font-size: 11px;
    }

    body.edu-page.edu-harddraw .container,
    body.edu-page.edu-piano .container {
        padding-top: 38px !important;
    }

    body.edu-page.edu-harddraw .grid.md\:grid-cols-2,
    body.edu-page.edu-piano .grid.md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.edu-page.edu-piano .grid.md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    body.edu-page .container,
    body.edu-page .max-w-7xl,
    body.edu-page .max-w-6xl,
    body.edu-page .max-w-5xl,
    body.edu-page .max-w-4xl {
        width: min(100% - 12px, var(--edu-content-width, 1180px));
    }

    body.edu-page .info-card:hover,
    body.edu-page .feature-card:hover,
    body.edu-page .feature-item:hover,
    body.edu-page .testimonial-item:hover,
    body.edu-page.edu-harddraw section > div:hover,
    body.edu-page.edu-piano section > div:hover,
    body.edu-page.edu-pinyin .module-card:hover,
    body.edu-page.edu-pinyin .letter-card:hover {
        transform: none !important;
    }

    body.edu-page.edu-harddraw section > div,
    body.edu-page.edu-piano section > div,
    body.edu-page.edu-harddraw footer > div,
    body.edu-page.edu-piano footer > div,
    body.edu-page.edu-home .features-section,
    body.edu-page.edu-home .testimonials-section,
    body.edu-page.edu-home .contact-section,
    body.edu-page.edu-pinyin .hero-card,
    body.edu-page.edu-pinyin .module-card {
        border-radius: 22px !important;
    }

    body.edu-page.edu-pinyin main > nav {
        left: auto !important;
        right: auto !important;
    }

    body.edu-page.edu-pinyin section {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}
