/* * ==========================================
 * CORE VARIABLES & RESET
 * WordPress環境等での干渉を防ぐため
 * .jlpt-lp-wrapper 内に限定して適用します
 * ==========================================
 */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--j-color-slate-950);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@400;700;900&display=swap');

:root {
    --j-color-slate-950: #020617;
    --j-color-slate-900: #0F172A;
    --j-color-slate-800: #1E293B;
    --j-color-slate-600: #475569;
    --j-color-slate-300: #CBD5E1;
    --j-color-slate-100: #F1F5F9;
    --j-color-slate-50: #F8FAFC;
    --j-color-white: #FFFFFF;

    --j-color-red-600: #E11D48;
    /* Rose 600 */
    --j-color-red-500: #F43F5E;
    /* Rose 500 */
    --j-color-red-100: #FFE4E6;

    --j-color-indigo-900: #312E81;
    --j-color-indigo-600: #4F46E5;
    --j-color-indigo-500: #6366F1;
    --j-color-indigo-100: #E0E7FF;

    --j-color-emerald-500: #10B981;
    --j-color-blue-500: #3B82F6;

    --j-color-gold-500: #F59E0B;
    --j-color-gold-400: #FBBF24;

    --j-font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
    --j-font-serif: "Noto Serif JP", "Georgia", serif;

    --j-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --j-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
    --j-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
    --j-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

/* ラッパーのリセット */
.jlpt-lp-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.jlpt-lp-wrapper {
    font-family: var(--j-font-sans);
    color: var(--j-color-slate-800);
    line-height: 1.6;
    background-color: var(--j-color-slate-50);
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ユーティリティクラス */
.jlpt-lp-wrapper .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.jlpt-lp-wrapper .text-center {
    text-align: center;
}

.jlpt-lp-wrapper .font-serif {
    font-family: var(--j-font-serif);
}

.jlpt-lp-wrapper .font-bold {
    font-weight: 700;
}

.jlpt-lp-wrapper .uppercase {
    text-transform: uppercase;
}

.jlpt-lp-wrapper .hidden {
    display: none !important;
}

.jlpt-lp-wrapper .flex {
    display: flex;
}

.jlpt-lp-wrapper .items-center {
    align-items: center;
}

.jlpt-lp-wrapper .justify-center {
    justify-content: center;
}

.jlpt-lp-wrapper .grid {
    display: grid;
}

.jlpt-lp-wrapper .relative {
    position: relative;
}

/* ボタン共通スタイル */
.jlpt-lp-wrapper .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.jlpt-lp-wrapper .btn-primary {
    background-color: var(--j-color-red-600);
    color: white;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4);
}

.jlpt-lp-wrapper .btn-primary:hover {
    background-color: var(--j-color-red-500);
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(225, 29, 72, 0.5);
}

.jlpt-lp-wrapper .btn-primary:active {
    transform: translateY(0);
}

.jlpt-lp-wrapper .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--j-color-slate-100);
    padding: 1rem 2rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.jlpt-lp-wrapper .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

/* アイコン用SVGサイズ */
.jlpt-lp-wrapper svg.icon {
    width: 1.25em;
    height: 1.25em;
    vertical-align: middle;
    display: inline-block;
}


/* * ==========================================
 * SECTION: LEARNING CYCLE (学習サイクル - Redesign)
 * ==========================================
 */

/* --- Section Container --- */
.jlpt-lp-wrapper .lc-section {
    background: linear-gradient(170deg, #0F172A 0%, #1E1B4B 45%, #0F172A 100%);
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* Background glows */
.jlpt-lp-wrapper .lc-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.jlpt-lp-wrapper .lc-bg-glow-1 {
    width: 600px; height: 600px;
    top: -15%; left: -10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
}
.jlpt-lp-wrapper .lc-bg-glow-2 {
    width: 500px; height: 500px;
    bottom: -10%; right: -5%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
}

/* --- Header --- */
.jlpt-lp-wrapper .lc-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(165, 180, 252, 0.9); /* indigo-300ish */
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(165, 180, 252, 0.25);
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.08);
}

.jlpt-lp-wrapper .lc-title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: var(--j-font-sans);
}
.jlpt-lp-wrapper .lc-title em {
    font-style: normal;
    background: linear-gradient(135deg, #818CF8, #C084FC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.jlpt-lp-wrapper .lc-subtitle {
    color: rgba(203, 213, 225, 0.85);
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}
.jlpt-lp-wrapper .lc-subtitle strong {
    color: white;
}

/* --- Timeline Layout --- */
.jlpt-lp-wrapper .lc-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1050px;
    margin: 0 auto;
}

/* Connecting line – mobile (vertical left border) */
.jlpt-lp-wrapper .lc-connector {
    display: none; /* shown only on desktop via media query */
}

@media (min-width: 900px) {
    .jlpt-lp-wrapper .lc-timeline {
        flex-direction: row;
        gap: 0;
        align-items: flex-start;
    }
    /* Horizontal connector line behind cards */
    .jlpt-lp-wrapper .lc-connector {
        display: block;
        position: absolute;
        top: 52px; /* vertically centered on the number badge */
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, rgba(99,102,241,0.5), rgba(245,158,11,0.5), rgba(16,185,129,0.5));
        z-index: 0;
    }
}

/* --- Cards --- */
.jlpt-lp-wrapper .lc-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem 2rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.jlpt-lp-wrapper .lc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Staggered offset on desktop for visual rhythm */
@media (min-width: 900px) {
    .jlpt-lp-wrapper .lc-card { margin: 0 0.75rem; }
    .jlpt-lp-wrapper .lc-card:nth-child(3) { margin-top: 2.5rem; }  /* step 2 lower */
    .jlpt-lp-wrapper .lc-card:nth-child(4) { margin-top: 0; }      /* step 3 back up */
}

/* Color accents per card */
.jlpt-lp-wrapper .lc-card--blue  { border-color: rgba(99, 102, 241, 0.25); }
.jlpt-lp-wrapper .lc-card--amber { border-color: rgba(245, 158, 11, 0.25); }
.jlpt-lp-wrapper .lc-card--green { border-color: rgba(16, 185, 129, 0.25); }

.jlpt-lp-wrapper .lc-card--blue:hover  { border-color: rgba(99, 102, 241, 0.5); box-shadow: 0 20px 40px rgba(99,102,241,0.15); }
.jlpt-lp-wrapper .lc-card--amber:hover { border-color: rgba(245, 158, 11, 0.5); box-shadow: 0 20px 40px rgba(245,158,11,0.12); }
.jlpt-lp-wrapper .lc-card--green:hover { border-color: rgba(16, 185, 129, 0.5); box-shadow: 0 20px 40px rgba(16,185,129,0.12); }

