html {
    scroll-behavior: smooth;
}

:root {
    --bg-main: #0b1020;
    --bg-soft: #121936;
    --bg-soft-2: #0f1630;
    --line: #243158;
    --text-main: #f5f7ff;
    --text-soft: #9aa7d8;
    --primary: #6d7cff;
    --primary-2: #46e3b7;
    --card-radius: 20px;
    --container: 1180px;
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(circle at top, rgba(109, 124, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #0a0f1f 0%, #0b1020 100%);
}

.hero-title {
    font-weight: 800;
}

.subtitle,
.hero-description {
    font-weight: 400;
}

.card-title-row h2 {
    font-weight: 600;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(11, 16, 32, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6d7cff, #46e3b7);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.site-nav a:hover {
    color: #fff;
}

.site-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.hero-section {
    padding: 36px 24px 30px;
}

.hero-shell {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.hero-copy {
    position: sticky;
    top: 92px;
    padding: 24px 6px 0 0;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(109, 124, 255, 0.14);
    color: #dce2ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-title {
    margin: 16px 0 14px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
}

.hero-description {
    margin: 0;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.6;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.hero-primary-btn,
.hero-secondary-btn,
.pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.2s ease;
}

.hero-primary-btn,
.pricing-btn {
    background: linear-gradient(135deg, #6d7cff, #5870ff);
    color: #fff;
    box-shadow: 0 12px 30px rgba(109, 124, 255, 0.28);
}

.hero-secondary-btn {
    border: 1px solid #2d3a68;
    color: #e2e7ff;
    background: rgba(255, 255, 255, 0.03);
}

.hero-primary-btn:hover,
.hero-secondary-btn:hover,
.pricing-btn:hover,
.site-header-cta:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.hero-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-mini-points span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #dce2ff;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.hero-player-column {
    min-width: 0;
}

.hero-app-shell {
    max-width: none;
    margin: 0;
    padding: 0;
}

.player-hero-title {
    margin: 0 0 6px;
    font-size: 26px;
}

.lp-section {
    padding: 72px 24px;
}

.lp-section.alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lp-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 16px 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.7;
}

.lp-steps,
.lp-benefits-grid,
.lp-pricing-grid {
    display: grid;
    gap: 18px;
}

.lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.lp-card,
.pricing-card,
.cta-box {
    background: linear-gradient(180deg, #121936, #0e1530);
    border: 1px solid #243158;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.lp-card {
    padding: 22px;
}

.lp-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.lp-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.lp-step-number {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6d7cff, #46e3b7);
    color: #fff;
    font-weight: 900;
}

.pricing-card {
    padding: 24px;
}

.pricing-card.featured {
    border-color: #6d7cff;
    box-shadow: 0 18px 40px rgba(109, 124, 255, 0.18);
    transform: translateY(-4px);
}

.pricing-tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(109, 124, 255, 0.14);
    color: #dce2ff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-card h3 {
    margin: 18px 0 10px;
    font-size: 26px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 12px;
}

.pricing-price span {
    font-size: 16px;
    color: var(--text-soft);
    font-weight: 600;
}

.pricing-card p {
    color: var(--text-soft);
    min-height: 52px;
    line-height: 1.6;
}

.pricing-btn {
    margin-top: 18px;
    width: 100%;
}

.cta-section {
    padding-top: 30px;
    padding-bottom: 90px;
}

.cta-box {
    padding: 34px;
    text-align: center;
}

.cta-box h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 40px);
}

.cta-box p {
    margin: 0 auto;
    max-width: 720px;
    color: var(--text-soft);
    line-height: 1.7;
}

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

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #0b1020;
    color: #f5f7ff;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
}

.app-shell {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.topbar h1 {
    margin: 0 0 6px;
    font-size: 32px;
}

.subtitle {
    margin: 0;
    color: #aeb7d1;
}

.loader-box {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.loader-box input {
    min-width: 260px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #2d3a68;
    background: #121936;
    color: #fff;
    outline: none;
    font-size: 15px;
}

.loader-box button {
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    background: #6d7cff;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
}

.loader-box button:hover {
    opacity: 0.92;
}

/* LAYOUT PRINCIPAL AGORA É VERTICAL */

.layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARDS */

.card {
    background: #121936;
    border: 1px solid #243158;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.card-title-row h2 {
    margin: 0;
    font-size: 20px;
}

/* BADGES */

.badge,
.small-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: bold;
}

.badge.idle {
    background: #39425f;
    color: #e2e7ff;
}

.badge.loading {
    background: #7c5c13;
    color: #fff0bd;
}

.badge.ready {
    background: #0d6842;
    color: #c8ffe8;
}

.badge.error {
    background: #7b1f2b;
    color: #ffd4da;
}

.small-chip {
    background: #1d2748;
    color: #d8e0ff;
}

/* PLAYER */

.audio-card audio {
    width: 100%;
    margin-bottom: 14px;
}

/* META INFO */

.meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.meta-item {
    background: #0d1430;
    border: 1px solid #1f2a50;
    border-radius: 14px;
    padding: 12px;
}

.meta-label {
    display: block;
    font-size: 12px;
    color: #9dacda;
    margin-bottom: 4px;
}

/* TIMELINE */

.timeline-wrapper {
    width: 100%;
}

#notesCanvas {
    width: 100%;
    height: 420px;
    display: block;
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01)),
        #091122;
    border: 1px solid #22315b;
    border-radius: 16px;
}

