/* =========================================================
   EXAM PREP DETAIL PAGE (shared by det.php and ielts.php)
   Split hero + top pill nav + continuous scrolling content,
   built on the same variables and card language as
   study-abroad.php / global-learning.php.
   ========================================================= */

.eip-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    padding: 48px 0 60px;
}

.eip-hero-glow {
    position: absolute;
    top: -20%;
    right: -8%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(90px);
    background: radial-gradient(circle, rgba(85,171,215,0.38), transparent 70%);
    pointer-events: none;
}

.eip-crumb {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7f97c2;
    font-size: 0.76rem;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
    max-width: 460px;
}

.eip-crumb a { color: #7f97c2; display: flex; align-items: center; transition: color 0.2s ease; }
.eip-crumb a:hover { color: var(--white); }
.eip-crumb span.current { color: #cfd9f0; font-weight: 600; }

.eip-hero-grid {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    flex-wrap: wrap;
}

.eip-hero-left { flex: 1; min-width: 320px; }

.eip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.3px;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.eip-badge svg { flex-shrink: 0; color: var(--accent); }

.eip-hero-title {
    color: var(--white);
    font-size: clamp(1.6rem, 3.8vw, 2.3rem);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.eip-hero-title em {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
}

.eip-hero-desc {
    color: #cfd9f0;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 20px;
}

.eip-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
}

.eip-hero-chip {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #eaf1ff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: 30px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.eip-hero-chip:hover {
    background: rgba(255,255,255,0.16);
    color: var(--white);
    transform: translateY(-2px);
}

.eip-hero-chip.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--dark);
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.eip-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.eip-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.87rem;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.eip-hero-btn-light { background: var(--white); color: var(--primary); }
.eip-hero-btn-light:hover { color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.2); }
.eip-hero-btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); }
.eip-hero-btn-outline:hover { color: var(--white); background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.eip-fee-card {
    position: relative;
    width: 420px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 20px;
    padding: 30px 28px 26px;
    box-shadow: 0 24px 55px rgba(0,0,0,0.28);
    overflow: hidden;
}

.eip-fee-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--secondary));
}

.eip-fee-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.eip-fee-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-light);
}

.eip-fee-save {
    background: #eafaf0;
    color: #1b7a44;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}

.eip-fee-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

.eip-fee-amount { color: var(--dark); font-size: 2rem; font-weight: 800; }
.eip-fee-original { color: var(--text-light); font-size: 1rem; text-decoration: line-through; }
.eip-fee-note { color: var(--text-light); font-size: 0.76rem; margin-bottom: 20px; }

.eip-fee-mini-stats {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    background: var(--light-bg);
    border-radius: 12px;
    padding: 14px 10px;
    margin-bottom: 20px;
}

.eip-fee-mini-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    text-align: center;
    transition: transform 0.2s ease;
}

.eip-fee-mini-stats div:hover { transform: translateY(-2px); }

.eip-fee-mini-stats svg { color: var(--primary); }
.eip-fee-mini-stats strong { display: block; font-size: 0.84rem; color: var(--dark); }
.eip-fee-mini-stats span { font-size: 0.64rem; color: var(--text-light); }

.eip-fee-btn-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

@media (max-width: 380px) {
    .eip-fee-btn-row { flex-wrap: wrap; }
    .eip-fee-btn-primary { flex: 1 1 100%; }
    .eip-fee-btn-outline { flex: 1 1 calc(50% - 4px); }
}

.eip-fee-btn-primary, .eip-fee-btn-outline {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 10px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.eip-fee-btn-primary { background: linear-gradient(90deg, var(--primary), var(--secondary)); color: var(--white); }
.eip-fee-btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37,117,252,0.3); }
.eip-fee-btn-outline { background: var(--light-bg); border: 1px solid #e2e6ec; color: var(--dark); }
.eip-fee-btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.eip-fee-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.72rem;
    margin-top: 4px;
}