/* --- Step Number --- */
.jlpt-lp-wrapper .lc-card__number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--j-font-sans);
    letter-spacing: -0.04em;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lc-card--blue  .lc-card__number { background-image: linear-gradient(135deg, #818CF8, #6366F1); }
.lc-card--amber .lc-card__number { background-image: linear-gradient(135deg, #FBBF24, #F59E0B); }
.lc-card--green .lc-card__number { background-image: linear-gradient(135deg, #34D399, #10B981); }

/* --- Icon --- */
.jlpt-lp-wrapper .lc-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.lc-card--blue  .lc-card__icon { background: rgba(99, 102, 241, 0.15); color: #A5B4FC; }
.lc-card--amber .lc-card__icon { background: rgba(245, 158, 11, 0.15); color: #FCD34D; }
.lc-card--green .lc-card__icon { background: rgba(16, 185, 129, 0.15); color: #6EE7B7; }

/* --- Title & Desc --- */
.jlpt-lp-wrapper .lc-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    font-family: var(--j-font-sans);
}
.jlpt-lp-wrapper .lc-card__desc {
    color: rgba(203, 213, 225, 0.8);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.jlpt-lp-wrapper .lc-card__desc strong {
    color: white;
}

/* --- Tags (pill-style) --- */
.jlpt-lp-wrapper .lc-card__tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.jlpt-lp-wrapper .lc-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.01em;
}
.lc-tag--blue  { background: rgba(99, 102, 241, 0.15); color: #A5B4FC; border: 1px solid rgba(99,102,241,0.2); }
.lc-tag--amber { background: rgba(245, 158, 11, 0.15); color: #FCD34D; border: 1px solid rgba(245,158,11,0.2); }
.lc-tag--green { background: rgba(16, 185, 129, 0.15); color: #6EE7B7; border: 1px solid rgba(16,185,129,0.2); }

/* --- Cycle Repeat Box (Gray Box) --- */
.jlpt-lp-wrapper .lc-cycle-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 2.5rem auto 3rem;
    padding: 0.85rem 1.75rem;
    max-width: fit-content;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(165, 180, 252, 0.18);
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(203, 213, 225, 0.75);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.jlpt-lp-wrapper .lc-cycle-box:hover {
    border-color: rgba(165, 180, 252, 0.35);
    background: rgba(255, 255, 255, 0.07);
}
.jlpt-lp-wrapper .lc-cycle-box svg {
    flex-shrink: 0;
    color: #A5B4FC;
    animation: lcCycleSpin 4s ease-in-out infinite;
}
@keyframes lcCycleSpin {
    0%, 80%, 100% { transform: rotate(0deg); }
    90% { transform: rotate(360deg); }
}

/* --- Bottom Nudge (Gold Result) --- */
.jlpt-lp-wrapper .lc-nudge {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(251, 191, 36, 0.08) 50%, rgba(245, 158, 11, 0.12) 100%);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 1.5rem 2rem;
    overflow: hidden;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.08), inset 0 1px 0 rgba(251, 191, 36, 0.1);
}
/* Gold shine sweep */
.jlpt-lp-wrapper .lc-nudge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(251, 191, 36, 0) 0%, rgba(251, 191, 36, 0.25) 50%, rgba(251, 191, 36, 0) 100%);
    transform: skewX(-25deg);
    animation: goldShineSweep 5s infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes goldShineSweep {
    0%, 25% {
        transform: translateX(350%) skewX(-25deg);
        opacity: 0;
    }
    35% { opacity: 1; }
    65% { opacity: 1; }
    75%, 100% {
        transform: translateX(-150%) skewX(-25deg);
        opacity: 0;
    }
}
.jlpt-lp-wrapper .lc-nudge__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}
.jlpt-lp-wrapper .lc-nudge__star {
    color: #FBBF24;
    font-size: 1rem;
    opacity: 0.7;
    animation: lcStarPulse 3s ease-in-out infinite;
}
.jlpt-lp-wrapper .lc-nudge__star:last-child {
    animation-delay: 1.5s;
}
@keyframes lcStarPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}
.jlpt-lp-wrapper .lc-nudge p {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(253, 224, 71, 0.9);
    margin: 0;
    line-height: 1.5;
}
.jlpt-lp-wrapper .lc-nudge strong {
    color: #FDE047;
    font-weight: 800;
}

/* --- Mobile adjustments --- */
@media (max-width: 900px) {
    .jlpt-lp-wrapper .lc-section { padding: 5rem 0 3rem; }
    .jlpt-lp-wrapper .lc-card { padding: 2rem 1.5rem 1.5rem; }
    .jlpt-lp-wrapper .lc-card__number { font-size: 2.5rem; }
    .jlpt-lp-wrapper .lc-timeline {
        border-left: 2px solid rgba(99, 102, 241, 0.2);
        padding-left: 1rem;
        margin-left: 0.5rem;
    }
}


/* * ==========================================
 * COMPONENT: COUNTDOWN TIMER
 * ==========================================
 */
#counter_wrap {
    width: 100%;
    /* Pop Background: Gold */
    background: var(--j-color-gold-400);
    color: var(--j-color-slate-900);
    text-align: center;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #F59E0B;
}

#counter {
    /* Pop Font: Sans Serif */
    font-family: var(--j-font-sans);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    /* Wraps only if extremely small screen */
}

/* Rounded Box for Numbers (Badge Style) */
.cd-box {
    background: white;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: baseline;
    gap: 0.1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cd-time {
    font-size: 1.25em;
    font-weight: 900;
    color: var(--j-color-red-600);
}

.cd-unit {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--j-color-slate-600);
}

/* Mobile: Keep horizontal */
@media (max-width: 600px) {
    #counter {
        font-size: 0.85rem;
        flex-direction: row;
        /* FORCE HORIZONTAL */
        gap: 0.25rem;
    }

    #counter_wrap {
        padding: 0.4rem 0.5rem;
    }

    .cd-box {
        padding: 0.1rem 0.3rem;
        border-radius: 6px;
    }
}


/* * ==========================================
 * SECTION: HERO (メインビジュアル)
 * ==========================================
 */
@keyframes gradient-xy {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.jlpt-lp-wrapper .hero-section {
    background-color: var(--j-color-slate-950);
    /* Mesh Gradient Fallback */
    background: radial-gradient(at top left, #312E81 0%, transparent 50%),
        radial-gradient(at bottom right, #881337 0%, transparent 50%),
        var(--j-color-slate-950);
    background-size: 200% 200%;
    /* animation: gradient-xy 15s ease infinite; */
    /* Optional: subtle movement */
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

/* Mobile Padding Adjustment */
@media (max-width: 768px) {
    .jlpt-lp-wrapper .hero-section {
        padding: 5rem 0 4rem;
        /* Reduced from 8rem to prevent cutoff */
    }
}

/* 背景の装飾（光） - Refined */
.jlpt-lp-wrapper .hero-glow-red {
    position: absolute;
    top: -10%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.25) 0%, transparent 70%);
    /* Increased opacity */
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.jlpt-lp-wrapper .hero-glow-blue {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, transparent 70%);
    /* Increased opacity */
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.jlpt-lp-wrapper .hero-glow-gold {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    /* Increased opacity */
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

/* ... existing shape styles ... */

.jlpt-lp-wrapper .hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    /* Adjusted for length "Hora do JLPT" */
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 2rem;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    font-family: var(--j-font-sans);
}

/* Pop Gradient Text: White to slight yellow/gold to pop against bright bg */
.jlpt-lp-wrapper .text-gradient-pop {
    color: white;
    /* Solid white often looks cleaner on bright gradient */
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

.jlpt-lp-wrapper .text-gradient-pop-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.6em;
    line-height: 1.2;
}

/* --- Pop Shapes (Onigiri/Circle) --- */
.jlpt-lp-wrapper .hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.jlpt-lp-wrapper .hero-shape {
    position: absolute;
    opacity: 0.3;
    /* Increased from 0.15 for more POP */
    z-index: 1;
}

.jlpt-lp-wrapper .shape-circle {
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.jlpt-lp-wrapper .shape-onigiri {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    /* Soften the triangle */
    transform: rotate(15deg);
}

.jlpt-lp-wrapper .shape-1 {
    top: 15%;
    left: 10%;
    width: 60px;
    height: 60px;
    border-color: var(--j-color-gold-400);
    /* Gold Circle */
    animation: floatShape 8s ease-in-out infinite;
}

.jlpt-lp-wrapper .shape-2 {
    bottom: 20%;
    right: 10%;
    border-bottom-color: var(--j-color-red-500);
    /* Red Onigiri */
    transform: scale(1.5) rotate(-10deg);
    animation: floatShape 10s ease-in-out infinite reverse;
}

.jlpt-lp-wrapper .shape-3 {
    top: 25%;
    right: 20%;
    width: 40px;
    height: 40px;
    border-color: var(--j-color-indigo-500);
    /* Blue Circle */
    border-width: 3px;
    animation: floatShape 12s ease-in-out infinite 1s;
}

.jlpt-lp-wrapper .shape-4 {
    bottom: 30%;
    left: 15%;
    border-bottom-color: var(--j-color-emerald-500);
    /* Green Onigiri */
    transform: scale(0.8) rotate(20deg);
    animation: floatShape 9s ease-in-out infinite 2s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* --- Hero Background Lines Validation --- */
.jlpt-lp-wrapper .hero-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.jlpt-lp-wrapper .hero-line {
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    /* Blue default */
    transform: rotate(-45deg);
    opacity: 0;
}

.jlpt-lp-wrapper .hero-line-1 {
    top: 20%;
    left: -10%;
    background: linear-gradient(90deg, transparent, rgba(132, 204, 22, 0.6), transparent);
    /* Lime */
    width: 300px;
    animation: heroLineMove 7s infinite linear;
    animation-delay: 0s;
}

.jlpt-lp-wrapper .hero-line-2 {
    top: 50%;
    left: -20%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    /* Blue */
    width: 400px;
    animation: heroLineMove 10s infinite linear;
    animation-delay: 2s;
}

.jlpt-lp-wrapper .hero-line-3 {
    top: 80%;
    left: -15%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
    /* Emerald */
    width: 250px;
    animation: heroLineMove 8s infinite linear;
    animation-delay: 4s;
}

.jlpt-lp-wrapper .hero-line-4 {
    top: 10%;
    left: 20%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
    /* Indigo */
    animation: heroLineMove 12s infinite linear;
    animation-delay: 1s;
}

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

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(120vw) translateY(50vh) rotate(-45deg);
        opacity: 0;
    }
}

.jlpt-lp-wrapper .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* --- Pop Badge (Special) --- */
.jlpt-lp-wrapper .pop-badge {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border: 2px solid white;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
    transform: rotate(-2deg);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: rotate(-2deg) translateY(0);
    }

    50% {
        transform: rotate(-2deg) translateY(-5px);
    }
}

.jlpt-lp-wrapper .hero-badge-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 5px white;
    animation: pulse 2s infinite;
}

/* --- Hero Headline (Sales-oriented) --- */
.jlpt-lp-wrapper .hero-headline {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    font-family: var(--j-font-sans);
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.jlpt-lp-wrapper .hero-headline__accent {
    background: linear-gradient(135deg, #F472B6, #C084FC, #818CF8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Sub-headline */
.jlpt-lp-wrapper .hero-subline {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--j-color-slate-300);
    max-width: 640px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}
.jlpt-lp-wrapper .hero-subline strong {
    color: white;
}

/* --- CTA Group --- */
.jlpt-lp-wrapper .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.jlpt-lp-wrapper .hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(225, 29, 72, 0.45), 0 0 0 0 rgba(225, 29, 72, 0.4);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: none;
    cursor: pointer;
    position: relative;
    animation: ctaPulseGlow 2.5s ease-in-out infinite;
}
.jlpt-lp-wrapper .hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(225, 29, 72, 0.55);
}
@keyframes ctaPulseGlow {
    0%, 100% { box-shadow: 0 8px 30px rgba(225, 29, 72, 0.45), 0 0 0 0 rgba(225, 29, 72, 0.35); }
    50% { box-shadow: 0 8px 30px rgba(225, 29, 72, 0.45), 0 0 0 10px rgba(225, 29, 72, 0); }
}

.jlpt-lp-wrapper .hero-link-secondary {
    color: rgba(203, 213, 225, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.jlpt-lp-wrapper .hero-link-secondary:hover {
    color: white;
}

/* --- Trust Badges --- */
.jlpt-lp-wrapper .hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.jlpt-lp-wrapper .hero-trust__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(203, 213, 225, 0.65);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.jlpt-lp-wrapper .hero-trust__item svg {
    opacity: 0.6;
    flex-shrink: 0;
}

/* --- Video Intro Text --- */
.jlpt-lp-wrapper .hero-video-intro {
    color: rgba(203, 213, 225, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

/* --- Video Wrapper --- */
.jlpt-lp-wrapper .hero-video-wrap {
    max-width: 850px;
    margin: 0 auto 2.5rem auto;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.08);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.jlpt-lp-wrapper .hero-video-wrap:hover {
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6), 0 0 60px rgba(99, 102, 241, 0.12);
}

/* --- Second CTA (below video) --- */
.jlpt-lp-wrapper .hero-cta-bottom {
    text-align: center;
    margin-bottom: 1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .jlpt-lp-wrapper .hero-btn-primary {
        padding: 1rem 2rem;
        font-size: 1.05rem;
        width: 100%;
        justify-content: center;
    }
    .jlpt-lp-wrapper .hero-trust {
        gap: 1rem;
    }
}

/* Keep old classes for backward compatibility (unused but safe) */
.jlpt-lp-wrapper .hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 2rem;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    font-family: var(--j-font-sans);
}

.jlpt-lp-wrapper .text-gradient-pop {
    background: linear-gradient(to right, #F472B6, #C084FC, #FACC15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.jlpt-lp-wrapper .text-gradient-pop-sub {
    background: linear-gradient(to right, white, #E2E8F0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 0.6em;
    line-height: 1.2;
}

.jlpt-lp-wrapper .hero-subtitle {
    display: block;
    font-size: 1.25rem;
    font-family: var(--j-font-sans);
    font-weight: 300;
    color: var(--j-color-indigo-100);
    opacity: 0.9;
    margin-top: 1rem;
    letter-spacing: 0.02em;
}

.jlpt-lp-wrapper .hero-desc {
    font-size: 1.25rem;
    color: var(--j-color-slate-300);
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.8;
}
.jlpt-lp-wrapper .hero-desc strong {
    color: white;
    position: relative;
    white-space: nowrap;
}
.jlpt-lp-wrapper .hero-desc strong::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 4px;
    background-color: var(--j-color-red-600);
    opacity: 0.6;
    transform: skewX(-20deg);
}

.jlpt-lp-wrapper .play-icon-bg {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.jlpt-lp-wrapper .video-placeholder:hover .play-icon-bg {
    transform: scale(1.1);
    background: var(--j-color-red-600);
    border-color: var(--j-color-red-600);
}

/* * ==========================================
 * SECTION: METHODOLOGY (メソッド・哲学)
 * ==========================================
 */
.jlpt-lp-wrapper .method-section {
    background-color: white;
    padding: 8rem 0;
    position: relative;
}

.jlpt-lp-wrapper .section-label {
    color: var(--j-color-red-600);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.jlpt-lp-wrapper .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--j-font-serif);
    margin-bottom: 1.5rem;
    color: var(--j-color-slate-900);
    font-weight: 700;
    line-height: 1.2;
}

.jlpt-lp-wrapper .method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.jlpt-lp-wrapper .method-card {
    padding: 2.5rem;
    border: 1px solid var(--j-color-slate-100);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    z-index: 1;
}

.jlpt-lp-wrapper .method-card:hover {
    box-shadow: var(--j-shadow-xl);
    border-color: transparent;
    transform: translateY(-8px);
}

.jlpt-lp-wrapper .method-icon-box {
    width: 72px;
    height: 72px;
    background: var(--j-color-slate-50);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.jlpt-lp-wrapper .method-card:hover .method-icon-box {
    background: var(--j-color-indigo-50);
    transform: scale(1.1) rotate(5deg);
}

/* * ==========================================
 * SECTION: LEVELS (レベル紹介)
 * ==========================================
 */
.jlpt-lp-wrapper .levels-section {
    background-color: var(--j-color-slate-50);
    padding: 5rem 0;
    border-top: 1px solid var(--j-color-slate-300);
}

.jlpt-lp-wrapper .level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.jlpt-lp-wrapper .level-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid var(--j-color-slate-100);
    display: flex;
    flex-direction: column;
}

.jlpt-lp-wrapper .level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.jlpt-lp-wrapper .level-header {
    height: 200px;
    padding: 1.5rem;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* レベル別カラー */
/* レベル別カラー & 背景画像 */
/* レベル別カラー & 背景画像 */
.jlpt-lp-wrapper .level-n5 {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(202, 138, 4, 0.8) 100%), url('../images/thumb_n5.jpg');
    /* Yellow/Amber bottom gradient */
    background-size: cover;
    background-position: center;
}

.jlpt-lp-wrapper .level-n4 {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(8, 145, 178, 0.8) 100%), url('../images/thumb_n4.jpg');
    /* Cyan bottom gradient */
    background-size: cover;
    background-position: center;
}

.jlpt-lp-wrapper .level-n3 {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(147, 51, 234, 0.8) 100%), url('../images/thumb_n3.jpg');
    /* Purple bottom gradient */
    background-size: cover;
    background-position: center;
}

/* 背景パターン（CSSグラデーションで擬似的に和柄表現） */
/* 背景パターン（CSSグラデーションで擬似的に和柄表現） */
.jlpt-lp-wrapper .pattern-overlay {
    display: none;
    /* User requested to remove overlay for clarity */
}

.jlpt-lp-wrapper .level-badge {
    background: rgb(0 0 0 / 20%);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    align-self: flex-start;
}

.jlpt-lp-wrapper .level-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jlpt-lp-wrapper .level-meta {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--j-color-slate-100);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--j-color-slate-600);
}

.jlpt-lp-wrapper .meta-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
    text-align: left;
}

.jlpt-lp-wrapper .meta-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.jlpt-lp-wrapper .meta-label {
    font-weight: 700;
    color: var(--j-color-slate-800);
    margin-right: 0.25rem;
}

/* * ==========================================
 * SECTION: CURRICULUM (カリキュラム詳細)
 * ==========================================
 */
.jlpt-lp-wrapper .curriculum-section {
    background: white;
    padding: 5rem 0;
}

/* タブナビゲーション */
.jlpt-lp-wrapper .tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    background: var(--j-color-slate-100);
    padding: 0.5rem;
    border-radius: 9999px;
    display: inline-flex;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.jlpt-lp-wrapper .tab-btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--j-color-slate-600);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jlpt-lp-wrapper .tab-btn.active {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* アクティブ時の色分け */
.jlpt-lp-wrapper .tab-btn[data-target="n5"].active {
    color: var(--j-color-emerald-500);
}

.jlpt-lp-wrapper .tab-btn[data-target="n4"].active {
    color: var(--j-color-blue-500);
}

.jlpt-lp-wrapper .tab-btn[data-target="n3"].active {
    color: var(--j-color-rose-500);
}

/* コンテンツエリア */
.jlpt-lp-wrapper .tab-content {
    display: none;
    /* デフォルト非表示 */
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--j-color-slate-100);
    overflow: hidden;
}

