:root {
    color-scheme: dark;
    --bg: #070709;
    --surface: #131320;
    --text: #e9e9e9;
    --muted: #dedede;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #93f205;
    /* emerald-500 */
    --accent-2: #34d399;
    /* emerald-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: #059669;
    --accent-2: #047857;
    --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 */
section[id] {
    scroll-margin-top: 70px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: saturate(120%) blur(10px);
    background: linear-gradient(26deg, rgb(103 103 103 / 13%), rgb(0 0 0 / 40%));
    border-bottom: 1px solid rgb(189 189 189 / 0%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 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, #047857, #34d399);
    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(16, 185, 129, 0.45);
}

.theme-toggle-option:not(.active) {
    opacity: 0.7;
}

.theme-toggle-option:focus-visible {
    outline: 2px solid rgba(16, 185, 129, 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(16, 185, 129, 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(16, 185, 129, 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-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    background: #181818;
    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: 90px 0 36px;
}

.hero-inner {
    display: block;
    max-width: 100%;
}

.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(16, 185, 129, .16);
    border: 1px solid rgba(16, 185, 129, .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;
}

.mobile-br {
    display: none;
}

@media (max-width: 768px) {
    .mobile-br {
        display: block;
    }
}

.u-underline {
    background: linear-gradient(180deg, transparent 62%, rgba(16, 185, 129, 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(16, 185, 129, 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(16, 185, 129, 0.4);
    border-right: 1px solid rgba(16, 185, 129, 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: 72px 0;
}

.section-title {
    font-size: 30px;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--muted);
    font-size: 16px;
}

.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, #10b981 0%, #10b981 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 {
        display: none;
    }
}

.price-card.highlight {
    border: 1px solid #4f4f4f;
    box-shadow: 0 0px 10px var(--accent);
}

.price-title {
    font-size: 18px;
    margin: 0;
}

.price {
    font-size: 32px;
    letter-spacing: -0.02em;
    font-weight: 500;
}

.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-slider {
    overflow: hidden;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quotes-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.quotes-track-left {
    animation: slide-left 50s linear infinite;
}

.quotes-track-right {
    animation: slide-right 50s linear infinite;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.quotes-track:hover {
    animation-play-state: paused;
}

.quote {
    background: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quote:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}

.quote-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.quote-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    flex: 1;
}

.quote-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quote-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.quote-info .quote-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.quote-info .quote-role {
    font-size: 12px;
    color: white;
    margin-top: 1px;
}

.quote-verified {
    margin-left: auto;
    font-size: 10px;
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

/* 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 {
    max-height: 340px;
}

.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;
}

.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(16, 185, 129, 0.16), rgba(52, 211, 153, 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(16, 185, 129, 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;
    background: rgb(20 20 26 / 21%);
    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%;
    }
}

/* Newsletter */
#newsletter {
    padding: 80px 0;
}

.newsletter-card {
    margin: 0 auto;
    text-align: center;
    padding: 68px 30px 60px;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgb(255 255 255 / 6%) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.newsletter-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 30px;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.newsletter-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 2.0;
    margin: 0 0 28px;
}

.newsletter-desc strong {
    color: var(--accent);
    font-weight: 600;
}

.newsletter-form {
    margin: 0 auto;
    max-width: 440px;
    padding-bottom: 50px;
}

.newsletter-input-wrap {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: border-color 0.2s;
}

.newsletter-input-wrap:focus-within {
    border-color: rgba(139, 92, 246, 0.5);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    padding: 12px 16px;
    font-family: inherit;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
    background: var(--accent);
    color: #000000;
    border: none;
    border-radius: 10px;
    padding: 12px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: opacity 0.2s, transform 0.15s;
}

.newsletter-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-note {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 600px) {
    .newsletter-card {
        padding: 36px 20px 32px;
    }

    .newsletter-title {
        font-size: 21px;
    }

    .newsletter-desc {
        font-size: 13px;
        line-height: 1.8;
    }

    .newsletter-desc br {
        display: none;
    }

    .newsletter-note {
        font-size: 11px;
    }

    .newsletter-input-wrap {
        flex-direction: column;
        gap: 6px;
        padding: 6px;
    }

    .newsletter-btn {
        width: 100%;
        padding: 14px;
    }
}

/* 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(16, 185, 129, 0.18), rgba(52, 211, 153, 0.12) 50%, transparent 70%), linear-gradient(180deg, #0f0f19, #121225);
    border: 1px solid var(--line);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 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, #10b981, #34d399);
    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;
    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;
    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: 18px;
    bottom: 18px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #059669;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.float-chat svg {
    width: 23px;
    margin-top: 2px;
    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: 6vh auto;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    max-height: calc(100vh - 12vh);
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(160, 160, 180, 0.3) transparent;
    /*background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); box-shadow: var(--shadow);*/
}

.modal .panel::-webkit-scrollbar {
    width: 6px;
}

.modal .panel::-webkit-scrollbar-track {
    background: transparent;
}

.modal .panel::-webkit-scrollbar-thumb {
    background: rgba(160, 160, 180, 0.3);
    border-radius: 999px;
}

.modal .panel::-webkit-scrollbar-thumb:hover {
    background: rgba(160, 160, 180, 0.5);
}

.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;
}

.search-btn:hover {
    background: #dadada;
    color: #0b0b10;
}

.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(16, 185, 129, 0.65);
    outline-offset: 2px;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.85), rgba(52, 211, 153, 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;
    margin-top: 5px;
}

.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: 240px;
    padding: 6px;
    border-radius: 16px;
    background: rgb(19 19 20 / 98%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    z-index: 80;
    animation: menuSlideIn 0.18s ease-out;
}

@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nav-profile-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: rgba(19, 19, 32, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
}

.nav-profile.open .nav-profile-menu,
.nav-profile:hover .nav-profile-menu,
.nav-profile:focus-within .nav-profile-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Profile header inside menu */
.nav-menu-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 10px;
}

.nav-menu-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.7), rgba(34, 211, 238, 0.7));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.nav-menu-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-menu-profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav-menu-profile-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu-profile-email {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Divider */
.nav-menu-divider {
    height: 1px;
    margin: 4px 10px;
    background: rgba(255, 255, 255, 0.07);
}

/* Menu items */
.nav-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-menu-item:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.nav-menu-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.15s ease;
}

.nav-menu-item:hover .nav-menu-icon {
    opacity: 0.85;
}

/* Danger item (logout) */
.nav-menu-item-danger {
    color: rgba(248, 113, 113, 0.8);
}

.nav-menu-item-danger:hover {
    background: rgba(248, 113, 113, 0.08);
    color: #f87171;
}

.nav-menu-item-danger .nav-menu-icon {
    opacity: 0.65;
}

/* Section & block */
.nav-menu-section {
    padding: 6px 4px;
    display: grid;
    gap: 8px;
}

.nav-menu-label {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(226, 226, 246, 0.45);
    padding: 0 8px;
}

.nav-menu-block {
    display: grid;
    gap: 6px;
    padding: 0 4px;
}

.nav-menu-block-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    padding: 0 4px;
}