.eip-fee-hint svg { flex-shrink: 0; color: #2e8b57; }

@media (max-width: 900px) { .eip-fee-card { width: 100%; } }

/* ===== TOP PILL NAV — always visible, sticky under navbar ===== */
.eip-nav-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 14px 0;
    position: sticky;
    top: 72px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.eip-nav-pills::-webkit-scrollbar { display: none; }

.eip-nav-pills a {
    flex-shrink: 0;
    white-space: nowrap;
    background: var(--light-bg);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.eip-nav-pills a:hover {
    background: #e4ecf3;
    color: var(--primary);
    transform: translateY(-2px);
}

.eip-nav-pills a.active {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37,117,252,0.3);
}

@media (max-width: 600px) {
    .eip-nav-pills { top: 0; padding: 12px 0; }
    .eip-nav-pills a { padding: 8px 16px; font-size: 0.8rem; }
}

/* content shell: [main] [sidebar] */
.eip-shell {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 44px 0 70px;
}

.eip-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 60px; }

.eip-sidebar { width: 300px; flex-shrink: 0; position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }

@media (max-width: 992px) {
    .eip-shell { flex-direction: column; }
    .eip-sidebar { width: 100%; position: static; }
}

.eip-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 18px;
    scroll-margin-top: 130px;
}

.eip-section-title svg { color: var(--primary); flex-shrink: 0; }

.eip-step-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.eip-register-step:hover .eip-step-marker {
    transform: scale(1.1);
    background: var(--primary);
    color: var(--white);
}

/* generic primitives reused across sections */
.eip-card {
    background: var(--white);
    border: 1.5px solid #cfe0fa;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(20,40,70,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(20,40,70,0.1);
    border-color: var(--primary);
}

.eip-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.eip-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .eip-card-grid, .eip-card-grid-3 { grid-template-columns: 1fr; } }

.eip-pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

.eip-pill {
    background: var(--light-bg);
    border: 1px solid #e2e6ec;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.eip-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eaf2fb;
    transform: translateY(-2px);
}

.eip-pill-strong { background: var(--white); border: 1.5px solid var(--primary); color: var(--primary); font-weight: 700; }
.eip-pill-strong:hover { background: var(--primary); color: var(--white); }

.eip-pill-flag { display: inline-flex; align-items: center; gap: 8px; }

.eip-pill-flagimg { width: 18px; height: auto; border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }

.eip-subhead {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
}

.eip-subhead-note {
    font-size: 0.84rem;
    color: var(--text-light);
    margin: -8px 0 14px;
}

.eip-intro-text {
    color: var(--text-dark);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 720px;
}

/* horizontal feature strip */
.eip-feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 900px) { .eip-feature-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .eip-feature-strip { grid-template-columns: 1fr; } }

.eip-feature {
    text-align: left;
    padding-top: 16px;
    border-top: 3px solid var(--accent);
    transition: transform 0.25s ease;
}

.eip-feature:hover { transform: translateY(-4px); }