.jlpt-lp-wrapper .tab-content.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease;
}

@media (min-width: 900px) {
    .jlpt-lp-wrapper .tab-content.active {
        flex-direction: row;
    }
}

/* 左側：サマリー */
.jlpt-lp-wrapper .curr-summary {
    padding: 2.5rem;
    color: white;
    position: relative;
}

@media (min-width: 900px) {
    .jlpt-lp-wrapper .curr-summary {
        width: 35%;
        flex-shrink: 0;
    }
}

.jlpt-lp-wrapper .curr-modules {
    padding: 2.5rem;
    background: var(--j-color-slate-50);
    flex: 1;
}

.jlpt-lp-wrapper .module-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .jlpt-lp-wrapper .module-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.jlpt-lp-wrapper .module-item {
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--j-color-slate-100);
    display: flex;
    gap: 1rem;
}

/* * ==========================================
 * SECTION: DIAGNOSTIC (診断ツール)
 * ==========================================
 */
.jlpt-lp-wrapper .diag-section {
    background-color: #1E1B4B;
    /* Indigo 950 */
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.jlpt-lp-wrapper .diag-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.jlpt-lp-wrapper .diag-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.jlpt-lp-wrapper .diag-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--j-color-slate-300);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.jlpt-lp-wrapper .diag-btn:hover,
.jlpt-lp-wrapper .diag-btn.active {
    background: var(--j-color-indigo-600);
    border-color: var(--j-color-indigo-600);
    color: white;
    transform: scale(1.02);
}