/* LETRAS */

.current-phrase {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #1a2550, #101734);
    font-size: 34px;
    font-weight: bold;
    line-height: 1.35;
    color: #ffffff;
}

.next-phrase {
    margin-top: 14px;
    min-height: 44px;
    text-align: center;
    color: #aeb7d1;
    font-size: 18px;
}

#phraseProgressLabel {
    text-align: center;
    margin-top: 6px;
    color: #52e3c2;
    font-weight: bold;
}

/* MOBILE */

@media (max-width: 700px) {

    .app-shell {
        padding: 16px;
    }

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

    .current-phrase {
        font-size: 24px;
    }

}

.timeline-wrapper {
    position: relative;
}

.floating-lyrics {
    position: absolute;
    left: 80px;
    pointer-events: none;

    font-size: 22px;
    font-weight: bold;
    text-align: center;

    padding: 8px 18px;
    border-radius: 12px;

    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);

    color: white;
    opacity: 0;

    transition: opacity .25s ease;
}

.floating-top {
    top: 20px;
}

.floating-center {
    top: 50%;
    transform: translate(0, -50%);
}

.floating-bottom {
    bottom: 20px;
}

.lyrics-select {
    width: 100%;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #2d3a68;
    background: #121936;
    color: white;
    font-size: 14px;
}

.timeline-wrapper {
    position: relative;
}

.timeline-grid {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: stretch;
}

.timeline-legend {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 420px;
    padding-right: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.timeline-legend span {
    display: block;
}

#notesCanvas {
    width: 100%;
    background: #091122;
    border-radius: 10px;
    touch-action: none;
    cursor: grab;
}

#notesCanvas.dragging {
    cursor: grabbing;
}

.player {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 14px;
    padding: 12px 14px;

    background: #0f1a3a;
    border-radius: 12px;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.play-btn {
    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: #46e3b7;
    color: #091122;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
}

.play-btn {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.05);
}

.time {
    font-size: 13px;
    color: #cfd8ff;
    min-width: 40px;
}

.progress-container {
    flex: 1;
    height: 8px;
    background: #1b254f;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg,
            #46e3b7,
            #00bfa6);
}

#volumeControl {
    width: 90px;
}

.timeline-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.timeline-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.icon-action-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #2c3a68;
    border-radius: 12px;
    background: #172142;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.icon-action-btn:hover {
    background: #22305f;
    transform: translateY(-1px);
}

.icon-action-btn.danger {
    background: #3a1820;
    border-color: #5f2633;
}

.icon-action-btn.danger:hover {
    background: #53202b;
}

.hidden {
    display: none !important;
}

#notesCanvas.editor-active {
    border-color: #4d7cff;
    box-shadow: 0 0 0 1px rgba(77, 124, 255, 0.35);
}

.editor-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.editor-tab {
    border: 1px solid #2c3a68;
    background: #172142;
    color: #dfe6ff;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
}

.editor-tab.active {
    background: #4d7cff;
    border-color: #4d7cff;
    color: #fff;
}

.lyrics-editor-panel {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #243158;
    border-radius: 16px;
    background: linear-gradient(180deg, #151f3f, #101734);
}

.lyrics-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.lyrics-editor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lyrics-editor-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lyrics-editor-field.full {
    grid-column: 1 / -1;
}

.lyrics-editor-field label {
    font-size: 12px;
    color: #9dacda;
}

.lyrics-editor-field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #2d3a68;
    background: #121936;
    color: #fff;
    outline: none;
}

.inline-field {
    display: flex;
    gap: 8px;
}

