/* ================================
   FlowBoard — Landing Page Styles
   Compatible: Light / Dark / System
================================ */

.landing-body {
    background: var(--bg-base);
    overflow-x: hidden;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

[data-theme="dark"] .landing-nav {
    background: rgba(10,10,15,0.85);
}

@media (prefers-color-scheme: dark) {
    [data-theme="system"] .landing-nav {
        background: rgba(10,10,15,0.85);
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hero */
.hero {
    padding: 160px 60px 80px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--accent-subtle);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--accent), #c084fc, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 36px;
    position: relative;
    z-index: 1;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.2s;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-hero:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.btn-hero-ghost {
    display: flex;
    align-items: center;
    padding: 15px 24px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.2s;
}

.btn-hero-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

.hero-badge {
    font-size: 12.5px;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Preview Section */
.preview-section {
    position: relative;
    padding: 20px 40px 60px;
    overflow: hidden;
}

.preview-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.preview-board {
    display: flex;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.preview-col {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.preview-col-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.preview-count {
    background: var(--bg-hover);
    color: var(--text-muted);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin: 8px;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.preview-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.pc-cover { height: 5px; }

.pc-labels {
    display: flex;
    gap: 4px;
    padding: 8px 10px 0;
}

.pc-labels span {
    height: 4px;
    width: 32px;
    border-radius: 2px;
    display: block;
}

.pc-title {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 10px;
    line-height: 1.4;
}

.pc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 8px;
}

.pc-badge {
    font-size: 10.5px;
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 2px 7px;
    border-radius: 4px;
}

.pc-prog { color: var(--success); background: rgba(22,163,74,0.1); }
.pc-done { color: var(--success); background: rgba(22,163,74,0.1); }

.pc-prio {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Features */
.features {
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.features-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.8px;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.feature-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 60px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}

/* Landing theme switcher no nav */
.nav-theme-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
}

.nav-theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    color: var(--text-muted);
    transition: all 0.2s;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: none;
}

.nav-theme-btn:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-theme-btn.active { background: var(--bg-surface); color: var(--accent); box-shadow: var(--shadow-sm); }

@media (max-width: 768px) {
    .landing-nav { padding: 16px 20px; }
    .hero { padding: 120px 20px 60px; }
    .preview-section { padding: 10px 16px 40px; }
    .preview-board { flex-direction: column; padding: 14px; }
    .features { padding: 40px 20px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .landing-footer { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
}