.jlpt-lp-wrapper .diag-btn-highlight {
    background: linear-gradient(to right, #CA8A04, #A16207);
    /* Yellow/Gold */
    border: 1px solid #EAB308;
    color: white;
}

.jlpt-lp-wrapper .diag-result {
    text-align: center;
    animation: zoomIn 0.3s ease;
}

.jlpt-lp-wrapper .diag-result-card {
    background: white;
    color: var(--j-color-slate-900);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 400px;
    margin: 2rem auto;
}

/* * ==========================================
 * SECTION: PRICING (価格)
 * ==========================================
 */
.jlpt-lp-wrapper .pricing-section {
    background: white;
    padding: 5rem 0;
}

.jlpt-lp-wrapper .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.jlpt-lp-wrapper .pricing-card {
    background: white;
    border: 1px solid var(--j-color-slate-100);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.jlpt-lp-wrapper .pricing-card.popular {
    border: 2px solid var(--j-color-blue-500);
    transform: translateY(-10px);
}

.jlpt-lp-wrapper .price-header {
    height: 160px;
    position: relative;
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
    color: white;
}

/* * ==========================================
 * SECTION: TEACHER (講師紹介)
 * ==========================================
 */
/* * ==========================================
 * SECTION: TEACHER (講師紹介)
 * ==========================================
 */
.jlpt-lp-wrapper .teacher-section {
    background-color: #1c1917;
    /* Warm dark gray */
    color: white;
    padding: 6rem 0;
    border-top: 1px solid #44403c;
    position: relative;
    overflow: hidden;
}

/* Background accent for warmth */
.jlpt-lp-wrapper .teacher-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.jlpt-lp-wrapper .teacher-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 900px) {
    .jlpt-lp-wrapper .teacher-container {
        flex-direction: row;
        align-items: flex-start;
        /* Align top for long text */
        gap: 5rem;
    }

    .jlpt-lp-wrapper .teacher-img-box {
        position: sticky;
        top: 2rem;
        flex-shrink: 0;
        /* Prevent shrinking */
    }
}

.jlpt-lp-wrapper .teacher-img-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 3/4;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.jlpt-lp-wrapper .teacher-img-box:hover {
    transform: rotate(0deg) scale(1.02);
}

.jlpt-lp-wrapper .teacher-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jlpt-lp-wrapper .teacher-badge {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(12px);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(250, 204, 21, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.jlpt-lp-wrapper .teacher-content {
    flex: 1;
}

.jlpt-lp-wrapper .teacher-label {
    color: #FACC15;
    /* Yellow-400 */
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.jlpt-lp-wrapper .teacher-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: #FACC15;
}

.jlpt-lp-wrapper .teacher-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: var(--j-font-serif);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.jlpt-lp-wrapper .teacher-title span {
    color: #FACC15;
    /* position: relative; */
    /* Removed underline mostly */
    background: linear-gradient(120deg, transparent 0%, transparent 100%);
    /* Placeholder */
}

.jlpt-lp-wrapper .teacher-bio {
    color: #d6d3d1;
    /* Stone-300 */
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.jlpt-lp-wrapper .teacher-bio strong {
    color: white;
    font-weight: 600;
}

.jlpt-lp-wrapper .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.jlpt-lp-wrapper .stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.jlpt-lp-wrapper .stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Slightly lighter */
    border-color: rgba(250, 204, 21, 0.3);
}

.jlpt-lp-wrapper .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FACC15;
    line-height: 1;
    margin-bottom: 0.25rem;
    font-family: var(--j-font-serif);
}

.jlpt-lp-wrapper .stat-label {
    font-size: 0.875rem;
    color: #a8a29e;
    /* Stone-400 */
}

/* * ==========================================
 * SECTION: FAQ (よくある質問)
 * ==========================================
 */
.jlpt-lp-wrapper .faq-section {
    background: var(--j-color-slate-50);
    padding: 5rem 0;
}

.jlpt-lp-wrapper .faq-item {
    background: white;
    border: 1px solid var(--j-color-slate-300);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.jlpt-lp-wrapper .faq-item.active {
    border-color: var(--j-color-indigo-600);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.jlpt-lp-wrapper .faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    font-weight: bold;
    font-size: 1.125rem;
    color: var(--j-color-slate-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jlpt-lp-wrapper .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    color: var(--j-color-slate-600);
}

.jlpt-lp-wrapper .faq-item.active .faq-answer {
    max-height: 1500px;
    /* 十分な高さを確保 */
    padding-bottom: 1.5rem;
}

/* * ==========================================
 * SECTION: FOOTER
 * ==========================================
 */
.jlpt-lp-wrapper .footer-section {
    background: #0F172A;
    color: white;
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--j-color-slate-800);
}

/* * ANIMATIONS
 */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* * ==========================================
 * SECTION: CAMPAIGN ENDED
 * ==========================================
 */
.jlpt-lp-wrapper .campaign-ended-message {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--j-color-slate-50);
    border-radius: 1rem;
    border: 2px dashed var(--j-color-slate-300);
    margin: 2rem auto;
    max-width: 800px;
}

.jlpt-lp-wrapper .campaign-ended-message h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--j-color-slate-800);
    margin-bottom: 1rem;
}

