:root {
    color-scheme: dark;
    --bg: #070709;
    --surface: #131320;
    --text: #e6e6ef;
    --muted: #a0a0b8;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #8b5cf6;
    /* purple-500 */
    --accent-2: #22d3ee;
    /* cyan-400 */
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] {
    color-scheme: light;
    --bg: #f7f8fc;
    --surface: #ffffff;
    --text: #111322;
    --muted: #4c5164;
    --line: rgba(17, 24, 39, 0.12);
    --accent: #7c3aed;
    --accent-2: #0891b2;
    --shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Noto Sans KR, Apple SD Gothic Neo, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 2;
    color: var(--text);
    background: var(--bg);
    /* base only; gradients rendered by .bg-fixed */
}

.bg-fixed {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--bg);
    pointer-events: none;
}

.bg-fixed::before {
    content: "";
    position: absolute;
    inset: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 360px, #000 460px, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0, transparent 360px, #000 460px, #000 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 92%);
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: saturate(120%) blur(10px);
    background: linear-gradient(180deg, rgba(15, 15, 22, 0.7), rgba(15, 15, 22, 0.4));
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text);
}

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: radial-gradient(14px 14px at 70% 30%, rgba(255, 255, 255, 0.35), transparent 55%), linear-gradient(135deg, #6d28d9, #22d3ee);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.nav-links {
    display: none;
    gap: 18px;
    opacity: 0.9;
}

.nav-cta {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.theme-toggle {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* background: rgba(255,255,255,0.04); */
    gap: 4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.06);
    isolation: isolate;
}

.theme-toggle-indicator {
    position: absolute;
    inset: 6px;
    width: calc(50% - 6px);
    border-radius: 999px;
    background: white;
    /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.4); */
    transform: translateX(0);
    transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .35s ease;
    z-index: 0;
}

.theme-toggle[data-active="light"] .theme-toggle-indicator {
    transform: translateX(100%);
}

.theme-toggle-option {
    border: 0;
    background: transparent;
    color: rgba(230, 230, 239, 0.7);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: color .2s ease, opacity .2s ease;
    position: relative;
    z-index: 1;
}

.theme-toggle-label {
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.theme-toggle-option .theme-toggle-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.theme-toggle-option .theme-toggle-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-toggle-option.active {
    color: black;
    text-shadow: 0 0 18px rgba(139, 92, 246, 0.45);
}

.theme-toggle-option:not(.active) {
    opacity: 0.7;
}

.theme-toggle-option:focus-visible {
    outline: 2px solid rgba(139, 92, 246, 0.5);
    outline-offset: 3px;
}

.language-control {
    position: relative;
}

.language-toggle {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: border .2s ease, background .2s ease, box-shadow .2s ease;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 0, 0, 0.35);
}

.language-toggle .globe-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.language-toggle .globe-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.language-toggle .language-code {
    font-size: 12px;
    text-transform: uppercase;
}

.language-control.open .language-toggle {
    border-color: rgba(139, 92, 246, 0.65);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.1);
}

.language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 170px;
    background: rgba(12, 12, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    padding: 8px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 20;
}

.language-control.open .language-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.language-menu-option {
    width: 100%;
    border: 0;
    background: transparent;
    color: rgba(230, 230, 239, 0.85);
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.language-menu-option.active {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text);
}

.language-menu-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

html[data-nav-compact="true"] .nav-cta .theme-toggle,
html[data-nav-compact="true"] .nav-cta .language-control {
    display: none !important;
}

