/* ============================================================
   36if 工具箱 · 首页专属样式（index.css）
   依赖 css/common.css 提供的 reset / 变量 / .wrap / 头部 / 底部样式
   ============================================================ */

.logo .bracket {
    font-family: "JetBrains Mono", monospace;
    font-weight: 600;
    color: var(--teal);
    font-size: 18px;
}

/* ---------- Hero ---------- */
.hero {
    padding: 76px 0 56px;
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--teal-deep);
    background: rgba(31, 111, 99, 0.1);
    letter-spacing: 0.03em;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

h1.hero-title {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 500;
    font-style: italic;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
    max-width: 18ch;
}

.hero-title em {
    font-style: normal;
    color: var(--teal);
}

.hero-desc {
    font-size: 16px;
    color: var(--muted);
    max-width: 54ch;
    margin: 0;
}

/* ---------- Section labels ---------- */
.section {
    padding: 56px 0;
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.section-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-title {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    margin: 4px 0 0;
}

/* ---------- Featured tool card ---------- */
.featured-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--teal);
}

.featured-card:hover {
    box-shadow: 0 8px 28px rgba(28, 35, 33, 0.08);
    transform: translateY(-2px);
}

.tool-tag {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--teal-deep);
    background: rgba(31, 111, 99, 0.1);
    padding: 3px 9px;
    border-radius: 5px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.tool-name {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 22px;
    margin: 0 0 8px;
}

.tool-desc {
    color: var(--muted);
    font-size: 14.5px;
    margin: 0;
    max-width: 56ch;
}

.cta-btn {
    background: var(--teal);
    color: #fff;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
}

.cta-btn:hover {
    background: var(--teal-deep);
}

/* ---------- Grid of upcoming tools ---------- */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tool-slot {
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 24px 20px;
    color: var(--muted);
    background: transparent;
}

.tool-slot .slot-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}

.tool-slot .slot-title {
    font-size: 15px;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 6px;
}

.tool-slot .slot-desc {
    font-size: 13px;
    line-height: 1.6;
}

/* ---------- 已上线的工具（非占位符），插在 Coming soon 网格里 ---------- */
.tool-slot-live {
    display: block;
    border: 1px solid var(--line);
    background: var(--card);
    transition: box-shadow 0.2s, transform 0.2s;
}

.tool-slot-live:hover {
    box-shadow: 0 8px 22px rgba(28, 35, 33, 0.08);
    transform: translateY(-2px);
}

.tool-slot-live .slot-tag {
    color: var(--teal-deep);
    background: rgba(31, 111, 99, 0.1);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
}

@media (max-width: 640px) {
    .featured-card { grid-template-columns: 1fr; }
    .cta-btn { width: 100%; text-align: center; }
    .tool-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .featured-card { transition: none; }
}
