/* ============================================================
   FILE: static/css/landing/note_converter.css
   ============================================================ */

.nc-stage {
    background: radial-gradient(ellipse at top, #1e2a44 0%, #0d1628 70%);
    min-height: 560px;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eaf1ff;
    font-family: var(--font-family, 'Inter', sans-serif);
}
.nc-shell {
    width: 100%;
    max-width: 840px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

/* ── Head ───────────────────────────────────────────────── */
.nc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.nc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nc-brand__icon { font-size: 1.6rem; }
.nc-brand__title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}
.nc-brand__sub {
    font-size: 0.72rem;
    color: #8da2c6;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.nc-icon-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #c4d0e9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
}
.nc-icon-btn:hover {
    background: rgba(255,80,80,0.15);
    border-color: rgba(255,120,120,0.4);
    color: #ffdcdc;
}

/* ── Selectors ──────────────────────────────────────────── */
.nc-selectors {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: end;
    margin-bottom: 18px;
}
.nc-field label {
    display: block;
    font-size: 0.75rem;
    color: #8da2c6;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}
.nc-field select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path fill='%238da2c6' d='M7 10L2 5h10z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}
.nc-field select:focus {
    outline: none;
    border-color: rgba(255,159,67,0.5);
}
.nc-field select option {
    background: #1e2a44;
    color: #fff;
}

.nc-swap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,159,67,0.15);
    color: #FF9F43;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    align-self: end;
    margin-bottom: 2px;
}
.nc-swap:hover {
    background: rgba(255,159,67,0.3);
    transform: rotate(180deg);
}

/* ── I/O ────────────────────────────────────────────────── */
.nc-io {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}
.nc-io-col { display: flex; flex-direction: column; }
.nc-io-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: #8da2c6;
    font-weight: 600;
}
.nc-mini-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #c4d0e9;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.nc-mini-btn:hover { background: rgba(255,159,67,0.2); color: #fff; }
.nc-mini-btn.flash { background: rgba(67, 213, 111, 0.3); }

.nc-io textarea {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    padding: 12px 14px;
    font-family: 'Inter', monospace;
    font-size: 1.05rem;
    line-height: 1.7;
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.15s;
}
.nc-io textarea:focus {
    outline: none;
    border-color: rgba(255,159,67,0.5);
}
.nc-io #nc-output {
    background: rgba(255,159,67,0.05);
    color: #fff5e6;
    font-weight: 600;
}

/* ── Examples ───────────────────────────────────────────── */
.nc-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.nc-examples__label {
    font-size: 0.78rem;
    color: #8da2c6;
    margin-right: 4px;
}
.nc-example {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #c4d0e9;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.82rem;
    cursor: pointer;
    font-family: monospace;
    transition: all 0.15s;
}
.nc-example:hover {
    background: rgba(255,159,67,0.15);
    border-color: rgba(255,159,67,0.4);
    color: #fff;
}

/* ── Reference table in SEO ─────────────────────────────── */
.nc-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid #e3e7ef;
    background: #fff;
}
.nc-table {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
}
.nc-table th, .nc-table td {
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid #f0f3f8;
    font-size: 0.92rem;
}
.nc-table th {
    background: #f8fafc;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5a6478;
    font-weight: 700;
}
.nc-table tbody tr:last-child td { border-bottom: none; }
.nc-table tbody tr:hover { background: #fafbfd; }

/* Mobile */
@media (max-width: 620px) {
    .nc-shell { padding: 22px 18px; }
    .nc-selectors { grid-template-columns: 1fr; gap: 10px; }
    .nc-swap {
        margin: 0 auto;
        transform: rotate(90deg);
    }
    .nc-swap:hover { transform: rotate(270deg); }
    .nc-io { grid-template-columns: 1fr; gap: 14px; }
    .nc-io textarea { min-height: 110px; font-size: 1rem; }
}