.jlpt-lp-wrapper .campaign-ended-message p {
    color: var(--j-color-slate-600);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* * ==========================================
 * SECTION: PLATFORM PREVIEW
 * ==========================================
 */
.jlpt-lp-wrapper .platform-section {
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    padding: 6rem 0;
    margin-top: 5rem;
    /* Separator from Curriculum */
    color: white;
    overflow: hidden;
    position: relative;
}

.jlpt-lp-wrapper .platform-showcase {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 500px;
}

/* Laptop Mockup */
.jlpt-lp-wrapper .mockup-laptop {
    position: relative;
    z-index: 10;
    width: 70%;
    transform: perspective(1000px) rotateX(5deg) scale(0.95);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.jlpt-lp-wrapper .laptop-screen {
    background: #0f172a;
    border: 12px solid #334155;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 2px #475569;
}

.jlpt-lp-wrapper .laptop-base {
    background: #334155;
    height: 18px;
    border-radius: 0 0 16px 16px;
    width: 120%;
    margin-left: -10%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.jlpt-lp-wrapper .laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15%;
    height: 4px;
    background: #64748b;
    border-radius: 0 0 4px 4px;
}

/* PDF Stack Effect */
.jlpt-lp-wrapper .pdf-floating-showcase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: -1;
    /* Behind laptop */
}

@media (max-width: 768px) {
    .jlpt-lp-wrapper .pdf-floating-showcase {
        display: grid;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
        z-index: 1;
        padding: 0 1rem;
    }

    .jlpt-lp-wrapper .pdf-card {
        position: relative;
        width: 100%;
        height: 140px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        animation: none;
        /* Disable float on mobile */
    }

    .jlpt-lp-wrapper .pdf-card-title {
        font-size: 0.7rem;
    }

    .jlpt-lp-wrapper .pdf-card-icon {
        font-size: 2rem;
    }

    .jlpt-lp-wrapper .platform-showcase {
        height: auto;
        padding-bottom: 2rem;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .jlpt-lp-wrapper .mockup-laptop {
        width: 100%;
        transform: perspective(1000px) rotateX(2deg);
        /* Reduce rotation */
        margin-bottom: 2rem;
    }

    /* Hide decorative floats on mobile to reduce clutter */
    .jlpt-lp-wrapper .float-item {
        display: none;
    }
}

.jlpt-lp-wrapper .pdf-card {
    position: absolute;
    background: white;
    width: 160px;
    height: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
    animation: floatPdf 6s ease-in-out infinite;
}

.jlpt-lp-wrapper .pdf-card::before {
    /* Paper corner fold effect */
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 16px 16px 0;
    border-style: solid;
    border-color: #f1f5f9 white;
    box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.05);
}

.jlpt-lp-wrapper .pdf-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.jlpt-lp-wrapper .pdf-card-title {
    font-size: 0.75rem;
    font-weight: bold;
    color: #334155;
    line-height: 1.2;
}

.jlpt-lp-wrapper .pdf-card-1 {
    top: 10%;
    left: -10%;
    transform: rotate(-10deg);
    animation-delay: 0s;
}

.jlpt-lp-wrapper .pdf-card-2 {
    top: 20%;
    right: -15%;
    transform: rotate(15deg);
    animation-delay: 1s;
}

.jlpt-lp-wrapper .pdf-card-3 {
    bottom: -5%;
    left: -5%;
    transform: rotate(5deg);
    animation-delay: 2s;
}

.jlpt-lp-wrapper .pdf-card-4 {
    bottom: 10%;
    right: -10%;
    transform: rotate(-5deg);
    animation-delay: 3s;
}

@keyframes floatPdf {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rot));
    }

    50% {
        transform: translateY(-10px) rotate(var(--rot));
    }
}