.btn {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    background: linear-gradient(180deg, #1b1b2d, #141425);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    box-shadow: none;
}

.btn-primary {
    color: black;
    background: #e1e1e1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    border: none;
}

@media (min-width: 880px) {
    .nav-links {
        display: inline-flex;
    }
}

/* Hero */
.hero {
    position: relative;
    padding: 66px 0 36px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(24px, 5vw, 60px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    letter-spacing: .3px;
    color: var(--muted);
    background: rgba(139, 92, 246, .16);
    border: 1px solid rgba(139, 92, 246, .3);
}

h1 {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.15;
    margin: 14px 0 10px;
    word-break: keep-all;
}

.lead {
    color: var(--muted);
    max-width: 52ch;
    word-break: keep-all;
}

/* Headline (3 lines) + underline emphasis */
.headline {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.headline .line {
    display: inline;
}

.u-underline {
    background: linear-gradient(180deg, transparent 62%, rgba(139, 92, 246, 0.26) 0);
    box-decoration-break: clone;
    padding-bottom: 2px;
}

.hero-cta {
    margin-top: 22px;
    margin-bottom: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-art {
    min-height: 340px;
    box-shadow: 0 0 5px 0px #5a5a5a;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 400px at 85% -10%, rgba(255, 255, 255, 0.12), transparent 50%);
    mix-blend-mode: overlay;
}

.art-float {
    position: absolute;
    inset: 22px;
    border-radius: 20px;
    background: rgb(105 105 105 / 8%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.art-float::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 16px;
    background: repeating-linear-gradient(to top, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 32px), repeating-linear-gradient(to right, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 48px);
    opacity: 0.55;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.chart-scene {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 22px;
    padding: 24px 24px 28px;
    z-index: 1;
    pointer-events: none;
}

.chart-grid {
    position: absolute;
    inset: 24px 24px 72px;
    border-radius: 14px;
    background: repeating-linear-gradient(to top, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 28px), repeating-linear-gradient(to right, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 44px);
    opacity: 0.28;
    pointer-events: none;
}

.chart-price-tag {
    position: absolute;
    top: 36px;
    right: 34px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(12, 12, 24, 0.88);
    border: 1px solid rgba(139, 92, 246, 0.4);
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    animation: pricePulse 6s ease-in-out infinite;
    pointer-events: none;
}

.chart-price-tag::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -10px;
    width: 16px;
    height: 16px;
    background: rgba(12, 12, 24, 0.88);
    border-bottom: 1px solid rgba(139, 92, 246, 0.4);
    border-right: 1px solid rgba(139, 92, 246, 0.4);
    transform: rotate(45deg);
}

.chart-price-tag .price-symbol {
    font-weight: 700;
    color: rgba(231, 231, 255, 0.92);
    letter-spacing: 0.4px;
}

.chart-price-tag .price-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.chart-price-tag .price-change {
    font-size: 12px;
    font-weight: 600;
    color: #4ade80;
}

.chart-price-tag .price-change.price-down {
    color: #f87171;
}

.chart-ticker {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    height: 34px;
    border-radius: 999px;
    background: rgba(10, 10, 22, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.chart-ticker::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 12, 24, 0.9) 0%, rgba(12, 12, 24, 0) 22%, rgba(12, 12, 24, 0) 78%, rgba(12, 12, 24, 0.9) 100%);
    pointer-events: none;
    z-index: 1;
}

.chart-ticker-track {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: tickerScroll 18s linear infinite;
    padding: 0 24px;
    width: max-content;
}

.chart-ticker-item {
    font-size: 12px;
    font-weight: 600;
    color: rgba(226, 226, 246, 0.82);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-ticker-item::before {
    content: '•';
    font-size: 14px;
    color: rgba(226, 226, 246, 0.4);
}

.chart-ticker-item.chart-up {
    color: #4ade80;
}

.chart-ticker-item.chart-up::before {
    color: rgba(74, 222, 128, 0.6);
}

.chart-ticker-item.chart-down {
    color: #f87171;
}

.chart-ticker-item.chart-down::before {
    color: rgba(248, 113, 113, 0.6);
}

@keyframes lineDraw {
    0% {
        stroke-dashoffset: 420;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    55% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    75% {
        stroke-dashoffset: -18;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -420;
        opacity: 0;
    }
}

@keyframes lineGlow {
    0% {
        stroke-dashoffset: 420;
        opacity: 0;
    }

    20% {
        opacity: 0.3;
    }

    55% {
        stroke-dashoffset: 0;
        opacity: 0.45;
    }

    90% {
        opacity: 0;
    }

    100% {
        stroke-dashoffset: -420;
        opacity: 0;
    }
}

@keyframes candlePulse {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.85;
    }

    50% {
        transform: scaleY(1.12);
        opacity: 1;
    }
}

@keyframes pricePulse {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    }

    50% {
        transform: translateY(-4px);
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4);
    }
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Section: How it works */
section {
    padding: 22px 0;
}

.section-title {
    font-size: 25px;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--muted);
    font-size: 15px;
}

.panels {
    margin-top: 24px;
    margin-bottom: 10px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 860px) {
    .panels {
        grid-template-columns: repeat(3, 1fr);
    }
}

.panel {
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    padding: 16px;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.panel h3 {
    margin: 0 0 6px;
    font-size: 16px;
    opacity: 0.95;
}

.panel p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.mini-chart {
    inset: 56px 10px 10px;
}

/* Feature rows */
.feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: center;
    margin-top: 34px;
}

.feature .shot {
    height: 260px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 32px);
    box-shadow: var(--shadow);
}

.feature .copy h3 {
    font-size: 20px;
    margin: 0 0 6px;
}

.feature .copy p {
    color: var(--muted);
    margin: 0;
}

@media (min-width: 880px) {
    .feature {
        grid-template-columns: 1.2fr .8fr;
    }
}

/* Pricing */
.pricing {
    padding-top: 20px;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
}

@media (min-width: 900px) {
    .price-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.price-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-summary-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #0d0d0d;
    border: 1px solid rgb(100 100 100 / 32%);
    border-radius: 12px;
    padding: 14px 24px;
    backdrop-filter: blur(8px);
}

.ai-badge {
    flex-shrink: 0;
    /*background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);*/
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.ai-text {
    flex: 1;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.5;
}

.ai-time {
    flex-shrink: 0;
    font-size: 12px;
    color: #64748b;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .ai-summary-bar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 16px;
    }

    .ai-text {
        order: 3;
        width: 100%;
        font-size: 14px;
    }

    .ai-time {
        order: 2;
        margin-left: auto;
    }
}

.price-card.highlight {
    border: 1px solid #4f4f4f;
    box-shadow: 0 10px 30px rgb(139 92 246 / 22%);
}

.price-title {
    font-size: 18px;
    margin: 0;
}

.price {
    font-size: 32px;
    letter-spacing: -0.02em;
}

.per {
    font-size: 13px;
    color: var(--muted);
    margin-left: 4px;
}

.feat {
    display: grid;
    gap: 6px;
    margin: 4px 0 8px;
    color: var(--muted);
    font-size: 14px;
}

.price-cta {
    margin-top: auto;
}

/* Social proof grid */
.quotes {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-top: 22px;
}

@media (min-width: 840px) {
    .quotes {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quote {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    min-height: 120px;
    font-size: 14px;
    color: var(--muted);
}

/* Calendar */
#calander {
    padding: 86px 0;
    position: relative;
}

.calendar-wrap {
    position: relative;
    margin-top: 40px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(26, 26, 40, 0.92), rgba(10, 10, 20, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.calendar-wrap.locked .calendar-board {
    filter: blur(8px);
    opacity: 0.35;
    pointer-events: none;
}

.calendar-wrap.locked::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 12, 22, 0.75), rgba(12, 12, 22, 0.35));
    z-index: 1;
}

.calendar-board {
    position: relative;
    padding: 32px;
    display: grid;
    gap: 28px;
    color: rgba(240, 240, 255, 0.92);
}

.calendar-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.calendar-header .month-label {
    font-size: clamp(28px, 4vw, 34px);
    font-weight: 700;
    letter-spacing: -0.4px;
}

.calendar-header .timezone {
    font-size: 12px;
    color: rgba(226, 226, 246, 0.68);
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.calendar-events {
    display: grid;
    gap: 18px;
}

.calendar-day-group {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.calendar-day-group::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.05));
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.calendar-day-group:hover::before {
    opacity: 1;
}

.calendar-date {
    min-width: 88px;
    display: grid;
    gap: 4px;
    color: rgba(226, 226, 246, 0.88);
}

.calendar-date .weekday {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(226, 226, 246, 0.6);
}

.calendar-date .day-number {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.6px;
}

.calendar-date .month-label {
    font-size: 13px;
    color: rgba(226, 226, 246, 0.72);
    letter-spacing: 0.6px;
}

.calendar-event-stack {
    display: grid;
    gap: 14px;
    flex: 1;
}

.calendar-event {
    background: rgba(12, 12, 24, 0.82);
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.calendar-event .event-title {
    font-weight: 600;
    letter-spacing: -0.2px;
    font-size: 15px;
}

.calendar-event .event-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: rgba(226, 226, 246, 0.65);
}

.calendar-event .event-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 1.2px;
    background: rgba(139, 92, 246, 0.2);
    color: rgba(226, 226, 246, 0.86);
    text-transform: uppercase;
    width: fit-content;
}

.calendar-empty {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(226, 226, 246, 0.78);
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.calendar-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 32px;
    z-index: 3;
    pointer-events: auto;
}

.calendar-overlay .overlay-card {
    max-width: 320px;
    text-align: center;
    padding: 22px 26px;
    border-radius: 18px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    background: rgba(12, 12, 24, 0.82);
    color: rgba(226, 226, 246, 0.9);
    display: grid;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.calendar-overlay .overlay-card p {
    margin: 0;
    font-size: 14px;
    color: rgba(226, 226, 246, 0.78);
}

.calendar-overlay .overlay-card .overlay-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.calendar-overlay .overlay-card .overlay-actions .btn {
    min-width: 160px;
}

@media (max-width: 860px) {
    .calendar-board {
        padding: 24px;
    }

    .calendar-day-group {
        flex-direction: column;
        gap: 16px;
    }

    .calendar-date {
        grid-auto-flow: column;
        grid-template-columns: repeat(3, auto);
        align-items: baseline;
        justify-content: flex-start;
    }

    .calendar-date .day-number {
        font-size: 28px;
    }

    .calendar-event-stack {
        width: 100%;
    }
}

/* CTA ring */
.circle-cta {
    position: relative;
    margin: 60px auto 20px;
    width: 420px;
    max-width: 86vw;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.12) 50%, transparent 70%), linear-gradient(180deg, #0f0f19, #121225);
    border: 1px solid var(--line);
    box-shadow: 0 0 0 10px rgba(139, 92, 246, 0.06), 0 40px 100px rgba(0, 0, 0, .5);
    display: grid;
    place-items: center;
}

.circle-cta .dot {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
    animation: orbit 14s linear infinite;
}

@keyframes orbit {
    to {
        transform: rotate(1turn);
    }
}

.circle-cta .text {
    text-align: center;
    padding: 20px;
}

.circle-cta .text h3 {
    margin: 0;
    font-size: 22px;
}

.circle-cta .text p {
    margin: 6px 0 14px;
    color: var(--muted);
}

/* FAQ */
.faq {
    margin-top: 34px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    font-size: 17px;
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    background: transparent;
    color: var(--text);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.faq-a {
    padding: 0 16px 14px;
    color: var(--muted);
    display: none;
}

.faq-item.open .faq-a {
    display: block;
}

/* Footer */
footer {
    padding: 60px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.foot {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 820px) {
    .foot {
        grid-template-columns: 1.1fr .9fr;
    }
}

/* Utilities */
.tag {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
}

.accent {
    color: var(--accent);
}

.accent-red {
    color: #ff045e;
}

.muted {
    color: var(--muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 860px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.center {
    text-align: center;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: .6s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Floating widgets */
.float-chat {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #d64848;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.float-chat svg {
    width: 26px;
    height: 26px;
}

.notice {
    position: fixed;
    right: 16px;
    bottom: 86px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--muted);
    font-size: 13px;
    box-shadow: var(--shadow);
    display: none;
}

/* Demo Modal */
.no-scroll {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 70;
}

.modal.open {
    display: block;
}

.modal .backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.55);
    backdrop-filter: blur(16px) saturate(150%);
}

.modal .panel {
    position: relative;
    width: min(720px, 92%);
    margin: 12vh auto;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    /*background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); box-shadow: var(--shadow);*/
}

.modal .panel h3 {
    margin: 0 0 8px;
}

.search-wrap {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.search-input {
    flex: 1;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
    font-size: 16px;
}

.search-btn {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #ffffffe8;
    color: #0b0b10;
    font-weight: 700;
}

.hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}

.suggest {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.chip {
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 20px;
    cursor: pointer;
}

.modal .panel.login-panel {
    width: min(500px, 92%);
    margin: clamp(80px, 16vh, 220px) auto;
    padding: 32px;
    display: grid;
    gap: 18px;
    text-align: center;
}

.login-head {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.login-title {
    margin: 6px 0 0;
    font-size: 24px;
}

.login-desc {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.login-actions {
    display: grid;
    gap: 12px;
}

.login-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    transition: transform .15s ease, filter .2s ease;
}

.login-action img {
    width: 20px;
    height: 20px;
}

.login-action:hover {
    transform: translateY(-1px);
}

.login-action:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.login-action.kakao {
    background: #fee500;
    border-color: #e9d600;
    color: #191600;
}

.login-action.google {
    background: rgba(15, 15, 22, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.nav-profile {
    position: relative;
}

.nav-profile-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    /* padding: 7px 20px 7px 15px; */
    border: 0;
    margin-bottom: -5px;
    /* border-radius: 25px; */
    background: rgb(255 255 255 / 0%);
    border: 0;
    cursor: pointer;
    /* transition: background .2s ease, border .2s ease; */
}

.nav-profile-main:focus-visible {
    outline: 2px solid rgba(139, 92, 246, 0.65);
    outline-offset: 2px;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.85), rgba(34, 211, 238, 0.85));
    display: grid;
    place-items: center;
    color: #0b0b10;
    font-size: 16px;
    font-weight: 700;
}

.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-avatar-fallback {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.nav-profile-meta {
    display: grid;
    gap: 4px;
    text-align: left;
}

.nav-profile-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.nav-profile-credit {
    font-size: 12px;
    color: var(--muted);
}

.nav-profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(19, 19, 32, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    display: none;
    z-index: 80;
}

.nav-profile-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 18px;
    width: 14px;
    height: 14px;
    background: rgba(19, 19, 32, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
}

.nav-profile.open .nav-profile-menu,
.nav-profile:hover .nav-profile-menu,
.nav-profile:focus-within .nav-profile-menu {
    display: grid;
    gap: 6px;
}

.nav-menu-item {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--text);
    font-size: 13px;
    text-decoration: none;
    transition: background .2s ease;
}

.nav-menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-menu-section {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 10px;
}

.nav-menu-label {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(226, 226, 246, 0.7);
}

.nav-menu-block {
    display: grid;
    gap: 6px;
}

.nav-menu-block-label {
    font-size: 12px;
    color: var(--muted);
}

.nav-profile-menu .theme-toggle {
    width: 100%;
    min-width: 0;
}

.language-quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.language-quick-option {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--text);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border .2s ease, background .2s ease, color .2s ease;
}

.language-quick-option.active {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.45);
    color: var(--text);
}

.language-quick-option:focus-visible {
    outline: 2px solid rgba(139, 92, 246, 0.5);
    outline-offset: 2px;
}

.header .nav-cta {
    gap: 14px;
    align-items: center;
}

.login-hint {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

/* Search preview list */
.results {
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(19, 19, 32, .92);
    box-shadow: var(--shadow);
    overflow: auto;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.result-item:last-child {
    border-bottom: 0;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.result-name {
    font-weight: 700;
}

.result-code {
    opacity: .8;
}

.hero .hero-cta .demo-trigger {
    font-size: 16px;
}

/* Mobile overrides (desktop unchanged) */
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    /* Place visual block under text for mobile */
    .hero-art {
        order: 2;
        min-height: 240px;
        margin-top: 12px;
        border-radius: 20px;
    }

    /* Denser trust row on small screens */
    .trust-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Header CTA buttons unified size */
.header .nav-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.header .nav-cta .btn-primary,
.header .nav-cta .btn-ghost {
    height: 40px;
}

/* Light theme overrides */
html[data-theme="light"] body {
    color: var(--text);
    background: var(--bg);
}

html[data-theme="light"] .bg-fixed {
    background: var(--bg);
}

html[data-theme="light"] .header {
    background: #ffffff8f;
    border-bottom-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .theme-toggle {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12), inset 0 1px rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .theme-toggle-option {
    color: rgba(17, 19, 34, 0.65);
}

html[data-theme="light"] .theme-toggle-option.active {
    color: #111322;
    text-shadow: none;
}

html[data-theme="light"] .language-toggle {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.7), 0 12px 20px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .language-menu {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 26px 40px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .language-menu-option {
    color: rgba(15, 23, 42, 0.8);
}

html[data-theme="light"] .language-menu-option:hover {
    background: rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .btn {
    background: #e7ecfb;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .btn-ghost {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

html[data-theme="light"] .btn-primary {
    background: black;
    color: white;
    text-shadow: none;
    border: none;
}

html[data-theme="light"] .nav-profile-main {
    /* background: rgba(15, 23, 42, 0.05); */
    border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .nav-profile.open .nav-profile-main {
    /* background: rgba(15, 23, 42, 0.08); */
    border-color: rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .nav-profile-menu {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .nav-profile-menu::before {
    background: #ffffff;
    border-left-color: rgba(15, 23, 42, 0.12);
    border-top-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .nav-menu-section {
    border-top-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .nav-menu-label,
html[data-theme="light"] .nav-menu-block-label {
    color: rgba(55, 65, 81, 0.75);
}

html[data-theme="light"] .nav-menu-item {
    color: var(--text);
}

html[data-theme="light"] .nav-menu-item:hover {
    background: rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .language-quick-option {
    border-color: rgba(15, 23, 42, 0.12);
    color: #111322;
}

html[data-theme="light"] .language-quick-option.active {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.4);
    color: #111322;
}

html[data-theme="light"] .results,
html[data-theme="light"] .notice {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    color: var(--text);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .result-item {
    border-bottom-color: rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .result-item:hover {
    background: rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .panel,
html[data-theme="light"] .feature .shot,
html[data-theme="light"] .price-card,
html[data-theme="light"] .quote {
    background: #ffffff2e;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    color: var(--text);
}

html[data-theme="light"] .quote-text {
    color: var(--text);
}

html[data-theme="light"] .calendar-wrap {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(240, 244, 255, 0.95));
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .calendar-wrap.locked::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(226, 232, 255, 0.85));
}

html[data-theme="light"] .calendar-board {
    color: var(--text);
}

html[data-theme="light"] .calendar-day-group {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .calendar-day-group::before {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(8, 145, 178, 0.08));
}

html[data-theme="light"] .calendar-event {
    background: #f5f7ff;
    border-color: rgba(15, 23, 42, 0.08);
    color: var(--text);
    box-shadow: none;
}

html[data-theme="light"] .calendar-event .event-meta {
    color: rgba(55, 65, 81, 0.85);
}

html[data-theme="light"] .calendar-event .event-badge {
    background: rgba(124, 58, 237, 0.2);
    color: #4c1d95;
}

html[data-theme="light"] .calendar-empty {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    color: rgba(55, 65, 81, 0.8);
}

html[data-theme="light"] .calendar-overlay .overlay-card {
    background: #ffffff;
    color: var(--text);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .circle-cta {
    background: radial-gradient(50% 50% at 50% 50%, rgba(124, 58, 237, 0.12), rgba(8, 145, 178, 0.08) 50%, transparent 70%), linear-gradient(180deg, #ffffff, #eef2ff);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 0 0 10px rgba(124, 58, 237, 0.08), 0 40px 80px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .modal .backdrop {
    background: rgba(15, 23, 42, 0.45);
}

html[data-theme="light"] .modal .panel {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .modal .panel.login-panel {
    background: #ffffff;
}

html[data-theme="light"] .login-action {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--text);
}

html[data-theme="light"] .login-action.google {
    background: #f3f6ff;
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
}

html[data-theme="light"] .hero-art {
    border: 2px solid #cfcfcf;
    border-color: rgba(15, 23, 42, 0.08);
    background: radial-gradient(180px 140px at 25% 25%, rgba(124, 58, 237, 0.35), transparent 60%), radial-gradient(220px 180px at 75% 70%, rgba(8, 145, 178, 0.25), transparent 60%), linear-gradient(160deg, #eef2ff, #f7f8fc);
}

html[data-theme="light"] .art-float {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 255, 0.8));
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}


/* Market Indicators Grid */
.indicator-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 데스크탑 4열 */
    gap: 16px;
    margin-top: 24px;
}

.ind-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s;
}

.ind-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.4);
    /* 픽스톡 Accent Color */
}

.ind-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--muted, #9ca3af);
}

.ind-body {
    margin-bottom: 12px;
}

.ind-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main, #fff);
    /* 기본 텍스트 */
    letter-spacing: -0.5px;
}

html[data-theme="light"] .ind-value {
    color: #111;
}

.ind-sub {
    font-size: 14px;
    /* Cyan 계열 */
}

.ind-change {
    font-size: 13px;
    font-weight: 500;
}

.ind-change.up {
    color: #22c55e;
}

/* 상승 - 초록 */
.ind-change.down {
    color: #ef4444;
}

/* 하락 - 빨강 */

/* 공포지수 전용 컬러 */
.color-greed {
    color: #22c55e !important;
}

.color-fear {
    color: #ef4444 !important;
}

/* 미니 차트 & 미터기 */
.ind-sparkline {
    width: 100%;
    height: 30px;
    opacity: 0.7;
}

.meter-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8585, #ff4b4b, #ff2c2c);
    border-radius: 3px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .indicator-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 태블릿/큰폰 2열 */
    }
}

@media (max-width: 480px) {
    .indicator-grid {
        grid-template-columns: 1fr;
        /* 모바일 1열 */
    }

    .ind-value {
        font-size: 20px;
    }
}

/* Coming Soon Overlay */
.coming-soon-target {
    position: relative;
    user-select: none;
}

.coming-soon-overlay {
    position: absolute;
    inset: -30px;
    z-index: 50;

    /* Blur effect */
    background: rgba(11, 11, 16, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.coming-soon-target.shot .coming-soon-overlay {
    inset: 0;
    border-radius: 16px;
}

.coming-soon-badge {
    background: rgb(183 180 189 / 90%);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.feature-row-coming-soon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .feature-row-coming-soon {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Light theme additional overrides */
html[data-theme="light"] .ind-card {
    border-color: rgba(15, 23, 42, 0.12);
    /* background: #ffffff; */
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .ind-head {
    color: #64748b;
}

html[data-theme="light"] .ai-summary-bar {
    background: #ffffff2b;
    border-color: rgba(15, 23, 42, 0.12);
    /* margin-bottom: 24px; */
}

html[data-theme="light"] .ai-text {
    color: #334155;
}

html[data-theme="light"] .ai-time {
    color: #64748b;
}

html[data-theme="light"] .ai-badge {
    /* background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); */
    color: #000;
    /* box-shadow: 0 2px 4px rgba(124, 58, 237, 0.2); */
}

/* Start Modal Styling */
.start-panel {
    width: min(560px, 94%) !important;
    padding: 24px !important;
    text-align: left !important;
}

.start-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.start-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 24px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(8, 145, 178, 0.2);
    min-height: 80px;
}

.banner-badge {
    font-size: 11px;
    font-weight: 700;
    color: #22d3ee;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.banner-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
}

.start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.start-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 16px;
    text-align: center;
    color: var(--text);
    overflow: hidden;
}

.start-item:hover:not(.disabled) {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.start-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.2);
    border-style: dashed;
}

.start-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: var(--muted);
    flex-shrink: 0;
}

.start-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.start-item:hover:not(.disabled) .start-icon {
    color: #c084fc;
}

.start-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    word-break: keep-all;
}

/* Light theme overrides for Start Modal */
html[data-theme="light"] .start-item {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

html[data-theme="light"] .start-item:hover:not(.disabled) {
    background: #f0fdfa;
    /* Cyan tint */
    border-color: #22d3ee;
}

html[data-theme="light"] .start-item.disabled {
    background: #f1f5f9;
}

html[data-theme="light"] .banner-text {
    color: #0f172a;
}

html[data-theme="light"] .start-banner {
    background: #f0f9ff;
    border-color: #bae6fd;
}

html[data-theme="light"] .banner-badge {
    color: #0ea5e9;
}

/* =========================================
   Influencer Tracking Feature Styles
   ========================================= */

.tracking-main {
    padding-bottom: 80px;
}

.tracking-header {
    text-align: center;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-desc {
    color: var(--muted);
    font-size: 16px;
}

/* Influencer Selector */
.influencer-selector-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.influencer-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
}

.influencer-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.influencer-tab:hover {
    color: var(--text);
}

.influencer-tab.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #333;
    /* Fallback */
}

/* Placeholder Avatars using gradients/colors if no image yet */
.avatar.elon {
    background: linear-gradient(135deg, #333, #666);
}

.avatar.trump {
    background: linear-gradient(135deg, #d93d3d, #8b1e1e);
}


/* Dashboard Grid */
.tracking-dashboard {
    display: grid;
    grid-template-columns: 1fr 340px;
    /* Main Feed | Sidebar */
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .tracking-dashboard {
        grid-template-columns: 1fr;
    }
}

/* Sentiment Banner */
.sentiment-banner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    margin-bottom: 24px;
}

.sentiment-banner.neutral {
    border-left: 4px solid #9ca3af;
}

.sentiment-banner.positive {
    border-left: 4px solid #22c55e;
}

.sentiment-banner.negative {
    border-left: 4px solid #ef4444;
}

.sentiment-score {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-label {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.score-val {
    font-size: 18px;
    font-weight: 700;
}

.neutral .score-val {
    color: #fff;
}

.positive .score-val {
    color: #22c55e;
}

.negative .score-val {
    color: #ef4444;
}


/* Feed Tabs */
.feed-tabs {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.feed-tab {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    position: relative;
}

.feed-tab.active {
    color: var(--text);
}

.feed-tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
}

/* Feed List */
.feed-stream {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-card {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    transition: transform 0.2s ease;
}

.feed-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.feed-card .card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
}

.source-badge {
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.source-badge.x {
    color: #fff;
    background: #000;
    border: 1px solid #333;
}

.source-badge.news {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
}

.source-badge.truth {
    color: #fff;
    background: #6a1b9a;
}

.feed-card .time {
    color: var(--muted);
}

.post-content,
.news-snippet {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.news-title {
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.card-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.impact-tag {
    font-weight: 700;
    margin-left: 6px;
}

.impact-tag.positive {
    color: #22c55e;
}

.impact-tag.negative {
    color: #ef4444;
}

.read-more {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.read-more:hover {
    color: #fff;
}


/* Sidebar (Related Companies) */
.side-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.related-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.related-head .ticker {
    font-weight: 700;
    font-size: 15px;
}

.related-head .name {
    font-size: 13px;
    color: var(--muted);
}

.related-price {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.related-price.up {
    color: #22c55e;
}

.related-price.down {
    color: #ef4444;
}

.related-price .chg {
    font-size: 14px;
}

.related-reason {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--muted);
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Light Theme Overrides for Tracking */
html[data-theme="light"] .page-title {
    background: linear-gradient(135deg, #111 0%, #4f46e5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .influencer-tabs {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .influencer-tab.active {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
}

html[data-theme="light"] .sentiment-banner {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .feed-card,
html[data-theme="light"] .related-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .feed-card:hover {
    background: #f8fafc;
}

html[data-theme="light"] .source-badge.news {
    color: #0891b2;
    background: #ecfeff;
}

html[data-theme="light"] .neutral .score-val {
    color: #334155;
}

/* =========================================
   Influencer Selection View Styles
   ========================================= */

.selection-view {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    animation: fadeIn 0.4s ease;
}

.center {
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-bar-wrap {
    margin-bottom: 70px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-input-selection {
    width: 100%;
    padding: 16px 20px;
    border-radius: 99px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 16px;
    transition: all 0.2s ease;
}

.search-input-selection:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.1);
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 32px;
    justify-items: center;
    margin-bottom: 100px;
}

.influencer-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s ease;
}

.influencer-card:hover .avatar-circle {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.avatar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #1e1e2d;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.check-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.check-overlay svg {
    width: 40px;
    height: 40px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.influencer-card.selected .check-overlay {
    opacity: 1;
}

.influencer-card.selected .avatar-circle {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px #22c55e, 0 10px 25px rgba(0, 0, 0, 0.3);
}

.influencer-card.selected img {
    opacity: 1;
}

.influencer-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}


/* Floating CTA Button */
.selection-actions {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
}

.btn-cta-float {
    padding: 14px 40px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    background: #fff;
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.btn-cta-float:hover:not(:disabled) {
    transform: scale(1.05);
}

.btn-cta-float:disabled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* Light Theme Overrides */
html[data-theme="light"] .search-input-selection {
    background: #f1f5f9;
    border-color: transparent;
    color: #0f172a;
}

html[data-theme="light"] .search-input-selection:focus {
    background: #fff;
    border-color: #8b5cf6;
}

html[data-theme="light"] .btn-cta-float {
    background: #000;
    color: #fff;
}

html[data-theme="light"] .influencer-card:hover .avatar-circle {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.influencer-role {
    font-size: 13px;
    color: var(--muted);
    margin-top: -8px;
    font-weight: 500;
    line-height: 1.2;
}

.influencer-card.locked {
    cursor: not-allowed;
    opacity: 0.5;
}

.influencer-card.locked .avatar-circle {
    background: transparent;
    box-shadow: none !important;
}

.influencer-card.locked .avatar-circle img {
    filter: blur(3px);
    /* transform: scale(1.2); */
    opacity: 0.6;
}

.influencer-card.locked:hover .avatar-circle {
    transform: none;
}

/* =========================================
   New Dashboard Layout Styles
   ========================================= */

/* Profile Header */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.profile-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-name {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-role {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.profile-summary {
    font-size: 15px;
    color: var(--muted);
    max-width: 600px;
    margin: 4px 0 0 0;
    line-height: 1.5;
}

/* Dashboard Grid */
.new-dashboard-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Analysis Column (Left) */
.analysis-column {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Make Signal Brief and Influence Path full width if needed, or 2x2 grid */
/* Use specific placements for variety */
.signal-brief {
    grid-column: 1 / -1;
}

.analysis-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.2s ease;
    margin-bottom: 15px;
}

.analysis-box:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.box-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    background: var(--accent);
    border-radius: 2px;
}

/* Signal Brief Specifics */
.brief-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brief-line {
    font-size: 16px;
    font-weight: 500;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.5;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Issue Clusters */
.cluster-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cluster-tag {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.2);
    font-weight: 600;
}

/* Influence Path */
.influence-path {
    grid-column: 1 / -1;
    /* Full width */
}

.path-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.path-node {
    padding: 10px 16px;
    background: #1e1e2d;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.path-node.person {
    color: #fff;
}

.path-node.issue {
    color: var(--accent);
    border-color: rgba(139, 92, 246, 0.3);
}

.path-node.asset {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.path-arrow {
    font-size: 20px;
    color: var(--muted);
}

/* Assets Box */
.assets-box {
    grid-column: 1 / -1;
}

.asset-row {
    display: grid;
    grid-template-columns: 60px 1fr 80px 60px;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.asset-row:last-child {
    border-bottom: none;
}

.asset-ticker {
    font-weight: 700;
    font-size: 15px;
}

.asset-mini-chart {
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    /* Placeholder for sparkline */
    border-radius: 4px;
}

.asset-mini-chart.up {
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.2));
}

.asset-mini-chart.down {
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.2));
}

.asset-price {
    text-align: right;
    font-family: monospace;
    font-size: 15px;
}

.asset-change {
    text-align: right;
    font-weight: 700;
    font-size: 13px;
}

.asset-change.up {
    color: #22c55e;
}

.asset-change.down {
    color: #ef4444;
}


/* Sources Column (Right) */
.sources-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.source-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.source-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.2s;
    margin-bottom: 15px;
}

.source-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.source-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.source-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.source-badge.news {
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
}

.source-badge.x {
    background: #000;
    color: #fff;
    border: 1px solid #333;
}

.source-time {
    color: var(--muted);
}

.source-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.source-summary {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.source-link {
    font-size: 12px;
    color: var(--accent);
    margin-top: 4px;
    font-weight: 600;
}

.source-link:hover {
    text-decoration: underline;
}

/* Light Theme Overrides */
html[data-theme="light"] .profile-header,
html[data-theme="light"] .analysis-box,
html[data-theme="light"] .source-item {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .profile-name {
    background: linear-gradient(135deg, #0f172a 0%, #4338ca 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .brief-line {
    color: #475569;
    border-left-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .path-visual {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

html[data-theme="light"] .path-node {
    background: #fff;
    color: #334155;
}

html[data-theme="light"] .path-node.person {
    color: #0f172a;
    border-color: #cbd5e1;
}

html[data-theme="light"] .asset-row {
    border-bottom-color: #f1f5f9;
}

html[data-theme="light"] .source-item:hover {
    background: #f8fafc;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .new-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .profile-left {
        flex-direction: column;
    }

    .analysis-column {
        grid-template-columns: 1fr;
    }
}