.eip-feature-num {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.eip-feature h5 {
    font-size: 0.98rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.eip-feature p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.55;
}

/* large borderless pull-quote */
.eip-pullquote {
    position: relative;
    padding-left: 26px;
    border-left: 3px solid var(--primary);
    max-width: 760px;
}

.eip-pullquote p {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.55;
    color: var(--dark);
    margin-bottom: 16px;
}

.eip-quote-block {
    background: var(--light-bg);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 20px 24px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.eip-quote-block:hover {
    box-shadow: 0 10px 24px rgba(20,40,70,0.08);
    border-color: var(--secondary);
}

.eip-quote-block p { font-style: italic; color: var(--text-dark); font-size: 1.02rem; line-height: 1.6; margin-bottom: 14px; }
.eip-quote-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.eip-quote-tags span {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--primary);
    background: #eaf2fb;
    padding: 4px 12px;
    border-radius: 20px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.eip-quote-tags span:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.eip-list-check, .eip-list-cross {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--light-bg);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--text-dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eip-list-check:hover, .eip-list-cross:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(20,40,70,0.08);
}

.eip-list-check svg { color: #2e8b57; flex-shrink: 0; margin-top: 3px; }
.eip-list-cross { background: #fdf1f1; }
.eip-list-cross svg { color: #d94848; flex-shrink: 0; margin-top: 3px; }

.eip-who-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eafaf0;
    border: 1px solid #cdeedc;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #1b7a44;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eip-who-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(20,40,70,0.08);
}

.eip-who-badge svg { color: #2e8b57; flex-shrink: 0; }

.eip-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    background: var(--light-bg);
    transition: transform 0.25s ease;
}

.eip-evaluates-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 700px) { .eip-evaluates-grid { grid-template-columns: 1fr; } }

.eip-evaluate-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(20,40,70,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eip-evaluate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(20,40,70,0.1);
    border-color: #d7e6fb;
}

.eip-evaluate-card strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.eip-evaluate-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.eip-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #eaf2fb, #dbe8ff);
    border-radius: 14px;
    padding: 20px 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eip-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(20,40,70,0.12);
}

.eip-highlight-card:hover .eip-icon-circle { transform: scale(1.1); }

.eip-highlight-card .eip-icon-circle { background: var(--white); }
.eip-highlight-card strong { display: block; color: var(--dark); font-size: 1rem; margin-bottom: 4px; }
.eip-highlight-card span { color: var(--text-light); font-size: 0.86rem; }

/* ===== Global Recognition — standalone stat card ===== */
.eip-highlight-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
    padding: 20px 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eaf2fb, #dbe8ff);
    border: 1px solid #d7e6fb;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eip-highlight-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(20,40,70,0.12);
}

.eip-highlight-stat::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,117,252,0.16), transparent 70%);
    pointer-events: none;
}

.eip-highlight-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 6px 14px rgba(20,40,70,0.12);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.eip-highlight-stat:hover .eip-highlight-stat-icon { transform: scale(1.1); }

.eip-highlight-stat-body {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    position: relative;
    z-index: 1;
}

.eip-highlight-stat strong {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    white-space: nowrap;
}

.eip-highlight-stat p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.86rem;
    line-height: 1.4;
}

@media (max-width: 560px) {
    .eip-highlight-stat {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 22px 20px;
    }
    .eip-highlight-stat-body {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }
}

/* goal cards */
.eip-goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .eip-goal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .eip-goal-grid { grid-template-columns: 1fr; } }

.eip-goal-card {
    display: block;
    border-radius: 16px;
    padding: 20px 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eip-goal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(20,40,70,0.12);
}

.eip-goal-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.eip-goal-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.eip-goal-card:hover .eip-goal-card-icon { transform: scale(1.12); }

.eip-goal-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.eip-goal-card p {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.5;
}

.eip-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .eip-benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .eip-benefit-grid { grid-template-columns: 1fr; } }