/* Feature Grid */
.jlpt-lp-wrapper .platform-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .jlpt-lp-wrapper .platform-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.jlpt-lp-wrapper .feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s;
}

.jlpt-lp-wrapper .feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.jlpt-lp-wrapper .feature-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #334155;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: bold;
    font-size: 0.8rem;
    background-image: radial-gradient(#475569 1px, transparent 1px);
    background-size: 10px 10px;
}

.jlpt-lp-wrapper .feature-title {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: var(--j-font-serif);
}

.jlpt-lp-wrapper .feature-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

/* Floating Elements */
.jlpt-lp-wrapper .float-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

.jlpt-lp-wrapper .float-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.jlpt-lp-wrapper .float-2 {
    top: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Scroll Reveal Classes */
.jlpt-lp-wrapper .scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.jlpt-lp-wrapper .scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific transforms for when visible */
.jlpt-lp-wrapper .mockup-laptop.scroll-reveal.visible {
    transform: perspective(1000px) rotateX(5deg) scale(1);
    /* Landing position */
}


/* * ==========================================
 * SECTION: COMPARISON (VS)
 * ==========================================
 */
.jlpt-lp-wrapper .comparison-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.jlpt-lp-wrapper .comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .jlpt-lp-wrapper .comparison-grid {
        grid-template-columns: 1fr 60px 1fr;
        gap: 0;
    }
}

.jlpt-lp-wrapper .comp-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.jlpt-lp-wrapper .comp-card-bad {
    border: 2px solid #e2e8f0;
    /* Muted gray */
    color: var(--j-color-slate-500);
    transform: scale(0.95);
    background: #fff;
    opacity: 0.9;
}

.jlpt-lp-wrapper .comp-card-good {
    border: 3px solid #10B981;
    /* Success Green */
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.1);
}

.jlpt-lp-wrapper .comp-header {
    text-align: center;
    margin-bottom: 2rem;
}

.jlpt-lp-wrapper .comp-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.jlpt-lp-wrapper .comp-card-bad h3 {
    color: var(--j-color-slate-600);
}

.jlpt-lp-wrapper .comp-card-good h3 {
    color: var(--j-color-indigo-900);
    font-weight: 900;
}

.jlpt-lp-wrapper .comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jlpt-lp-wrapper .comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.jlpt-lp-wrapper .comp-list li last-child {
    margin-bottom: 0;
}

.jlpt-lp-wrapper .icon-x {
    color: #ef4444;
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1;
}

