body { background-color: #0B0C15; color: white; }
.glass-panel { background: rgba(17, 24, 39, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); }
.neon-focus:focus { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); border-color: #8B5CF6; outline: none; }
.tech-tab { background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%); border: 1px solid rgba(255,255,255,0.05); transition: all 0.2s ease; }
.tech-tab:hover { background: linear-gradient(180deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.02) 100%); border-color: rgba(6, 182, 212, 0.3); transform: translateY(-2px); }
.bg-grid { background-size: 40px 40px; mask-image: linear-gradient(to bottom, transparent, black, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent 5%, black 40%, black 70%, transparent 95%); }
.pop-in { animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes popIn { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.progress-line { transition: all 0.2s ease-in-out; }
.progress-active { background: linear-gradient(90deg, #06B6D4 0%, #8B5CF6 100%) !important; box-shadow: 0 0 12px rgba(6, 182, 212, 0.8); border: none; }
.analysis-progress-bar {
    background: linear-gradient(90deg, #06B6D4 0%, #8B5CF6 100%);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
    transition: width 0.12s ease-out;
}
@keyframes spin-loader { to { transform: rotate(360deg); } }
.loader-ring { animation: spin-loader 0.9s linear infinite; }

.line-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 0.75rem;
    background: #06C755;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(6, 199, 85, 0.35);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.line-cta-btn:active {
    background: #05B04C;
    transform: scale(0.98);
}
@media (min-width: 768px) {
    .line-cta-btn { padding: 16px 24px; font-size: 14px; }
}
.line-cta-btn--sticky {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(6, 199, 85, 0.35), 0 -2px 12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) {
    .line-cta-btn--sticky { max-width: 32rem; }
}
.line-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgba(11, 12, 21, 0.98) 55%, rgba(11, 12, 21, 0));
    pointer-events: none;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.line-sticky-bar.is-visible {
    pointer-events: auto;
    transform: translateY(0);
    opacity: 1;
}
@media (min-width: 768px) {
    .line-sticky-bar { padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px)); }
}
body.has-sticky-cta main {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
    body.has-sticky-cta main { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

.result-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}
.result-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 12, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.result-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 30rem;
    max-height: calc(100vh - 48px);
    overflow: auto;
    text-align: center;
    padding: 42px 22px 22px;
    border-radius: 1.75rem;
    background: linear-gradient(165deg, rgba(24, 28, 46, 0.98) 0%, rgba(11, 12, 21, 0.98) 100%);
    border: 1px solid rgba(139, 92, 246, 0.28);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(139, 92, 246, 0.18);
}
.result-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.result-close:hover {
    background: rgba(6, 182, 212, 0.18);
    color: #67e8f9;
}
.result-badge {
    display: inline-block;
    margin: 0 auto 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.14);
    color: #22d3ee;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.result-title {
    margin: 0 0 16px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.45;
    text-wrap: balance;
    color: #e2e8f0;
}
.result-title span {
    color: #22d3ee;
    font-family: 'Space Grotesk', ui-monospace, monospace;
}
.result-title .result-break {
    color: inherit;
    font-family: inherit;
}
@media (max-width: 540px) {
    .result-break { display: block; }
}
.result-note {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 18px;
    padding: 16px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}
.result-note p {
    margin: 0;
    width: 100%;
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.result-note-lead {
    color: #94a3b8;
    font-weight: 400;
}
.result-note-action {
    color: #ffffff;
    font-weight: 500;
}
.result-note-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-width: 0;
}
.copy-ticker-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}
.result-note .copy-hint {
    width: 100%;
    margin: 0.5rem 0 0;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.copy-ticker-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.copy-ticker-btn:hover {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(6, 182, 212, 0.1);
}
.copy-ticker-btn.is-copied {
    border-color: rgba(74, 222, 128, 0.55);
    background: rgba(6, 199, 85, 0.16);
    color: #4ade80;
}
.result-note-hook {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: 0.75rem;
    color: #fbbf24;
    font-weight: 700;
}
.result-note-gift {
    flex: none;
    line-height: 1.625;
}
.copy-toast {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    pointer-events: none;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.28s ease, margin 0.28s ease, padding 0.28s ease;
}
.copy-toast.is-visible {
    max-height: 7.5rem;
    opacity: 1;
    transform: translateY(0);
    margin: 0 0 0.75rem;
    padding: 0.5rem 1rem;
    pointer-events: auto;
}
.result-line-btn {
    width: 100%;
    border-radius: 999px;
    padding: 16px 18px;
    font-size: 15px;
    letter-spacing: 0.02em;
}
.result-privacy {
    width: 100%;
    margin: 0.75rem 0 0;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
}
body.modal-open {
    overflow: hidden;
}
@media (min-width: 768px) {
    .result-modal-card { padding: 46px 28px 26px; }
    .result-title { font-size: 1.35rem; }
    .result-note p { font-size: 0.9375rem; }
    .result-line-btn { font-size: 16px; }
}

.disclaimer-inline {
    font-size: 9px;
    line-height: 1.5;
    color: #64748b;
}
@media (min-width: 768px) {
    .disclaimer-inline { font-size: 10px; }
}