.inline-field button,
.lyrics-editor-actions button {
    border: 1px solid #2c3a68;
    background: #172142;
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.lyrics-editor-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.danger-light {
    background: #3a1820 !important;
    border-color: #5f2633 !important;
}

@media (max-width: 700px) {
    .lyrics-editor-grid {
        grid-template-columns: 1fr;
    }
}

#lyricsCard {
    margin-top: 20px;
}

.phrase-progress {
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: #1a2348;
    overflow: hidden;
}

#phraseProgressBar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
            #52e3c2,
            #4d7cff);
    transition: width 0.1s linear;
}

.phrase-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phrase-nav button {
    border: 1px solid #2c3a68;
    background: #172142;
    color: white;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.phrase-nav button:hover {
    background: #243158;
}

.floating-lyrics-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.floating-current {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
}

.floating-next {
    font-size: 16px;
    opacity: 0.45;
    color: #ffffff;
}

.floating-next::before {
    content: "— ";
    opacity: 0.5;
}

.floating-lyrics.top {
    top: 12px;
}

.floating-lyrics.center {
    top: 50%;
    transform: translateY(-50%);
}

.floating-lyrics.bottom {
    bottom: 12px;
}

.track-select {
    background: #1b2238;
    border: 1px solid #3a4a8a;
    color: white;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 13px;
}

@media (max-width: 900px) {

    .layout {
        display: flex;
        flex-direction: column;
    }

    #timelineModeChip {
        display: none;
    }

    .left-panel {
        order: 1;
    }

    .right-panel {
        order: 2;
    }

    .timeline-card {
        margin-top: 12px;
    }

}

@media (max-width: 900px) {

    #notesCanvas {
        height: 300px;
    }

}

@media (max-width: 900px) and (orientation: landscape) {
    #notesCanvas {
        height: 220px;
    }

    .timeline-legend {
        height: auto;
    }
}

@media (max-width: 900px) {

    .floating-current {
        font-size: 18px;
        line-height: 1.2;
    }

    .floating-next {
        font-size: 12px;
    }

}

@media (max-width: 900px) {

    .floating-current {
        font-size: 18px;
        line-height: 1.2;
    }

    .floating-next {
        font-size: 12px;
    }

}

@media (max-width: 900px) {

    .play-btn {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .player {
        gap: 12px;
    }

    .progress-container {
        height: 10px;
    }

}

@media (max-width:700px) {

    .player {
        flex-wrap: wrap;
        gap: 8px;
    }

    .progress-container {
        order: 3;
        width: 100%;
    }

    .time {
        font-size: 12px;
    }

    #volumeControl {
        width: 80px;
    }

}

@media (max-width:700px) {

    .player {
        flex-wrap: wrap;
        gap: 8px;
    }

    .progress-container {
        order: 3;
        width: 100%;
    }

    .time {
        font-size: 12px;
    }

    #volumeControl {
        width: 80px;
    }

}

@media (max-width:700px) {

    .timeline-legend {
        display: none;
    }

}

@media (max-width:700px) {

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

}

@media (max-width:700px) {

    .floating-lyrics-content {
        align-items: flex-start;
        text-align: left;
        padding: 8px 12px;
    }

    .floating-current {
        font-size: 32px;
    }

    .floating-next {
        font-size: 18px;
    }

}

@media (max-width:700px) and (orientation:portrait) {

    #notesCanvas {
        height: 260px;
    }

}

.audio-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.audio-title-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kit-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kit-selector select {
    background: #1b2238;
    border: 1px solid #3a4a8a;
    color: white;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 13px;
}


@media (max-width:700px) {

    .audio-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .kit-selector {
        width: 100%;
    }

    .kit-selector select {
        flex: 1;
    }

}

.icon-action-btn.active {
    background: #0d6842;
    border-color: #199a63;
    box-shadow: 0 0 0 1px rgba(82, 227, 194, 0.25);
}

.score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;

    margin: 12px 0 14px;
    padding: 12px 14px;

    background: linear-gradient(180deg, #0f1a3a, #0c1430);
    border: 1px solid #243158;
    border-radius: 14px;
}

.score-level-box,
.score-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-level-box {
    flex-wrap: wrap;
}

.score-level-box label,
.score-label {
    font-size: 12px;
    color: #9dacda;
}

.score-level-select {
    background: #1b2238;
    border: 1px solid #3a4a8a;
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
}

#scoreCurrentLabel {
    color: #52e3c2;
    font-size: 20px;
}

#scoreMaxLabel {
    color: #d8e0ff;
    font-size: 16px;
}

.score-separator {
    color: #7f8cb8;
}

#scoreFeedbackLabel {
    color: #ffd166;
    font-size: 14px;
}