.jlpt-lp-wrapper .icon-check {
    color: #10B981;
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1;
    background: #f0fdf4;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jlpt-lp-wrapper .comp-card-good strong {
    color: var(--j-color-slate-900);
}

.jlpt-lp-wrapper .comp-card-good small {
    display: block;
    color: var(--j-color-slate-500);
    margin-top: 0.25rem;
}

/* VS Badge */
.jlpt-lp-wrapper .vs-badge {
    background: #475569;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-style: italic;
    margin: 1rem auto;
    border: 4px solid #f8fafc;
    z-index: 20;
}

/* Best Ribbon */
.jlpt-lp-wrapper .ribbon-best {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: #FACC15;
    color: #713F12;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* * ==========================================
 * SECTION: PAYMENT MODAL (GAMIFIED / JUICY)
 * ==========================================
 */
.jlpt-lp-wrapper .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    /* Darker, immersive backdrop */
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 1;
    transition: all 0.3s ease;
}

.jlpt-lp-wrapper .modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.jlpt-lp-wrapper .modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1e293b;
    text-align: center;
}

.jlpt-lp-wrapper .modal-desc {
    color: #64748b;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Game-like Buttons */
.game-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered Text */
    gap: 1rem;
    width: 100%;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: white;

    /* 3D Pop Effect */
    border: 2px solid #E2E8F0;
    border-bottom: 6px solid #CBD5E1;
    /* Thicker bottom for depth */
    border-radius: 1rem;

    cursor: pointer;
    transition: all 0.1s ease;
    /* Fast, snappy transition */

    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    top: 0;
}

.game-btn:hover {
    border-color: #A5B4FC;
    border-bottom-color: #818CF8;
    background: #EEF2FF;
    transform: translateY(-2px);
    /* Slight lift on hover */
    top: -2px;
}

.game-btn:active {
    /* Press down effect */
    border-bottom-width: 2px;
    transform: translateY(4px);
    top: 2px;
    background: #E0E7FF;
}

.game-btn span {
    pointer-events: none;
    /* Prevent clicks on children messing up interactions */
}

/* Icon size inside buttons */
.game-btn .emoji-icon {
    font-size: 1.8rem;
    margin-right: 0.5rem;
}

.modal-back {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    transition: color 0.2s;
}

.modal-back:hover {
    color: #1e293b;
}

.jlpt-lp-wrapper .modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Bouncy Entrance Animation */
@keyframes modalPop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* * ==========================================
 * SECTION: GUARANTEE
 * ==========================================
 */
.jlpt-lp-wrapper .guarantee-section {
    padding: 6rem 0;
    background: #fdfce7;
    /* Light Yellow */
    border-top: 1px solid #fef08a;
    border-bottom: 1px solid #fef08a;
}

.jlpt-lp-wrapper .guarantee-box {
    background: white;
    border: 2px dashed #FACC15;
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .jlpt-lp-wrapper .guarantee-box {
        flex-direction: row;
        text-align: left;
        padding: 4rem;
    }
}

.jlpt-lp-wrapper .guarantee-icon {
    background: #FEF9C3;
    color: #CA8A04;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jlpt-lp-wrapper .guarantee-icon svg {
    width: 40px;
    height: 40px;
}

.jlpt-lp-wrapper .guarantee-seal {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #FACC15;
    color: #422006;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 900;
    font-size: 0.75rem;
    line-height: 1.2;
    transform: rotate(15deg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

@media (max-width: 768px) {
    .jlpt-lp-wrapper .guarantee-seal {
        top: -40px;
        right: 50%;
        transform: translateX(50%) rotate(15deg);
    }
}

.jlpt-lp-wrapper .modal-content {
    background: white;
    width: 100%;
    max-width: 480px;
    border-radius: 2rem;
    /* Rounder */
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Elastic easing */
    text-align: center;
    overflow: hidden;
}

/* Decorative Header Gradient Bar */
.jlpt-lp-wrapper .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #F43F5E, #4F46E5, #10B981);
}

.jlpt-lp-wrapper .modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: #F1F5F9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--j-color-slate-400);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jlpt-lp-wrapper .modal-close:hover {
    background: #E2E8F0;
    color: var(--j-color-red-500);
    transform: rotate(90deg) scale(1.1);
}

.jlpt-lp-wrapper .modal-back {
    background: none;
    border: none;
    color: var(--j-color-slate-500);
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s;
}

.jlpt-lp-wrapper .modal-back:hover {
    background: var(--j-color-slate-100);
    color: var(--j-color-indigo-600);
    transform: translateX(-4px);
}

.jlpt-lp-wrapper .modal-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--j-color-slate-900);
    margin-bottom: 0.5rem;
    font-family: var(--j-font-sans);
    /* Sans for friendlier feel */
    letter-spacing: -0.02em;
}

.jlpt-lp-wrapper .modal-desc {
    color: var(--j-color-slate-500);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.jlpt-lp-wrapper .modal-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 3D "Juicy" Buttons */
.jlpt-lp-wrapper .modal-option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: none;
    border-radius: 1.25rem;
    cursor: pointer;
    transition: all 0.1s cubic-bezier(0.4, 0, 1, 1);
    font-weight: 700;
    font-size: 1.125rem;
    text-align: left;
    width: 100%;
    position: relative;
    top: 0;
    /* 3D Depth Logic */
    background: white;
    border: 2px solid var(--j-color-slate-200);
    box-shadow: 0 4px 0 var(--j-color-slate-200);
    color: var(--j-color-slate-700);
}