.eip-benefit-card { border-radius: 16px; padding: 22px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.eip-benefit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(20,40,70,0.12); }
.eip-benefit-card h4 { font-size: 1.05rem; color: var(--dark); margin: 12px 0 6px; }
.eip-benefit-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.5; }
.eip-benefit-blue { background: #eaf2fb; } .eip-benefit-green { background: #eafaf0; } .eip-benefit-purple { background: #f3ecfb; }
.eip-benefit-orange { background: #fdf3e4; } .eip-benefit-pink { background: #fdecf3; } .eip-benefit-teal { background: #e6f8f6; }
.eip-benefit-card svg { width: 26px; height: 26px; transition: transform 0.25s ease; }
.eip-benefit-card:hover svg { transform: scale(1.15); }
.eip-benefit-blue svg { color: #2563eb; } .eip-benefit-green svg { color: #2e8b57; } .eip-benefit-purple svg { color: #7c3aed; }
.eip-benefit-orange svg { color: #d97706; } .eip-benefit-pink svg { color: #db2777; } .eip-benefit-teal svg { color: #0d9488; }

.eip-module-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 992px) { .eip-module-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .eip-module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .eip-module-grid { grid-template-columns: 1fr; } }

.eip-module-card { background: var(--white); border: 1.5px solid #edf0f4; border-radius: 14px; padding: 20px 16px; text-align: center; cursor: pointer; transition: all 0.2s ease; }
.eip-module-card:hover { border-color: var(--primary); box-shadow: 0 8px 20px rgba(37,117,252,0.12); transform: translateY(-3px); }
.eip-module-card.active { border-color: var(--primary); box-shadow: 0 8px 20px rgba(37,117,252,0.12); }

.eip-module-card-chevron {
    display: block;
    margin: 8px auto 0;
    color: #c3ccd8;
    transition: transform 0.25s ease, color 0.25s ease;
}

.eip-module-card:hover .eip-module-card-chevron { color: var(--text-light); }

.eip-module-card.active .eip-module-card-chevron {
    color: var(--primary);
    transform: rotate(180deg);
}

.eip-module-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); margin: 0 auto 12px; transition: transform 0.25s ease; }
.eip-module-card:hover .eip-module-icon { transform: scale(1.08); }

.eip-module-card h5 { font-size: 0.94rem; color: var(--dark); margin-bottom: 4px; }
.eip-module-card span { font-size: 0.76rem; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 4px; }
.eip-module-detail { background: var(--light-bg); border-radius: 14px; padding: 22px 24px; }
.eip-module-detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.eip-module-detail-head h4 { font-size: 1.05rem; color: var(--dark); margin-bottom: 2px; }
.eip-module-detail-head span { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.eip-module-detail-list { display: flex; flex-direction: column; gap: 8px; }

.eip-module-detail-list li {
    list-style: none;
    font-size: 0.86rem;
    color: var(--text-dark);
    padding-left: 16px;
    position: relative;
    transition: transform 0.2s ease, color 0.2s ease;
}

.eip-module-detail-list li:hover {
    transform: translateX(4px);
    color: var(--dark);
}

.eip-module-detail-list li::before { content: "•"; position: absolute; left: 0; color: var(--primary); }
.eip-module-detail-list li strong { color: var(--dark); }

.eip-note-box {
    background: #fdf3e4;
    border: 1px solid #f5e3c2;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 0.88rem;
    color: #7a5a10;
    transition: box-shadow 0.25s ease;
}

.eip-note-box:hover { box-shadow: 0 8px 18px rgba(20,40,70,0.08); }
.eip-note-box strong { color: #5c4200; }

.eip-conduct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .eip-conduct-grid { grid-template-columns: 1fr; } }

.eip-conduct-card { border-radius: 14px; padding: 20px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.eip-conduct-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(20,40,70,0.1); }
.eip-conduct-allowed { background: #eafaf0; border: 1px solid #cdeedc; }
.eip-conduct-blocked { background: #fdf1f1; border: 1px solid #f6d5d5; }
.eip-conduct-card h5 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 14px; }
.eip-conduct-allowed h5 { color: #1b7a44; } .eip-conduct-blocked h5 { color: #b23434; }
.eip-conduct-card ul { display: flex; flex-direction: column; gap: 10px; }

.eip-conduct-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-dark);
    transition: transform 0.2s ease;
}

.eip-conduct-card li svg { flex-shrink: 0; margin-top: 3px; }

.eip-conduct-card li:hover { transform: translateX(4px); }

.eip-violation-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.eip-violation-tags span {
    background: #d94848;
    color: var(--white);
    font-weight: 700;
    font-size: 0.74rem;
    padding: 5px 12px;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.eip-violation-tags span:hover { transform: translateY(-2px); }

.eip-result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 560px) { .eip-result-grid { grid-template-columns: 1fr; } }

.eip-result-card { border-radius: 14px; padding: 20px 22px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.eip-result-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(20,40,70,0.1); }
.eip-result-card strong { display: block; font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.eip-result-card span { font-size: 0.84rem; color: var(--text-light); }
.eip-result-blue { background: #eaf2fb; } .eip-result-blue strong { color: #2563eb; }
.eip-result-purple { background: #f3ecfb; } .eip-result-purple strong { color: #7c3aed; }

.eip-timeline { position: relative; padding-left: 46px; display: flex; flex-direction: column; gap: 30px; }

.eip-timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, #d7e4f3 0 6px, transparent 6px 12px);
}

.eip-timeline-item { position: relative; }

.eip-timeline-marker {
    position: absolute;
    left: -46px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(4,26,87,0.25);
    transition: transform 0.25s ease;
}

.eip-timeline-item:hover .eip-timeline-marker { transform: scale(1.15); }

.eip-timeline-item h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 12px; }

@media (max-width: 480px) {
    .eip-timeline { padding-left: 36px; gap: 26px; }
    .eip-timeline::before { left: 12px; }
    .eip-timeline-marker { left: -36px; width: 26px; height: 26px; font-size: 0.76rem; }
}

.eip-testflow-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.eip-testflow-step {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 20px 16px 16px;
    box-shadow: 0 2px 10px rgba(20,40,70,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eip-testflow-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(20,40,70,0.1);
    border-color: #d7e6fb;
}

.eip-testflow-step strong { font-size: 0.92rem; color: var(--dark); }
.eip-testflow-step span { font-size: 0.76rem; color: var(--text-light); margin-bottom: 4px; }

.eip-testflow-track {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #eef1f5;
    overflow: hidden;
    margin-top: auto;
}

.eip-testflow-fill { height: 100%; border-radius: 5px; }

.eip-testflow-arrow { color: #c3ccd8; flex-shrink: 0; align-self: center; }

@media (max-width: 560px) {
    .eip-testflow-row { flex-direction: column; }
    .eip-testflow-arrow { transform: rotate(90deg); }
}

.eip-cta-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 18px; border-top: 1px solid #eee; }
.eip-cta-outline, .eip-cta-solid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 10px; font-weight: 700; font-size: 0.86rem; cursor: pointer; font-family: inherit; border: none; transition: all 0.2s ease; }
.eip-cta-outline { background: var(--white); border: 1.5px solid #d7dfe8; color: var(--dark); }
.eip-cta-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.eip-cta-solid { background: linear-gradient(90deg, var(--primary), var(--secondary)); color: var(--white); }
.eip-cta-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37,117,252,0.3); }

/* ===== Score Bands — row layout ===== */
.eip-scoreband-list { display: flex; flex-direction: column; gap: 10px; }

.eip-scoreband-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 12px;
    padding: 14px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eip-scoreband-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(20,40,70,0.08);
}

.eip-scoreband-range {
    flex-shrink: 0;
    width: 86px;
    text-align: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--white);
    padding: 7px 4px;
    border-radius: 8px;
}

.eip-scoreband-range-green { background: #2e8b57; }
.eip-scoreband-range-blue { background: var(--primary); }
.eip-scoreband-range-orange { background: #d97706; }
.eip-scoreband-range-red { background: #d94848; }

.eip-scoreband-body { flex: 1; min-width: 0; }
.eip-scoreband-body strong { display: block; color: var(--dark); font-size: 0.95rem; margin-bottom: 2px; }
.eip-scoreband-body p { font-size: 0.82rem; color: var(--text-light); margin: 0 0 8px; }

.eip-scoreband-bar { height: 6px; border-radius: 6px; background: #eef1f5; overflow: hidden; }
.eip-scoreband-bar span { display: block; height: 100%; border-radius: 6px; }

.eip-scoreband-bar span.eip-scoreband-fill-green { background: #2e8b57; }
.eip-scoreband-bar span.eip-scoreband-fill-blue { background: var(--primary); }
.eip-scoreband-bar span.eip-scoreband-fill-orange { background: #d97706; }
.eip-scoreband-bar span.eip-scoreband-fill-red { background: #d94848; }

@media (max-width: 560px) {
    .eip-scoreband-row { flex-wrap: wrap; }
    .eip-scoreband-range { width: 70px; }
}

.eip-country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .eip-country-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .eip-country-grid { grid-template-columns: 1fr; } }

.eip-country-card {
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eip-country-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(20,40,70,0.1); }

.eip-country-flag {
    width: 52px;
    height: 39px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(20,40,70,0.15);
    margin-bottom: 4px;
}
.eip-country-card strong { color: var(--dark); font-size: 0.84rem; font-weight: 600; }

.eip-country-range {
    background: var(--light-bg);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 3px 12px;
    border-radius: 20px;
    margin-top: 4px;
}

.eip-register-steps { display: flex; flex-direction: column; gap: 14px; }

.eip-register-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 18px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eip-register-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(20,40,70,0.1);
}

.eip-register-step h5 { font-size: 0.96rem; color: var(--dark); margin-bottom: 4px; }
.eip-register-step p { font-size: 0.86rem; color: var(--text-light); }

.eip-coachstat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 700px) { .eip-coachstat-grid { grid-template-columns: repeat(2, 1fr); } }

.eip-coachstat-card {
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 20px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eip-coachstat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(20,40,70,0.1); }
.eip-coachstat-card strong { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.eip-coachstat-card span { font-size: 0.78rem; color: var(--text-light); }

.eip-mistake-list { display: flex; flex-direction: column; gap: 12px; }

.eip-mistake-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.eip-mistake-bad, .eip-mistake-good {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.86rem;
}

.eip-mistake-bad { background: #fdf1f1; color: #b23434; }
.eip-mistake-bad svg { flex-shrink: 0; margin-top: 3px; }
.eip-mistake-good { background: #eafaf0; color: var(--text-dark); }
.eip-mistake-good svg { flex-shrink: 0; color: #1b7a44; margin-top: 3px; }
.eip-mistake-arrow { color: #c3ccd8; flex-shrink: 0; }

@media (max-width: 640px) {
    .eip-mistake-row { flex-direction: column; align-items: stretch; }
    .eip-mistake-arrow { transform: rotate(90deg); align-self: center; }
}

/* sidebar cards */
.eip-side-card {
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 16px rgba(20,40,70,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eip-side-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(20,40,70,0.1);
}

.eip-side-card-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dark); font-size: 0.94rem; margin-bottom: 14px; }
.eip-side-card-head svg { color: var(--primary); }

.eip-side-empty {
    text-align: center;
    padding: 30px 18px;
    border: 1.5px dashed #d7e4f3;
    border-radius: 14px;
    background: var(--light-bg);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.eip-side-empty:hover {
    border-color: var(--primary);
    background: #eaf2fb;
}

.eip-side-empty svg {
    display: block;
    margin: 0 auto 14px;
    width: 46px;
    height: 46px;
    padding: 11px;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(20,40,70,0.08);
    transition: transform 0.25s ease;
}

.eip-side-empty:hover svg { transform: scale(1.1); }

.eip-side-empty strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.eip-side-empty span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.eip-side-dark {
    background: linear-gradient(150deg, var(--dark), var(--primary));
    color: var(--white);
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eip-side-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(4,26,87,0.3);
}

.eip-side-dark .eip-side-card-head { color: var(--white); }
.eip-side-dark .eip-side-card-head svg { color: var(--accent); }
.eip-side-dark p { color: #cfd9f0; font-size: 0.84rem; line-height: 1.55; margin-bottom: 16px; }

.eip-side-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 12px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eip-side-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.eip-side-links { display: flex; flex-direction: column; gap: 12px; }

.eip-side-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-dark);
    transition: color 0.2s ease, transform 0.2s ease;
}

.eip-side-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.eip-side-list { display: flex; flex-direction: column; gap: 10px; }

.eip-side-list span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-dark);
    transition: color 0.2s ease, transform 0.2s ease;
}

.eip-side-list span:hover {
    color: var(--dark);
    transform: translateX(4px);
}

.eip-side-list svg { color: #2e8b57; flex-shrink: 0; margin-top: 3px; }

/* ===== data table (used for Quick Comparison + Fees) — no horizontal scroll ===== */
.eip-score-wrap {
    background: var(--white);
    overflow: hidden;
}

.eip-score-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.eip-score-table th {
    background: linear-gradient(90deg, var(--dark), var(--primary));
    color: var(--white);
    text-align: left;
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 700;
}

.eip-score-table th.eip-score-table-right,
.eip-score-table td.eip-score-table-right { text-align: right; }

.eip-score-table td {
    padding: 12px 16px;
    border-top: 1px solid #eef1f5;
    font-size: 0.85rem;
    color: var(--text-dark);
    white-space: normal;
    word-break: break-word;
    vertical-align: top;
}

.eip-score-table td.eip-score-table-label {
    font-weight: 700;
    color: var(--dark);
}

.eip-score-table td.eip-score-table-fee {
    font-weight: 700;
    color: var(--primary);
}

.eip-score-table tr:hover td { background: #fafbfd; }

.eip-score-table-2col th:first-child,
.eip-score-table-2col td:first-child { width: 65%; }

/* Below 760px: drop the grid layout and stack each row as a labeled card
   instead of forcing the table to scroll sideways. */
@media (max-width: 760px) {
    .eip-score-table, .eip-score-table thead, .eip-score-table tbody,
    .eip-score-table th, .eip-score-table td, .eip-score-table tr {
        display: block;
        width: auto;
    }

    .eip-score-table thead { display: none; }

    .eip-score-table tr {
        margin-bottom: 12px;
        border: 1px solid #edf0f4;
        border-radius: 12px;
        overflow: hidden;
    }

    .eip-score-table tr:last-child { margin-bottom: 0; }

    .eip-score-table td {
        border-top: none;
        border-bottom: 1px solid #eef1f5;
        padding: 10px 14px 10px 46%;
        position: relative;
        min-height: 20px;
        text-align: left !important;
    }

    .eip-score-table td:last-child { border-bottom: none; }

    .eip-score-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 14px;
        top: 10px;
        width: 40%;
        font-weight: 700;
        font-size: 0.72rem;
        letter-spacing: 0.2px;
        text-transform: uppercase;
        color: var(--text-light);
    }
}

/* =========================================================
   NEW — Accepted By cards (replaces bare icon+text layout)
   ========================================================= */
.eip-accepted-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.eip-accepted-card {
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 22px 14px 18px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(20,40,70,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eip-accepted-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(20,40,70,0.1);
    border-color: #d7e6fb;
}

.eip-accepted-icon {
    margin: 0 auto 12px;
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.eip-accepted-card:hover .eip-accepted-icon { transform: scale(1.1); }

.eip-accepted-card p {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

@media (max-width: 700px) {
    .eip-accepted-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   NEW — Recognized In cards (replaces cramped flag pills)
   ========================================================= */
.eip-recognized-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.eip-recognized-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.eip-recognized-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(20,40,70,0.1);
    border-color: #d7e6fb;
}

.eip-recognized-flag {
    width: 44px;
    height: 33px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(20,40,70,0.15);
}

.eip-recognized-card span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}

@media (max-width: 900px) {
    .eip-recognized-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .eip-recognized-grid { grid-template-columns: repeat(2, 1fr); }
}