.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: rgb(227 228 227 / 15%);
    color: var(--text);
}

.language-quick-option:focus-visible {
    outline: 2px solid rgba(16, 185, 129, 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: rgb(9 9 9 / 68%);
    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;
        margin-top: 0;
    }

    /* 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"] .bg-fixed::before {
    /* background:
radial-gradient(900px 680px at calc(100% - 160px) 560px, rgba(5, 150, 105, 0.18), transparent 60%),
radial-gradient(900px 700px at 160px 520px, rgba(4, 120, 87, 0.16), transparent 60%); */
}

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 16px 48px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

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-divider {
    background: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .nav-menu-profile-name {
    color: #111;
}

html[data-theme="light"] .nav-menu-profile-email {
    color: rgba(55, 65, 81, 0.6);
}

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.55);
}

html[data-theme="light"] .nav-menu-item {
    color: rgba(15, 23, 42, 0.8);
}

html[data-theme="light"] .nav-menu-item:hover {
    background: rgba(15, 23, 42, 0.05);
    color: #111;
}

html[data-theme="light"] .nav-menu-item-danger {
    color: rgba(220, 38, 38, 0.7);
}

html[data-theme="light"] .nav-menu-item-danger:hover {
    background: rgba(220, 38, 38, 0.06);
    color: #dc2626;
}

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(5, 150, 105, 0.2);
    border-color: rgba(5, 150, 105, 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: #fff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .quote:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

html[data-theme="light"] .quote-text {
    color: #1e293b;
}

html[data-theme="light"] .quote-info .quote-name {
    color: #0f172a;
}

html[data-theme="light"] .quote-footer {
    border-top-color: rgba(15, 23, 42, 0.06);
}

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(5, 150, 105, 0.1), rgba(4, 120, 87, 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(5, 150, 105, 0.2);
    color: #064e3b;
}

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(5, 150, 105, 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(5, 150, 105, 0.12), rgba(4, 120, 87, 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(5, 150, 105, 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(5, 150, 105, 0.35), transparent 60%), radial-gradient(220px 180px at 75% 70%, rgba(4, 120, 87, 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(16, 185, 129, 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, #059669 0%, #059669 100%); */
    color: #000;
    /* box-shadow: 0 2px 4px rgba(5, 150, 105, 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;
    min-height: 80px;
}

.banner-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    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: rgb(0 0 0 / 8%);
    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: #ffffff;
}

.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: #34d399;
}

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: #059669;
}

/* =========================================
   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%);
    -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: #34d399;
    background: rgba(52, 211, 153, 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%, #059669 100%);
    -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: #047857;
    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: 40px;
    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: #10b981;
    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: #10b981;
}

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);
}

/* =============================================
   Mobile Responsive Improvements
   ============================================= */

/* Feature offset class (replaces inline margin-top: 80px) */
.feature-offset {
    margin-top: 80px;
}

/* --- Hamburger Button --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    z-index: 45;
    transition: background 0.2s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.06);
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 879px) {
    .hamburger {
        display: flex;
    }

    /* Hide language, login, profile in header — they live in mobile menu */
    .nav-cta .language-control,
    .nav-cta .login-trigger,
    .nav-cta .nav-profile {
        display: none !important;
    }
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 89;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* --- Mobile Menu Drawer --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 80vw);
    height: 100%;
    background: rgba(12, 12, 20, 0.98);
    border-left: 1px solid var(--line);
    z-index: 90;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.mobile-menu-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.mobile-menu-links a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    transition: background 0.2s ease;
}

.mobile-menu-links a:hover {
    background: rgba(16, 185, 129, 0.1);
}

/* --- Mobile Menu Bottom Section --- */
.mobile-menu-bottom {
    margin-top: auto;
    padding: 16px 20px 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-section-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.mobile-menu-lang {
    display: flex;
    flex-direction: column;
}

.mobile-lang-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mobile-menu-user {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-user-link {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.mobile-menu-login {
    width: 100%;
    height: 44px;
    font-size: 15px;
    border-radius: 12px;
}

/* Hide mobile menu on desktop */
@media (min-width: 880px) {

    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Light theme mobile menu */
html[data-theme="light"] .mobile-menu {
    background: rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .hamburger:hover {
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .mobile-menu-links a:hover {
    background: rgba(5, 150, 105, 0.08);
}

/* --- Mobile Responsive: 768px and below --- */
@media (max-width: 768px) {

    /* Body & container defaults */
    body {
        line-height: 1.7;
    }

    .container {
        padding: 16px;
    }

    /* Hero section */
    .hero {
        padding: 36px 0 24px;
    }

    .hero-inner {
        margin-top: 0 !important;
        /* Override the -45px */
    }

    h1 {
        font-size: clamp(24px, 7vw, 36px);
    }

    .lead {
        font-size: 14px;
    }

    /* Thought chain — vertical timeline */
    .thought-chain {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        margin-top: 24px;
        margin-bottom: 24px;
        min-height: 168px;
        padding-left: 22px;
        position: relative;
    }

    .thought-chain::after {
        content: '';
        position: absolute;
        left: 5px;
        top: 4px;
        bottom: 4px;
        width: 2px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 1px;
        pointer-events: none;
    }

    .thought-chain .chain-arrow {
        display: none !important;
    }

    .thought-chain .chain-node {
        font-size: 13px;
        padding: 8px 14px;
        white-space: normal;
        position: relative;
        border-radius: 10px;
    }

    .thought-chain .chain-node::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-50%);
        z-index: 1;
    }

    .thought-chain .chain-node.chain-accent::before {
        background: rgba(230, 57, 70, 0.5);
        box-shadow: 0 0 8px rgba(230, 57, 70, 0.3);
    }

    /* Section defaults */
    section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .section-desc {
        font-size: 14px;
    }

    /* Features grid */
    .grid-2 {
        gap: 12px;
    }

    .feature-offset {
        margin-top: 0;
    }

    /* Pricing */
    .price {
        font-size: 26px;
    }

    /* Reviews / Quotes */
    .quote {
        width: 280px;
        padding: 16px;
    }

    /* FAQ */
    .faq-q {
        font-size: 15px;
        padding: 12px 14px;
    }

    /* Calendar */
    #calander {
        padding: 48px 0;
    }

    .calendar-board {
        padding: 18px;
    }

    .calendar-day-group {
        padding: 14px 16px;
    }

    /* Modal */
    .modal .panel {
        margin: 3vh auto;
        padding: 20px;
        border-radius: 16px;
        max-height: calc(100vh - 6vh);
    }

    .modal .panel.login-panel {
        margin: 8vh auto;
        padding: 24px;
    }

    /* Start modal grid */
    .start-grid {
        gap: 10px;
    }

    .start-item {
        padding: 12px;
    }

    .start-label {
        font-size: 12px;
    }

    /* Footer */
    footer {
        padding: 40px 0;
    }

    /* Indicator cards */
    .ind-card {
        padding: 14px;
    }

    .ind-head {
        font-size: 13px;
    }
}