/* ==============================================
   Design System — Navy/Gold Theme
   ============================================== */
:root {
    --navy: #0A1628;
    --navy-light: #0F2140;
    --navy-mid: #1A3358;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --orange-cta: #E8553D;
    --orange-hover: #D14832;
    --white: #FFFFFF;
    --off-white: #F5F6FA;
    --gray-50: #F8F9FC;
    --gray-100: #ECEEF4;
    --gray-200: #D8DBE6;
    --gray-400: #8E94A6;
    --gray-600: #5A5F72;
    --gray-800: #2D3142;
    --green: #22C55E;
    --red: #EF4444;
    --font: 'Noto Sans JP', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.10);
    --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 12px 48px rgba(10, 22, 40, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--off-white);
    line-height: 1.8;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================================
   Header
   ============================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    font-size: 22px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.header-nav {
    display: flex;
    gap: 24px;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--gold);
}

/* ==============================================
   Hero
   ============================================== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-mid) 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    color: var(--white);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-accent {
    color: var(--gold);
}

.hero-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s;
}

.hero-btn.primary {
    background: var(--orange-cta);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(232, 85, 61, 0.3);
}

.hero-btn.primary:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ==============================================
   Quick Stats
   ============================================== */
.quick-stats {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px 16px;
    background: var(--white);
    border-right: 1px solid var(--gray-100);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
}

/* ==============================================
   Section Common
   ============================================== */
.section-title {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    color: var(--navy);
    margin-bottom: 8px;
}

.section-sub {
    text-align: center;
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 32px;
}

.comparison-section,
.ranking-section,
.more-cards-section,
.guide-section,
.faq-section {
    padding: 60px 0;
}

.comparison-section {
    background: var(--white);
}

.ranking-section {
    background: var(--off-white);
}

.more-cards-section {
    background: var(--white);
}

.guide-section {
    background: var(--off-white);
}

.faq-section {
    background: var(--white);
}

/* ==============================================
   Tabs
   ============================================== */
.tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tab {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.25s;
}

.tab:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.tab.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* ==============================================
   Comparison Table
   ============================================== */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 14px;
    min-width: 760px;
}

.spec-table thead th {
    background: var(--gray-50);
    padding: 14px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--gray-100);
    white-space: nowrap;
}

.spec-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.spec-table tbody tr {
    transition: background 0.2s;
}

.spec-table tbody tr:hover {
    background: var(--gray-50);
}

.spec-table tbody tr.hidden {
    display: none;
}

.td-name {
    min-width: 180px;
}

.td-name strong {
    display: block;
    margin-bottom: 2px;
}

.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    background: var(--gray-100);
    color: var(--gray-600);
}

