.ctf-catalog-main { min-height: 100vh; }

.ctf-catalog-hero {
    border-bottom: 1px solid var(--mkt-border);
    padding: 82px 0 64px;
    background: var(--mkt-surface);
}
.ctf-catalog-hero-inner { max-width: 880px; }
.ctf-catalog-hero h1 {
    margin: 0;
    color: var(--mkt-text);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -.05em;
    font-weight: 760;
}
.ctf-catalog-hero p {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--mkt-muted);
    font-size: 17px;
    line-height: 1.75;
}
.ctf-catalog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.ctf-catalog-section { padding: 82px 0; }
.ctf-catalog-section + .ctf-catalog-section { border-top: 1px solid var(--mkt-border); }
.ctf-catalog-section:nth-of-type(even) { background: color-mix(in srgb, var(--mkt-surface-soft) 62%, var(--mkt-bg)); }
.ctf-catalog-section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 34px;
}
.ctf-catalog-section-header h2 {
    margin: 0;
    color: var(--mkt-text);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    letter-spacing: -.035em;
}
.ctf-catalog-section-header p { margin: 0; color: var(--mkt-muted); line-height: 1.7; }

.ctf-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--mkt-border);
}
.ctf-catalog-grid.is-two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ctf-catalog-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-right: 1px solid var(--mkt-border);
    border-bottom: 1px solid var(--mkt-border);
    padding: 30px;
    background: transparent;
}
.ctf-catalog-grid .ctf-catalog-card:nth-child(3n) { border-right: 0; }
.ctf-catalog-grid.is-two-column .ctf-catalog-card:nth-child(3n) { border-right: 1px solid var(--mkt-border); }
.ctf-catalog-grid.is-two-column .ctf-catalog-card:nth-child(2n) { border-right: 0; }
.ctf-catalog-card-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--mkt-border);
    border-radius: 9px;
    background: var(--mkt-surface);
    color: var(--mkt-primary-strong);
    font-size: 19px;
}
.ctf-catalog-card h2, .ctf-catalog-card h3 { margin: 0; color: var(--mkt-text); font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.ctf-catalog-card p { margin: 0; color: var(--mkt-muted); line-height: 1.7; }
.ctf-catalog-card small { color: var(--mkt-muted); line-height: 1.55; }
.ctf-catalog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.ctf-catalog-link { display: inline-flex; align-items: center; gap: 7px; color: var(--mkt-primary-strong); font-size: 13px; font-weight: 750; }
.ctf-catalog-link i { transition: transform .18s ease; }
.ctf-catalog-link:hover i { transform: translateX(3px); }

.ctf-catalog-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 2px 5px 2px 0;
    border: 1px solid var(--mkt-border);
    border-radius: 999px;
    padding: 5px 8px;
    color: var(--mkt-muted);
    font-size: 10px;
    font-weight: 750;
    line-height: 1;
}
.ctf-catalog-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ctf-catalog-status.is-ga { border-color: color-mix(in srgb, var(--mkt-success) 28%, var(--mkt-border)); color: var(--mkt-success); }
.ctf-catalog-status.is-beta { border-color: color-mix(in srgb, var(--mkt-primary) 28%, var(--mkt-border)); color: var(--mkt-primary-strong); }
.ctf-catalog-status.is-planned { color: var(--mkt-muted); }

.ctf-catalog-detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 0; border-top: 1px solid var(--mkt-border); border-bottom: 1px solid var(--mkt-border); }
.ctf-catalog-detail-panel { padding: 34px; background: transparent; }
.ctf-catalog-detail-panel + .ctf-catalog-detail-panel { border-left: 1px solid var(--mkt-border); }
.ctf-catalog-detail-panel h2 { margin: 0 0 20px; font-size: 24px; letter-spacing: -.03em; }
.ctf-catalog-outcomes { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ctf-catalog-outcomes li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.ctf-catalog-outcomes i { flex: 0 0 auto; margin-top: 4px; color: var(--mkt-success); }
.ctf-catalog-product-list { display: grid; gap: 0; border-top: 1px solid var(--mkt-border); }
.ctf-catalog-product-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; border-bottom: 1px solid var(--mkt-border); padding: 13px 0; }
.ctf-catalog-product-row > i { color: var(--mkt-primary-strong); font-size: 18px; }
.ctf-catalog-product-row strong, .ctf-catalog-product-row small { display: block; }
.ctf-catalog-product-row small { margin-top: 3px; overflow: hidden; color: var(--mkt-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.ctf-catalog-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--mkt-border); }
.ctf-catalog-plan-card { display: flex; min-width: 0; flex-direction: column; gap: 18px; border-right: 1px solid var(--mkt-border); border-bottom: 1px solid var(--mkt-border); padding: 30px; background: transparent; }
.ctf-catalog-plan-card:nth-child(3n) { border-right: 0; }
.ctf-catalog-plan-card.is-featured { border-top: 3px solid var(--mkt-primary-strong); padding-top: 28px; }
.ctf-catalog-plan-card h2 { margin: 0; font-size: 24px; }
.ctf-catalog-plan-card > p { margin: 0; color: var(--mkt-muted); line-height: 1.65; }
.ctf-catalog-price { display: flex; align-items: baseline; gap: 7px; }
.ctf-catalog-price strong { color: var(--mkt-text); font-size: 31px; letter-spacing: -.04em; }
.ctf-catalog-price span { color: var(--mkt-muted); font-size: 12px; }
.ctf-catalog-capacities { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mkt-border); }
.ctf-catalog-capacities li { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--mkt-border); padding: 11px 0; color: var(--mkt-muted); font-size: 12px; }
.ctf-catalog-capacities strong { color: var(--mkt-text); }
.ctf-catalog-empty { border: 1px dashed var(--mkt-border); border-radius: 10px; padding: 42px; color: var(--mkt-muted); text-align: center; }

@media (max-width: 980px) {
    .ctf-catalog-grid, .ctf-catalog-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ctf-catalog-grid .ctf-catalog-card:nth-child(3n), .ctf-catalog-plan-card:nth-child(3n) { border-right: 1px solid var(--mkt-border); }
    .ctf-catalog-grid .ctf-catalog-card:nth-child(2n), .ctf-catalog-plan-card:nth-child(2n) { border-right: 0; }
    .ctf-catalog-detail-grid { grid-template-columns: 1fr; }
    .ctf-catalog-detail-panel + .ctf-catalog-detail-panel { border-top: 1px solid var(--mkt-border); border-left: 0; }
}

@media (max-width: 680px) {
    .ctf-catalog-hero { padding: 64px 0 52px; }
    .ctf-catalog-section { padding: 58px 0; }
    .ctf-catalog-section-header { grid-template-columns: 1fr; gap: 18px; }
    .ctf-catalog-grid, .ctf-catalog-grid.is-two-column, .ctf-catalog-plan-grid { grid-template-columns: 1fr; }
    .ctf-catalog-grid .ctf-catalog-card, .ctf-catalog-grid.is-two-column .ctf-catalog-card, .ctf-catalog-plan-card { border-right: 0 !important; padding: 24px 0; }
    .ctf-catalog-detail-panel { padding: 26px 0; }
    .ctf-catalog-product-row { grid-template-columns: auto minmax(0, 1fr); }
    .ctf-catalog-product-row > .ctf-catalog-status { grid-column: 2; }
    .ctf-catalog-actions { align-items: stretch; flex-direction: column; }
    .ctf-catalog-actions .ctf-mkt-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ctf-catalog-link i { transition: none; transform: none !important; }
}