@media (max-width:700px) {
    .score-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .score-level-box,
    .score-box {
        width: 100%;
        justify-content: space-between;
    }

    .score-level-select {
        min-width: 140px;
    }
}

.score-summary {

    margin-top: 14px;
    padding: 16px;

    border-radius: 14px;

    background: #0d1633;
    border: 1px solid #263566;
    margin-bottom: 20px;

}

.score-summary-title {
    font-size: 14px;
    color: #9dacda;
    margin-bottom: 12px;
}

.score-final-value {
    font-size: 28px;
    font-weight: 700;
    color: #52e3c2;
}

.score-bar {

    width: 100%;
    height: 10px;

    background: #1a2445;

    border-radius: 6px;
    overflow: hidden;

    margin-top: 8px;
    margin-bottom: 16px;

}

#scoreBarFill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #52e3c2, #00b8ff);
}

.score-line {

    display: flex;
    justify-content: space-between;

    font-size: 13px;
    margin-top: 6px;

}

.score-mini-bar {

    height: 6px;
    background: #1a2445;
    border-radius: 6px;
    overflow: hidden;

    margin-bottom: 6px;

}

#barPerfect {
    height: 100%;
    background: #00ff9c;
}

#barGood {
    height: 100%;
    background: #ffd166;
}

#barMiss {
    height: 100%;
    background: #ff6b6b;
}

.score-extra {

    margin-top: 12px;

    display: flex;
    justify-content: space-between;

    font-size: 13px;
    color: #cfd8ff;

}

.score-final-message {

    margin-top: 14px;

    font-size: 15px;
    font-weight: 600;

    color: #ffd166;

}

@media (max-width: 1100px) {
    .hero-shell {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        position: static;
        padding-right: 0;
    }

    .lp-steps,
    .lp-pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .site-header-inner {
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .hero-section,
    .lp-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 700px) {
    .site-nav {
        display: none;
    }

    .site-header-cta {
        width: 100%;
    }

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

    .hero-description {
        font-size: 16px;
    }

    .hero-mini-points {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .lp-benefits-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .cta-box {
        padding: 24px;
    }
}

/* ================================= */
/* Visitor mode (landing)            */
/* ================================= */

.visitor-mode #enterEditModeButton,
.visitor-mode #exportNotesButton,
.visitor-mode #exitEditModeButton,
.visitor-mode #editorTabs,
.visitor-mode #lyricsEditorPanel {
    display: none !important;
}

.visitor-mode .loader-box input {
    background: rgba(255, 255, 255, 0.06);
}

.visitor-mode .topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========================= */
/* Study mode                */
/* ========================= */

.study-mode .hero-copy {
    display: none;
}

.study-mode .hero-shell {
    grid-template-columns: 1fr;
}

.study-mode .hero-section {
    padding-top: 20px;
}

.study-mode .site-header {
    display: none;
}

.signup-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(4px);
}

.signup-modal-card {
    position: relative;
    width: 92%;
    max-width: 520px;
    padding: 32px;

    background: linear-gradient(180deg, #121936, #0e1530);
    border: 1px solid #243158;
    border-radius: 22px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);

    z-index: 2;
}

.signup-close {
    position: absolute;
    right: 16px;
    top: 16px;

    border: none;
    background: transparent;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.signup-subtitle {
    color: #9aa7d8;
    margin-bottom: 20px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.signup-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.signup-field label {
    font-size: 12px;
    color: #9dacda;
}

.signup-field input,
.signup-field select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #2d3a68;
    background: #121936;
    color: white;
}

.signup-submit {
    margin-top: 8px;
    padding: 12px;
    border: none;
    border-radius: 12px;

    background: linear-gradient(135deg, #6d7cff, #5870ff);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.signup-success {
    text-align: center;
    padding: 20px 0;
}

@media (max-width:600px) {

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

}

.signup-field textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #2d3a68;
    background: #121936;
    color: white;
    resize: vertical;
    font-family: inherit;
}

.signup-field.full {
    grid-column: 1 / -1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 14px 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #9aa7d8;
}

.pricing-features li {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pricing-note {
    text-align: center;
    margin-top: 28px;
    color: #9aa7d8;
    font-size: 14px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.progress-container {
  position: relative;
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  overflow: hidden;
}

/* container das frases */

#phraseSegments {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* bloco de frase */

.phrase-segment {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(255,216,107,0.3);
  border-radius: 2px;
}

/* progresso */

.progress-bar {
  position: absolute;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg,#46e3b7,#00bfa6);
  border-radius: 8px;
}