.rank-num.gold {
    background: linear-gradient(135deg, #FFD700, #C9A84C);
    color: var(--white);
}

.rank-num.silver {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: var(--white);
}

.rank-num.bronze {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: var(--white);
}

.free-badge {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.free-badge-s {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.rate {
    color: var(--orange-cta);
}

.speed-fast {
    color: var(--orange-cta);
}

.ins-yes {
    color: var(--green);
    font-size: 13px;
}

.ins-no {
    color: var(--gray-400);
    font-size: 13px;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.tag-blue {
    background: #EBF3FF;
    color: #2563EB;
}

.tag-green {
    background: #ECFDF5;
    color: #16A34A;
}

.tag-pink {
    background: #FFF1F2;
    color: #E11D48;
}

.tag-red {
    background: #FEF2F2;
    color: #DC2626;
}

.tag-orange {
    background: #FFF7ED;
    color: #EA580C;
}

.tag-purple {
    background: #F5F3FF;
    color: #7C3AED;
}

.tag-outline {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

/* ==============================================
   Ranking Cards
   ============================================== */
.rank-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 28px;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
}

.rank-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.rank-card.hidden {
    display: none;
}

.rank-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.rank-badge.gold {
    background: linear-gradient(135deg, #FFD700, #C9A84C);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #C0C0C0, #8A8A8A);
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
}

.rank-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 16px 80px;
    border-bottom: 1px solid var(--gray-100);
    flex-wrap: wrap;
    gap: 8px;
}

.rank-card-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2px;
}

.rank-card-issuer {
    font-size: 12px;
    color: var(--gray-400);
}

.rank-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.rank-card-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 24px;
}

.rank-card-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Card Mocks */
.card-mock {
    width: 200px;
    height: 126px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.rank-card:hover .card-mock {
    transform: scale(1.02);
}

.card-mock-chip {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    background: linear-gradient(135deg, #e0c96e 0%, #c9a84c 100%);
}

.card-mock-label {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    letter-spacing: 0.06em;
}

.card-mock-jcb {
    background: linear-gradient(135deg, #1A3A7D 0%, #2B5CC4 100%);
    color: #fff;
}

.card-mock-smbc {
    background: linear-gradient(135deg, #005C2F 0%, #2E9E5C 100%);
    color: #fff;
}

.card-mock-rakuten {
    background: linear-gradient(135deg, #B91C1C 0%, #E53E3E 100%);
    color: #fff;
}

.card-mock-paypay {
    background: linear-gradient(135deg, #FF0033 0%, #FF4466 60%, #FFE4E6 100%);
    color: #fff;
}

.card-mock-recruit {
    background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%);
    color: #fff;
}

.card-spec-mini {
    width: 100%;
}

.card-spec-mini div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.card-spec-mini div:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--gray-400);
}

.spec-val {
    font-weight: 600;
    color: var(--gray-800);
}

.spec-val.highlight {
    color: var(--orange-cta);
}

/* Feature List */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.6;
}

/* Campaign Box */
.campaign-box {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(90deg, #FFFBEB, #FEF3C7);
    border: 1.5px dashed var(--gold);
    border-radius: var(--radius-sm);
}

.campaign-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.campaign-value {
    font-size: 14px;
    color: var(--gray-800);
}

.big-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--orange-cta);
}

.yen {
    font-size: 14px;
    color: var(--gray-600);
}

/* CTA */
.rank-card-cta {
    display: flex;
    justify-content: center;
    padding: 0 24px 24px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    background: linear-gradient(135deg, #ff6b3d 0%, #e8553d 50%, #c94030 100%);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(232, 85, 61, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.25s;
    width: 100%;
    max-width: 360px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: btn-shimmer 2.5s infinite;
}

@keyframes btn-shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.btn-cta:hover {
    background: linear-gradient(135deg, #ff7a50 0%, #f0613d 50%, #d44535 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 24px rgba(232, 85, 61, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ==============================================
   More Cards Grid
   ============================================== */
.more-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.mini-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
}

.mini-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--gold-light);
}

.mini-card.hidden {
    display: none;
}

.mini-card-rank {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 700;
}

.mini-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.mini-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.mini-card-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.mini-spec {
    display: flex;
    flex-direction: column;
    padding: 8px;
    background: var(--gray-50);
    border-radius: 6px;
}

.ms-label {
    font-size: 10px;
    color: var(--gray-400);
    font-weight: 500;
}

.ms-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
}

.ms-val.free {
    color: var(--green);
}

.mini-card-point {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 14px;
}

.mini-cta {
    display: inline-block;
    color: var(--orange-cta);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.mini-cta:hover {
    color: var(--orange-hover);
}

/* ==============================================
   Guide Section
   ============================================== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
}

.guide-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.guide-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.guide-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.guide-item-text {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==============================================
   FAQ Section
   ============================================== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: border-color 0.2s;
}

.faq-item[open] {
    border-color: var(--gold-light);
}

.faq-q {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.faq-q:hover {
    background: rgba(201, 168, 76, 0.05);
}

.faq-q::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-a {
    padding: 0 20px 18px 58px;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ==============================================
   Footer
   ============================================== */
.site-footer {
    background: var(--navy);
    padding: 40px 0 24px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-disclaimer {
    font-size: 11px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}

.footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
}

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

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

.rank-card,
.mini-card {
    animation: fadeIn 0.4s ease;
}

/* ==============================================
   Responsive
   ============================================== */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-img {
        max-width: 280px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--gray-100);
    }

    .header-nav {
        display: none;
    }

    .rank-card-body {
        grid-template-columns: 1fr;
    }

    .rank-card-header {
        padding-left: 24px;
        padding-top: 50px;
    }

    .rank-card-visual {
        align-items: center;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .more-cards-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 20px;
    }

    .card-mock {
        width: 180px;
        height: 114px;
    }

    .rank-card-name {
        font-size: 18px;
    }

    .btn-cta {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ==============================================
   Expert Box
   ============================================== */
.expert-box {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(90deg, #EBF5FF, #E8F4FD);
    border: 1px solid #B3D9FF;
    border-radius: var(--radius-sm);
}

.expert-label {
    font-size: 12px;
    font-weight: 700;
    color: #2563EB;
    margin-bottom: 6px;
    display: block;
}

.expert-box p {
    font-size: 13px;
    color: var(--gray-700, #3d4255);
    line-height: 1.7;
    margin: 0;
}

/* ==============================================
   Expand Button
   ============================================== */
.expand-btn-wrap {
    text-align: center;
    margin-top: 20px;
}

.expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 32px;
    border-radius: 30px;
    border: 2px solid var(--navy);
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.expand-btn:hover {
    background: var(--navy);
    color: var(--white);
}

/* ==============================================
   Table Apply Button
   ============================================== */
.btn-apply {
    display: inline-block;
    padding: 6px 14px;
    background: var(--orange-cta);
    color: var(--white);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-apply:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
}

/* ==============================================
   Hidden Row (Expandable Table)
   ============================================== */
.hidden-row {
    display: none;
}

/* ==============================================
   Mini Card as Link
   ============================================== */
a.mini-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ==============================================
   Card Name Link (table + ranking)
   ============================================== */
.card-name-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.card-name-link:hover {
    color: var(--orange-cta, #E8553D);
    text-decoration: underline;
}

.rank-card-name .card-name-link {
    color: inherit;
}

.rank-card-name .card-name-link:hover {
    color: var(--orange-cta, #E8553D);
}

/* ==============================================
   Detail Button (comparison table)
   ============================================== */
.btn-detail {
    display: inline-block;
    padding: 6px 14px;
    background: var(--white, #fff);
    color: var(--navy, #0A1628);
    border: 1.5px solid var(--navy, #0A1628);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-detail:hover {
    background: var(--navy, #0A1628);
    color: var(--white, #fff);
    transform: translateY(-1px);
}

/* ==============================================
   Detail CTA Button (ranking cards)
   ============================================== */
.rank-card-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-cta-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 28px;
    background: var(--white, #fff);
    color: var(--navy, #0A1628);
    border: 2px solid var(--navy, #0A1628);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}

.btn-cta-detail:hover {
    background: var(--navy, #0A1628);
    color: var(--white, #fff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 22, 40, 0.2);
}

.rank-card-cta .btn-cta {
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}

/* Text emphasis classes for highlighted text */
.em-num {
    color: #E8553D;
    font-weight: 800;
}

.em-key {
    color: #1A237E;
    font-weight: 700;
}

.em-free {
    color: #22c55e;
    font-weight: 700;
}


.feature-list .em-num,
.expert-box .em-num {
    font-size: 1.05em;
}

/* === Speed Ranking Section === */
.speed-ranking-section {
    background: #f0f9ff;
    padding: 60px 0;
    border-top: 1px solid #e1e7eb;
    border-bottom: 1px solid #e1e7eb;
}

.speed-header {
    text-align: center;
    margin-bottom: 40px;
}

.speed-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.speed-header h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.speed-header p {
    color: #666;
    font-size: 1rem;
}

.speed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.speed-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.speed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.speed-card.recommended {
    border: 2px solid #ff9f43;
    background: #fffbef;
}

.speed-ranking-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: #FFD700;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.speed-card:nth-child(2) .speed-ranking-badge {
    background: #C0C0C0;
}

.speed-card:nth-child(3) .speed-ranking-badge {
    background: #CD7F32;
}

.speed-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
}

.speed-badge.red {
    background: #ff4757;
}

.speed-badge.blue {
    background: #1e90ff;
}

.speed-badge.green {
    background: #2ed573;
}

.speed-img-wrap {
    text-align: center;
    margin: 20px 0;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speed-img {
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
}

.speed-name {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.speed-points {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.speed-points li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.speed-points li:before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #2ed573;
}

.speed-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #ff4757;
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.speed-btn:hover {
    background: #ff6b81;
}

@media (max-width: 768px) {
    .speed-ranking-section {
        padding: 40px 0;
    }

    .speed-grid {
        grid-template-columns: 1fr;
    }
}