/* ============================================================
   FILE: static/css/landing/online_tuner.css
   Hub/index page for the tuner family. Cards link to each
   instrument-specific tuner.
   ============================================================ */

.ot-hero {
    background: linear-gradient(135deg, #1e2a44 0%, #2d3f66 50%, #3b5080 100%);
    padding: 60px 20px 50px;
    position: relative;
    overflow: hidden;
}
.ot-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,159,67,0.15) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(108,92,231,0.2) 0%, transparent 40%);
    pointer-events: none;
}
.ot-hero .container { position: relative; }

/* ── Instrument grid ────────────────────────────────────── */
.ot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.ot-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid #e7ebf3;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 6px rgba(20,30,55,0.04);
}
.ot-card:hover {
    transform: translateY(-3px);
    border-color: #FF9F43;
    box-shadow: 0 12px 28px rgba(20,30,55,0.12);
    text-decoration: none;
    color: inherit;
}
.ot-card__icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1;
}
.ot-card h3 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #1e2a44;
}
.ot-card p {
    font-size: 0.88rem;
    color: #5a6478;
    line-height: 1.55;
    margin: 0 0 14px;
    flex: 1;
}
.ot-card__arrow {
    color: #FF9F43;
    font-size: 1.4rem;
    font-weight: 700;
    transition: transform 0.2s;
}
.ot-card:hover .ot-card__arrow {
    transform: translateX(4px);
}

.ot-card--alt {
    background: linear-gradient(135deg, #f7f9fd 0%, #edf2fa 100%);
    border-color: #d8e0ee;
}

/* Mobile */
@media (max-width: 520px) {
    .ot-hero { padding: 40px 16px 36px; }
    .ot-hero h1 { font-size: 2rem; }
    .ot-grid { gap: 12px; }
    .ot-card { padding: 22px 20px; }
}