/* BRL Specific Style */
.jlpt-lp-wrapper .modal-option-btn:nth-child(1):hover {
    border-color: #10B981;
    /* Emerald */
    background: #ECFDF5;
    color: #065F46;
    box-shadow: 0 6px 0 #10B981, 0 10px 10px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

/* JPY Specific Style */
.jlpt-lp-wrapper .modal-option-btn:nth-child(2):hover {
    border-color: #EF4444;
    /* Red */
    background: #FEF2F2;
    color: #991B1B;
    box-shadow: 0 6px 0 #EF4444, 0 10px 10px rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

/* Generic Hover (for Step 2 buttons) */
.jlpt-lp-wrapper #modal-payment-options .modal-option-btn:hover {
    border-color: var(--j-color-indigo-600);
    background: var(--j-color-indigo-50);
    color: var(--j-color-indigo-900);
    box-shadow: 0 6px 0 var(--j-color-indigo-600), 0 10px 10px rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

/* Active / Pressed State */
.jlpt-lp-wrapper .modal-option-btn:active,
.jlpt-lp-wrapper .modal-option-btn:hover:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 transparent;
}

/* Icon Animations */
.jlpt-lp-wrapper .modal-option-btn span:first-child {
    font-size: 1.75rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jlpt-lp-wrapper .modal-option-btn:hover span:first-child {
    transform: scale(1.2) rotate(10deg);
}

/* Price Tag Styling inside button */
.jlpt-lp-wrapper .modal-option-btn span:last-child {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Payment Buttons */
.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pay-btn.primary {
    background: var(--j-color-indigo-600);
    color: white;
}

.pay-btn.primary:hover {
    background: var(--j-color-indigo-700);
}

.pay-btn.secondary {
    background: white;
    border: 1px solid var(--j-color-slate-200);
    color: var(--j-color-slate-700);
}

.pay-btn.secondary:hover {
    background: var(--j-color-slate-50);
    border-color: var(--j-color-slate-300);
}

/* * ==========================================
 * SECTION: CONTENT SHOWCASE (INLINE CARDS)
 * ==========================================
 */
.jlpt-lp-wrapper .content-showcase {
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    position: relative;
}

/* Scroll Arrows (Mobile Only) */
.jlpt-lp-wrapper .scroll-arrow-indicator {
    position: absolute;
    top: 55%;
    /* Centered relative to grid height approx */
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #F43F5E;
    /* Rose-500 Pop color */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 20;
    cursor: pointer;
    opacity: 0.9;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.jlpt-lp-wrapper .scroll-arrow-right {
    right: 0;
    animation: bounceRight 1.5s infinite ease-in-out;
}

.jlpt-lp-wrapper .scroll-arrow-left {
    left: 0;
    animation: bounceLeft 1.5s infinite ease-in-out;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

@keyframes bounceLeft {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(-5px);
    }
}

.jlpt-lp-wrapper .showcase-container-wrapper {
    position: relative;
}

.jlpt-lp-wrapper .showcase-grid {
    /* Mobile: Horizontal Scroll (Carousel) */
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    /* Centered Peek Effect */
    padding-left: max(1.5rem, calc(50% - 140px));
    /* Center 280px card */
    padding-right: max(1.5rem, calc(50% - 140px));
    margin-top: 2rem;
}

/* Tablet & PC: Grid Override */
@media (min-width: 768px) {
    .jlpt-lp-wrapper .scroll-arrow-indicator {
        display: none;
    }

    .jlpt-lp-wrapper .showcase-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        overflow-x: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .jlpt-lp-wrapper .showcase-item {
        flex: none;
        width: auto !important;
    }

    .cloned-item {
        display: none !important;
    }
}

/* Card Styling */
.jlpt-lp-wrapper .showcase-item {
    /* Fixed width for mobile cards */
    flex: 0 0 280px;
    scroll-snap-align: center;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.jlpt-lp-wrapper .showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.jlpt-lp-wrapper .showcase-thumb {
    width: 100%;
    /* Remove fixed aspect-ratio to let image define height */
    /* aspect-ratio: 16/9; */
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
    /* Ensure top corners sort of match if needed, but card has radius */
}

.jlpt-lp-wrapper .showcase-thumb img {
    width: 100%;
    height: auto;
    display: block;
    /* Remove bottom space */
}

.jlpt-lp-wrapper .showcase-item {
    cursor: pointer;
    /* Indicate clickability */
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    z-index: 20000;
    /* Higher than modal */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 20001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Add shine effect to thumb on hover */
.jlpt-lp-wrapper .showcase-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.5s;
}

.jlpt-lp-wrapper .showcase-item:hover .showcase-thumb::after {
    left: 200%;
    transition: left 0.7s ease-in-out;
}

/* * ==========================================
 * COMPONENT: WHATSAPP FLOATING BUTTON
 * ==========================================
 */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000; /* Ensure it stays on top of everything including modals if necessary */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366; /* WhatsApp Green */
    color: white;
    padding: 0.75rem 1.25rem 0.75rem 0.75rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Initial state hidden (overridden by .is-visible) */
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px) scale(0.9);
}

.whatsapp-float.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    animation: wappPulseGlow 3s infinite 2s; /* Start pulsing after entrance */
}

.whatsapp-float:hover {
    background: #1EBE5A;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px -5px rgba(37, 211, 102, 0.6);
    color: white; /* Prevent link color change */
}

@keyframes wappPulseGlow {
    0%, 100% { box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5), 0 0 0 15px rgba(37, 211, 102, 0); }
}

.whatsapp-float__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #25D366;
    border-radius: 50%;
    flex-shrink: 0;
}

.whatsapp-float__icon svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.whatsapp-float__text span {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.whatsapp-float__text strong {
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.1;
    font-family: var(--j-font-sans, system-ui, sans-serif);
}

/* Notification dot */
.whatsapp-float__dot {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    background-color: #EF4444; /* Red dot */
    border: 2px solid white;
    border-radius: 50%;
    z-index: 2;
    animation: wappDotPulse 2s infinite;
}

@keyframes wappDotPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 0.6rem 1rem 0.6rem 0.6rem;
    }
    
    .whatsapp-float__icon {
        width: 38px;
        height: 38px;
    }
    
    .whatsapp-float__icon svg {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-float__text strong {
        font-size: 0.9rem;
    }
}

.jlpt-lp-wrapper .showcase-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.jlpt-lp-wrapper .showcase-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.75rem;
}

.jlpt-lp-wrapper .showcase-desc {
    font-size: 0.9375rem;
    color: #cbd5e1;
    /* slate-300 */
    line-height: 1.6;
    text-align: center;
}

/* --- CAMPAIGN LP GLOBAL ELEMENTS --- */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: transparent;
}

.promo-bar {
    background: linear-gradient(90deg, #b91c1c, #ef4444);
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-weight: 800;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* --- CAMPAIGN LP INTERNAL ELEMENTS --- */
.jlpt-lp-wrapper .price-old {
    text-decoration: line-through;
    color: var(--j-color-slate-400);
    font-size: 0.6em;
    margin-right: 0.5rem;
    font-weight: 500;
    opacity: 0.8;
}

.jlpt-lp-wrapper .price-new {
    color: #ef4444;
    font-weight: 900;
}

.jlpt-lp-wrapper .access-bonus {
    display: inline-block;
    background: #ec4899;
    color: white;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin-left: 0.5rem;
    vertical-align: middle;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.05em;
    animation: pulseBonus 2s infinite;
}

@keyframes pulseBonus {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 6px rgba(236, 72, 153, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}